/* Styles for download.html */

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    color: #333;
}


/* Banner Section */

.banner {
    position: relative;
    width: 100%;
    height: 403px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-content {
    /* position: relative; */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    /* padding: 100px 251px; */
    color: #FFFFFF;
    top: 100px;
}

.banner-title {
    text-align: center;
}

.banner-title h1 {
    font-family: 'PingFang SC';
    font-size: 48px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 4.17%;
    margin-bottom: 6px;
}

.banner-title p {
    font-family: 'PingFang SC';
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 11.11%;
}

.download-buttons {
    display: flex;
    gap: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border: 2px solid #FFFFFF;
    border-radius: 12px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'PingFang SC';
    font-size: 16px;
    font-weight: 500;
    line-height: 1.69;
    letter-spacing: -4.61%;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.download-btn img {
    width: 24px;
    height: 24px;
}


/* Download Info Section */

.download-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 120px auto;
}

.info-card {
    border-radius: 24px;
    border: 1px dashed #FFE4CA;
    background: #FEFAF7;
    border-radius: 8px;
    padding: 40px;
    display: flex;
    gap: 20px;
}

.card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.usage-guide {
    background-color: #fff;
    border: none;
}

.card-content {
    flex: 1;
}

.card-content h2 {
    font-family: 'PingFang SC';
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #333333;
}

.info-group {
    margin-bottom: 20px;
}

.info-group:last-child {
    margin-bottom: 0;
}

.info-group h3 {
    font-family: 'PingFang SC';
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #333333;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.dot {
    width: 4px;
    height: 4px;
    background: #FF8F1F;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
}

.info-item p {
    font-family: 'PingFang SC';
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

.link {
    color: #FF8F1F;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}


/* Other Tools Section */

.other-tools {
    padding: 120px 0;
    /* padding: 60px 310px; */
    background: #FEFAF7;
}

.other-tools h2 {
    font-family: 'PingFang SC';
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: #333333;
    text-align: center;
    margin-bottom: 40px;
}

.tools-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tool-card {
    background: #FFFFFF;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.tool-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.tool-info {
    flex: 1;
}

.tool-info h3 {
    font-family: 'PingFang SC';
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #333333;
    margin-bottom: 8px;
}

.tool-info p {
    font-family: 'PingFang SC';
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

.btn-download-tool {
    background: #FF8F1F;
    border-radius: 4px;
    padding: 6px 16px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'PingFang SC';
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-download-tool:hover {
    background: #e07d1a;
}


/* Modal */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal-content h3 {
    font-family: 'PingFang SC';
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-content img {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
}


/* Responsive */

@media (max-width: 768px) {
    .download-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    .info-card,
    .tool-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}


/* Download Options Section */

.download-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
    gap: 30px;
}

.download-option {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 280px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.download-option img {
    width: 80px;
    /* Adjust as needed */
    height: auto;
    margin-bottom: 15px;
}

.download-option h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.download-option p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
    min-height: 40px;
    /* Ensure consistent height */
}

.download-option button {
    background-color: #007bff;
    /* Primary button color */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.download-option button:hover {
    background-color: #0056b3;
}

.download-option .qr-code {
    width: 120px;
    /* Adjust as needed */
    height: 120px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #eee;
}


/* Responsive Adjustments */

@media (max-width: 768px) {
    .download-banner h1 {
        font-size: 2em;
    }
    .download-banner p {
        font-size: 1em;
    }
    .download-option {
        width: calc(50% - 40px);
        /* Two columns on tablets */
    }
    .modal-content {
        width: 90%;
        margin: 20% auto;
    }
}

@media (max-width: 480px) {
    .download-option {
        width: calc(100% - 40px);
        /* Single column on mobile */
    }
}

.usage-guide .guide-item {
    margin-bottom: 20px;
}