* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
}

/* 垂直淡蓝渐变背景，还原原图渐变质感 */
body {
    background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
    color: #111;
    padding: 20px 20px;
    text-align: center;
    min-height: 100vh;
}

/* 顶部标题区域 */
.page-title {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 16px;
}

.page-title-brand {
    color: rgb(255, 123, 37);
}

.page-sub {
    font-size: 18px;
    color: #666;
    margin-bottom: 12px;
}

/* 单独成行的系统识别提示 */
.page-os-detect {
    margin-bottom: 8px;
}

.os-badge {
    background: #e6f0ff;
    color: #2b6cb0;
    border: 1px solid #bfdbfe;
    padding: 4px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 引入本地 system.svg 的图标样式 */
.os-badge-img {
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

.page-tip-text {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.page-tip-text a {
    color: #3377ff;
    text-decoration: none;
}

.warn-bar {
    background: #fff;
    border-radius: 99px;
    padding: 10px 24px;
    max-width: 620px;
    margin: 0 auto 15px;
    font-size: 14px;
    color: #555;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

/* 系统下载按钮组 */
.os-wrap {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.os-card {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 14px;
    padding: 30px 10px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
    border: 2px solid transparent;
}

.os-card:hover {
    transform: translateY(-4px);
}

/* 自动高亮当前系统对应的按钮 */
.os-card.highlight {
    border-color: #3377ff;
    box-shadow: 0 6px 24px rgba(51, 119, 255, 0.18);
}

/* 柔和透气的推荐标签 */
.recommend-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    border: 1px solid #bfdbfe;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 99px;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
}

.os-icon {
    font-size: 46px;
    margin-bottom: 12px;
    width: 50px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.os-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.os-name {
    font-size: 15px;
    color: #333;
}

/* 二维码悬浮显示通用样式 */
.qr-card {
    position: relative;
}

.qr-popover {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 160px;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.qr-popover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-popover::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: #fff;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
}

.qr-card:hover .qr-popover {
    opacity: 1;
    visibility: visible;
    top: -190px;
}

/* 设备图片限制大小 */
.devices-wrap {
    text-align: center;
    margin-bottom: 70px;
}

.devices-img {
    max-width: 450px;
    width: 100%;
    height: auto;
    object-fit: contain;
}