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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #f5f8fc 0%, #e8f0fc 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Logo区域 */
.logo-section {
    text-align: center;
    margin-bottom: 16px;
}

.logo {
    width: 90px;
    height: 90px;
}

/* 标题区域 */
.title-section {
    text-align: center;
    margin-bottom: 24px;
}

.title-section h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 12px;
}

.subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.subtitle-wrapper .line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4a69bd, transparent);
}

.subtitle {
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 1px;
}

/* 下载按钮 */
.download-section {
    margin-bottom: 24px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f5a623 0%, #f7b84e 100%);
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 166, 35, 0.45);
}

.download-btn i {
    font-size: 24px;
    color: #1a2744;
}

.btn-text {
    font-size: 18px;
    font-weight: 600;
    color: #1a2744;
}

/* 三大功能卡片 */
.features-section {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.feature-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 10px;
    background: #f8fafc;
    border-radius: 16px;
    text-align: center;
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 50%;
    margin-bottom: 10px;
}

.feature-icon i {
    font-size: 22px;
    color: white;
}

.feature-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 11px;
    color: #64748b;
}

/* 数据统计 */
.stats-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.stat-icon.blue {
    color: #4a69bd;
}

.stat-icon.orange {
    color: #f97316;
}

.stat-icon.green {
    color: #22c55e;
}

.stat-icon.gold {
    color: #f5a623;
}

.stat-icon.purple {
    color: #a855f7;
}

.stat-number {
    margin-bottom: 2px;
}

.stat-number .num {
    font-size: 20px;
    font-weight: 700;
    color: #1a2744;
}

.stat-number .unit {
    font-size: 11px;
    font-weight: 500;
    color: #1a2744;
}

.stat-label {
    font-size: 10px;
    color: #1a2744;
    font-weight: 500;
}

.divider {
    color: #e2e8f0;
    font-size: 16px;
    margin: 0 2px;
}

/* 底部标语 */
.bottom-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 0;
    margin-bottom: 18px;
}

.bottom-slogan .line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #f5a623, transparent);
}

.slogan-text {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.5px;
}

/* Footer */
.footer {
    text-align: center;
}

.footer p {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.footer p:last-child {
    margin-bottom: 0;
}

.beian-link {
    color: #94a3b8;
    text-decoration: none;
}

.beian-link:hover {
    color: #64748b;
    text-decoration: underline;
}

/* 平台检测遮罩层 */
.platform-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f8fc 0%, #e8f0fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.mask-content {
    text-align: center;
    padding: 40px 32px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 320px;
    margin: 0 20px;
}

.mask-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #4a69bd 0%, #6a89cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mask-icon i {
    font-size: 36px;
    color: white;
}

.mask-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 12px;
}

.mask-content p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}

.mask-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #f5a623 0%, #f7b84e 100%);
    border: none;
    border-radius: 30px;
    color: #1a2744;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mask-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

/* 响应式设计 */
@media (max-width: 420px) {
    .container {
        padding: 32px 20px;
    }
    
    .stats-section {
        gap: 8px;
    }
    
    .stat-number {
        font-size: 12px;
    }
    
    .stat-label {
        font-size: 9px;
    }
}

/* 备用下载 */
.backup-download {
    text-align: center;
    margin-bottom: 18px;
}

.backup-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    color: #64748b;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.backup-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #475569;
}

.backup-btn i {
    font-size: 14px;
}

/* 下载提示弹窗 */
.download-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 320px;
    margin: 0 20px;
    text-align: center;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content .modal-text {
    font-size: 16px;
    color: #1a2744;
    font-weight: 500;
    margin: 0;
}
