/**
 * AI数据标注演示模块样式
 */

/* ============================================
   分类筛选按钮
============================================ */
.demo-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.3);
    color: white;
}

.filter-btn:hover svg {
    opacity: 1;
    color: var(--primary-500);
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-color: var(--primary-500);
    color: white;
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
}

.filter-btn.active svg {
    opacity: 1;
    color: var(--primary-500);
}

/* ============================================
   演示页面头部
============================================ */
.demo-header {
    padding-bottom: 40px;
}

.demo-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.demo-stat {
    text-align: center;
}

.demo-stat .stat-value {
    font-size: 42px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-stat .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* ============================================
   演示卡片网格
============================================ */
.demo-section {
    padding-top: 20px;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.demo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-500), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.demo-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 102, 255, 0.15);
}

.demo-card:hover::before {
    opacity: 1;
}

.demo-card-large {
    grid-column: span 2;
}

.demo-card-cta {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-color: rgba(0, 102, 255, 0.3);
}

/* 卡片头部 */
.demo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.demo-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.demo-card:hover .demo-icon {
    background: rgba(0, 102, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.4);
    transform: scale(1.1);
}

.demo-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-500);
}

.demo-badge {
    padding: 4px 12px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-badge-hot {
    background: linear-gradient(135deg, #FF6B35, #F7C94B);
    border: none;
    color: white;
}

.demo-badge-special {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.demo-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.demo-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 演示预览区 */
.demo-preview {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    height: 180px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    flex: 1;
}

.demo-card-large .demo-preview {
    height: 220px;
}

/* 卡片底部 */
.demo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.demo-accuracy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.demo-accuracy span {
    color: #00ff88;
    font-weight: 600;
}

.demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-500);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.demo-btn:hover {
    background: var(--primary-500);
    color: white;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.demo-btn svg {
    width: 16px;
    height: 16px;
}

.demo-btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.demo-btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.6);
    transform: translateY(-2px);
}

/* ============================================
   1. 语义分割演示
============================================ */
.segmentation-demo {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.seg-image {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a2e;
}

.seg-layer {
    position: absolute;
    transition: opacity 0.5s, transform 0.5s;
}

.seg-sky {
    top: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(180deg, #4FC3F7 0%, rgba(79, 195, 247, 0.3) 100%);
    animation: segReveal 3s ease-in-out infinite;
}

.seg-building {
    top: 20%;
    left: 10%;
    width: 30%;
    height: 50%;
    background: rgba(255, 112, 67, 0.7);
    clip-path: polygon(10% 100%, 50% 0%, 90% 100%);
    animation: segReveal 3s ease-in-out infinite 0.3s;
}

.seg-road {
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(0deg, rgba(102, 187, 106, 0.8) 0%, rgba(102, 187, 106, 0.3) 100%);
    animation: segReveal 3s ease-in-out infinite 0.6s;
}

.seg-car {
    bottom: 15%;
    right: 20%;
    width: 60px;
    height: 30px;
    background: rgba(255, 167, 38, 0.9);
    border-radius: 4px 4px 2px 2px;
    animation: segReveal 3s ease-in-out infinite 0.9s;
}

@keyframes segReveal {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.seg-legend {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.legend-item i {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

/* ============================================
   2. 图片分类演示
============================================ */
.classification-demo {
    padding: 20px;
    display: flex;
    gap: 20px;
}

.classify-image {
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.classify-image svg {
    width: 40px;
    height: 40px;
    color: var(--primary-500);
}

.classify-result {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-label {
    width: 60px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.result-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: barGrow 2s ease-out forwards;
    animation-delay: var(--delay, 0s);
}

.demo-card:hover .bar-fill {
    animation: barGrow 1s ease-out forwards;
}

@keyframes barGrow {
    to { width: var(--target-width); }
}

.result-item:nth-child(1) .bar-fill { --delay: 0.1s; }
.result-item:nth-child(2) .bar-fill { --delay: 0.2s; }
.result-item:nth-child(3) .bar-fill { --delay: 0.3s; }

.result-value {
    width: 35px;
    font-size: 12px;
    font-weight: 600;
    color: #00ff88;
    text-align: right;
}

/* ============================================
   3. 目标检测演示
============================================ */
.detection-demo {
    padding: 15px;
}

.detect-scene {
    position: relative;
    height: 130px;
    background: linear-gradient(180deg, #1a2a3a 0%, #0d1b2a 100%);
    border-radius: 8px;
}

.detect-object {
    position: absolute;
    animation: detectAppear 0.5s ease-out forwards;
    opacity: 0;
}

.obj-1 {
    left: 15%;
    top: 30%;
    width: 30px;
    height: 60px;
    animation-delay: 0.3s;
}

.obj-2 {
    left: 45%;
    top: 40%;
    width: 70px;
    height: 40px;
    animation-delay: 0.6s;
}

.obj-3 {
    right: 15%;
    top: 35%;
    width: 35px;
    height: 45px;
    animation-delay: 0.9s;
}

.demo-card:hover .detect-object {
    animation: detectAppear 0.5s ease-out forwards;
}

@keyframes detectAppear {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.obj-box {
    width: 100%;
    height: 100%;
    border: 2px solid #00ff88;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    animation: boxPulse 2s ease-in-out infinite;
}

@keyframes boxPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.6); }
}

.obj-label {
    position: absolute;
    top: -22px;
    left: 0;
    padding: 2px 8px;
    background: #00ff88;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #0a0a1a;
    white-space: nowrap;
}

.detect-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.detect-stats strong {
    color: var(--primary-500);
}

/* ============================================
   4. 人脸骨骼打点演示
============================================ */
.face-demo {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.face-outline {
    width: 120px;
    height: 140px;
}

.face-svg {
    width: 100%;
    height: 100%;
}

.fp {
    fill: var(--primary-500);
    opacity: 0;
    animation: pointAppear 0.3s ease-out forwards;
}

.demo-card:hover .fp {
    animation: pointAppear 0.3s ease-out forwards, pointPulse 2s ease-in-out infinite 0.3s;
}

@keyframes pointAppear {
    to { opacity: 1; }
}

@keyframes pointPulse {
    0%, 100% { r: 2; }
    50% { r: 3; }
}

.face-points circle:nth-child(1) { animation-delay: 0.05s; }
.face-points circle:nth-child(2) { animation-delay: 0.1s; }
.face-points circle:nth-child(3) { animation-delay: 0.15s; }
.face-points circle:nth-child(4) { animation-delay: 0.2s; }
.face-points circle:nth-child(5) { animation-delay: 0.25s; }
.face-points circle:nth-child(6) { animation-delay: 0.3s; }
.face-points circle:nth-child(7) { animation-delay: 0.35s; }
.face-points circle:nth-child(8) { animation-delay: 0.4s; }

.face-lines {
    opacity: 0;
    animation: linesAppear 0.5s ease-out 0.5s forwards;
}

.demo-card:hover .face-lines {
    animation: linesAppear 0.5s ease-out 0.5s forwards;
}

@keyframes linesAppear {
    to { opacity: 1; }
}

.face-info {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.face-info strong {
    color: #00ff88;
}

/* ============================================
   5. 3D点云演示
============================================ */
.pointcloud-demo {
    padding: 15px;
}

.pc-scene {
    position: relative;
    height: 150px;
    background: linear-gradient(180deg, #0d1b2a 0%, #1a1a2e 100%);
    border-radius: 8px;
    perspective: 500px;
    overflow: hidden;
}

.pc-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: rotateX(60deg) translateY(-50%);
    transform-origin: center center;
    animation: gridScroll 10s linear infinite;
}

@keyframes gridScroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

.pc-points {
    position: absolute;
    inset: 0;
}

.pc-point {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-500);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--primary-500);
    animation: pointFloat 3s ease-in-out infinite;
}

@keyframes pointFloat {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-5px); opacity: 1; }
}

.pc-box {
    position: absolute;
    border: 2px solid;
    border-radius: 4px;
    transform: rotateX(20deg) rotateY(-20deg);
}

.pc-box-1 {
    width: 60px;
    height: 35px;
    left: 25%;
    top: 40%;
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.pc-box-2 {
    width: 25px;
    height: 45px;
    right: 25%;
    top: 35%;
    border-color: #FF6B35;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.pc-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 8px;
    background: inherit;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.pc-box-1 .pc-label { background: #00ff88; color: #0a0a1a; }
.pc-box-2 .pc-label { background: #FF6B35; }

.pc-controls {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.pc-ctrl {
    flex: 1;
    padding: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.pc-ctrl:hover, .pc-ctrl.active {
    background: rgba(0, 102, 255, 0.2);
    border-color: var(--primary-500);
    color: white;
}

/* ============================================
   6. 2D3D融合演示
============================================ */
.fusion-demo {
    padding: 20px;
}

.fusion-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 100%;
}

.fusion-2d, .fusion-3d {
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fusion-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.fusion-box {
    width: 40px;
    height: 30px;
    border: 2px solid #00ff88;
    border-radius: 4px;
    animation: fusionPulse 2s ease-in-out infinite;
}

@keyframes fusionPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.fusion-arrow {
    color: var(--primary-500);
    animation: arrowMove 1.5s ease-in-out infinite;
}

.fusion-arrow svg {
    width: 24px;
    height: 24px;
}

@keyframes arrowMove {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(5px); opacity: 1; }
}

.fusion-cube {
    width: 40px;
    height: 40px;
    border: 2px solid #00ff88;
    transform: rotateX(20deg) rotateY(-20deg);
    animation: cubeRotate 4s linear infinite;
}

@keyframes cubeRotate {
    0% { transform: rotateX(20deg) rotateY(-20deg); }
    100% { transform: rotateX(20deg) rotateY(340deg); }
}

/* ============================================
   7. 连续帧标注演示
============================================ */
.tracking-demo {
    padding: 15px;
}

.track-frames {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.track-frame {
    flex: 1;
    height: 100px;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.track-obj {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 20px;
    height: 20px;
    border: 2px solid #00ff88;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    animation: trackMove 2s ease-in-out infinite;
}

@keyframes trackMove {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; box-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
}

.frame-num {
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.track-trajectory {
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-500) 20%, 
        #00ff88 50%, 
        var(--primary-500) 80%, 
        transparent 100%
    );
    border-radius: 2px;
    animation: trajectoryFlow 2s linear infinite;
}

@keyframes trajectoryFlow {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================
   8. 视频分类演示
============================================ */
.video-class-demo {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vc-player {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 15px;
}

.vc-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 15px;
}

.vc-bar {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: vcProgress 3s ease-out infinite;
}

@keyframes vcProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

.vc-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vc-tag {
    padding: 4px 12px;
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: var(--primary-500);
    opacity: 0;
    animation: tagPop 0.3s ease-out forwards;
    animation-delay: calc(var(--delay) * 0.3s + 1s);
}

@keyframes tagPop {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* ============================================
   9. 视频内容提取演示
============================================ */
.video-extract-demo {
    padding: 20px;
}

.ve-timeline {
    position: relative;
    height: 80px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
}

.ve-track {
    position: relative;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.ve-keyframe {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 30px;
    background: var(--primary-500);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
}

.ve-keyframe:hover {
    background: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.kf-1 { left: 15%; animation: kfPulse 2s ease-in-out infinite 0s; }
.kf-2 { left: 45%; animation: kfPulse 2s ease-in-out infinite 0.5s; }
.kf-3 { left: 75%; animation: kfPulse 2s ease-in-out infinite 1s; }

@keyframes kfPulse {
    0%, 100% { opacity: 0.6; height: 25px; }
    50% { opacity: 1; height: 35px; }
}

.ve-keyframe span {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.ve-current {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: vePlay 4s linear infinite;
}

@keyframes vePlay {
    0% { width: 0; }
    100% { width: 100%; }
}

.ve-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.ve-info strong {
    color: #00ff88;
}

/* ============================================
   10. 综合大屏预览
============================================ */
.dashboard-preview {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 120px;
}

.dash-chart {
    height: 40px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.dash-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    animation: chartGrow 2s ease-in-out infinite;
}

.dash-chart-1::after { height: 60%; animation-delay: 0s; }
.dash-chart-2::after { height: 80%; animation-delay: 0.3s; }
.dash-chart-3::after { height: 45%; animation-delay: 0.6s; }
.dash-chart-4::after { height: 70%; animation-delay: 0.9s; }

@keyframes chartGrow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============================================
   技术统计
============================================ */
.tech-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tech-stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s;
}

.tech-stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-4px);
}

.tech-stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.tech-stat-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-500);
}

.tech-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.tech-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   响应式设计
============================================ */
@media (max-width: 1024px) {
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .demo-card-large {
        grid-column: span 2;
    }
    
    .tech-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .demo-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .demo-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-card-large {
        grid-column: span 1;
    }
    
    .tech-stats {
        grid-template-columns: 1fr;
    }
    
    .track-frames {
        flex-wrap: wrap;
    }
    
    .track-frame {
        width: calc(50% - 4px);
        flex: none;
    }
}
