:root {
    --primary: #FF6B00;
    --dark-orange: #E55A00;
    --light-orange: #FFF5E6;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #333333;
    --text-gray: #666666;
    --border-gray: #dddddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
}

body {
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 36px;
    color: var(--dark-gray);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 20px auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.btn:hover {
    background-color: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* 页面头部样式 */
.banner {
    height: 27vw;
}

.page-header {
    background: url('//cpap.genial.cn/webfile/images/chanpin/睡眠无创呼吸机产品系列.jpg') center/cover no-repeat;
    /*padding: 180px 0 100px;
            text-align: center;*/
    width: 100%;
    height: 100%;
}

/* 产品展示样式 */
.product-showcase {
    position: relative;
    /*height: 500px;*/
    overflow: hidden;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.product-showcase-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 30px;
}

.product-showcase-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

/* 产品优势样式 */
.advantages-section {
    background-color: var(--light-gray);
}

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

.advantage-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
    border-top: 3px solid var(--primary);
}

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

.advantage-icon {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

/* 产品图片展示 */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 15px;
    text-align: center;
}

/* 专利技术样式 */
.patent-section {
    background-color: var(--light-gray);
}

.patent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.patent-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-gray);
}

.patent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.patent-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.patent-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

/* 产品系列样式 - 优化移动端显示 */
.products-section {
    background-color: var(--light-gray);
}

/* 表格容器样式 */
.product-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
    position: relative;
    -webkit-overflow-scrolling: touch;
    /* 平滑滚动 */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
}

.product-table {
    width: 100%;
    min-width: 800px;
    /* 确保表格在移动端保持最小宽度 */
    border-collapse: collapse;
}

.product-table th,
.product-table td {
    padding: 15px;
	font-family: "Segoe UI", Arial, sans-serif;
    text-align: center;
    border: 1px solid var(--border-gray);
	white-space: nowrap; /* 禁止换行 */
}

.product-table th {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    position: sticky;
    top: 0;
}

/* 表格第一列特殊样式 */
/*.product-table th:first-child,
.product-table td:first-child {
    white-space: nowrap;
    width: 150px;
    text-align: left;
    padding-left: 20px;
    position: sticky;
    left: 0;
    background-color: var(--primary);
    z-index: 3;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.product-table td:first-child {
    background-color: var(--white);
    z-index: 2;
    font-weight: 500;
}

.product-table tr:nth-child(even) td:first-child {
    background-color: var(--light-gray);
}

.product-table tr:hover td:first-child {
    background-color: var(--light-orange);
}*/

/* 中文表格优化 */
.product-table td:first-child,
.product-table th:first-child {
	word-break: keep-all; /* 保持中文不换行 */
}

.product-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.product-table tr:hover {
    background-color: var(--light-orange);
}

.feature-check {
    color: var(--primary);
    font-weight: bold;
}

/* 滚动提示样式 */
.scroll-hint {
    display: none;
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(255, 107, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s ease;
    animation: pulse 2s infinite;
}

.scroll-hint.fade-out {
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* 产品配件样式 */
.accessories-section {
    background-color: var(--light-gray);
}

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

.accessory-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-gray);
    transition: transform 0.3s;
    text-align: center;
}

.accessory-card:hover {
    transform: translateY(-10px);
}

.accessory-image {
    min-height: 200px;
    background-color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary);
}

.accessory-image img {
    width: 100%;
    height: auto;
}

.accessory-content {
    padding: 20px;
}

.accessory-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

/* 技术参数样式 */
.specs-section {
    background-color: var(--light-gray);
}

.specs-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.spec-item {
    margin-bottom: 20px;
}

.spec-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

/* 适用人群与应用场景 */
.audience-section {
    background-color: var(--light-gray);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.audience-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.audience-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
}

.audience-card h3 i {
    margin-right: 10px;
    color: var(--primary);
}

.audience-list {
    list-style: none;
}

.audience-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-gray);
}

.audience-list li:before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--primary);
    font-size: 20px;
}

/* 定制服务样式 */
.customization-section {
    text-align: center;
}

.customization-content {
    margin: 0 auto;
}

.customization-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.customization-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.customization-feature {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-gray);
}

.customization-feature:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.customization-feature i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.customization-feature h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

/* 响应式设计 */
@media (max-width: 1200px) {

    .advantages-grid,
    .patent-grid,
    .accessories-grid,
    .customization-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 58vw;
    }

    .page-header {
        background-image: url('//cpap.genial.cn/webfile/images/chanpin/睡眠无创呼吸机产品系列-1.jpg');
        background-size: contain;
        background-position: center;
    }

    .product-showcase {
        height: 300px;
    }

    .advantages-grid,
    .product-gallery,
    .patent-grid,
    .accessories-grid,
    .customization-features {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    /* 移动端表格优化 */
    .product-table th,
    .product-table td {
        padding: 12px 8px;
        font-size: 14px;
    }

    .scroll-hint {
        display: block;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .specs-content {
        padding: 20px;
    }

    .product-table th,
    .product-table td {
        padding: 10px 6px;
        font-size: 13px;
    }

    .scroll-hint {
        font-size: 11px;
        padding: 6px 10px;
        bottom: 10px;
        right: 10px;
    }

}