/* ========== 产品页面专属样式 ========== */
/* 全局背景与基础色调 */
body {
    background: #f5f9ff;  /* 柔和蓝灰背景，覆盖全局 */
}

/* 面包屑 (复用 about.css 样式，但确保统一) */
.breadcrumb {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(44,125,160,0.1);
    position: sticky;
    top: 80px;
    z-index: 98;
}
.breadcrumb .container {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
}
.breadcrumb a {
    color: #2c7da0;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: #1f5e7a;
}
.breadcrumb .current {
    color: #5f7f9e;
}

/* 产品总览 Hero 区域 */
.product-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}
.product-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(44,125,160,0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.product-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(100,150,200,0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.hero-overview {
    position: relative;
    z-index: 1;
    text-align: center;
}
.hero-badge {
    margin-bottom: 1rem;
}
.hero-badge span {
    background: #2c7da0;
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(44,125,160,0.2);
}
.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #003753;
    margin-bottom: 1rem;
}
.hero-text p {
    font-size: 1.1rem;
    color: #4a627a;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.hero-stats .stat {
    background: white;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    font-weight: 500;
    color: #2c7da0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-stats .stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(44,125,160,0.12);
}
.hero-stats .stat span {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2c7da0;
    margin-right: 6px;
}
.hero-quote {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #5f7f9e;
    font-style: italic;
    border-top: 1px solid rgba(44,125,160,0.2);
    padding-top: 1.5rem;
    display: inline-block;
}
.hero-quote i {
    color: #2c7da0;
    margin-right: 8px;
}
@media (max-width: 768px) {
    .product-hero { padding: 40px 0 30px; }
    .hero-text h1 { font-size: 1.8rem; }
    .hero-text p { font-size: 1rem; }
    .hero-stats .stat { font-size: 0.9rem; padding: 0.4rem 1rem; }
    .hero-stats .stat span { font-size: 1.2rem; }
}
/* 产品销售结构与全球客户模块 */
.product-structure {
    background: #ffffff;
    padding: 60px 0;
}
.section-subtitle {
    text-align: center;
    color: #5f7f9e;
    max-width: 700px;
    margin: -1rem auto 2rem;
}
.structure-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}
.sales-chart, .products-categories {
    background: #f9fbfe;
    border-radius: 28px;
    padding: 28px 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}
.sales-chart h3, .products-categories h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #003753;
    display: flex;
    align-items: center;
    gap: 10px;
}
.chart-bars {
    margin: 20px 0;
}
.chart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.chart-label {
    width: 180px;
    font-weight: 600;
    color: #2c3e4e;
}
.progress-bar {
    flex: 1;
    height: 10px;
    background: #e0e7ef;
    border-radius: 10px;
    overflow: hidden;
}
.progress {
    height: 100%;
    background: #2c7da0;
    border-radius: 10px;
}
.chart-percent {
    width: 45px;
    font-weight: 700;
    color: #2c7da0;
}
.chart-note {
    font-size: 0.75rem;
    color: #8ba9c2;
    text-align: right;
    margin-top: 15px;
}
.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.category-card {
    background: white;
    border-radius: 20px;
    padding: 18px;
    transition: all 0.3s;
    border: 1px solid #eef2f8;
}
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(44,125,160,0.1);
    border-color: #2c7da0;
}
.category-card i {
    font-size: 1.8rem;
    color: #2c7da0;
    margin-bottom: 12px;
}
.category-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #003753;
}
.category-card p {
    font-size: 0.8rem;
    color: #5f7f9e;
    line-height: 1.4;
    margin-bottom: 12px;
}
.brand-tag-small {
    font-size: 0.7rem;
    color: #2c7da0;
    background: #f0f7fc;
    padding: 4px 8px;
    border-radius: 20px;
    display: inline-block;
}

