/* ==================== 产品详情页专属样式 ==================== */

/* 详情内容区 */
.detail-section {
    padding: 8rem 0 5rem;
    background: var(--bg-soft);
    min-height: calc(100vh - 300px);
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
}

/* 详情布局 */
.detail-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
}

/* 左侧主内容 */
.detail-main {
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--border);
}

.detail-header {
    margin-bottom: 2rem;
}

.detail-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.05));
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.detail-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.detail-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 产品图片 */
.detail-image {
    margin-bottom: 2.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-soft);
}

.detail-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* 产品描述 */
.detail-description,
.detail-features,
.detail-scenarios {
    margin-bottom: 2.5rem;
}

.detail-description h2,
.detail-features h2,
.detail-scenarios h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-light);
}

.detail-description p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 功能特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.feature-item {
    padding: 1.25rem;
    background: var(--bg-soft);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-md);
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 适用场景列表 */
.scenarios-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.scenarios-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-soft);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.scenarios-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

/* 右侧边栏 */
.detail-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 价格卡片 */
.price-card {
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.price-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.price-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.price-feature-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

/* 联系卡片 */
.contact-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(14, 165, 233, 0.03));
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
    text-align: center;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.contact-btn svg {
    width: 18px;
    height: 18px;
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 1024px) {
    .detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .detail-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .price-card,
    .contact-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .detail-section {
        padding: 7rem 0 3rem;
    }

    .detail-main {
        padding: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        flex-direction: column;
    }

    .price-card,
    .contact-card {
        min-width: auto;
    }

    .breadcrumb {
        font-size: 0.875rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .detail-title {
        font-size: 1.5rem;
    }

    .price-value {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 1.25rem;
    }
}
