﻿/* 下载弹窗样式 */
.modalD2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modalD2.active {
    opacity: 1;
    visibility: visible;
}

.download-modal {
    background: linear-gradient(to bottom, #feeae0, #ffffff);
    border-radius: 20px;
    width: 500px;
    max-width: 90%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(66, 139, 202, 0.2);
}

.modalD2.active .download-modal {
    transform: translateY(0);
}

.modalD2Header {
    background: linear-gradient(to right, #00f260, #0575e6);
    padding: 30px;
    text-align: center;
    position: relative;
}

.modalD2Header header {
    font-size: 28px;
    color: #fff;
    font-weight: 700;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 25px;
}

.modal-text {
    font-size: 18px;
    line-height: 1.6;
    color: #131313;
    margin-bottom: 30px;
}

.submitBtn {
    background: linear-gradient(to right, #00f260, #0575e6);
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    width: 80%;
    max-width: 300px;
}

.submitBtn:hover {
    transform: translateY(-3px);
}

.modalD2Close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modalD2Close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modalD2Close::before,
.modalD2Close::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 50%;
    background: white;
}

.modalD2Close::before {
    transform: rotate(45deg);
}

.modalD2Close::after {
    transform: rotate(-45deg);
}

.platforms {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #a6ffcb;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.platform:hover {
    opacity: 1;
}

.platform-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

@media (max-width: 1200px) {
    .swiper {
        padding: 10px 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }

    .logo {
        font-size: 36px;
    }

    .tagline {
        font-size: 28px;
    }

    .subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-card {
        height: auto;
    }

    .download-modal {
        width: 90%;
    }
}