/* 首页：练听力 / 练口语 左右分屏（方案 1c 分屏大字） */

.home-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.home-nav {
    border-bottom: 1px solid #f1f3f5;
}

/* 负外边距抵消 container-fluid 的左右内边距，让分屏铺满整个视口宽度 */
.home-split {
    flex: 1;
    display: flex;
    align-items: stretch;
    min-height: 0;
    margin: 0 -15px 58px; /* 底部留出 fixed footer 的高度 */
}

.home-split-divider {
    width: 1px;
    background: #e9ecef;
}

.home-panel {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 70px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s;
}
.home-panel:hover,
.home-panel:focus {
    text-decoration: none;
}
.home-panel-listening:hover,
.home-panel-listening:focus {
    background: #f2f8fd;
}
.home-panel-speaking:hover,
.home-panel-speaking:focus {
    background: #f7f6fd;
}

.home-panel-bar {
    width: 36px;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 26px;
}
.home-panel-listening .home-panel-bar { background: #4a90d9; }
.home-panel-speaking .home-panel-bar { background: #7167e0; }

.home-panel-title {
    font-size: 62px;
    font-weight: 300;
    color: #343a40;
    line-height: 1.15;
    margin-bottom: 14px;
}

.home-panel-desc {
    font-size: 16px;
    color: #8a8794;
    margin-bottom: 34px;
}

.home-panel-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
}
.home-panel-listening .home-panel-cta { color: #4a90d9; }
.home-panel-speaking .home-panel-cta { color: #7167e0; }
.home-panel-cta svg {
    transition: transform 0.25s;
}
.home-panel:hover .home-panel-cta svg {
    transform: translateX(4px);
}

.home-panel-ghost {
    position: absolute;
    right: 42px;
    bottom: 34px;
    opacity: 0.07;
    pointer-events: none;
}
.home-panel-speaking .home-panel-ghost { right: 48px; }

.home-panel-badge {
    position: absolute;
    top: 34px;
    left: 70px;
    background: #7167e0;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
}

/* 响应式：移动端上下堆叠 */
@media (max-width: 767px) {
    .home-split {
        flex-direction: column;
        margin-bottom: 70px;
    }
    .home-split-divider {
        width: auto;
        height: 1px;
    }
    .home-panel {
        padding: 44px 28px;
        min-height: 250px;
    }
    .home-panel-title {
        font-size: 40px;
    }
    .home-panel-desc {
        margin-bottom: 22px;
    }
    .home-panel-badge {
        top: 20px;
        left: 28px;
    }
    .home-panel-ghost {
        width: 130px;
        height: 130px;
        right: 20px;
        bottom: 20px;
    }
    .home-panel-speaking .home-panel-ghost { right: 24px; }
}
