/* 产品中心页面 */

/* 页面主体 */
.products-main {
    margin-top: 80px;
}

/* 页面标题横幅 */
.products-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://oss.huanitech.com/HN/HN/CP1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 4rem 0;
    text-align: center;
    color: white;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 核心产品区域 */
.core-products-section {
    padding: 5rem 0;
    background: white;
}

/* 三个产品的网格布局 */
.products-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/* 大尺寸产品卡片样式 */
.product-card-large {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 700;
}

.product-subtitle {
    color: #718096;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    margin-top: auto;
}

.product-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

/* 新品发布区域 */
.new-products-section {
    padding: 5rem 0;
    background: #f8fafc;
}

/* 新品发布展示区域 */
.new-products-showcase {
    margin-top: 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.showcase-header h3 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 700;
}

.showcase-header p {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.showcase-item {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.showcase-image {
    margin-bottom: 1.5rem;
}

.image-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.image-placeholder span {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.showcase-info h4 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 600;
}

.showcase-info p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(45deg, #f59e0b, #f97316);
}

.showcase-footer {
    text-align: center;
}

.notify-btn {
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.notify-btn i {
    font-size: 1.1rem;
}

.product-image-placeholder {
    height: 200px;
    background: #e2e8f0;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #a0aec0;
}

.product-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-image-placeholder p {
    font-size: 1rem;
    font-weight: 500;
}

.product-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.product-details p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.coming-soon-tag {
    background: linear-gradient(45deg, #f59e0b, #f97316);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 产品动态区域 */
.product-news-section {
    padding: 5rem 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.news-image-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.news-date {
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-content p {
    color: #718096;
    line-height: 1.6;
}

/* 购买相关区域 */
.purchase-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.purchase-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.purchase-info {
    display: grid;
    gap: 1.5rem;
}

.info-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.info-content p {
    color: #718096;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1d4ed8;
}

.service-tag {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 购买表单 */
.purchase-form {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2rem;
    height: fit-content;
}

.purchase-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #2d3748;
    text-align: center;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

/* 导航栏激活状态 */
.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .products-grid-three {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .products-grid-three {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .new-products-showcase {
        padding: 2rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .purchase-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .products-main {
        margin-top: 70px;
    }
    
    .products-hero {
        padding: 2rem 0;
    }
    
    .core-products-section,
    .new-products-section,
    .product-news-section,
    .purchase-section {
        padding: 3rem 0;
    }
    
    .product-info,
    .new-product-card,
    .news-card,
    .info-card,
    .purchase-form {
        padding: 1.5rem;
    }
    
    .product-features {
        justify-content: center;
    }
}
