:root {
    --primary-color: #007aff;
    --bg-color: #f5f7fa;
    --card-bg: #ffffff;
    --text-main: #333333;
    --text-sub: #888888;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    margin-bottom: 24px;
    object-fit: cover;
}

.app-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.app-info {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 30px;
}

.app-info span {
    margin: 0 5px;
}

.btn-download {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0,122,255,0.3);
}

.btn-download:active {
    transform: scale(0.98);
}

.install-tips {
    text-align: left;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    font-size: 13px;
    color: #666;
    margin-bottom: 25px;
}

.qrcode-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.qrcode-container {
    display: inline-block;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #eee;
}

.scan-tip {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-sub);
}

/* Wechat Mask */
.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: none;
}

.mask img {
    position: absolute;
    right: 20px;
    top: 20px;
    max-width: 80%;
}

.footer {
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
    color: #ccc;
}

@media (min-width: 768px) {
    .container {
        padding-top: 50px;
        justify-content: flex-start;
    }
}
