/* MT4 介绍部分样式 */
.mt4-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.mt4-title {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.mt4-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 25px;
}

.download-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.download-btn {
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-btn.windows {
    background: #0078d7;
    color: white;
}

.download-btn.android {
    background: #3ddc84;
    color: white;
}

.download-btn.ios {
    background: #000000;
    color: white;
}

.download-btn.mac {
    background: #007aff;
    color: white;
}

.download-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.mt4-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.advantages-list p {
    margin: 8px 0;
    font-size: 14px;
    color: #444;
}

/* MT4 功能展示图片网格样式 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* APP 部分样式 */
.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.app-title {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.app-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.app-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.app-download-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.download-btn {
    display: inline-block;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.android-btn {
    background: linear-gradient(135deg, #3ddc84, #34a853);
    color: white;
    border: none;
}

.apple-btn {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    border: none;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* 交易产品样式 */
.products-header {
    margin-bottom: 50px;
}

.products-title {
    font-size: 36px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.products-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-icon {
    margin-bottom: 20px;
}

.product-name {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.product-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: auto;
}

.product-button:hover {
    background: linear-gradient(135deg, #2980b9, #1c6ea4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mt4-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .download-buttons {
        grid-template-columns: 1fr;
    }

    .mt4-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .app-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .app-download-buttons {
        grid-template-columns: 1fr;
    }

    .app-title {
        font-size: 28px;
    }

    .app-subtitle {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .products-title {
        font-size: 28px;
    }
    
    .products-subtitle {
        font-size: 16px;
    }
    
    .product-card {
        padding: 20px 15px;
    }
    
    .product-name {
        font-size: 18px;
    }
    
    .product-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .products-title {
        font-size: 24px;
    }
    
    .product-card {
        padding: 15px;
    }
    
    .product-icon img {
        width: 50px;
        height: 50px;
    }
}
