/* -------------------------------------------------------------------
 * Home - 主页
 * Home.jsx 相关样式
------------------------------------------------------------------- */

/* 首页轮播容器 */
.main-area .mySwiper {
    width: 100%;
    height: 100vh;
    min-height: 400px;
    --swiper-pagination-bullet-horizontal-gap: 10px;
}

/* 轮播分页圆点：白色空心 / 当前白色实心，10px，整体上移 50px */
.main-area .mySwiper .swiper-pagination {
    bottom: 100px;
}

.main-area .mySwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 1px solid #fff;
    opacity: 1;
}

.main-area .mySwiper .swiper-pagination-bullet-active {
    background: #fff;
    border-color: #fff;
}

/* 轮播图左侧文字与按钮（参考红框样式） */
.main-area .mySwiper .swiper-slide {
    position: relative;
}

.slide-caption {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: min(920px, 58vw);
    min-width: 320px;
    padding: 5vh 48px 100px 13%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
}

/* Rider-Pi：参考 .banner-slogan-title1 */
.slide-caption-title {
    font-family: "Dji-Bold", sans-serif;
    color: #ffffff;
    font-weight: 600;
    font-size: 7vh;
    width: fit-content;
    text-align: left;
    opacity: 1;
    position: relative;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

/* 轮足多模态机器人：参考 .banner-slogan-title2 */
.slide-caption-subtitle {
    font-family: "MiSans-Semibold", sans-serif;
    color: #ffffff;
    font-weight: 600;
    font-size: 5vh;
    width: fit-content;
    text-align: left;
    opacity: 1;
    position: relative;
    margin: 0 0 0.8rem;
    line-height: 1.3;
}

/* AI视觉识别交互 | ...：参考 .banner-slogan-title3，加宽以尽量单行显示 */
.slide-caption-desc {
    font-family: "MiSans-Light", sans-serif;
    color: #ffffff;
    font-weight: 200;
    font-size: 2vh;
    max-width: 100%;
    text-align: left;
    opacity: 1;
    position: relative;
    margin: 0 0 28px;
    line-height: 1.6;
}

.slide-caption-btn {
    display: inline-block;
    padding: 10px 28px;
    font-size: 1rem;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 30px;
    text-decoration: none;
    align-self: flex-start;
    transition: background 0.25s ease, color 0.25s ease, opacity 0.5s ease;
}

.slide-caption-btn:hover {
    background: #fff;
    color: #000;
}

/* Hero 区块（若首页使用） */
.hero {
    height: 850px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1,
.hero h2,
.hero p {
    color: #fff;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero h1 {
    margin-bottom: 10px;
}

.hero p {
    line-height: 28px;
    margin-bottom: 60px;
    opacity: 0.85;
}

/* 首页手风琴：左侧细灰线 + 展开项左侧白色粗线，右侧图片，标题软件专区+查看更多 */
.home-accordion {
    background: #000;
    color: #fff;
    padding: 200px 0 56px;
}

/* 软件专区容器：放宽宽度限制并居中 */
.home-accordion .container {
    max-width: 1320px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

/* 软件专区 + 查看更多 专用区域（参考 .banner4 h1） */
.home-accordion-header-wrap {
    width: 100%;
    height: 200px;
    padding: 30px 20px;
}

.home-accordion-header-wrap .home-accordion-title-main {
    font-family: "MiSans-Demibold", sans-serif;
    font-size: 37pt;
    margin: 0 0 10px 0;
    justify-content: flex-start;
    max-width: none;
}

.home-accordion-header-wrap .chakan {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-accordion-header-wrap .chakan:hover {
    color: #fff;
}

.home-accordion-header-wrap .chakan .chakan-shiny {
    font-size: 1rem;
}

/* 动态分享 */
.home-news {
    position: relative;
    overflow: visible;
    background: #fff;
    color: #1a1a1a;
    padding: 56px 0 64px;
}

.home-news .container {
    position: relative;
    overflow: visible;
    max-width: 1600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.home-news-title {
    text-align: center;
    font-family: "MiSans-Demibold", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.home-news-more-wrap {
    text-align: center;
    margin: 0 0 32px 0;
}

.home-news-more {
    font-size: 0.95rem;
    color: #000 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-news-more:hover {
    color: #2196f3 !important;
}

.home-news-slider-wrap {
    position: relative;
    z-index: 10;
    width: 1600px;
    max-width: 100%;
    height: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
    overflow-x: hidden;
    overflow-y: visible;
}

.home-news-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.9s ease-out;
}

.home-news-slider-page {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-width: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.home-news-grid {
    width: 1600px;
    max-width: 100%;
    height: 500px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
}

.home-news-card {
    position: relative;
    z-index: 1;
    flex: 0 0 360px;
    width: 360px;
    height: 400px;
    max-width: 360px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.home-news-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    transform: translateY(-25px);
}

.home-news-card__img-wrap {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
}

.home-news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-news-card__img--placeholder {
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
}

.home-news-card__body {
    flex-shrink: 0;
    padding: 16px 20px 16px;
    background: #fff;
    transition: background 0.3s ease;
}

.home-news-card__title {
    margin: 0;
    padding: 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.15rem;
    transition: color 0.3s ease;
}

.home-news-card__date {
    margin: 8px 0 0;
    padding: 0;
    font-size: 0.875rem;
    color: #677294;
    transition: color 0.3s ease;
}

.home-news-card__desc {
    margin: 0 0 12px;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8rem;
    transition: color 0.3s ease;
}

.home-news-card__more {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    color: #677294;
    font-weight: 500;
    transition: color 0.3s ease;
}

.home-news-card:hover .home-news-card__body {
    background: #2196f3;
}

.home-news-card:hover .home-news-card__title,
.home-news-card:hover .home-news-card__date,
.home-news-card:hover .home-news-card__desc,
.home-news-card:hover .home-news-card__more {
    color: #fff;
}

.home-news-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 128px;
}

.home-news-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #333;
    background: #fff;
    color: #333;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-news-nav-btn:hover:not(:disabled) {
    background: #e0e0e0;
    border-color: #1a1a1a;
}

.home-news-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    .home-news-slider-wrap {
        height: auto;
    }

    .home-news-grid {
        height: auto;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .home-news-card {
        flex: 0 0 calc((100% - 24px) / 2);
        width: calc((100% - 24px) / 2);
        max-width: none;
        height: auto;
        max-height: none;
    }

    .home-news-card__img-wrap {
        flex: 0 0 auto;
        aspect-ratio: 16 / 10;
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .home-news-card {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* ========== 手机端动态分享：一行 2 条，下方切换按钮 ========== */
html.mobile .home-news .home-news-slider-wrap {
    height: auto;
    min-height: 280px;
}

html.mobile .home-news .home-news-grid {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 280px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
}

html.mobile .home-news .home-news-card {
    flex: 0 0 calc((100% - 12px) / 2);
    width: calc((100% - 12px) / 2);
    max-width: none;
    height: auto;
    max-height: none;
    min-height: 280px;
}

html.mobile .home-news .home-news-card__img-wrap {
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
    min-height: 0;
}

html.mobile .home-news .home-news-card:hover {
    transform: none;
}

/* 高校客户：软件专区下方，同款渐变标题，内部距顶 200px */
.home-university {
    background: #000;
    color: #fff;
    padding: 200px 0 56px;
}

.home-university .container {
    max-width: 1320px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.home-university-inner {
    padding: 0 20px;
}

.home-university-title {
    font-family: "MiSans-Demibold", sans-serif;
    font-size: 37pt;
    margin: 0;
    justify-content: flex-start;
    max-width: none;
}

.home-university-desc {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    margin: 16px 0 0 0;
    opacity: 0.92;
    text-align: center;
}

/* 高校 logo 两排滚动：第一排向左、第二排向右 */
.home-university-logos-wrap {
    margin-top: 82px;
}

.home-university-logoloop-row {
    height: 100px;
    position: relative;
    overflow: hidden;
}

.home-university-logoloop-row+.home-university-logoloop-row {
    margin-top: 16px;
}

.home-accordion-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: nowrap;
}

.home-accordion-left {
    flex: 0 0 auto;
}

.home-accordion-inner {
    position: relative;
    padding-left: 24px;
    width: 100%;
    max-width: 400px;
}

/* 屏幕缩小（桌面宽度区间）：左侧手风琴列收窄，避免挤压右侧轮播块 */
@media screen and (max-width: 1280px) and (min-width: 992px) {
    .home-accordion-inner {
        max-width: 200px;
    }
}

.home-accordion-right {
    flex: 0 0 auto;
    min-width: 840px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

/* 右侧图片：固定 840×551px 显示 */
.home-accordion-img {
    line-height: 1;
    display: block;
    width: 840px;
    height: 551px;
    object-fit: contain;
    object-position: top left;
    vertical-align: middle;
    border-radius: 8px;
}

/* 软件专区右侧：多块容器，每块对应一个菜单，切换时淡入淡出 */
.software-blocks-container {
    position: relative;
    min-height: 620px;
    width: 840px;
    max-width: 100%;
}

.software-block-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transition: opacity 1s ease;
}

.software-block-panel[aria-hidden="true"] {
    z-index: 0;
}

.software-block-panel[aria-hidden="false"] {
    z-index: 1;
}

.home-accordion-carousel-placeholder {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.home-accordion-carousel-wrap {
    width: 840px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.home-accordion-carousel {
    width: 100%;
    position: relative;
}

.home-accordion-carousel>div {
    display: flex;
    flex-direction: column;
}

.home-accordion-carousel-content {
    height: 551px;
    min-height: 320px;
    overflow: hidden;
    position: relative;
    background: transparent;
}

.home-accordion-carousel-track {
    display: flex;
    flex-direction: row;
    height: 100%;
    /* 先快后慢，快到位置时很慢的递减效果 */
    transition: transform 0.55s cubic-bezier(0.1, 0, 0.9, 1);
}

.home-accordion-carousel-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
}

.home-accordion-carousel-slide-img {
    position: relative;
    height: 100%;
    background: transparent;
}

.software-carousel-bottom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.home-accordion-carousel-slide-caption {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.software-carousel-download-btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    color: #4a7cff;
    background: #111111;
    border: 1px solid #4a7cff;
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.software-carousel-download-btn:hover {
    color: #6b95ff;
    border-color: #6b95ff;
}

.home-accordion-carousel-slide-img .home-accordion-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.software-carousel-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.software-carousel-thumb {
    position: relative;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    overflow: visible;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.software-carousel-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

.software-carousel-thumb.is-active {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.12);
}

.software-carousel-thumb-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding: 5px 10px;
    font-size: 12px;
    color: #fff;
    background: rgba(40, 42, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 20;
}

.software-carousel-thumb:hover .software-carousel-thumb-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(6px);
}

.software-carousel-thumb img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.home-accordion-carousel-outer {
    position: relative;
    width: 100%;
}

@media (max-width: 1280px) {
    .home-accordion-right {
        min-width: 0;
    }

    .home-accordion-img {
        max-width: 100%;
        width: 100%;
        height: auto;
        aspect-ratio: 840 / 551;
    }

    .home-accordion-carousel-wrap {
        width: 100%;
    }

    .home-accordion-carousel-content {
        height: auto;
        min-height: 200px;
    }

    .software-blocks-container {
        min-height: 380px;
    }
}

/* 左侧细灰色长线（整条贯穿） */
.home-accordion-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.home-accordion-item {
    border: none;
    margin: 0;
    padding: 0;
}

/* 内层：仅包标题+内容，无 padding，白条高度=文字高度 */
.home-accordion-item-inner {
    position: relative;
    padding: 0;
}

/* 展开项左侧白色粗线：高度刚好等于内层（标题+描述文字），不受外层 padding 影响 */
.home-accordion-item.is-open .home-accordion-item-inner::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #fff;
    border-radius: 0 2px 2px 0;
}

.home-accordion-title {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 14px 0 14px 8px;
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.25s ease;
}

.home-accordion-item.is-open .home-accordion-title {
    font-weight: 700;
}

.home-accordion-title:hover {
    color: rgba(255, 255, 255, 0.55);
}

.home-accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.home-accordion-item.is-open .home-accordion-content {
    max-height: 320px;
}

.home-accordion-content p {
    margin: 0 0 16px 8px;
    padding: 0 0 18px;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
}

.home-accordion-item.is-open .home-accordion-content p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ========== 手机端首页适配（仅 html.mobile 生效） ========== */
/* 轮播容器：不占满屏，高度随图片比例，图片按实际宽高显示 */
html.mobile .main-area .mySwiper {
    height: auto;
    min-height: 200px;
}

html.mobile .main-area .mySwiper .swiper-slide {
    position: relative;
    height: auto;
    display: block;
}

html.mobile .main-area .mySwiper .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    vertical-align: top;
}

/* 文字与按钮叠在图片上方、左上角（距顶部 40px 开始） */
html.mobile .main-area .mySwiper .swiper-slide .slide-caption {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 80px 16px 24px;
    justify-content: flex-start;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 100%);
}

/* 轮播分页：圆点按钮，放在图片底部上下 15% 区域、居中、有间隙 */
html.mobile .main-area .mySwiper {
    --swiper-pagination-bullet-horizontal-gap: 10px;
}

html.mobile .main-area .mySwiper .swiper-pagination {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

html.mobile .main-area .mySwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    margin: 0;
}

html.mobile .main-area .mySwiper .swiper-pagination-bullet-active {
    background: #fff;
}

html.mobile .slide-caption-title {
    font-size: 1.5rem;
}

html.mobile .slide-caption-subtitle {
    font-size: 1.15rem;
}

html.mobile .slide-caption-desc {
    font-size: 0.8rem;
    margin-bottom: 16px;
}

html.mobile .slide-caption-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* 软件专区：桌面隐藏手机布局，手机隐藏桌面布局 */
.home-accordion-mobile {
    display: none;
}

html.mobile .home-accordion-desktop {
    display: none !important;
}

/* 手机端：软件专区紧贴 banner 下方，仅留少量间距 */
html.mobile .home-accordion {
    padding-top: 16px;
    padding-bottom: 32px;
}

html.mobile .home-accordion-mobile {
    display: block;
    padding: 0 0 0;
}

html.mobile .home-accordion-mobile-header {
    text-align: center;
    margin-bottom: 20px;
}

html.mobile .home-accordion-mobile-title {
    font-family: "MiSans-Demibold", sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 0 8px 0;
}

html.mobile .home-accordion-mobile-chakan {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

html.mobile .home-accordion-mobile-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

html.mobile .home-accordion-mobile-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    min-height: 44px;
}

html.mobile .home-accordion-mobile-btn.is-active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

html.mobile .home-accordion-mobile-content {
    padding: 0 16px 20px;
    text-align: left;
}

html.mobile .home-accordion-mobile-content-text {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-align: left;
}

/* 手机端：软件专区大图区域填满浏览器宽度，左右上下无边距，无圆角 */
html.mobile .home-accordion-mobile-carousel {
    margin: 0 -16px;
    padding: 0;
    width: calc(100% + 32px);
}

html.mobile .home-accordion-mobile-carousel .home-accordion-carousel-wrap {
    margin: 0;
    padding: 0;
    max-width: none;
}

/* 手机端：大图区域高度随图片实际高度，避免底部留白导致“mind+2”离图太远 */
html.mobile .home-accordion-mobile-carousel .home-accordion-carousel-content {
    height: auto;
    min-height: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

html.mobile .home-accordion-mobile-carousel .home-accordion-carousel-track {
    height: auto;
}

html.mobile .home-accordion-mobile-carousel .home-accordion-carousel-slide,
html.mobile .home-accordion-mobile-carousel .home-accordion-carousel-slide-img {
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

html.mobile .home-accordion-mobile-carousel .home-accordion-carousel-slide-img .home-accordion-img {
    width: 100%;
    max-width: 100%;
    height: 220px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    display: block;
    vertical-align: top;
    object-fit: contain;
}

/* 手机端：轮播图在上，描述与下载按钮、切换按钮在轮播图下面 */
html.mobile .home-accordion-mobile-carousel .home-accordion-carousel-slide-img {
    position: static;
    display: flex;
    flex-direction: column;
}

html.mobile .home-accordion-mobile-carousel .software-carousel-bottom {
    position: static;
    transform: none;
    margin-top: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
}

html.mobile .home-accordion-mobile-carousel .home-accordion-carousel-slide-caption {
    width: 100%;
    text-align: center;
    font-size: 13px;
}

/* 手机端：点击下载为普通小按钮，无特效 */
html.mobile .home-accordion-mobile-carousel .software-carousel-download-btn {
    padding: 6px 14px;
    font-size: 12px;
}

html.mobile .home-accordion-mobile-carousel .software-carousel-download-btn:hover {
    color: #6b95ff;
    border-color: #6b95ff;
}

/* 手机端：切换按钮缩小，在轮播图下面、与描述一起 */
html.mobile .home-accordion-mobile-carousel .software-carousel-thumbs {
    margin-top: 12px;
    gap: 8px;
    padding: 0 16px;
}

html.mobile .home-accordion-mobile-carousel .software-carousel-thumb {
    padding: 2px;
    border-radius: 6px;
}

html.mobile .home-accordion-mobile-carousel .software-carousel-thumb img {
    width: 36px;
    height: 36px;
}

/* 高校师生客户：手机端缩小字体与间距 */
html.mobile .home-university {
    padding: 32px 0 40px;
}

html.mobile .home-university-title {
    font-size: 1.35rem;
}

html.mobile .home-university-desc {
    font-size: 0.85rem;
    margin-top: 10px;
}

html.mobile .home-university-logos-wrap {
    margin-top: 24px;
    padding: 0 12px;
}

/* 手机端：校徽 16px、一行约 6 个的尺寸，三排横向滚动，不裁切 */
html.mobile .home-university-logos-wrap .logoloop {
    --logoloop-logoHeight: 16px;
    --logoloop-gap: 12px;
}

html.mobile .home-university-logoloop-row {
    min-height: 28px;
    height: auto;
    overflow: hidden;
}

html.mobile .home-university-logoloop-row+.home-university-logoloop-row {
    margin-top: 12px;
}

/* ========== 首页：视频横幅（轮播下、产品分类上，约 1920×550 比例） ========== */
.home-video-banner {
    padding: 0;
    margin: 0;
    background: #0a0a0f;
}

.home-video-banner__frame {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    aspect-ratio: 1920 / 550;
    overflow: hidden;
    background: #111;
}

.home-video-banner__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-video-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
    pointer-events: none;
}

.home-video-banner__actions {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.home-video-banner__play-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    background: rgba(20, 20, 24, 0.72);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.15s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.home-video-banner__play-btn:hover,
.home-video-banner__play-btn:focus-visible {
    color: #93c5fd;
    border-color: #3b82f6;
    background: rgba(24, 36, 64, 0.82);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
    transform: scale(1.02);
}

.home-video-banner__play-btn:focus {
    outline: none;
}

.home-video-banner__play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
}

.home-video-banner-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 弹窗 */
.home-video-banner-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
}

.home-video-banner-modal__backdrop {
    position: absolute;
    inset: 0;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.72);
    cursor: pointer;
}

.home-video-banner-modal__panel {
    position: relative;
    width: min(960px, 96vw);
    min-width: min(320px, 100vw - 32px);
    max-height: calc(100vh - 48px);
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    z-index: 1;
    box-sizing: border-box;
}

.home-video-banner-modal__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #222;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.home-video-banner-modal__close:hover {
    background: #fff;
}

.home-video-banner-modal__inner {
    padding: 12px;
    overflow: auto;
    max-height: calc(100vh - 72px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.home-video-banner-modal__empty {
    margin: 48px 24px;
    text-align: center;
    color: #555;
    font-size: 0.95rem;
}

/* 固定主视频区宽高，避免切换 src 未解码前高度塌陷导致弹窗闪动 */
.home-video-banner-modal__video-wrap {
    position: relative;
    width: 100%;
    height: min(52vh, 480px);
    flex-shrink: 0;
    background: #000;
    border-radius: 2px;
    overflow: hidden;
}

.home-video-banner-modal__video {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    background: #000;
}

.home-video-banner-modal__thumbs-wrap {
    margin-top: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.home-video-banner-modal__thumbs {
    display: flex;
    gap: 10px;
    padding: 4px 4px 8px;
    min-height: 140px;
}

.home-video-banner-modal__thumb {
    flex: 0 0 auto;
    width: 187px;
    border: none;
    border-radius: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: #111;
    text-align: left;
    position: relative;
}

/* 选中态仅靠去蒙层区分，不再使用边框 */

/* 未选中：整张缩略条（图 + 底部标题）统一蒙灰，与选中项区分 */
.home-video-banner-modal__thumb:not(.is-active)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 0;
    background: rgba(128, 128, 128, 0.7);
    pointer-events: none;
}

.home-video-banner-modal__thumb-img {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 105.19px;
    object-fit: cover;
}

.home-video-banner-modal__thumb-placeholder {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 105.19px;
    background: linear-gradient(135deg, #2a2a35, #1a1a22);
}

.home-video-banner-modal__thumb-label {
    position: relative;
    z-index: 0;
    display: block;
    padding: 6px 8px;
    font-size: 0.72rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.mobile .home-video-banner-modal__panel {
    width: 100%;
    max-height: calc(100vh - 24px);
}

html.mobile .home-video-banner-modal__thumb {
    width: 187px;
}

/* ========== 首页：产品分类（后台可开关、背景图、6 格跳转） ========== */
.home-product-categories {
    position: relative;
    background: #0a0a0f;
    color: #fff;
    padding: 180px 0 80px;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 970px;
}

/* 背景图与内容之间的压暗层（背景图本身不再整体 opacity，否则图片几乎看不见） */
.home-product-categories::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(8, 8, 14, 0.52);
    pointer-events: none;
}

.home-product-categories .container.home-pc-inner {
    position: relative;
    z-index: 2;
    /* 三列 385px + 间距：约 1155 + 2×44 gap，需略放宽 */
    max-width: 1320px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 36px;
    box-sizing: border-box;
}

.home-pc-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #0a0a0f;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none;
}

.home-pc-heading {
    margin: 0;
    text-align: center;
    font-size: clamp(2.125rem, 5.2vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
}

.home-pc-more-wrap {
    margin: 18px 0 100px;
    text-align: center;
}

.home-pc-more {
    display: inline-block;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-pc-more:hover {
    color: #7eb8ff;
}

/* 六张分类图整体网格：自网格自身高度的一整段下方升起 + 淡入（红框整块） */
.home-pc-grid {
    display: grid;
    grid-template-columns: repeat(3, 385px);
    justify-content: center;
    gap: 40px 44px;
    margin-top: 44px;
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    pointer-events: none;
    transition: transform 3s ease-out, opacity 3s ease-out;
}

.home-pc-grid--in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
}

/* 整张分类图固定 385×155px（设计尺寸） */
.home-pc-card.home-pc-card--image-only {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    width: 385px;
    height: 155px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {

    .home-pc-grid {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        pointer-events: auto !important;
    }
}

.home-pc-card.home-pc-card--image-only:focus {
    outline: none;
}

.home-pc-card.home-pc-card--image-only:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.8);
    outline-offset: 2px;
}

.home-pc-card__gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: linear-gradient(180deg, rgba(30, 80, 180, 0.15) 0%, rgba(37, 99, 235, 0.55) 100%);
    pointer-events: none;
}

.home-pc-card.home-pc-card--image-only:hover .home-pc-card__gradient,
.home-pc-card.home-pc-card--image-only:focus-visible .home-pc-card__gradient {
    opacity: 1;
}

.home-pc-card.home-pc-card--image-only::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.95), transparent);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.85);
    pointer-events: none;
}

