/* 新风系统演示区域增强样式 */
.demo-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.demo-section .container {
    position: relative;
    z-index: 1;
}

/* 季节工况选择器样式 */
.season-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.season-btn {
    padding: 12px 25px;
    border: none;
    background: white;
    color: #3498db;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.season-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.season-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.15);
}

.season-btn:hover::before {
    transform: scaleX(1);
}

.season-btn.active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.season-btn.active::before {
    transform: scaleX(1);
    background: rgba(255,255,255,0.3);
}

/* 演示容器增强样式 */
.ventilation-demo {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.demo-container {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 80px 40px;
    margin-bottom: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: none;
    overflow: visible;
    min-height: 500px;
    transition: all 0.5s ease;
}

.demo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.05), rgba(46, 204, 113, 0.05), rgba(155, 89, 182, 0.05));
    border-radius: 20px;
    z-index: -1;
}

/* 空气流向路径 */
.air-path {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.air-path-line {
    stroke-dasharray: 10;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 1000;
    }
}

/* 空气区域样式增强 */
.outdoor-air, .indoor-air, .treated-air, .exhaust-air {
    position: absolute;
    text-align: center;
    width: 160px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    z-index: 5;
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.outdoor-air:hover, .indoor-air:hover, .treated-air:hover, .exhaust-air:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.15);
}

.outdoor-air {
    top: 30px;
    left: 30px;
}

.indoor-air {
    top: 30px;
    right: 30px;
}

.treated-air {
    bottom: 30px;
    right: 30px;
}

.exhaust-air {
    bottom: 30px;
    left: 30px;
}

.outdoor-air h3, .indoor-air h3, .treated-air h3, .exhaust-air h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.outdoor-air h3::after, .indoor-air h3::after, .treated-air h3::after, .exhaust-air h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3498db, transparent);
}

/* 温度标签增强 */
.temperature-label {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.temperature-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}

.temperature-label:hover::before {
    left: 100%;
}

/* 冬季工况温度标签 */
.temperature-label.cold {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.temperature-label.warm {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.temperature-label.treated {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.temperature-label.exhaust {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}

/* 夏季工况温度标签 */
.temperature-label.hot {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.temperature-label.cool {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.temperature-label.treated-summer {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.temperature-label.exhaust-summer {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
}

/* 春秋工况温度标签 */
.temperature-label.mild {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.temperature-label.mild-indoor {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.temperature-label.treated-spring {
    background: linear-gradient(135deg, #16a085, #1abc9c);
    color: white;
}

.temperature-label.exhaust-spring {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    color: white;
}

/* 季节信息样式增强 */
.season-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.98);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 350px;
    border: none;
    z-index: 10;
}

.season-info::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3498db, #2ecc71, #9b59b6, #3498db);
    border-radius: 17px;
    z-index: -1;
    opacity: 0.3;
}

.season-info h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
    position: relative;
    display: inline-block;
}

.season-info h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3498db, transparent);
}

.season-info p {
    color: #7f8c8d;
    font-size: 16px;
    line-height: 1.7;
}

/* 新风机组件增强样式 */
.ventilation-unit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 100px 0 60px;
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    z-index: 5;
}

/* 过滤器增强样式 */
.filter {
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #34495e, #2c3e50);
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(52, 73, 94, 0.3);
    border: none;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.filter:hover {
    transform: translateY(-5px) rotateY(10deg);
}

.filter::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(236, 240, 241, 0.3);
    border-radius: 8px;
}

.filter-layers {
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.filter-layer {
    width: 50px;
    height: 10px;
    background: linear-gradient(90deg, #ecf0f1, #bdc3c7);
    border-radius: 3px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.filter-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.filter-label {
    position: absolute;
    bottom: -35px;
    font-size: 12px;
    color: #2c3e50;
    white-space: nowrap;
    font-weight: 600;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* 风机增强样式 */
.fan-unit {
    position: relative;
}

.fan {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.4);
    border: none;
    transition: all 0.3s ease;
}

.fan:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.5);
}

.fan::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border: 2px solid rgba(236, 240, 241, 0.2);
    border-radius: 50%;
}

.fan-blades {
    width: 60px;
    height: 60px;
    position: relative;
    z-index: 2;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.blade {
    position: absolute;
    width: 30px;
    height: 6px;
    background: linear-gradient(90deg, #ecf0f1, #bdc3c7);
    border-radius: 3px;
    top: 50%;
    left: 50%;
    transform-origin: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.blade:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg); }
.blade:nth-child(2) { transform: translate(-50%, -50%) rotate(90deg); }
.blade:nth-child(3) { transform: translate(-50%, -50%) rotate(180deg); }
.blade:nth-child(4) { transform: translate(-50%, -50%) rotate(270deg); }

.fan-label {
    position: absolute;
    bottom: -35px;
    font-size: 12px;
    color: #2c3e50;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* 热交换器增强样式 */
.heat-exchanger {
    width: 160px;
    height: 140px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    border-radius: 15px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.4);
    border: none;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.heat-exchanger:hover {
    transform: translateY(-5px) rotateY(5deg);
}

.heat-exchanger::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.exchanger-core {
    position: relative;
    width: 110px;
    height: 90px;
    z-index: 2;
}

.heat-plates {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    justify-content: center;
}

.plate {
    height: 12px;
    background: linear-gradient(90deg, #d35400, #e67e22, #d35400);
    border-radius: 3px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.plate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    animation: heatflow 3s infinite alternate;
}

@keyframes heatflow {
    0% { left: -100%; }
    100% { left: 100%; }
}

.exchanger-label {
    position: absolute;
    bottom: -35px;
    font-size: 12px;
    color: #2c3e50;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.efficiency-display {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: white;
    font-weight: bold;
    white-space: nowrap;
    background: linear-gradient(135deg, #e67e22, #d35400);
    padding: 8px 15px;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
    border: none;
    z-index: 3;
}

/* 工作原理说明增强样式 */
.demo-explanation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.explanation-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.05);
}

.explanation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.15);
    border-color: rgba(52, 152, 219, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 18px;
    position: relative;
    display: inline-block;
}

.step-content h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #3498db;
}

.step-content p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.7;
}

/* 响应式设计增强 */
@media (max-width: 992px) {
    .ventilation-unit {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .outdoor-air, .indoor-air, .treated-air, .exhaust-air {
        width: 140px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .season-selector {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .outdoor-air, .indoor-air, .treated-air, .exhaust-air {
        position: static;
        margin: 15px auto;
        width: 100%;
        max-width: 250px;
    }
    
    .season-info {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 30px auto;
        width: 100%;
        max-width: 350px;
    }
    
    .demo-container {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .ventilation-unit {
        margin: 50px 0 30px;
        padding: 20px 10px;
        gap: 40px 20px;
    }
    
    .demo-explanation {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .demo-section {
        padding: 60px 0;
    }
    
    .season-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .ventilation-unit {
        flex-direction: column;
    }
    
    .filter, .fan, .heat-exchanger {
        margin-bottom: 40px;
    }
}