@media (max-width: 768px) {
    .structure-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .chart-item {
        flex-wrap: wrap;
    }
    .chart-label {
        width: 100%;
        margin-bottom: 5px;
    }
    .progress-bar {
        width: 100%;
    }
    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
/* 产品矩阵卡片 */
.product-matrix {
    padding: 40px 0 60px;
    background: #ffffff;
    position: relative;
    z-index: 1;
}
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.matrix-card {
    background: white;
    border-radius: 28px;
    padding: 28px 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(44,125,160,0.12);
    position: relative;
    overflow: hidden;
}
.matrix-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2c7da0, #6bb5d0);
    transform: scaleX(0);
    transition: transform 0.4s;
    transform-origin: left;
}
.matrix-card:hover::after {
    transform: scaleX(1);
}
.matrix-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(44,125,160,0.12);
    border-color: #2c7da0;
}
.matrix-icon {
    width: 60px;
    height: 60px;
    background: #eef4fc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: background 0.2s;
}
.matrix-card:hover .matrix-icon {
    background: #e0ebf5;
}
.matrix-icon i {
    font-size: 28px;
    color: #2c7da0;
}
.matrix-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1f5e7a;
}
.matrix-card h3 span {
    font-size: 0.85rem;
    font-weight: normal;
    color: #7b9ab0;
    display: block;
    margin-top: 4px;
}
.matrix-card p {
    color: #5f7f9e;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.brand-tag {
    font-size: 0.8rem;
    color: #2c7da0;
    background: #f0f7fc;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 8px;
    transition: background 0.2s;
}
.matrix-card:hover .brand-tag {
    background: #e6f0f8;
}
@media (max-width: 768px) {
    .matrix-grid { grid-template-columns: 1fr; gap: 20px; }
    .matrix-card { padding: 20px; }
}

/* 产品区块 */
.product-section {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
}
.bg-light {
    background: #f8fbfe;
}
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #003753;
    margin-bottom: 0.5rem;
    position: relative;
    
}
.section-title:after {
    text-align: center;
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2c7da0, #6bb5d0);
    border-radius: 3px;
}
.section-title span {
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    color: #5f7f9e;
    display: block;
    margin-top: 8px;
}
.section-subtitle {
    color: #5f7f9e;
    max-width: 700px;
    margin: 1rem auto 0;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* 卡片统一布局 - 保证图片、文字、按钮对齐 */
.product-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    height: 100%; /* 确保所有卡片高度一致 */
}

.product-img {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0; /* 图片不压缩 */
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.product-info {
    padding: 1.2rem;
    flex: 1; /* 让文字区域占据剩余空间，使按钮对齐到底部 */
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1f5e7a;
}
.product-info h3 span {
    font-size: 0.85rem;
    font-weight: normal;
    color: #7b9ab0;
    display: block;
    margin-top: 4px;
}
.product-info p {
    font-size: 0.9rem;
    color: #4a627a;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex-grow: 1; /* 让描述文字撑满，将标签推到底部 */
}
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto; /* 将标签推到卡片底部 */
}
.product-tags span {
    background: #eef4fc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #2c7da0;
    font-weight: 500;
}
/* 点击卡片后展开的产品介绍框 - 白色文字 + 深色背景 */
.product-info-expand {
    background: #2c7da0 !important;      /* 强制深蓝色背景 */
    border-radius: 20px;
    padding: 16px 20px;
    margin-top: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-left: 4px solid #ffd966;
    animation: fadeInUp 0.3s ease;
}

.product-info-expand .expand-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ffffff !important;          /* 强制白色文字 */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 悬停遮罩（不参与布局，位置绝对） */
.card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44,125,160,0.95);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: 24px;
    backdrop-filter: blur(2px);
}
.product-card:hover .card-hover-overlay {
    opacity: 1;
    pointer-events: auto;
}
.card-hover-overlay p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.btn-inquire {
    background: white;
    color: #2c7da0;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
}
.btn-inquire:hover {
    background: #ffd966;
    color: #1f5e7a;
    transform: scale(1.02);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .product-img {
        height: 180px;
    }
    .product-info {
        padding: 1rem;
    }
    .product-info h3 {
        font-size: 1.1rem;
    }
    .product-info p {
        font-size: 0.85rem;
    }
}

