
    /* 只针对演示组件的样式，不影响全局布局 */
    .demo-component {
        font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        color: #334155;
        line-height: 1.6;
    }
    
    .demo-header {
        text-align: center;
        margin-bottom: 0px;
        padding-bottom: 10px;
    }
    
    .demo-header h2 {
        color: #1e293b;
        font-size: 2.2rem;
        margin-bottom: 10px;
        background: linear-gradient(135deg, #4361ee, #3a0ca3);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .demo-subtitle {
        color: #64748b;
        font-size: 1.1rem;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .demo-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0px;
    }
    
/* 保持16:9比例的容器 */
.video-aspect-ratio {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

/* 封面图层 */
.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: #000;
}

.video-poster:hover .poster-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* 添加播放按钮样式 */
.poster-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.poster-play-btn svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
}

.poster-play-btn:hover svg {
    transform: scale(1.05);
}
/* 视频样式 */
#mainVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    /* SVG版本 */
    .poster-play-btn svg {
        width: 60px;
        height: 60px;
    }
    
    /* 或CSS版本 */
    .play-icon {
        width: 60px;
        height: 60px;
    }
    
    .play-icon::before {
        border-left: 20px solid white;
        border-top: 14px solid transparent;
        border-bottom: 14px solid transparent;
        transform: translate(-35%, -50%);
    }
    
    .video-poster:hover .poster-play-btn {
        transform: translate(-50%, -50%) scale(1);
    }
    
    /* 移动端直接显示播放按钮 */
    .poster-play-btn {
        opacity: 0.8;
    }
}

