/* ==================== 产品页样式 ==================== */

/* 产品英雄区 */
.product-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4fc 100%);
    padding: 60px 0 80px;
}

.product-hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-hero-content {
    max-width: 520px;
}

.product-hero-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-hero-desc {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

.product-hero-btns {
    display: flex;
    gap: 16px;
}

.product-hero-img {
    border-radius: 12px;
    overflow: hidden;
}

/* 功能卡片 */
.functions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.function-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.function-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.function-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.function-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.function-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.function-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 产品列表 */
.products-section {
    background: var(--bg-gray);
}

.product-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #fff;
    padding: 48px;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.product-item-reverse {
    direction: rtl;
}

.product-item-reverse > * {
    direction: ltr;
}

.product-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-color);
    background: rgba(26, 92, 158, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.product-item-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.product-item-desc {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

.product-features {
    margin-bottom: 32px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
    padding: 8px 0;
}

.product-features svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.product-item-img {
    border-radius: 12px;
    overflow: hidden;
}

/* 解决方案 */
.solutions-section {
    background: #fff;
}

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

.solution-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.solution-img {
    overflow: hidden;
}

.solution-img .img-placeholder {
    border-radius: 0;
    transition: var(--transition);
}

.solution-card:hover .solution-img .img-placeholder {
    transform: scale(1.05);
}

.solution-content {
    padding: 24px;
}

.solution-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.solution-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 图片占位符 */
.img-placeholder {
    width: 100%;
    background: linear-gradient(135deg, #e8f4fc 0%, #d4e9f7 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    border: 2px dashed #ccc;
}

.img-placeholder span {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.img-placeholder small {
    font-size: 12px;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-item a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
}

.mobile-nav-item.active a {
    color: var(--primary-color);
}

/* 响应式 */
@media (max-width: 1200px) {
    .product-hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-hero-content {
        max-width: 100%;
    }
    
    .functions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-item {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .product-item-reverse {
        direction: ltr;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-hero-title {
        font-size: 28px;
    }
    
    .product-hero-btns {
        flex-direction: column;
    }
    
    .functions-grid {
        grid-template-columns: 1fr;
    }
    
    .product-item {
        padding: 32px 24px;
    }
    
    .product-item-title {
        font-size: 24px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}