/* 行业应用案例 */
.application-showcase {
    padding: 60px 0;
    background: linear-gradient(120deg, #f5f9ff 0%, #ffffff 100%);
    position: relative;
}
.application-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 90% 10%, rgba(44,125,160,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.case-scroll {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding: 20px 0;
    scrollbar-width: thin;
}
.case-card {
    flex: 0 0 280px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(44,125,160,0.15);
}
.case-img {
    height: 180px;
    overflow: hidden;
}
.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.case-card:hover .case-img img {
    transform: scale(1.05);
}
.case-info {
    padding: 1rem;
}
.case-info h4 {
    font-size: 1.1rem;
    color: #2c7da0;
    margin-bottom: 0.5rem;
}
.case-info p {
    font-size: 0.85rem;
    color: #5f7f9e;
}

/* 询价表单区域 */
.inquiry-section {
    background: linear-gradient(135deg, #eef4fc 0%, #ffffff 100%);
    padding: 60px 0;
    position: relative;
}
.inquiry-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 20px 35px rgba(0,0,0,0.05);
    text-align: center;
    transition: box-shadow 0.3s;
}
.inquiry-wrapper:hover {
    box-shadow: 0 25px 45px rgba(44,125,160,0.12);
}
.inquiry-desc {
    color: #5f7f9e;
    margin-bottom: 1.5rem;
}
.inquiry-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.inquiry-form-grid input,
.inquiry-form-grid select,
.inquiry-form-grid textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    font-size: 0.9rem;
    transition: 0.2s;
}
.inquiry-form-grid textarea {
    border-radius: 20px;
    resize: vertical;
    grid-column: span 2;
}
.inquiry-form-grid select {
    background: white;
}
.inquiry-form-grid input:focus,
.inquiry-form-grid select:focus,
.inquiry-form-grid textarea:focus {
    border-color: #2c7da0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(44,125,160,0.1);
}
.submit-btn {
    grid-column: span 2;
    background: #2c7da0;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}
.submit-btn:hover {
    background: #1f5e7a;
    transform: translateY(-2px);
}

/* 产品详情模态框 */
.product-detail-modal {
    max-width: 900px;
    width: 90%;
    background: white;
    border-radius: 32px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.2);
}
.product-detail-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.detail-gallery {
    flex: 1;
    min-width: 200px;
}
.detail-gallery img {
    width: 100%;
    border-radius: 16px;
}
.detail-specs {
    flex: 1.5;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
.spec-table tr {
    border-bottom: 1px solid #eef2f8;
}
.spec-table td {
    padding: 8px 0;
    font-size: 0.9rem;
}
.spec-table td:first-child {
    font-weight: 600;
    width: 35%;
    color: #2c7da0;
}
.app-scene {
    background: #f0f7fc;
    padding: 1rem;
    border-radius: 16px;
    margin: 1rem 0;
    font-size: 0.9rem;
}
.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.modal-buttons .btn-primary {
    background: #2c7da0;
    padding: 10px 20px;
    border-radius: 40px;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}
.modal-buttons .sample-btn {
    background: #ffb347;
}
.modal-buttons .btn-primary:hover {
    background: #1f5e7a;
    transform: translateY(-2px);
}

/* 客户定制成品展示模块 */
.custom-showcase {
    background: linear-gradient(-135deg, #f5f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.custom-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(44,125,160,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.custom-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    cursor: pointer;
}
.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(44,125,160,0.2);
}
.custom-img {
    height: 220px;
    overflow: hidden;
}
.custom-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.custom-card:hover .custom-img img {
    transform: scale(1.05);
}
.custom-info {
    padding: 1.2rem;
    background: white;
}
.custom-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1f5e7a;
}
.custom-info h3 span {
    font-size: 0.85rem;
    font-weight: normal;
    color: #7b9ab0;
    display: block;
    margin-top: 4px;
}
.custom-info p {
    font-size: 0.9rem;
    color: #4a627a;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}
.custom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.custom-tags span {
    background: #f0f3fa;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #2c7da0;
    font-weight: 500;
}
.custom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44,125,160,0.96);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: 24px;
    backdrop-filter: blur(2px);
}
.custom-card:hover .custom-overlay {
    opacity: 1;
    pointer-events: auto;
}
.custom-overlay p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.btn-inquire-custom {
    background: white;
    color: #2c7da0;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
}
.btn-inquire-custom:hover {
    background: #ffd966;
    color: #1f5e7a;
    transform: scale(1.02);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .breadcrumb {
        top: 64px;
    }
    .product-categories-wrapper {
        top: 64px;
    }
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .custom-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .custom-img {
        height: 180px;
    }
    .inquiry-form-grid {
        grid-template-columns: 1fr;
    }
    .inquiry-form-grid textarea,
    .submit-btn {
        grid-column: span 1;
    }
    .product-detail-content {
        flex-direction: column;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .product-section {
        padding: 40px 0;
    }
    .application-showcase {
        padding: 40px 0;
    }
}

/* 自定义提示模态框 (居中弹窗) */
.alert-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.alert-modal.show {
    opacity: 1;
    visibility: visible;
}

.alert-modal-content {
    background: white;
    border-radius: 32px;
    padding: 32px 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.alert-modal.show .alert-modal-content {
    transform: scale(1);
}

.alert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.alert-icon.success {
    color: #2c7da0;
}

.alert-icon.error {
    color: #e74c3c;
}

.alert-modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #003753;
}

.alert-modal-content p {
    font-size: 1rem;
    color: #5f7f9e;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.alert-btn {
    background: #2c7da0;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.alert-btn:hover {
    background: #1f5e7a;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .alert-modal-content {
        padding: 24px 28px;
        max-width: 90%;
    }
    .alert-modal-content h3 {
        font-size: 1.3rem;
    }
}