@media (max-width: 480px) {
    .poster-play-btn svg {
        width: 50px;
        height: 50px;
    }
    
    .play-icon {
        width: 50px;
        height: 50px;
    }
    
    .play-icon::before {
        border-left: 16px solid white;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
    }
}
    
    .demo-info {
        flex: 1;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .demo-cta-section {
        text-align: center;
        margin-top: 35px;
        margin-bottom: 15px;
    }
    
   
   .demo-cta-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #4361ee, #3a0ca3);
        color: white;
        font-size: 1.3rem;
        font-weight: 600;
        padding: 18px 40px;
        border-radius: 50px;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3);
        border: none;
        cursor: pointer;
        width: 100%;
        max-width: 400px;
    }
    
    .demo-cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(67, 97, 238, 0.4);
    }
    
    .demo-cta-button i {
        margin-right: 12px;
        font-size: 1.5rem;
        /* 修改3：修正图标倾斜问题 */
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    .demo-cta-note {
        color: #64748b;
        font-size: 0.9rem;
        margin-top: 10px;
    }
    
    .demo-steps-guide {
        display: flex;
        justify-content: space-between;
        margin: 30px 0;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .demo-step {
        flex: 1;
        min-width: 180px;
        text-align: center;
        padding: 20px 15px;
        background: #f8fafc;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        transition: all 0.3s ease;
    }
    
    .demo-step:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }
 
    /* 修改1：红色主题步骤图标 */
    .demo-step-icon {
        background: linear-gradient(135deg, #60a5fa, #3b82f6);
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 1.5rem;
        font-weight: 600;
    }
    
    .demo-step-title {
        font-weight: 600;
        margin-bottom: 8px;
        color: #1e293b;
    }
    
    .demo-step-desc {
        color: #64748b;
        font-size: 0.9rem;
    }
    
    .demo-notes-section {
       background: #f1f5f9;
        border-radius: 12px;
        padding: 25px;
        margin-top: 30px;
        border-left: 5px solid #3b82f6;
    }
    
    .demo-notes-title {
        font-weight: 600;
        margin-bottom: 15px;
        color: #1e293b;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
    }
    
    .demo-notes-title i {
        margin-right: 10px;
       color: #3b82f6;
        /* 修改3：修正图标倾斜问题 */
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    .demo-notes-list {
        list-style-type: none;
        padding: 0;
    }
    
    .demo-notes-list li {
        padding: 10px 0;
         border-bottom: 1px dashed #cbd5e1;
        display: flex;
        align-items: flex-start;
    }
    
    .demo-notes-list li:last-child {
        border-bottom: none;
    }
    
    .demo-notes-list i {
        color: #3b82f6;; 
        margin-right: 12px;
        margin-top: 3px;
        min-width: 20px;
        /* 修改3：修正图标倾斜问题 */
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    .demo-security-badges {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        margin: 30px 0;
    }
    
    /* 修改1：红色主题徽章 */
    .demo-badge {
        display: flex;
        align-items: center;
        background: #f0f9ff;
        padding: 10px 20px;
        border-radius: 50px;
        border: 1px solid #bae6fd;
        font-size: 0.9rem;
    }
    
    .demo-badge i {
        color:  #0ea5e9;
        margin-right: 8px;
        /* 修改3：修正图标倾斜问题 */
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    .demo-alternatives {
        text-align: center;
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px solid #e2e8f0;
        color: #64748b;
    }
   .demo-alternatives p {
    margin-top: 0;
}    

  
    .demo-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 10000;
        align-items: center;
        justify-content: center;
    }
    
    .demo-modal-content {
        background: white;
        border-radius: 16px;
        padding: 30px;
        max-width: 500px;
        width: 90%;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        animation: demoModalAppear 0.3s ease;
    }
    
    @keyframes demoModalAppear {
        from { opacity: 0; transform: translateY(-30px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .demo-modal-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        color: #1e293b;
        display: flex;
        align-items: center;
    }
    
    .demo-modal-title i {
        margin-right: 10px;
         color: #3b82f6; 
        /* 修改3：修正图标倾斜问题 */
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    .demo-modal-buttons {
        display: flex;
        justify-content: flex-end;
        gap: 15px;
        margin-top: 25px;
    }
    
    .demo-btn {
        padding: 12px 24px;
        border-radius: 8px;
        border: none;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 1rem;
    }
    
    /* 修改1：红色主题按钮 */
    .demo-btn-primary {
         background: #3b82f6;
        color: white;
    }
    
    .demo-btn-primary:hover {
        background: #2563eb;
    }
    
    .demo-btn-secondary {
        background: #e2e8f0;
        color: #475569;
    }
    
    .demo-btn-secondary:hover {
        background: #cbd5e1;
    }
    
    .demo-timer {
        display: inline-block;
       background: #10b981;
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-weight: 600;
        margin-left: 10px;
        font-size: 0.9rem;
    }
    
    .demo-link {
        color: #3b82f6;
        text-decoration: none;
        font-weight: 500;
    }
    
    .demo-link:hover {
        text-decoration: underline;
    }
    
/* 表格相关样式 */
.demo-section-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.demo-section-title i {
    transform: none !important;
    -webkit-transform: none !important;
}

.demo-table-section {
    margin-top: 40px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.demo-table-description {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* 表格内链接按钮 */
.demo-link-button {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.2s;
    min-width: 110px;
}

.demo-link-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.2);
}

.demo-link-button:active {
    background: #1d4ed8;
    transform: translateY(0);
}

.status-active {
    color: #1d4ed8;
    font-weight: 500;
    position: relative;
    padding-left: 15px;
font-size: 1rem !important;
}

.status-active:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.demo-resources-table {
    width: 100%;
    border-collapse: collapse;
}

.demo-resources-table th {
    background: #f1f5f9;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    color: #334155;
    border-bottom: 2px solid #e2e8f0;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-resources-table td {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 1.2rem;
}

.demo-resources-table tr {
    height: 90px; /* 增加行高以容纳图片 */
}

.demo-resources-table tr:hover {
    background-color: #f8fafc;
}

/* 产品缩略图样式 */
.product-thumbnail {
    width: 80px !important;    /* 增加图片大小 */
    height: 80px !important;   /* 增加图片大小 */
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 4px;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.2s ease;
}


.product-thumbnail:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.table-note {
    margin-top: 15px;
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.table-note i {
    margin-right: 8px;
    color: #dc2626;
    transform: none !important;
    -webkit-transform: none !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .demo-header h2 {
        font-size: 1.8rem;
    }
    
    .demo-steps-guide {
        flex-direction: column;
    }
    
    .demo-step {
        min-width: 100%;
        margin-bottom: 15px;
    }
    
    .demo-cta-button {
        padding: 16px 30px;
        font-size: 1.1rem;
    }
    
    .demo-modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .demo-modal-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .demo-btn {
        width: 100%;
    }
    
    .demo-table-section {
        padding: 15px;
        overflow-x: auto;
    }
    
    .demo-resources-table {
        font-size: 0.85rem;
        min-width: 1100px; /* 增加最小宽度以容纳新增列 */
    }
    
    .demo-resources-table th,
    .demo-resources-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
        white-space: normal;
        word-break: break-word;
        min-height: 50px;
        vertical-align: middle;
    }
    
    /* 调整各列宽度 - 根据新的表头结构 */
    .demo-resources-table th:nth-child(1),
    .demo-resources-table td:nth-child(1) { /* No.列 */
        width: 50px;
        min-width: 50px;
        max-width: 50px;
    }
    
    .demo-resources-table th:nth-child(2),
    .demo-resources-table td:nth-child(2) { /* Series列 */
        width: 60px;
        min-width: 60px;
        max-width: 60px;
    }
    
    .demo-resources-table th:nth-child(3),
    .demo-resources-table td:nth-child(3) { /* Type列 */
        width: 230px;
        min-width: 230px;
        max-width: 230px;
    }
    
    .demo-resources-table th:nth-child(4),
    .demo-resources-table td:nth-child(4) { /* Image列 - 新增 */
        width: 90px;
        min-width: 90px;
        max-width: 90px;
        padding: 6px !important;
    }
    
    .demo-resources-table td:nth-child(4) img {
        width: 80px !important;
        height: 80px !important;
    }
    
    .demo-resources-table th:nth-child(5),
    .demo-resources-table td:nth-child(5) { /* Model列 */
        width: 170px;
        min-width: 170px;
        max-width: 170px;
    }
    
    .demo-resources-table th:nth-child(6),
    .demo-resources-table td:nth-child(6) { /* Pixel列 */
        width: 90px;
        min-width: 90px;
        max-width: 90px;
    }
    
    .demo-resources-table th:nth-child(7),
    .demo-resources-table td:nth-child(7) { /* Status列 */
        width: 90px;
        min-width: 90px;
        max-width: 90px;
    }
    
    .demo-resources-table th:nth-child(8),
    .demo-resources-table td:nth-child(8) { /* Demo Link列 */
        width: 140px;
        min-width: 140px;
        max-width: 140px;
    }
    
    /* 确保表头也换行 */
    .demo-resources-table th {
        white-space: normal;
        word-break: break-word;
        height: 60px;
        vertical-align: middle;
        background: #f1f5f9;
    }
    
    .demo-link-button {
        padding: 8px 12px;
        font-size: 0.85rem;
        min-width: 85px;
        white-space: nowrap;
        text-align: center;
    }
    
    .demo-resources-table tr {
        height: 75px; /* 移动端稍小的高度 */
    }
    
    .demo-resources-table tr:hover td {
        background-color: #f8fafc;
    }
    
    /* 移动端直接显示播放按钮效果 */
    .product-thumbnail {
        opacity: 0.9;
    }
    
    .product-thumbnail:hover {
        transform: scale(1.05);
    }
}

@media (max-width: 480px) {
    .demo-header h2 {
        font-size: 1.5rem;
    }
    
    .demo-subtitle {
        font-size: 1rem;
    }
    
    .demo-cta-button {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .demo-step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .demo-step-title {
        font-size: 0.95rem;
    }
    
    .demo-step-desc {
        font-size: 0.85rem;
    }
    
    .demo-notes-section {
        padding: 20px 15px;
    }
    
    .demo-resources-table {
        min-width: 1000px;
    }
    
    .demo-resources-table th,
    .demo-resources-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .demo-resources-table td:nth-child(4) { /* Image列 */
        width: 80px;
        min-width: 80px;
        max-width: 80px;
    }
    
    .demo-resources-table td:nth-child(4) img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .demo-resources-table th:nth-child(3),
    .demo-resources-table td:nth-child(3) { /* Type列 */
        width: 200px;
        min-width: 200px;
        max-width: 200px;
    }
    
    .demo-resources-table th:nth-child(5),
    .demo-resources-table td:nth-child(5) { /* Model列 */
        width: 150px;
        min-width: 150px;
        max-width: 150px;
    }
    
    .demo-resources-table th:nth-child(7),
    .demo-resources-table td:nth-child(7) { /* Status列 */
        width: 80px;
        min-width: 80px;
        max-width: 80px;
    }
    
    .demo-resources-table th:nth-child(8),
    .demo-resources-table td:nth-child(8) { /* Demo Link列 */
        width: 130px;
        min-width: 130px;
        max-width: 130px;
    }
    
    .demo-resources-table tr {
        height: 70px; /* 手机端更小的高度 */
    }
}

/* 表格容器 */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    background: #fff;
}

/* 桌面端特定优化 */
@media (min-width: 769px) {
    .demo-resources-table td:nth-child(4) { /* Image列 */
        padding: 8px !important;
    }
    
    .product-thumbnail {
        width: 70px;
        height: 70px;
    }
}
/* 图片放大模态框样式 */
.image-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.95) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.image-modal-container {
    position: relative !important;
    max-width: 95vw !important;
    max-height: 95vh !important;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    flex-direction: column !important;
}

.image-modal-image {
    max-width: 100% !important;
    max-height: calc(95vh - 60px) !important; /* 减去底部信息栏高度 */
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

.image-modal-info {
    padding: 15px 20px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    text-align: center !important;
    font-size: 0.95rem !important;
    color: #475569 !important;
    font-weight: 500 !important;
}

.image-modal-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: rgba(59, 130, 246, 0.95) !important;
    color: white !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10001 !important;
    transition: all 0.2s ease !important;
}

.image-modal-close:hover {
    background: #dc2626 !important;
    transform: scale(1.1) !important;
}

/* 缩放控制按钮 */
.image-modal-controls {
    position: absolute !important;
    bottom: 15px !important;
    right: 15px !important;
    display: flex !important;
    gap: 8px !important;
    z-index: 10001 !important;
}

.zoom-control-btn {
    background: rgba(59, 130, 246, 0.9) !important;
    color: white !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.zoom-control-btn:hover {
    background: #2563eb !important;
    transform: scale(1.1) !important;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .image-modal {
        padding: 10px !important;
    }
    
    .image-modal-container {
        max-width: 98vw !important;
        max-height: 98vh !important;
    }
    
    .image-modal-image {
        max-height: calc(98vh - 50px) !important;
        padding: 15px !important;
    }
    
    .image-modal-close {
        top: 10px !important;
        right: 10px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 20px !important;
    }
    
    .image-modal-controls {
        bottom: 10px !important;
        right: 10px !important;
    }
    
    .zoom-control-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
    }
}

