/* 产品详情页面样式 */

/* 产品详情横幅 */
.product-detail-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.product-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.product-detail-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    margin: 0 10px;
    opacity: 0.7;
}

.hero-content {
    position: relative;
}

.product-badge {
    display: inline-block;
    background: #e53e3e;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
}

/* 产品详情内容 */
.product-detail-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.content-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

/* 主要内容区域 */
.main-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* 产品概览 */
.product-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.product-image {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    position: relative;
}

.server-illustration {
    margin-bottom: 30px;
}

.server-illustration i {
    font-size: 80px;
    color: #667eea;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #4a5568;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-tag i {
    color: #e53e3e;
}

/* 产品信息 */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #e53e3e;
}

.period {
    font-size: 1.25rem;
    color: #718096;
}

.original-price {
    font-size: 1.125rem;
    color: #a0aec0;
    text-decoration: line-through;
}

.product-specs-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 3px solid #e53e3e;
}

.spec-item i {
    color: #e53e3e;
    font-size: 18px;
}

.spec-item span {
    font-weight: 500;
    color: #2d3748;
}

/* 产品动作按钮 */
.product-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.btn-primary {
    background: #e53e3e;
    color: white;
}

.btn-primary:hover {
    background: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.btn-outline {
    background: transparent;
    color: #e53e3e;
    border: 2px solid #e53e3e;
}

.btn-outline:hover {
    background: #e53e3e;
    color: white;
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* 产品保证 */
.product-guarantee {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a5568;
}

.guarantee-item i {
    color: #48bb78;
    font-size: 16px;
}

/* 详细规格 */
.product-specifications {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.product-specifications h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
}

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

.spec-category {
    background: #f7fafc;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e2e8f0;
}

.spec-category h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
}

.spec-category h3 i {
    color: #e53e3e;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.spec-label {
    font-weight: 500;
    color: #4a5568;
}

.spec-value {
    font-weight: 600;
    color: #2d3748;
}

/* 产品特色详情 */
.product-features-detail {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.product-features-detail h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #e53e3e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.feature-item p {
    color: #718096;
    line-height: 1.6;
}

/* 使用场景 */
.use-cases h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
}

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

.case-item {
    padding: 25px;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.case-icon {
    width: 60px;
    height: 60px;
    background: #667eea;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.case-icon i {
    font-size: 24px;
    color: white;
}

.case-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.case-item p {
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e53e3e;
}

/* 订购表单 */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
}

.form-select {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #2d3748;
    transition: border-color 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

/* 相关产品 */
.related-product {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.related-product:hover {
    border-color: #e53e3e;
    transform: translateX(5px);
}

.related-product:last-child {
    margin-bottom: 0;
}

.related-product-icon {
    width: 50px;
    height: 50px;
    background: #f7fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.related-product-icon i {
    font-size: 20px;
    color: #667eea;
}

.related-product-info {
    flex: 1;
}

.related-product-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.related-price {
    font-size: 16px;
    font-weight: 700;
    color: #e53e3e;
    margin-bottom: 5px;
}

.related-product-info p {
    font-size: 12px;
    color: #718096;
    margin-bottom: 8px;
}

.related-link {
    font-size: 12px;
    color: #e53e3e;
    text-decoration: none;
    font-weight: 500;
}

.related-link:hover {
    text-decoration: underline;
}

/* 客户评价 */
.review-item {
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
}

.review-item:last-child {
    margin-bottom: 0;
}

.review-rating {
    margin-bottom: 10px;
}

.review-rating i {
    color: #f6ad55;
    font-size: 14px;
    margin-right: 2px;
}

.review-text {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 10px;
    font-style: italic;
}

.review-author {
    font-size: 12px;
    color: #718096;
    text-align: right;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-overview {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .product-detail-hero {
        padding: 100px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .product-specs-summary {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .price {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .content-layout {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .main-content {
        padding: 15px;
    }
}
