/* 股票行情接口SMAPI样式 */
.call-to-action-area.smapi {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.call-to-action-area.fmapi {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    padding: 60px 0;
}

/* 通用行样式 */
.api-row {
    margin-bottom: 30px;
}

/* 图片区域样式 */
.img-holder {
    text-align: center;
    position: relative;
}

.img-holder img {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 3px solid #ffffff;
    filter: brightness(0.95) contrast(1.05);
}

.img-holder img:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    filter: brightness(1) contrast(1.1);
}

/* 股票行情接口图片特殊效果 */
.call-to-action-area.smapi .img-holder img {
    border: 3px solid #e8f4fd;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.2);
}

.call-to-action-area.smapi .img-holder img:hover {
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.3);
    border-color: #3498db;
}

/* 期货行情接口图片特殊效果 */
.call-to-action-area.fmapi .img-holder img {
    border: 3px solid #e8f5e8;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
}

.call-to-action-area.fmapi .img-holder img:hover {
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.3);
    border-color: #28a745;
}

/* 图片容器装饰效果 */
.img-holder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.call-to-action-area.smapi .img-holder::before {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.call-to-action-area.fmapi .img-holder::before {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.img-holder:hover::before {
    opacity: 0.1;
}

/* 标题样式 */
.blog-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
    padding-left: 15px;
}

.blog-title.fmapi {
    border-left-color: #28a745;
}

/* 功能简介文本样式 */
.text-holder .text {
    line-height: 1.7;
}

.text-holder .text p {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 0;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.text-holder .text p strong {
    color: #2c3e50;
}

/* 卡片容器样式 */
.api-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

/* 卡片标题样式 */
.api-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.api-card h4 i {
    margin-right: 20px;
}
/* 列表样式 */
.api-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

/* 主要数据类型列表项样式 */
.data-type-item {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
}

.data-type-item i {
    margin-right: 10px;
    margin-top: 3px;
    min-width: 20px;
}

.data-type-item:last-child {
    margin-bottom: 0;
}

/* 数据源支持列表项样式 */
.data-source-item {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
}

.data-source-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.data-source-item i {
    margin-right: 10px;
    margin-top: 3px;
    min-width: 20px;
}

.data-source-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.data-source-content strong {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
    flex-shrink: 0;
}

.data-source-desc {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
    margin: 0;
    background: #f8f9fa;
    padding: 6px 10px;
    border-radius: 4px;
    border-left: 3px solid #27ae60;
    flex: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .data-source-item {
        margin-bottom: 12px;
        padding: 10px 0;
    }
    
    .data-source-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .data-source-content strong {
        font-size: 0.95rem;
        white-space: normal;
    }
    
    .data-source-desc {
        font-size: 0.85rem;
        padding: 5px 8px;
        width: 100%;
    }
}

/* 技术特点区域样式 */
.tech-feature {
    display: flex;
    align-items: center;
    height: 100%;
}

.tech-feature i {
    color: #3498db;
    font-size: 1.5rem;
    margin-right: 15px;
}

.tech-feature h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.tech-feature p {
    color: #495057;
    margin: 0;
    font-size: 1rem;
}

/* 按钮区域样式 */
.button-area {
    text-align: right;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.api-button {
    background: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.api-button i {
    margin-left: 8px;
}

.api-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* 图标颜色定义 */
.icon-database { color: #3498db; }
.icon-chart-line { color: #e74c3c; }
.icon-chart-bar { color: #f39c12; }
.icon-clock { color: #9b59b6; }
.icon-exchange { color: #1abc9c; }
.icon-file-invoice { color: #27ae60; }
.icon-file-alt { color: #8e44ad; }
.icon-chart-pie { color: #d35400; }
.icon-server { color: #3498db; }
.icon-check-circle { color: #27ae60; }
.icon-cogs { color: #3498db; }
.icon-star { color: #ffc107; }
.icon-shield { color: #17a2b8; }
.icon-brain { color: #6f42c1; }
.icon-plug { color: #007bff; }
.icon-bell { color: #ff6b6b; }
.icon-microchip { color: #6610f2; }
.icon-hdd { color: #fd7e14; }
.icon-comments { color: #20c997; }
.icon-rocket { color: #28a745; }

/* 新闻资讯4:8分栏布局调整 */
/* 响应式设计 */
@media (max-width: 768px) {
    .call-to-action-area {
        padding: 40px 0;
    }
    
    .api-card {
        min-height: auto;
        margin-bottom: 20px;
    }
    
    .api-row {
        margin-bottom: 20px;
    }
    
    .blog-title {
        font-size: 1.5rem;
    }
    
    .button-area {
        text-align: center;
        justify-content: center;
        margin-top: 20px;
    }
}

.call-to-action-area.news-section {
    background: #d8e5f3;
    padding: 60px 0;
}

.call-to-action-area.news-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    width: 100%;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* 新闻图片区域样式 */
.news-img-holder {
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-img-holder img {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.news-img-holder img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.news-item .row {
    height: auto;
    align-items: center;
}

.news-item .col-md-8 {
    padding-left: 20px;
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .news-item .col-md-4 {
        margin-bottom: 15px;
    }
    
    .news-item .col-md-8 {
        padding-left: 0;
    }
    
    .news-img-holder img {
        max-width: 100%;
        height: 120px;
    }
    
    .news-title {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-title h3 {
        margin-right: 0;
        margin-bottom: 8px;
    }
}

.news-list {
    margin: 0 auto;
}

.news-item {
    background: white; /* 白色背景，在浅灰色背景上更清晰 */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.news-header {
    margin-bottom: 15px;
}

.news-title {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 10px;
}

.news-title h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    margin-right: 15px;
}

.news-badge {
    padding: 0px 12px;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    height: 24px;
}

.badge-top {
    background-color: #dc3545;
}

.badge-recommend {
    background-color: #ffc107;
    color: #212529;
}

.badge-headline {
    background-color: #17a2b8;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.news-meta i {
    margin-right: 5px;
}

.news-content p {
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-list {
        padding: 0 15px;
    }
    
    .news-item {
        padding: 15px;
    }
    
    .news-title {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-title h3 {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 8px;
    }
}
 /* 轮播容器基础样式 */
 .modern-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: hsl(209, 68%, 85%);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 300%; /* 三张轮播图的总宽度 */
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel-item {
    position: relative;
    width: 33.333%; /* 每张轮播图占据1/3宽度 */
    height: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

/* 轮播背景 */
.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #809fd7 0%, #407fec 100%);

}


.bg-blue-gradient {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background-color: #1e3c72;
}

/* 轮播内容布局 */
.carousel-content {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    padding: 0 2%;
    z-index: 1;
    color: white;
}

/* 左侧图片区域 */
.carousel-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 2%;
}

.image-placeholder {
    width: 420px;
    height: 280px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-placeholder:hover {
    transform: translateY(-5px) scale(1.02);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #f47a2fe6;
}

.image-placeholder span {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(237, 139, 46, 0.9);
}

/* 右侧文本区域 */
.carousel-text {
    flex: 1.5;
    max-width: 900px;
}

.carousel-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.carousel-title .highlight {
    display: block;
    color: #43c3ea;
    font-size: 3.2rem;
    margin-top: 5px;
}

.carousel-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px;
}

/* 按钮样式 */
.carousel-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: #43c3ea;
    color: white;
    border-color: #43c3ea;
}

.btn-primary:hover {
    background-color: #17a9d5;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(67, 195, 234, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 控制按钮 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 0;
    left: auto !important;
    margin-right: 20px;
}

/* 指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .carousel-container {
        height: 450px;
    }

    .carousel-content {
        flex-direction: column;
        text-align: center;
        padding: 5% 3%;
    }

    .carousel-image {
        order: 1;
        padding-right: 0;
        margin-top: 30px;
    }

    .carousel-text {
        order: 0;
        max-width: 100%;
    }

    .carousel-title {
        font-size: 2.2rem;
    }

    .carousel-title .highlight {
        font-size: 2.5rem;
    }

    .image-placeholder {
        width: 200px;
        height: 200px;
    }

    .image-placeholder i {
        font-size: 3rem;
    }

    .carousel-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        height: 400px;
    }

    .carousel-title {
        font-size: 1.8rem;
    }

    .carousel-title .highlight {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .carousel-actions {
        flex-direction: column;
        gap: 10px;
        max-width: 200px;
        margin: 0 auto;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.carousel-item.active .carousel-text h2 {
    animation: fadeIn 0.8s ease forwards;
}

.carousel-item.active .carousel-text p {
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.carousel-item.active .carousel-actions {
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}        
   
        
