*, :after, :before { box-sizing: border-box; }
body {
    color: rgba(0,0,0,.85);
    font-family: -apple-system, BlinkMacSystemFont, '微软雅黑', Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    background-color: rgb(243,246,254);
}
a { color: #222; text-decoration: none; }
.head {
    height: 80px;
    margin-bottom: 20px;
}
.head-body {
    margin: 0 auto;
    padding: 0 30px;
    width: 1360px;
    max-width: 100%;
    display: flex;
    height: 100%;
    justify-content: space-between;
}
.head-body-left, .head-body-right {
    display: flex;
    gap: 50px;
    align-items: center;
}
.head-body-left-tab a, .head-body-right a {
    color: rgba(6,10,38,.6);
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: transform .3s ease-in-out;
}
.head-body a:hover { transform: translateY(-5px); }
.logo-text {
    font-size: 22px;
    font-weight: 700;
}
.main-container {
    display: flex;
    gap: 120px;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px);
}
.qrcode-card {
    background-color: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 50px 0 rgba(0,65,217,.08);
    overflow: hidden;
    width: 380px;
    max-width: 100%;
    margin-top: 40px;
}
.resource-title {
    text-align: center;
    color: #242830;
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
    word-break: break-all;
}
.resource-title span { font-weight: 500; }
.qr-instructions {
    color: #9c9ea3;
    font-size: 14px;
    line-height: 20px;
    margin: 8px 0 32px;
    text-align: center;
}
.qr-instructions .app-name { color: #242830; font-weight: 600; }
#qrcode-container {
    margin: 20px auto;
    border: 1.5px solid #e5e6e8;
    border-radius: 12px;
    width: 180px;
    height: 180px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#qrcode-container canvas {
    width: 100% !important;
    height: 100% !important;
}
#qrcode-container .loading {
    color: #999;
    font-size: 13px;
}
.divider {
    background: #e5e6e8;
    height: 1px;
    width: 90%;
    margin: 0 auto;
}
.footer-tip {
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #242830;
    padding: 20px;
}
.footer-tip .brand-color { margin-right: 4px; }
.demo-img {
    display: flex;
    align-items: center;
    justify-content: center;
}
.demo-img img {
    filter: drop-shadow(0 8px 50px rgba(0,65,217,.08));
}
@media (max-width: 1000px) {
    .demo-img { display: none; }
    .head-body { padding: 0 15px; }
    .head { height: 60px; margin-bottom: 10px; }
    .qrcode-card { margin-top: 10px; width: 92%; }
    .resource-title { font-size: 16px; padding: 15px; }
    .footer-tip { font-size: 15px; }
    .main-container { min-height: calc(100vh - 80px); gap: 0; }
}
.code-box {
    text-align: center;
    padding: 10px 20px 15px;
}
.code-box .label { color: #9c9ea3; font-size: 13px; margin-bottom: 5px; }
.code-box .code-value {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #ff3f3d;
    background: rgba(255,63,61,.08);
}
.copy-btn {
    margin-left: 8px;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    background: #fff;
    transition: all .2s;
}
.copy-btn:hover { border-color: #bbb; color: #333; }
.related-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.related-section h3 {
    font-size: 18px;
    color: #242830;
    margin-bottom: 15px;
}
.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}
.related-item {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s;
}
.related-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.related-item a { color: #333; }
.related-item .title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.related-item .meta { font-size: 12px; color: #999; }
.disk-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    vertical-align: middle;
    margin-right: 6px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    line-height: 28px;
    font-weight: 700;
}
.mobile-countdown {
    text-align: center;
    padding: 40px 20px;
}
.countdown-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #e5e6e8;
    border-top-color: #0d53ff;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #0d53ff;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.countdown-text {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}
.countdown-text .app-name { font-weight: 600; color: #333; }
.jump-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background: #0d53ff;
    color: #fff;
    border-radius: 24px;
    font-size: 15px;
    cursor: pointer;
    border: none;
}
.jump-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}