/* ===========================================
   VTS 智能仿真平台 - 关于我们页专用样式
   包含：发展历程、平台介绍、时间线等
   =========================================== */

/* ===========================================
   发展历程样式
   =========================================== */
.about-history {
    padding: 100px 0;
    background: #ffffff;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.history-description {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.about-img {
    margin-top: 180px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02);
}

/* ===========================================
   时间线样式
   =========================================== */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3498db, #2980b9);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #3498db;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #3498db;
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* ===========================================
   平台介绍样式
   =========================================== */
.platform-intro {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
}

.intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.intro-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.intro-text h3:first-child {
    margin-top: 0;
}

.intro-text p {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ===========================================
   特色功能高亮样式
   =========================================== */
.intro-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 平台介绍样式更新 */
.feature-highlight {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.15);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 添加缺失的图标内容 */
.highlight-content {
    flex: 1;
    min-width: 0;
    /* 防止文本溢出 */
}

.highlight-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    /* 防止标题换行 */
    overflow: hidden;
    text-overflow: ellipsis;
}

.highlight-content p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* 更新图标样式 - 添加缺失的图标 */
.icon-innovation::before {
    content: '💡';
    font-size: 20px;
    display: block;
}

.icon-safety::before {
    content: '🛡️';
    font-size: 20px;
    display: block;
}

.icon-efficiency::before {
    content: '⚡';
    font-size: 20px;
    display: block;
}

.icon-scalable::before {
    content: '🔧';
    font-size: 20px;
    display: block;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
    opacity: 0.7;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ===========================================
   媒体报道样式 - 重新设计
   =========================================== */
.media-coverage {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-top: 1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.media-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.media-item:hover {
    /* transform: scale(1.05);  */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.media-item.featured {
    /* grid-row: span 2; */
}

.media-image,
.media-video {
    position: relative;
    height: 300px;
    overflow: hidden;

}

.media-item.featured .media-image {
    height: 300px;
}

.media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.media-item:hover .media-img {
    transform: scale(1.05);
}

.media-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    cursor: pointer;
}

.media-info {
    padding: 1.5rem;
}

.media-category {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.media-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.media-info p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* 防止长文本导致的水平溢出 */
.highlight-content h4 {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* 确保媒体网格不会溢出 */
.media-grid {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* 确保所有文本元素都能正确换行 */
.media-info h4,
.timeline-content h4,
.intro-text h3 {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
.media-video-player{
    width: 100%;
}
/* 防止图片和视频溢出 */
.media-img,
.media-video-player,
.about-img {
    max-width: 100%;
    height: 100%;
}

/* =========================================== */
/* 响应式布局  */
/* =========================================== */
/* 平板设备 (768px及以下) */
@media (max-width: 768px) {

    /* 特色功能高亮 - 确保文本正确换行 */
    .highlight-content h4 {
        white-space: normal;
        font-size: 1rem;
        word-wrap: break-word;
        word-break: break-word;
    }

    /* 媒体报道网格 - 确保单列布局 */
    .media-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        width: 100%;
    }

    /* 确保所有标题都能正确换行 */
    .media-info h4,
    .timeline-content h4 {
        word-wrap: break-word;
        word-break: break-word;
        white-space: normal;
    }

    /* 发展历程 */
    .about-history {
        padding: 60px 0;
    }

    .history-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .history-text h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .history-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .about-img {
        margin-top: 0;
        max-width: 100%;
    }

    /* 时间线 */
    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .timeline-item::before {
        left: -1.25rem;
        width: 10px;
        height: 10px;
    }

    .timeline-year {
        font-size: 1.1rem;
    }

    .timeline-content h4 {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    /* 平台介绍 */
    .platform-intro {
        padding: 60px 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-text h3 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
    }

    .intro-text p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    /* 特色功能高亮 */
    .intro-features {
        gap: 1.2rem;
    }

    .feature-highlight {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .feature-highlight:hover {
        transform: translateY(-5px);
    }

    .highlight-icon {
        width: 45px;
        height: 45px;
    }

    .highlight-content h4 {
        white-space: normal;
        font-size: 1rem;
    }

    .highlight-content p {
        font-size: 0.85rem;
    }

    /* 媒体报道 */
    .media-coverage {
        padding: 60px 0;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .media-image,
    .media-video {
        height: 250px;
    }

    .media-item.featured .media-image {
        height: 250px;
    }

    .media-info {
        padding: 1.2rem;
    }

    .media-info h4 {
        font-size: 1.1rem;
    }

    .media-info p {
        font-size: 0.9rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* 手机设备 (480px及以下) */
@media (max-width: 480px) {

    /* 发展历程 */
    .about-history {
        padding: 40px 0;
    }

    .history-content {
        gap: 1.5rem;
    }

    .history-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .history-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    /* 时间线 */
    .timeline {
        padding-left: 1.2rem;
    }

    .timeline-item {
        padding-left: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .timeline-item::before {
        left: -1rem;
        width: 8px;
        height: 8px;
    }

    .timeline-year {
        font-size: 1rem;
    }

    .timeline-content h4 {
        font-size: 0.95rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }

    /* 平台介绍 */
    .platform-intro {
        padding: 40px 0;
    }

    .intro-grid {
        gap: 1.5rem;
    }

    .intro-text h3 {
        font-size: 1.2rem;
        margin-top: 1.2rem;
    }

    .intro-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    /* 特色功能高亮 */
    .intro-features {
        gap: 1rem;
    }

    .feature-highlight {
        padding: 1rem;
        gap: 0.6rem;
    }

    .highlight-icon {
        width: 40px;
        height: 40px;
    }

    .highlight-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .highlight-content p {
        font-size: 0.8rem;
    }

    /* 媒体报道 */
    .media-coverage {
        padding: 40px 0;
    }

    .media-grid {
        gap: 1.2rem;
        margin-top: 1.5rem;
    }

    .media-image,
    .media-video {
        height: 200px;
    }

    .media-item.featured .media-image {
        height: 200px;
    }

    .media-info {
        padding: 1rem;
    }

    .media-info h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .media-info p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .media-category {
        font-size: 0.75rem;
        padding: 0.15rem 0.6rem;
        margin-bottom: 0.6rem;
    }

    .media-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

/* 小屏手机 (375px及以下) */
@media (max-width: 375px) {
    .history-text h2 {
        font-size: 1.6rem;
    }

    .history-description {
        font-size: 0.9rem;
    }

    .intro-text h3 {
        font-size: 1.1rem;
    }

    .intro-text p {
        font-size: 0.85rem;
    }

    .feature-highlight {
        padding: 0.8rem;
    }

    .highlight-icon {
        width: 35px;
        height: 35px;
    }

    .highlight-content h4 {
        font-size: 0.9rem;
    }

    .highlight-content p {
        font-size: 0.75rem;
    }

    .media-info {
        padding: 0.8rem;
    }

    .media-info h4 {
        font-size: 0.95rem;
    }

    .media-info p {
        font-size: 0.8rem;
    }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .about-history {
        padding: 40px 0;
    }

    .history-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
    }

    .platform-intro {
        padding: 40px 0;
    }

    .intro-grid {
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
    }

    .feature-highlight {
        flex-direction: row;
        text-align: left;
    }

    .media-coverage {
        padding: 40px 0;
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}