/* 产品页面样式 */

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 产品概述 */
.product-overview {
    padding: 80px 0;
}

.overview-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.overview-text {
    flex: 1;
}

.overview-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.overview-image {
    flex: 1;
}

.overview-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* 产品列表 */
.product-list {
    padding: 0 0 80px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-item.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.product-item.reverse {
    flex-direction: row-reverse;
}

.product-content {
    flex: 1;
}

.product-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.product-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-color);
}

.product-tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 20px;
    margin-left: 15px;
}

.product-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.product-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-light);
}

.product-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

.product-action {
    margin-top: 30px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    background-color: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 产品详情模态框 */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--text-color);
}

/* 产品优势 */
.product-advantages {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

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

.advantage-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.advantage-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.advantage-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.advantage-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* 客户案例简介 */
.product-cases {
    padding: 80px 0;
}

.cases-slider {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0;
    overflow: hidden;
}

.cases-track {
    display: flex;
    transition: transform 0.5s ease;
}

.case-slide {
    min-width: 100%;
    padding: 0 15px;
}

.case-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.case-logo {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.case-logo img {
    width: 100%;
    height: 100%;
}

.case-info {
    flex: 1;
}

.case-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.case-info p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.cases-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.case-prev,
.case-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.case-prev:hover,
.case-next:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.cases-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.cases-action {
    text-align: center;
    margin-top: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 产品咨询 */
.product-contact {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-content {
    flex: 1;
    padding: 50px;
}

.contact-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-image {
    flex: 1;
    min-height: 500px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2);
}

.form-action {
    margin-top: 30px;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .overview-content {
        flex-direction: column;
    }
    
    .product-item,
    .product-item.reverse {
        flex-direction: column;
    }
    
    .product-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-image {
        order: -1;
        height: 300px;
    }
    
    .case-card {
        flex-direction: column;
        text-align: center;
    }
    
    .case-logo {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .product-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-tag {
        margin: 10px 0 0;
    }
    
    .product-header h3 {
        font-size: 1.8rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contact-content {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .case-slide {
        padding: 0;
    }
    
    .case-card {
        padding: 20px;
    }
}

/* 占位图样式 */
.placeholder-img {
    background-color: #f0f0f0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    font-size: 1.2rem;
} 