/* ========================= 全局 ========================= */
html {
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
    background: #fff;
    min-height: 100vh;
    font-size: 16px;
}

body, div, p, ul, li, img, a {
    margin: 0;
    padding: 0;
}

ul { list-style: none; }

a {
    text-decoration: none !important;
    outline: none;
    color: #29344a;
    transition: all 0.2s;
}

a:hover { color: #3c2299; }

/* ========================= 全局图片 ========================= */
img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================= PC / 移动端 ========================= */
.pc-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 1024px) {
    .pc-only { display: none; }
    .mobile-only { display: block; }
}

/* ========================= PC端布局 ========================= */
.title-container {
    position: relative;
    width: 100%;
}

/* 背景区域 */
.windowTitleBg {
    width: 100%;
    height: 40rem;
    background-color: #e97165;
    position: relative;
    z-index: 1;
}

/* 左上角产品名在背景上方 */
.productName {
    position: absolute;
    top: 2rem;
    left: 17%;
    font-size: 2.2rem;
    font-weight: bold;
    color: #fff;
    z-index: 10;
}

/* 描述信息在按钮上方 */
.titleInfo {
    position: absolute;
    top: 8rem;
    left: 17%;
    font-size: 1.6rem;
    line-height: 2.8rem;
    color: #fff;
    z-index: 10;
}

/* PC端按钮容器 */
.titleButtonWindows {
    position: absolute;
    display: flex;
    gap: 1rem;
    z-index: 100;
}

/* 第一排按钮 */
.titleButtonWindows.row1 {
    bottom: 14rem;
    left: 17%;
}

/* 第二排按钮 */
.titleButtonWindows.row2 {
    bottom: 9rem;
    left: 17%;
}

/* 按钮样式 */
.titleButtonWindows a {
    width: 10rem;
    height: 3.5rem;
    line-height: 3.5rem;
    padding-left: 4rem;
    font-size: 1.1rem;
    color: #333;
    background: #fff no-repeat 30px center;
    background-size: 30px auto;
    border-radius: 0.35rem;
}

.titleButtonWindows a:hover {
    box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
}

/* 按钮图标 */
.titleButtonWindows a.windowsDownload { background-image: url(../img/do-windows.png); }
.titleButtonWindows a.androidDownload { background-image: url(../img/android.png); }
.titleButtonWindows a.iosDownload { background-image: url(../img/ios.png); }
.titleButtonWindows a.macDownload { background-image: url(../img/mac.png); }

/* Android 二维码 */
#androidDownloadPC { position: relative; }
.qr-box {
    position: absolute;
    top: -210px;
    right: -20px;
    width: 150px;
    background: #fff;
    padding: 10px;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
    display: none;
    z-index: 9999;
    text-align: center;
}
.qr-inner { width: 150px; height: 150px; margin: 0 auto; }
.qr-tips { font-size: 12px; color: red; margin-top: 8px; line-height: 1.4; }

/* Android按钮右上角小图标 */
@media (min-width: 1025px) {
    .androidDownload::after {
        content: "";
        width: 18px;
        height: 18px;
        background: url("../img/code2.png") no-repeat center;
        background-size: contain;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 15px;
        pointer-events: none;
    }
}

/* PC端底部信息条 */
.view_pc_tips_box {
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 12px #666;
    font-size: 14px;
    z-index: 100;
    position: fixed;
    left: 0;
    bottom: 0;
}
.view_pc_tips_box ul {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ========================= 移动端布局 ========================= */
@media (max-width: 1024px) {
    /* 按钮居中 */
    .titleButtonWindows {
        position: absolute;
        left: 50% !important;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }
    .titleButtonWindows:nth-of-type(1) { bottom: 10rem !important; }
    .titleButtonWindows:nth-of-type(2) { bottom: 5rem !important; }

    .titleButtonWindows a {
        width: 8rem !important;
        height: 3rem !important;
        line-height: 3rem !important;
        font-size: 0.85rem !important;
        padding-left: 2.6rem !important;
        background-size: 24px auto !important;
        background-position: 10px center !important;
        border-radius: 0.35rem !important;
    }

    .view_pc_tips_box {
        position: relative;
        margin-top: 1rem;
        font-size: 12px;
        padding: 10px;
        box-shadow: 0 2px 12px #666;
    }

    .view_pc_tips_box ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0;
        margin: 0;
    }

    .view_pc_tips_box li {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    .view_pc_tips_box li span,
    .view_pc_tips_box li a {
        font-size: 12px;
        margin: 2px 0;
    }

    .view_pc_tips_box li a { color: #1a73e8; }
}
