/* FDAPI专题页面浅色样式 - 期货本地数据服务专用 */
.fmapi-hero {
    background: linear-gradient(135deg, #fff8f2 0%, #ffe8d9 100%);
    color: #333333;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fmapi-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(212,123,55,0.12)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.fmapi-basic-info {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    margin: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-left: 3px solid #d47b37;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.info-item {
    text-align: center;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    max-width: 220px;
    border: 1px solid #f0f0f0;
}

.info-item i {
    font-size: 32px;
    color: #099409;
    margin-bottom: 10px;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.advantage-section {
    margin: 60px 0;
    background: #fcf9f6;
    padding: 20px 0;
    border-radius: 15px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.advantage-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #d47b37;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(212,123,55,0.12);
}

.advantage-card i {
    font-size: 64px;
    color: #d47b37;
    margin-bottom: 20px;
}

.feature-section {
    margin: 70px 0;
}

.feature-alternate {
    display: flex;
    align-items: center;
    margin: 10px 0;
    gap: 20px;
    padding: 10px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    border: 1px solid #f3f3f3;
}

.feature-alternate.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    text-align: center;
    padding: 10px;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.feature-content {
    flex: 1;
    padding: 25px;
    color: #333;
}

.feature-icon {
    font-size: 56px;
    color: #d47b37;
    margin-bottom: 20px;
}

.scenario-section {
    background: linear-gradient(135deg, #fff8f2 0%, #ffe8d9 100%);
    color: #333333;
    padding: 70px 0;
    margin: 60px 0;
    border-radius: 15px;
    position: relative;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.scenario-card {
    background: #ffffff;
    padding: 25px 15px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #f0e2d6;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(212,123,55,0.08);
}

.scenario-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 22px rgba(212,123,55,0.14);
}

.scenario-card i {
    font-size: 52px;
    margin-bottom: 25px;
    color: #d47b37;
}

.quick-start {
    background: #f5f7fa;
    color: #2d3748;
    padding: 60px 0;
    margin: 60px 0;
    border-radius: 15px;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-item {
    text-align: center;
    padding: 25px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

.step-number {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: #d47b37;
    color: white;
    border-radius: 50%;
    line-height: 45px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 18px;
}

.support-section {
    text-align: center;
    margin: 60px 0;
}

.support-info {
    background: #f5f7fa;
    color: #2d3748;
    padding: 50px;
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.06);
}

.version-badge {
    display: inline-block;
    background: #d47b37;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    margin: 15px 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212,123,55,0.2);
}

.download-buttons {
    margin: 30px 0;
    text-align: center;
}

.btn-download {
    display: inline-block;
    background: #27AE60;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin: 0 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(39,174,96,0.25);
    height: 46px;
    min-width: 120px;
}

.btn-download:hover {
    background: #229954;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39,174,96,0.35);
    color: white;
    text-decoration: none;
}

.btn-auth {
    display: inline-block;
    background: #3498DB;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin: 0 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(52,152,219,0.25);
    height: 46px;
    min-width: 120px;
}

.btn-auth:hover {
    background: #2980B9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52,152,219,0.35);
    color: white;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .feature-alternate {
        flex-direction: column;
        padding: 20px;
    }
    
    .feature-alternate.reverse {
        flex-direction: column;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .scenario-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-download, .btn-auth {
        margin: 5px 0;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* 图标尺寸定义 */
.icon-128 { font-size: 128px; }
.icon-64 { font-size: 64px; }
.icon-32 { font-size: 32px; }
.icon-16 { font-size: 16px; }

/* 图片预留样式 */
.image-placeholder {
    background: #f7f7f7;
    border: 2px dashed #dddddd;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    color: #777;
    font-style: italic;
    margin: 20px 0;
}

.image-placeholder.large {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}