/* ==================== 视频轮播 ==================== */
.video-carousel {
    position: relative;
    width: 100%;
    background: #f5f5f5;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-item {
    display: none;
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-item.active {
    display: flex;
    align-items: center;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.video-wrapper {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
    z-index: 10;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.35);
}

.play-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.play-btn svg {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 80px;
    right: 55%;
    padding: 40px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    z-index: 15;
    pointer-events: none;
}

.carousel-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.3;
}

.carousel-title a {
    color: #fff;
    transition: color 0.3s ease;
    pointer-events: all;
    cursor: pointer;
}

.carousel-title a:hover {
    color: #40a9ff;
}

.carousel-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    opacity: 0.8;
}

.carousel-link {
    display: inline-block;
    padding: 8px 20px;
    background: #1890ff;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    transition: background 0.3s ease;
    pointer-events: all;
    cursor: pointer;
    position: relative;
    z-index: 20;
    -webkit-tap-highlight-color: transparent;
}

.carousel-link:hover {
    background: #40a9ff;
}

.carousel-link:active {
    background: #096dd9;
}

/* 轮播控制按钮 */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 15;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 15;
}

.indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #1890ff;
    transition: width 0.3s ease;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.8);
}

.indicator.active.animating::before {
    animation: indicatorProgress 5s linear;
}

@keyframes indicatorProgress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.indicator:hover {
    background: rgba(255, 255, 255, 1);
}

/* 全屏视频播放 */
.video-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-fullscreen.active {
    display: flex;
}

.video-fullscreen-wrapper {
    position: relative;
    width: 90%;
    max-width: 1400px;
    height: 80vh;
}

.video-fullscreen-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    pointer-events: all;
}

.video-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* ==================== 企业简介 ==================== */
.about-section {
    padding: 80px 0;
    background: #fff;
}

/* 标题样式 */
.section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    padding: 0 20px;
}

.title-line {
    flex: 1;
    height: 1px;
    background: #e0e0e0;
    position: relative;
    max-width: 300px;
}

.title-line::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #1890ff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.title-line:first-child::before {
    right: -4px;
}

.title-line:last-child::before {
    left: -4px;
}

/* 简介内容 */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex-shrink: 0;
    width: 480px;
    height: 320px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.about-text p {
    margin-bottom: 15px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-link-wrapper {
    margin-top: 24px;
}

.about-link {
    display: inline-block;
    padding: 10px 24px;
    background: #1890ff;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.about-link:hover {
    background: #40a9ff;
    transform: translateX(4px);
}

/* ==================== 内容卡片区域 ==================== */
.content-cards-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.content-cards-section .container {
    max-width: 100%;
    padding: 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 30px;
}

.content-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.content-card:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    transform: translateY(-4px);
}

.card-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.card-title-link {
    display: flex;
    align-items: center;
}

.card-title {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-left: 12px;
    transition: all 0.3s ease;
}

.card-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: #1890ff;
    border-radius: 2px;
}

.card-title-link:hover .card-title {
    color: #1890ff;
}

.card-more {
    font-size: 12px;
    color: #999;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.card-more:hover {
    color: #1890ff;
}

.card-body {
    padding: 20px 24px;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.article-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.article-item:hover {
    padding-left: 8px;
    background: #fafafa;
    margin: 0 -8px;
    padding-right: 8px;
}

.article-item:last-child {
    border-bottom: none;
}

.article-title {
    flex: 1;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    padding-left: 12px;
}

.article-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #1890ff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-item:hover .article-title::before {
    opacity: 1;
}

.article-title:hover {
    color: #1890ff;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #999;
    flex-shrink: 0;
}

.article-author {
    color: #666;
    transition: color 0.3s ease;
}

.article-author:hover {
    color: #1890ff;
}

.article-date {
    color: #999;
}

/* ==================== 宽卡片区域 ==================== */
.wide-cards-section {
    padding: 80px 0;
    background: #fff;
}

