/* ===========================================
   VTS 智能仿真平台 - 核心功能页专用样式
   =========================================== */

/* 核心功能详细页面样式 */
.features-detail {
    padding: 100px 0;
    background: #ffffff;
}

.feature-detail-item {
    margin-bottom: 100px;
}
/* 修正全面测试图片显示 */
.feature-detail-item:nth-child(2) .detail-img {
    max-height: 350px; /* 增加高度 */
    object-fit: contain; /*改为contain以显示完整图片*/
    /* object-position: center; */
    /* width: 100%; */
}
.feature-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-detail-item.reverse .feature-detail-content {
    grid-template-columns: 1fr 1fr;
}

.feature-detail-item.reverse .feature-detail-text {
    order: 2;
}

.feature-detail-item.reverse .feature-detail-image {
    order: 1;
}

.feature-detail-text h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.feature-description {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #2c3e50;
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
    font-size: 1.2rem;
}

.detail-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.detail-img:hover {
    transform: scale(1.02);
}

/* 技术优势样式 */
.tech-advantages {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}


.advantage-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* 图标样式 */
.icon-performance::before { content: '⚡'; font-size: 24px; }
.icon-scalability::before { content: '📈'; font-size: 24px; }
.icon-integration::before { content: '🔗'; font-size: 24px; }
.icon-security::before { content: '🔒'; font-size: 24px; }

/* 移动端响应式 */
@media (max-width: 768px) {
    .feature-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-detail-item.reverse .feature-detail-text {
        order: 1;
    }
    
    .feature-detail-item.reverse .feature-detail-image {
        order: 2;
    }
    
    .feature-detail-text h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .feature-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* 文档下载样式 */
.document-download {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.download-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.download-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.download-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    color: white;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-card {
        padding: 2rem 1.5rem;
    }
    
    .download-card h3 {
        font-size: 1.3rem;
    }
}

/* 下载通知动画 - 添加退出动画 */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}