.research-platform {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.platform-header {
    text-align: center;
    margin-bottom: 60px;
}

.platform-header h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.platform-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
}

.platform-item {
    display: flex;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    margin-bottom: 60px;
    overflow: hidden;
    min-height: 500px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.platform-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.platform-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Applied existing gap, you had gap: 10px; here */
}

.platform-info h2 {
    margin-top: 0;
    margin-bottom: 5px; /* Applied existing margin, you had margin-bottom: 5px; */
    font-size: 2.5rem;
    color: #2c3e50;
}

.platform-description {
    margin: 0; /* Applied existing margin */
    flex: 1;
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
}

.platform-detail-btn {
    margin-top: 20px;
    display: inline-block;
    padding: 12px 30px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    align-self: flex-start;
}

.platform-detail-btn:hover {
    background: #2980b9;
}

/* 轮播图容器调整 (现在用于单张图片展示) */
.platform-carousel {
    margin: 20px;
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    max-width: 520px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 84.615%; /* 440/520=0.84615 */
    background: #fff;
    border-radius: 0 0 10px 10px; /* 底部圆角, this should be fine, or adjust if only top is needed */
    overflow: hidden; 
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Default opacity for non-active slides */
    transition: opacity 0.5s ease-in-out; /* Kept for potential future use, but not critical for single static image */
}

.carousel-slide.active {
    opacity: 1; /* Ensures the single image is visible */
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-description {
    margin-top: 15px;
    text-align: center;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .platform-item {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 992px) {
    .platform-item {
        flex-direction: column;
        min-height: auto;
    }
    
    .platform-carousel {
        max-width: 520px;
        margin: 20px auto; /* Center the image container when stacked */
    }
    
    .platform-info {
        padding: 30px;
    }
    
    .carousel {
        padding-bottom: 84.615%; /* Maintain aspect ratio */
    }
}

@media (max-width: 768px) {
    .platform-header h1 {
        font-size: 2.2rem;
    }
    
    .platform-info h2 {
        font-size: 2rem;
    }
    
    .platform-description {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .carousel {
        /* Adjust padding-bottom if you want a different aspect ratio on small screens for the single image */
        padding-bottom: 100%; /* Example: make it square, or adjust as needed */
    }
    
    .platform-carousel {
        max-width: 100%; /* Allow full width */
        margin: 15px; /* Adjust margins */
    }
    
    .carousel-description {
        font-size: 16px;
    }
}