* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

/* 主容器 */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 标题区域 */
.app-logo {
    font-size: 36px;
    font-weight: bold;
    color: #3d8ee0;
    margin-bottom: 10px;
}

.app-desc {
    font-size: 16px;
    color: #666666;
    margin-bottom: 50px;
}

/* 下载按钮 */
.download-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary {
    display: inline-block;
    padding: 18px 30px;
    background-color: #3d8ee0;
    color: #ffffff;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(61, 142, 224, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #367cc9;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 18px 30px;
    border: 2px solid #3d8ee0;
    color: #3d8ee0;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fff;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #f0f7ff;
    transform: translateY(-2px);
}

/* 核心功能亮点（4个，2×2布局） */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    padding: 10px;
}

.feature-title {
    font-size: 14px;
    color: #3d8ee0;
    font-weight: bold;
}

.feature-desc {
    font-size: 12px;
    color: #999999;
}

/* 底部版权 */
.footer {
    font-size: 12px;
    color: #999999;
    margin-top: auto;
}

/* ---------------- 自定义美观弹窗 + 过渡动画 ---------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 弹窗激活状态 */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #fff;
    width: 80%;
    max-width: 320px;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

/* 激活时弹窗放大到正常尺寸 */
.modal-overlay.active .modal-box {
    transform: scale(1);
}

/* 本地LOGO图标样式 */
.modal-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 15px;
}

.modal-text {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin: 0;
    /* 核心修复：允许换行符生效 */
    white-space: pre-line;
}

/* ---------------- 移动端适配 ---------------- */
@media (max-width: 480px) {
    .app-logo {
        font-size: 30px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 15px 25px;
        font-size: 16px;
    }

    .feature-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}