.home-pc-card.home-pc-card--image-only:hover::after,
.home-pc-card.home-pc-card--image-only:focus-visible::after {
    opacity: 1;
}

.home-pc-card.home-pc-card--image-only:hover,
.home-pc-card.home-pc-card--image-only:focus-visible {
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 0 24px rgba(37, 99, 235, 0.2);
}

.home-pc-card__img {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.home-pc-card__img-placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.08);
}

/* 平板与手机：一行 2 张，卡片随屏宽等比缩放（保持 385:155） */
@media (max-width: 992px) {
    .home-product-categories .container.home-pc-inner {
        padding: 0 35px;
    }

    .home-pc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 28px 32px;
        margin-top: 48px;
    }

    .home-pc-card.home-pc-card--image-only {
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 385 / 155;
    }
}

@media (max-width: 900px) {
    .home-pc-grid {
        gap: 22px 16px;
    }
}

@media (max-width: 576px) {
    .home-product-categories {
        padding: 72px 0 56px;
        min-height: auto;
    }

    .home-pc-heading {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .home-pc-more-wrap {
        margin: 14px 0 48px;
    }

    .home-product-categories .container.home-pc-inner {
        padding: 0 30px;
    }

    .home-pc-grid {
        gap: 18px 12px;
        margin-top: 40px;
    }
}

/* -------------------------------------------------------------------
 * 首页品牌销售数据（软件专区下方）
------------------------------------------------------------------- */

.home-branding {
    position: relative;
    color: #fff;
    overflow: hidden;
    min-height: 940px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.home-branding .container.home-branding__inner {
    position: relative;
    z-index: 2;
    max-width: 1920px;
    width: 100%;
    box-sizing: border-box;
    padding: 160px 24px 120px;
}

.home-branding__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.home-branding__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.58);
    pointer-events: none;
}

