/* ============================================
   设备展示页面专用样式
   ============================================ */

/* 页面标题区域 */
.equipment-header {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.equipment-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f6f6f6 100%);
}

.equipment-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 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='%23ffffff' fill-opacity='0.03'%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");
}

.equipment-header-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.equipment-header-content .container {
    max-width: 1400px;
    padding: 0 20px;
}

.header-badge {
    display: inline-block;
    padding: 8px 25px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.equipment-title {
    font-size: 42px;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.equipment-subtitle {
    font-size: 18px;
    color: rgba(22, 22, 22, 0.85);
    max-width: 700px;
    margin: 0 auto;
}

/* 设备特色区域 */
.equipment-features {
    padding: 50px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.equipment-features .container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: bold;
    color: #0a1628;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 设备展示区域 */
.equipment-showcase {
    padding: 60px 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.equipment-showcase .container {
    max-width: 1400px;
    margin: 0 auto;
}

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

/* 设备卡片链接 */
.equipment-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* 设备卡片 */
.equipment-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
}

.equipment-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.equipment-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.equipment-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.equipment-card:hover .equipment-image {
    transform: scale(1.15);
}

.equipment-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.9);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.equipment-card:hover .equipment-number {
    background: #ff6b35;
    transform: scale(1.1);
}

.equipment-info {
    padding: 25px;
}

.equipment-name {
    font-size: 20px;
    font-weight: bold;
    color: #0a1628;
    margin-bottom: 12px;
    line-height: 1.4;
}

.equipment-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.equipment-action {
    text-align: right;
}

.equipment-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 25px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.equipment-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .equipment-header {
        height: 220px;
    }
    
    .equipment-title {
        font-size: 32px;
    }
    
    .equipment-subtitle {
        font-size: 16px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .feature-card {
        padding: 15px 10px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .feature-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .feature-card h3 {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .feature-card p {
        font-size: 11px;
        line-height: 1.4;
    }
    
    .equipment-showcase {
        padding: 40px 15px;
    }
    
    .equipment-info {
        padding: 20px;
    }
    
    .equipment-name {
        font-size: 18px;
    }
}