/* 全局样式与变量定义 */
: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: 60px 0;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    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);
}

/* 优化后的轮播图样式 */
.hero-bannerslider {
    position: relative;
    overflow: hidden;
    height: auto;
}

.bannerslide {
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 55vh;
    /* 使用视口高度单位 */	
}

.bannerslide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bannerslide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 20vw;
    padding: 30px;
    margin: 0 auto;
    cursor: pointer;
}

.bannerslide-content h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.bannerslide-content h2 {
    font-size: 3.0rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.bannerslide-content p {
    font-size: 1.4rem;
    color: #6e6f71;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.bannerslide-1 {	
    background-image: url('//cpap.genial.cn/webfile/images/index/首页海报-呼吸机源头制造商(1).jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bannerslide-2 {
    background-image: url('//cpap.genial.cn/webfile/images/index/首页海报-智能呼吸，舒适体验2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bannerslide-3 {	
    background-image: url('//cpap.genial.cn/webfile/images/index/全场景呼吸健康解决方案-中(1).jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bannerslider-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.bannerslider-control {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: background 0.3s;
    border: 2px solid transparent;
}

.bannerslider-control:hover {
    background-color: var(--dark-orange);
    transform: scale(1.1);
}

.bannerslider-control.active {
    background-color: var(--dark-orange);
    border-color: var(--white);
    transform: scale(1.2);
    box-shadow: 0 0 0 2px var(--primary);
}

/* 公司实力样式 */
.strength-section {
    background-color: var(--light-gray);
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

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

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

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

/* 核心技术样式 */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tech-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);
}

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

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

.tech-card h3 {
    font-size: 22px;
    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);
    }
}

.show-section {
    background-color: var(--light-gray);
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
}

.product-gallery::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-gallery:hover::after {
    opacity: 1;
}

.gallery-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.gallery-caption {
    padding: 15px;
    text-align: center;
    font-size: 1rem;
    color: #555;
    background: #f8f9fa;
}

/* 圆点分页器样式 */
.pagination-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 12px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    /*border: none;*/
    border: 2px solid transparent;
}

.dot:hover {
    background-color: var(--dark-orange);
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--dark-orange);
    transform: scale(1.2);
    border-color: var(--white);
    box-shadow: 0 0 0 2px var(--primary);
}

/* 为活跃状态的圆点添加脉动动画 */
.bannerslider-control.active,
.dot.active {
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(255, 107, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

/* 解决方案样式 */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-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;
}

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

.solution-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.solution-header h3 {
    font-size: 22px;
}

.solution-body {
    padding: 25px;
}

.solution-features {
    list-style: none;
    margin: 20px 0;
}

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

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

/* 合作模式样式 */
.cooperation-section {
    background-color: var(--light-gray);
    text-align: center;
}

.cooperation-content {
    margin: 0 auto;
}

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

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

.cooperation-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);
}

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

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

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

/* 响应式设计 */
@media (max-width: 1200px) {
    .tech-grid,
    .solution-grid,
    .cooperation-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式设计 -- ipad Pro尺寸*/
@media (max-width: 1024px) {
    .bannerslide {
        min-height: 35vh;
    }
}

@media (max-width: 992px) {
    .bannerslide {
        min-height: 30vh;
    }

    .bannerslide-content {
        max-width: 85%;
        padding: 25px;
    }

    .bannerslide-content h2 {
        font-size: 1.8rem;
    }

    .bannerslide-content p {
        font-size: 1rem;
    }

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

@media (max-width: 768px) {
    .bannerslide {
        min-height: 44vh;
    }

    .bannerslide-1 {
        background-image: url('//cpap.genial.cn/webfile/images/index/呼吸机源头制造商-1.jpg');
        background-size: contain;
        background-position: center;
    }

    .bannerslide-2 {
        background-image: url('//cpap.genial.cn/webfile/images/index/智能呼吸，舒适体验-1.jpg');
        background-size: contain;
        background-position: center;
    }

    .bannerslide-3 {
        background-image: url('//cpap.genial.cn/webfile/images/index/全场景呼吸健康解决方案-1(1).jpg');
        background-size: contain;
        background-position: center;
    }

    .bannerslide-content {
        max-width: 90%;
        padding: 20px;
    }

    .bannerslide-content h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .bannerslide-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 16px;
    }

    .section {
        padding: 40px 0;
    }

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

    .tech-grid,
    .solution-grid,
    .cooperation-features {
        grid-template-columns: 1fr;
    }

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

    .scroll-hint {
        display: block;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .bannerslide {
        min-height: 59vw;
    }

    .bannerslide-content {
        max-width: 95%;
        padding: 15px;
    }

    .bannerslide-content h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .bannerslide-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 15px;
    }

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

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

@media (max-width: 480px) {
    .bannerslide {
        min-height: 59vw;
    }

    .bannerslide-content {
        padding: 12px;
        min-height: 36vw;
    }
}