/* 下载弹窗 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background: rgba(5, 15, 35, 0.85);
    backdrop-filter: blur(10px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.download-modal {
    position: relative;
    width: 550px;
    max-width: 90%;
    padding: 40px;
    border-radius: 25px;
    background: linear-gradient(145deg, rgba(20, 50, 100, 0.9), rgba(10, 30, 80, 0.95));
    box-shadow:
        0 25px 60px rgba(0, 10, 40, 0.7),
        inset 0 0 0 1px rgba(100, 180, 255, 0.2),
        inset 0 0 20px rgba(0, 80, 200, 0.3);
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 150, 255, 0.2);
}

.modal-overlay.active .download-modal {
    transform: translateY(0) scale(1);
}

.modal-top-design {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #4cc9f0, #4895ef);
    border-radius: 4px 4px 0 0;
}

.modal-corner {
    position: absolute;
    width: 50px;
    height: 50px;
}

.modal-corner.top-left {
    top: 0;
    left: 0;
    border-left: 2px solid rgba(59, 130, 246, 0.7);
    border-top: 2px solid rgba(59, 130, 246, 0.7);
    border-radius: 25px 0 0 0;
}

.modal-corner.top-right {
    top: 0;
    right: 0;
    border-right: 2px solid rgba(59, 130, 246, 0.7);
    border-top: 2px solid rgba(59, 130, 246, 0.7);
    border-radius: 0 25px 0 0;
}

.modal-corner.bottom-left {
    bottom: 0;
    left: 0;
    border-left: 2px solid rgba(59, 130, 246, 0.7);
    border-bottom: 2px solid rgba(59, 130, 246, 0.7);
    border-radius: 0 0 0 25px;
}

.modal-corner.bottom-right {
    bottom: 0;
    right: 0;
    border-right: 2px solid rgba(59, 130, 246, 0.7);
    border-bottom: 2px solid rgba(59, 130, 246, 0.7);
    border-radius: 0 0 25px 0;
}

.modal-content {
    position: relative;
    z-index: 10;
}

.modal-header {
    text-align: center;
    margin-bottom: 35px;
}

.app-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #4895ef, #4cc9f0);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.5);
}

.modal-title {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(90deg, #a0e9ff, #74d1ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.modal-subtitle {
    font-size: 18px;
    color: #a6d5ff;
    font-weight: 300;
}

.modal-info {
    text-align: center;
    margin-bottom: 25px;
}

.app-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 26px;
    color: #74d1ff;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #a6c1e6;
    font-weight: 300;
}

.file-info {
    background: rgba(20, 50, 120, 0.5);
    border-radius: 15px;
    padding: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(80, 150, 255, 0.3);
    margin-bottom: 20px;
    backdrop-filter: blur(2px);
}

.file-icon {
    font-size: 28px;
    color: #74d1ff;
}

.file-details {
    text-align: left;
}

.file-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
    font-size: 18px;
}

.file-size {
    font-size: 15px;
    color: #a6d5ff;
}

.buttons-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.modal-button {
    flex: 1;
    padding: 18px 10px;
    border-radius: 15px;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.primary-btn {
    background: linear-gradient(90deg, #4895ef, #4cc9f0);
    color: white;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.7);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #d1e8f2;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(150, 200, 255, 0.3);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.policy-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #a6c1e6;
}

.policy-link a {
    color: #74d1ff;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px dashed rgba(116, 209, 255, 0.5);
}

.policy-link a:hover {
    color: #a6ffcb;
    text-decoration: none;
    border-bottom: 1px solid rgba(166, 255, 203, 0.8);
}

.platform-logos {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.platform-logo {
    font-size: 32px;
    color: #74d1ff;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.platform-logo:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .swiper {
        padding: 10px 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .logo {
        font-size: 38px;
    }

    .tagline {
        font-size: 28px;
    }

    .subtitle {
        font-size: 18px;
        padding: 12px 20px;
    }

    .section-title {
        font-size: 30px;
    }

    .feature-card {
        height: auto;
    }

    .app-stats {
        gap: 15px;
    }

    .buttons-container {
        flex-direction: column;
        gap: 15px;
    }

    .file-info {
        flex-direction: column;
        text-align: center;
    }
}