.wide-cards-container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 30px;
}

.wide-card {
    margin-bottom: 60px;
}

.wide-card:last-child {
    margin-bottom: 0;
}

.wide-card-header {
    text-align: center;
    margin-bottom: 40px;
}

.wide-card-title-link {
    display: inline-block;
}

.wide-card-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    padding-bottom: 16px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.wide-card-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, transparent, #1890ff, transparent);
    border-radius: 2px;
}

.wide-card-title-link:hover .wide-card-title {
    color: #1890ff;
}

.wide-card-body {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wide-content-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.wide-content-item {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.wide-content-item:hover {
    transform: translateY(-4px);
}

.wide-content-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #f5f5f5;
}

.wide-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wide-content-item:hover .wide-content-image img {
    transform: scale(1.05);
}

.video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.wide-content-info {
    flex: 1;
}

.wide-content-title {
    margin-bottom: 8px;
}

.wide-content-title a {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.wide-content-title a:hover {
    color: #1890ff;
}

.wide-content-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

.wide-content-author {
    color: #666;
    transition: color 0.3s ease;
}

.wide-content-author:hover {
    color: #1890ff;
}

.wide-content-date {
    color: #999;
}

.wide-card-footer {
    text-align: center;
    margin-top: 30px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #fff;
    color: #1890ff;
    border: 1px solid #1890ff;
    border-radius: 24px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    background: #1890ff;
    color: #fff;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.view-all-link:hover .arrow-icon {
    transform: translateX(4px);
}

/* ==================== 响应式布局 - 首页特定 ==================== */

/* 平板 */
@media screen and (max-width: 992px) {
    .carousel-item {
        height: 400px;
    }
    
    .video-wrapper {
        height: 100%;
    }
    
    .carousel-title {
        font-size: 22px;
    }
    
    .carousel-title a {
        color: #fff;
    }
    
    .carousel-desc {
        font-size: 13px;
    }
    
    .carousel-content {
        left: 60px;
        right: 40%;
        padding: 30px;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-image {
        width: 400px;
        height: 267px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .content-cards-section {
        padding: 60px 0;
    }
    
    .cards-grid {
        padding: 0 20px;
        gap: 30px;
    }
    
    .card-header {
        padding: 14px 24px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .wide-cards-section {
        padding: 60px 0;
    }
    
    .wide-cards-container {
        padding: 0 20px;
    }
    
    .wide-card {
        margin-bottom: 50px;
    }
    
    .wide-card-title {
        font-size: 24px;
    }
    
    .wide-content-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .wide-card-body {
        padding: 24px;
    }
    
    .wide-card-footer {
        margin-top: 24px;
    }
}

/* 手机 */
@media screen and (max-width: 768px) {
    .carousel-item {
        height: 400px;
        flex-direction: column;
    }
    
    .video-wrapper {
        height: 250px;
        width: 100%;
        flex-shrink: 0;
    }
    
    .carousel-content {
        position: relative;
        left: 0;
        right: auto;
        padding: 20px;
        background: rgba(0, 0, 0, 0.9);
    }
    
    .carousel-title {
        font-size: 18px;
    }
    
    .carousel-title a {
        color: #fff;
    }
    
    .carousel-desc {
        font-size: 13px;
    }
    
    .carousel-meta {
        font-size: 12px;
    }
    
    .carousel-desc {
        display: none;
    }
    
    .carousel-link {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .carousel-controls {
        display: none;
    }
    
    .carousel-indicators {
        bottom: 20px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .indicator {
        width: 30px;
    }
    
    .play-btn svg {
        width: 60px;
        height: 60px;
    }
    
    .video-fullscreen-wrapper {
        width: 95%;
        height: 70vh;
    }
    
    .video-close-btn {
        top: -45px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .about-section {
        padding: 50px 0;
    }
    
    .section-title-wrapper {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 24px;
        padding: 0 15px;
    }
    
    .title-line {
        max-width: 200px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
    }
    
    .about-text {
        font-size: 14px;
    }
    
    .content-cards-section {
        padding: 50px 0;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 15px;
    }
    
    .content-card {
        border-radius: 8px;
    }
    
    .card-header {
        padding: 12px 20px;
    }
    
    .card-title {
        font-size: 15px;
        padding-left: 10px;
    }
    
    .card-title::before {
        width: 3px;
        height: 14px;
    }
    
    .card-more {
        font-size: 12px;
    }
    
    .card-body {
        padding: 16px 20px;
    }
    
    .article-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 0;
    }
    
    .article-item:hover {
        padding-left: 0;
        margin: 0;
        padding-right: 0;
        background: transparent;
    }
    
    .article-title {
        font-size: 14px;
        width: 100%;
        padding-left: 0;
    }
    
    .article-title::before {
        display: none;
    }
    
    .article-meta {
        font-size: 12px;
        gap: 12px;
        width: 100%;
    }
    
    .wide-cards-section {
        padding: 50px 0;
    }
    
    .wide-cards-container {
        padding: 0 15px;
    }
    
    .wide-card {
        margin-bottom: 40px;
    }
    
    .wide-card-header {
        margin-bottom: 30px;
    }
    
    .wide-card-title {
        font-size: 20px;
        padding-bottom: 12px;
    }
    
    .wide-card-title::after {
        width: 50px;
        height: 2px;
    }
    
    .wide-content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .wide-card-body {
        padding: 20px;
    }
    
    .wide-content-image {
        margin-bottom: 10px;
    }
    
    .wide-content-title a {
        font-size: 13px;
    }
    
    .wide-content-meta {
        font-size: 11px;
        gap: 10px;
    }
    
    .wide-card-footer {
        margin-top: 20px;
    }
    
    .view-all-link {
        font-size: 13px;
        padding: 8px 20px;
    }
}

/* 小屏手机 */
@media screen and (max-width: 480px) {
    .video-fullscreen-wrapper {
        width: 100%;
        height: 60vh;
    }
    
    .video-close-btn {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        font-size: 24px;
        background: rgba(0, 0, 0, 0.6);
        border: 2px solid rgba(255, 255, 255, 0.8);
    }
    
    .video-close-btn:active {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .about-section {
        padding: 40px 0;
    }
    
    .section-title-wrapper {
        margin-bottom: 30px;
        gap: 10px;
    }
    
    .section-title {
        font-size: 20px;
        padding: 0 10px;
    }
    
    .title-line {
        max-width: 80px;
    }
    
    .about-text {
        font-size: 13px;
    }
    
    .content-cards-section {
        padding: 40px 0;
    }
    
    .cards-grid {
        gap: 20px;
    }
    
    .content-card {
        border-radius: 8px;
    }
    
    .card-header {
        padding: 10px 15px;
    }
    
    .card-title {
        font-size: 14px;
        padding-left: 10px;
    }
    
    .card-title::before {
        width: 2px;
        height: 12px;
    }
    
    .card-more {
        font-size: 11px;
    }
    
    .card-body {
        padding: 12px 15px;
    }
    
    .article-title {
        font-size: 13px;
    }
    
    .article-meta {
        font-size: 11px;
        gap: 10px;
    }
    
    .wide-cards-section {
        padding: 40px 0;
    }
    
    .wide-card {
        margin-bottom: 35px;
    }
    
    .wide-card-title {
        font-size: 18px;
        padding-bottom: 10px;
    }
    
    .wide-card-title::after {
        width: 40px;
    }
    
    .wide-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .wide-card-body {
        padding: 16px;
    }
    
    .wide-content-title a {
        font-size: 14px;
    }
    
    .video-badge svg {
        width: 24px;
        height: 24px;
    }
    
    .view-all-link {
        font-size: 12px;
        padding: 7px 18px;
    }
    
    .arrow-icon {
        width: 14px;
        height: 14px;
    }
}

