/* ===== Product Detail Section ===== */
.product-detail-section {
    padding: 80px 0;
    background: var(--bg);
}

.product-detail-header {
    text-align: center;
    margin-bottom: 3rem;
}

.product-detail-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.product-detail-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* 产品详情网格布局 */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

/* 产品图片区域 */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.main-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image .placeholder-icon {
    font-size: 6rem;
    opacity: 0.6;
    position: relative;
    z-index: 1;
}

/* 缩略图 */
.thumbnail-row {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: calc(33.333% - 0.67rem);
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a2235 100%);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
}

.thumbnail.active {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail .placeholder-icon {
    font-size: 2rem;
    opacity: 0.5;
}

/* 产品信息区域 */
.product-info {
    padding-top: 0;
}

.product-info h1 {
    font-size: 2.2rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.product-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--teal));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* 产品参数 */
.product-specs {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}

.product-specs h3 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-light);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 0.75rem 0;
}

.specs-table td:first-child {
    color: var(--text-muted);
    width: 40%;
    font-size: 0.92rem;
}

.specs-table td:last-child {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
}

/* 产品描述 */
.product-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 1.5rem 0;
}

.product-description p {
    margin-bottom: 1rem;
}

/* 产品特性 */
.product-features {
    margin: 1.5rem 0;
}

.product-features h3 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--emerald);
    font-weight: bold;
    font-size: 0.9rem;
}

/* 咨询按钮 */
.inquiry-action {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.btn-inquiry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
}

.btn-inquiry:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* 产品额外信息 */
.product-additional-info {
    margin-top: 4rem;
}

.info-section {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.info-section h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.info-section p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.97rem;
    margin-bottom: 1rem;
}

/* 适用场景 */
.scenario-list {
    list-style: none;
    padding: 0;
}

.scenario-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.scenario-list li:last-child {
    border-bottom: none;
}

.scenario-list li strong {
    color: var(--text);
    font-weight: 600;
}

/* 服务保障 */
.service-guarantee {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.guarantee-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.guarantee-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.guarantee-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(79,70,229,0.1) 0%, rgba(14,165,233,0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.guarantee-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.guarantee-content p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* 客户案例 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.case-card-mini {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.case-card-mini:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.case-card-mini h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.case-card-mini p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .product-detail-section {
        padding: 60px 0;
    }
    
    .product-detail-grid {
        gap: 2.5rem;
    }
    
    .main-image {
        height: 350px;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .service-guarantee {
        grid-template-columns: 1fr;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .product-info h1 {
        font-size: 1.8rem;
    }
    
    .info-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .product-detail-section {
        padding: 40px 0;
    }
    
    .product-detail-grid {
        gap: 2rem;
    }
    
    .main-image {
        height: 300px;
    }
    
    .thumbnail {
        height: 80px;
    }
    
    .product-specs,
    .info-section {
        padding: 1.25rem;
    }
    
    .specs-table td {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }
    
    .guarantee-item {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .guarantee-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