/* 与参考稿一致：标题 MiSans-Demibold、约 49.33px、白、宽约 1600 内居中 */
.home-branding__title {
    margin: 0 auto 1.25rem;
    max-width: 1600px;
    text-align: center;
    font-family: "MiSans-Demibold", "MiSans-Semibold", sans-serif;
    font-size: 49.3333px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.02em;
    color: #ffffff;
}

/* 描述：MiSans-Regular、18.67px、灰 #A6A6A6，宽约 1600 */
.home-branding__desc {
    margin: 0 auto 0;
    max-width: 1600px;
    text-align: center;
    font-family: "MiSans-Regular", "MiSans-Light", sans-serif;
    font-size: 18.6667px;
    font-weight: 400;
    line-height: 1.75;
    color: #a6a6a6;
}

.home-branding__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    margin: 3.5rem 0 0;
}

/* 与参考稿一致：单项 270×360，左右间距 25px */
.home-branding-stat {
    --stat-accent: #1e9fff;
    position: relative;
    box-sizing: border-box;
    width: 270px;
    height: 360px;
    flex: 0 0 auto;
    margin: 0 25px;
    padding: 0;
    text-align: center;
    cursor: default;
}

/* 整格蓝色渐变（自下而上减淡），覆盖至图标区域；悬停/移开用透明度淡入淡出，直角 */
.home-branding-stat__shade {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 0;
    background: linear-gradient(to top,
            rgba(30, 159, 255, 0.6) 0%,
            rgba(30, 159, 255, 0.2) 12%,
            rgba(30, 159, 255, 0.1) 38%,
            rgba(30, 159, 255, 0.06) 62%,
            rgba(30, 159, 255, 0.03) 82%,
            rgba(30, 159, 255, 0.01) 100%);
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.home-branding-stat:hover .home-branding-stat__shade,
.home-branding-stat:focus-within .home-branding-stat__shade {
    opacity: 1;
}

.home-branding-stat__body {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0.5rem;
}

.home-branding-stat__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-branding-stat__icon img,
.home-branding-stat__icon svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.home-branding-stat__icon svg {
    flex-shrink: 0;
}

/* 白色/浅色图标（img 或内联 SVG）：悬停时变为与渐变一致的蓝色，移开恢复 */
.home-branding-stat:hover .home-branding-stat__icon img,
.home-branding-stat:hover .home-branding-stat__icon svg,
.home-branding-stat:focus-within .home-branding-stat__icon img,
.home-branding-stat:focus-within .home-branding-stat__icon svg {
    filter: brightness(0) saturate(100%) invert(54%) sepia(98%) saturate(1200%) hue-rotate(185deg) brightness(1.02) contrast(1.02);
}

.home-branding-stat__value {
    margin: 0;
    width: 100%;
    max-width: 270px;
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-size: 50.6667px;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    transition: color 0.3s ease;
}

.home-branding-stat__count {
    font-variant-numeric: tabular-nums;
    color: #ffffff;
    transition: color 0.3s ease;
}

.home-branding-stat__label {
    margin: 0;
    width: 100%;
    max-width: 270px;
    font-family: "MiSans-Regular", "MiSans-Light", "MiSans-Demibold", sans-serif;
    font-size: 18.6667px;
    font-weight: 400;
    line-height: 1.35;
    color: #ffffff;
    opacity: 0.95;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.home-branding-stat:hover .home-branding-stat__value,
.home-branding-stat:hover .home-branding-stat__count,
.home-branding-stat:hover .home-branding-stat__label,
.home-branding-stat:focus-within .home-branding-stat__value,
.home-branding-stat:focus-within .home-branding-stat__count,
.home-branding-stat:focus-within .home-branding-stat__label {
    color: var(--stat-accent);
    opacity: 1;
}

@media (max-width: 992px) {
    .home-branding {
        min-height: auto;
    }

    .home-branding .container.home-branding__inner {
        padding: 72px 20px 64px;
    }

    .home-branding__title {
        font-size: clamp(1.625rem, 4.2vw, 49.3333px);
        margin-bottom: 1rem;
    }

    .home-branding__desc {
        font-size: clamp(0.9375rem, 2.4vw, 18.6667px);
    }

    .home-branding__stats {
        margin-top: 2.5rem;
    }

    .home-branding-stat {
        width: 270px;
        max-width: calc(100% - 32px);
        height: auto;
        min-height: 360px;
        margin: 0 16px 20px;
    }
}

@media (max-width: 576px) {
    .home-branding-stat {
        width: min(270px, 100%);
        margin: 0 12px 16px;
    }

    .home-branding-stat__value {
        font-size: clamp(2rem, 12vw, 50.6667px);
    }

    .home-branding-stat__label {
        font-size: clamp(1rem, 4.2vw, 18.6667px);
    }
}

/* ========== 手机端（html.mobile）：品牌数据 2+3 排布，关闭悬停蓝渐变与变色 ========== */
html.mobile .home-branding {
    min-height: auto;
}

html.mobile .home-branding .container.home-branding__inner {
    padding: 56px 16px 40px;
}

html.mobile .home-branding__stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px 8px;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
}

html.mobile .home-branding-stat {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 8px 2px 16px;
}

/* API 顺序：校、国、用户、机构、知产 → 视觉第一行：用户、机构；第二行：校、国、知产 */
html.mobile .home-branding-stat:nth-child(3) {
    order: 1;
    grid-column: span 3;
}

html.mobile .home-branding-stat:nth-child(4) {
    order: 2;
    grid-column: span 3;
}

html.mobile .home-branding-stat:nth-child(1) {
    order: 3;
    grid-column: span 2;
}

html.mobile .home-branding-stat:nth-child(2) {
    order: 4;
    grid-column: span 2;
}

html.mobile .home-branding-stat:nth-child(5) {
    order: 5;
    grid-column: span 2;
}

html.mobile .home-branding-stat__body {
    height: auto;
    min-height: 240px;
    padding: 0.5rem 0.25rem;
    gap: 0.75rem;
}

html.mobile .home-branding-stat__shade {
    display: none;
}

html.mobile .home-branding-stat:hover .home-branding-stat__shade,
html.mobile .home-branding-stat:focus-within .home-branding-stat__shade {
    opacity: 0;
}

html.mobile .home-branding-stat:hover .home-branding-stat__icon img,
html.mobile .home-branding-stat:hover .home-branding-stat__icon svg,
html.mobile .home-branding-stat:focus-within .home-branding-stat__icon img,
html.mobile .home-branding-stat:focus-within .home-branding-stat__icon svg {
    filter: none;
}

html.mobile .home-branding-stat:hover .home-branding-stat__value,
html.mobile .home-branding-stat:hover .home-branding-stat__count,
html.mobile .home-branding-stat:hover .home-branding-stat__label,
html.mobile .home-branding-stat:focus-within .home-branding-stat__value,
html.mobile .home-branding-stat:focus-within .home-branding-stat__count,
html.mobile .home-branding-stat:focus-within .home-branding-stat__label {
    color: #ffffff;
}

html.mobile .home-branding-stat:hover .home-branding-stat__label,
html.mobile .home-branding-stat:focus-within .home-branding-stat__label {
    opacity: 0.95;
}

html.mobile .home-branding-stat__value {
    max-width: none;
    font-size: clamp(1.75rem, 7vw, 50.6667px);
}

html.mobile .home-branding-stat__label {
    max-width: none;
    font-size: clamp(0.875rem, 3.6vw, 18.6667px);
}