/* 详情页面特定样式 */
.header-content {
    display: flex;
    justify-content: space-between;
}

.back-button {
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 1000;
    padding: 12px 24px;
    background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 100%);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
    display: inline-block;
}

.back-button:hover {
    background: linear-gradient(135deg, #4682B4 0%, #5F9EA0 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(70, 130, 180, 0.4);
}

.back-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 3px 10px rgba(135, 206, 235, 0.4);
}

.main-content {
    position: relative;
    padding-top: 20px;
}

.detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.detail-content {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

.detail-header {
    position: relative;
    height: auto;
    overflow: hidden;
}

.detail-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.detail-content:hover .detail-image {
    transform: scale(1.05);
}

.detail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 40px 30px 30px;
    color: #fff;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.detail-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-body {
    padding: 40px 30px;
}

.detail-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin-bottom: 100px;
}

.detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    background: linear-gradient(135deg, #f8fbff, #e6f3ff);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #87CEEB;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.2);
}

.feature-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4682B4;
}

.detail-specs {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.specs-title {
    font-size: 1.5rem;
    color: #4682B4;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.spec-label {
    font-weight: 600;
    color: #333;
}

.spec-value {
    color: #666;
    font-weight: 500;
}

.contact-section {
    background: linear-gradient(135deg, #87CEEB, #B0E0E6);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.contact-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #87CEEB;
    font-size: 1.2rem;
    gap: 15px;
}

.loading i {
    font-size: 2rem;
}

.error-message {
    text-align: center;
    padding: 60px 20px;
    color: #f44336;
}

.error-message i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.error-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.error-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.retry-button {
    background: linear-gradient(135deg, #87CEEB, #B0E0E6);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.retry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {

    .back-button {
        position: fixed;
        top: 50px;
        left: 20px;
        z-index: 1000;
        padding: 12px 24px;
        background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 100%);
        color: white;
        text-decoration: none;
        border: none;
        border-radius: 25px;
        font-weight: 500;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
        display: inline-block;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .back-button {
        align-self: flex-start;
    }

    .main-content {
        position: relative;
        padding-top: 0px;
        margin-top: 80px; /* 减少手机端顶部空白 */
    }
    
    .detail-container {
        padding: 10px 15px; /* 减少顶部内边距 */
    }
    
    .detail-title {
        font-size: 2rem;
    }
    
    .detail-body {
        padding: 30px 20px;
    }
    
    .detail-features {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 200px;
        justify-content: center;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-item {
    animation: slideInLeft 0.6s ease;
}

.feature-item:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.3s;
}