@charset "UTF-8";

/* ==================== 下载中心外层容器 ==================== */
.download-main {
    padding: 40px 0 100px 0;
    background-color: #fafbfc; /* 淡淡的灰蓝色背景 */
    min-height: calc(100vh - 70px - 260px); /* 确保内容不满时页脚也能在最下方 */
    position: relative;
}

/* 核心修改：大标题向上提升，使其有一半进入到头部导航栏里面 */
.page-title {
    text-align: center;
    font-size: 34px;
    color: #111;
    font-weight: 700;
    
    /* 使用负的 margin-top 让标题往上移动，一半叠在导航栏里 */
    margin-top: -55px; 
    margin-bottom: 60px;
    
    position: relative;
    z-index: 110; /* 确保层级高于 header 的 z-index (100) */
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff; /* 给标题加一个白色背景块，让重叠处文字更清晰 */
    padding: 4px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* 淡淡的阴影增强重叠立体感 */
}

/* ==================== 下载板块布局（左右分流卡片） ==================== */
.download-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch; /* 保持左右两个卡片高度一致 */
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.download-card {
    background: #fff;
    border: 1px solid #e1e4e6;
    border-radius: 16px;
    padding: 50px 40px;
    flex: 1;
    min-width: 300px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

/* 卡片顶部标题 */
.download-card h3 {
    font-size: 24px;
    margin-bottom: 35px;
    text-align: center;
    color: #111;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}
/* 标题下方小装饰条 */
.download-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #06C755;
    border-radius: 2px;
}

/* ==================== 电脑端按键样式修改（变为要求的绿色） ==================== */
.btn-dl {
    display: block;
    background-color: #06C755; /* 按钮改为绿色基调 */
    color: #ffffff;
    text-align: center;
    padding: 16px 20px;
    margin-bottom: 18px;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.btn-dl:hover {
    background-color: #05b34c; /* 悬停时稍微加深绿色 */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6,199,85,0.15);
}
.btn-dl .txt {
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* 更多选项跳转提示 */
.more-options-tip {
    text-align: center;
    margin-top: auto; /* 自动推至卡片最底部对齐 */
    padding-top: 20px;
    font-size: 14px;
}
.more-options-tip a {
    color: #06C755;
    font-weight: 500;
}
.more-options-tip a:hover {
    text-decoration: underline;
}

/* ==================== 手机端按钮样式排版 ==================== */
.mobile-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}
.btn-mobile-dl {
    display: block;
    border: 1px solid #dcdfe6;
    padding: 15px 20px;
    text-align: center;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background: #ffffff;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.btn-mobile-dl .icon {
    margin-right: 6px;
    font-size: 16px;
    display: inline-block;
    vertical-align: middle;
}
.btn-mobile-dl:hover {
    background: #f5f7fa;
    border-color: #06C755;
    color: #06C755;
}

/* ==================== 移动端响应式适配 ==================== */
@media (max-width: 768px) {
    .download-main {
        padding: 60px 0 60px 0;
    }
    .page-title {
        font-size: 24px;
        margin-top: 0; /* 移动端取消悬浮重叠效果，保证易读性 */
        margin-bottom: 35px;
        left: 0;
        transform: none;
        display: block;
        box-shadow: none;
        padding: 0;
    }
    .download-grid {
        flex-direction: column; /* 窄屏时改为垂直单列排列 */
        gap: 25px;
        padding: 0 15px;
    }
    .download-card {
        padding: 35px 25px;
    }
}