/* 首页场景区(效果对齐合思 ekuaibao 场景区: 悬停切换/标签下划线展开/详情左右滑入) */
.home_scene_wrap {
    padding: 70px 0 80px;
    background: #fff;
}

.home_scene_title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: #222;
    margin-bottom: 50px;
}

/* 场景切换标签 */
.home_scene_tabs {
    display: flex;
    justify-content: space-evenly;
    border-bottom: 1px solid #eee;
    margin-bottom: 60px;
}

.home_scene_tab {
    padding-bottom: 34px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.home_scene_tab_icon {
    width: 96px;
    height: 80px;
    margin: 0 auto 16px;
    background-color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s;
}

.home_scene_tab_icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.home_scene_tab_name {
    font-size: 18px;
    color: #333;
}

.home_scene_tab:hover .home_scene_tab_icon,
.home_scene_tab_on .home_scene_tab_icon {
    box-shadow: 6px 6px 21px 0 rgba(0, 0, 0, .1);
}

.home_scene_tab::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #4553c8;
    transition: all 1s;
}

.home_scene_tab:hover::after,
.home_scene_tab_on::after {
    width: 100%;
    left: 0;
}

/* 场景详情面板: 非激活绝对定位叠放, 激活相对定位撑开高度 */
.home_scene_detail {
    position: relative;
}

.home_scene_panel {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    overflow: hidden;
    background-color: #fff;
}

.home_scene_panel_on {
    position: relative;
    z-index: 999;
}

.home_scene_panel_left {
    width: 47%;
    padding-right: 50px;
    box-sizing: border-box;
    transition: all 1s;
    transform: translateX(-100px);
    opacity: 0;
}

.home_scene_panel_right {
    width: 53%;
    padding: 40px;
    box-sizing: border-box;
    text-align: right;
    transition: all 1s;
    transform: translateX(100px);
    opacity: 0;
}

.home_scene_panel_on .home_scene_panel_left,
.home_scene_panel_on .home_scene_panel_right {
    transform: translateX(0);
    opacity: 1;
}

.home_scene_panel_title {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.home_scene_panel_intro {
    font-size: 16px;
    color: #666;
    line-height: 1.9;
    margin-bottom: 40px;
}

.home_scene_btn {
    display: inline-block;
    width: 140px;
    border-radius: 23px;
    border: solid 1px #4553c8;
    line-height: 45px;
    color: #4553c8;
    text-align: center;
    margin-right: 20px;
    transition: all .3s ease;
}

.home_scene_panel_btns .home_scene_btn:last-child {
    margin-right: 0;
}

.home_scene_btn:hover {
    background-color: #4553c8;
    color: #fff;
}

.home_scene_panel_right img {
    width: 100%;
}

@media (max-width: 992px) {
    .home_scene_wrap {
        padding: 46px 0 50px;
    }

    .home_scene_title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .home_scene_tabs {
        flex-wrap: wrap;
        gap: 18px 0;
        margin-bottom: 30px;
    }

    .home_scene_tab {
        width: 33%;
        padding-bottom: 20px;
    }

    .home_scene_panel,
    .home_scene_panel_on {
        position: relative;
        flex-direction: column;
    }

    .home_scene_panel {
        display: none;
    }

    .home_scene_panel_on {
        display: flex;
    }

    .home_scene_panel_left,
    .home_scene_panel_right {
        width: 100%;
        padding: 0;
    }

    .home_scene_panel_right {
        margin-top: 24px;
        text-align: center;
    }
}

/* 手机端细化: 标签图标/文字缩小, 面板内边距收紧, 按钮自适应 */
@media (max-width: 767px) {
    .home_scene_tab_icon {
        width: 72px;
        height: 62px;
        margin-bottom: 10px;
    }

    .home_scene_tab_icon img {
        width: 44px;
        height: 44px;
    }

    .home_scene_tab_name {
        font-size: 14px;
    }

    .home_scene_panel_left {
        padding-right: 0;
    }

    .home_scene_panel_title {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .home_scene_panel_intro {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 24px;
    }

    .home_scene_panel_btns {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .home_scene_btn {
        width: auto;
        min-width: 120px;
        padding: 0 18px;
        line-height: 42px;
        margin-right: 0;
    }
}

/* ---------- 手机端字号层级(参考合思 expense.html 手机端: 区块大标题20 / 横幅22 / 小标题16-17 / 卡片15 / 正文14) ---------- */
@media (max-width: 767px) {
    .home_scene_title {
        font-size: 20px;
        line-height: 1.4;
    }
    .home_scene_panel_title {
        font-size: 18px;
    }
}

/* ---------- 场景区保持白底: 非激活面板整体隐藏, 避免较高面板的白色背景在激活面板下方撑出 ---------- */
.home_scene_panel {
    visibility: hidden;
}
.home_scene_panel_on {
    visibility: visible;
}

/* ---------- 手机端场景标签一行两个 ---------- */
@media (max-width: 767px) {
    .home_scene_tab {
        width: 50%;
    }
}
