/* 主横幅样式 */
.hero {
    background-color: #2aae67;
    color: white;
    padding: 50px 0 60px;
    text-align: center;
    /* margin-top: 80px; */
}

.hero h1 {
    font-size: 40px;
    /* margin-bottom: 40px; */
    font-weight: normal;
    color: white;
    line-height: 1.8;
}

.hero-line {
    width: 40%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 20px auto;
    max-width: 2000px;
}

.hero h1 + div + p {
    display: inline-block;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: white;
}

/* 产品功能导航 - 包含在banner内 */
.product-nav {
    padding: 30px 0;
    margin-top: 40px;
}

.product-nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    flex-wrap: nowrap;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
    width: calc(100% - 40px);
}

.product-nav li {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.2);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
    padding: 10px;
}

.product-nav li:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* 优势介绍区域 - 通栏设计 */
.advantages {
    padding: 0;
}

.advantage-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    transition: transform 0.3s ease;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
}

/* 交替背景色 */
.advantage-item:nth-child(1),
.advantage-item:nth-child(3) {
    background-color: #ffffff;
}

.advantage-item:nth-child(2),
.advantage-item:nth-child(4) {
    background-color: rgba(241,248,254,1);
}

.advantage-item:hover {
    transform: translateY(0);
}

.advantage-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* 主体内容保持居中 */
.advantage-item > div {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.advantage-item:nth-child(even) > div {
    flex-direction: row-reverse;
}

/* 第一和第三个模块（简单易用、售后无忧）的h3添加左边距，使其与第二排第三个汉字对齐 */
.advantage-item:nth-child(1) .advantage-content h3,
.advantage-item:nth-child(3) .advantage-content h3 {
    margin-left: 50px;
}

.advantage-image {
    width: 220px;
    height: 220px;
    border-radius: 12px;
    margin: 0 40px 0 0;
    overflow: hidden;
}

.advantage-item:nth-child(even) .advantage-image {
    margin: 0 0 0 40px;
}

.advantage-content {
    flex: 1;
    padding: 0;
}

.advantage-content .advantage-title {
    font-size: 48px;
    color: #000000;
    margin-bottom: 20px;
    font-weight: normal;
}

/* 第一和第三个模块（简单易用、售后无忧）的标题添加左边距，使其与第二排第三个汉字对齐 */
/* .advantage-item:nth-child(1) .advantage-content .advantage-title,
.advantage-item:nth-child(3) .advantage-content .advantage-title {
    margin-left: 50px;
} */

.advantage-content p {
    font-size: 20px;
    color: #000000;
    line-height: 1.8;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }

    .nav-menu {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu li {
        margin: 10px 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .product-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .product-nav li {
        margin: 10px 0;
    }

    .advantage-item,
    .advantage-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .advantage-image {
        margin: 0 0 30px;
    }
}

/* 关于我们页面样式 */
.about-container {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 1440px;
}

/* 左侧导航菜单 */
.about-sidebar {
    width: 200px;
    margin-right: 40px;
    background-color: #f7f7f7;
    height: 300px;
    /* padding-top: 20px; */
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    background-color: transparent;
    transition: all 0.3s ease;
    font-size: 20px;
    text-align: center;
}

.sidebar-menu li a:hover {
    background-color: #e9ecef;
}

.sidebar-menu li.active a {
    background-color: #287fef;
    color: #fff;
    font-weight: 600;
}

/* 主要内容区域 */
.about-main {
    flex: 1;
}

.about-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.service-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 软件介绍页面样式 */
.soft-container {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 左侧导航菜单 */
.soft-sidebar {
    width: 200px;
    margin-right: 40px;
    background-color: #f7f7f7;
    height: 300px;
    /* padding-top: 20px; */
}

/* 主要内容区域 */
.soft-main {
    flex: 1;
}

.soft-content {
    background-color: #fff;
    /* padding: 30px; */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

/* 公司理念卡片 */
.company-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.value-card {
    flex: 1 1 0;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: white;
}

/* 为三个卡片分别设置用户指定的颜色 */
.company-values .value-card:nth-child(1) {
    background-color: #58a6a8;
}

.company-values .value-card:nth-child(2) {
    background-color: #9bd5c9;
    color: white;
}

.company-values .value-card:nth-child(2) .card-title,
.company-values .value-card:nth-child(2) .card-content {
    color: white;
}

.company-values .value-card:nth-child(3) {
    background-color: #6c8bbe;
}

.card-icon {
    width: 40px;
    height: 40px;
    vertical-align: middle;
}

.card-title {
    font-size: 20px;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.card-content {
    font-size: 16px;
    color: white;
    line-height: 1.6;
}

/* 公司介绍文本 */
.company-description {
    margin-bottom: 40px;
}

.company-description p {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 资质证书 */
.certificates {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.certificate-list {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.certificate-item {
    flex: 1;
    text-align: center;
}

.certificate-img {
    width: 100%;
    height: 300px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.certificate-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.certificate-label {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 合作伙伴 */
.partners {
    margin-bottom: 30px;
}

.partner-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.partner-header p {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.partner-content {
    display: flex;
}



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

.partner-contact {
    flex: 1;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cooperation-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.8;
}

.cooperation-dots {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.partner-contact h4 {
    font-size: 16px;
    color: white;
    margin: 0 0 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.partner-contact h4::before {
    content: "📞";
    font-size: 18px;
    margin-right: 10px;
}

.partner-contact p {
    font-size: 18px;
    color: white;
    margin: 0;
    font-weight: 500;
}

/* 占位符样式 */
.placeholder-img {
    color: #999;
    font-size: 14px;
    padding: 20px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }
    
    .about-sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .soft-container {
        flex-direction: column;
    }
    
    .soft-sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .company-values {
        flex-direction: column;
    }
    
    .certificate-list {
        flex-direction: column;
    }
    
    .partner-content {
        flex-direction: column;
    }
    
    .partner-placeholder {
        width: 100%;
        max-width: 400px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantage-item {
    animation: fadeInUp 0.6s ease-out;
}

.advantage-item:nth-child(2) {
    animation-delay: 0.2s;
}

.advantage-item:nth-child(3) {
    animation-delay: 0.4s;
}

.advantage-item:nth-child(4) {
    animation-delay: 0.6s;
}

/* 软件介绍页面样式 */
.software-intro {
    margin-bottom: 40px;
}

.software-intro p {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.software-features {
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-item h4 {
    font-size: 18px;
    color: #287fef;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.software-advantages {
    margin-bottom: 40px;
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.advantages-list li {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.advantages-list li:before {
    content: "•";
    color: #287fef;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 2px;
}

.system-requirements {
    margin-bottom: 40px;
}

.requirements-grid {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.requirement-item {
    flex: 1;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.requirement-item h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.requirement-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.download-info {
    margin-bottom: 30px;
}

.download-info p {
    font-size: 16px;
    color: #333;
    margin: 20px 0;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.download-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #287fef;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #1e65c0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        flex-direction: column;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .download-btn {
        text-align: center;
    }
}

/* 功能列表表格样式 */
.software-features-table {
    /* margin: 30px 0; */
    overflow-x: auto;
}

.features-table {
    width: auto;
    border-collapse: collapse;
    font-size: 18px;
    min-width: 100%;
}

.features-table th,
.features-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.features-table th {
    background-color: #3399CC;
    font-weight: 600;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* 主要功能区别点列居左 */
.features-table th:nth-child(1),
.features-table td:nth-child(1) {
    text-align: left;
}
.firstr{
    text-align: left !important;
}
.module-name{
    text-align: center !important;
}
/* 表头单元格单独样式 - 可根据需要调整 */
.features-table th {
    /* 文本对齐方式 */
    text-align: center;
    /* 字体大小 */
    font-size: 14px;
    /* 内边距 */
    padding: 10px 0px;
    /* 垂直对齐方式 */
    vertical-align: middle;
    /* 边框样式 */
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* 最后一个表头单元格去除右边框 */
.features-table th:last-child {
    border-right: none;
}

.features-table tr:hover {
    background-color: #f8f9fa;
}

/* 模块标题样式 */
.features-table .module-header {
    background-color: #287fef;
    color: white;
    font-weight: 600;
}

.features-table .module-header td {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    /* colspan值会在HTML中设置，这里不需要固定 */
}

/* 模块名称列样式 */
.features-table .module-name {
    font-weight: bolder;
    min-width: 120px;
    vertical-align: middle;
    text-align: center;
}

/* 主要功能区别点列样式 */
/* .features-table th:nth-child(2),
.features-table td:nth-child(2) {
    min-width: 200px;
    white-space: nowrap;
    text-align: left;
} */
.features-table th,
.features-table td{
    /* min-width: 100px; */
    white-space: nowrap;
}
/* 权限列样式 */
.features-table td:last-child {
    color: #666;
    font-size: 18px;
}

/* 响应式表格 */
@media (max-width: 768px) {
    .features-table {
        font-size: 12px;
    }
    
    .features-table th,
    .features-table td {
        padding: 8px 10px;
    }
    
    .features-table .module-header td {
        padding: 10px;
        font-size: 14px;
    }
}

/* 售后服务页面样式 */
.service-main {
    padding: 40px 0;
    background-color: #fff;
    min-height: 1440px;
}

.service-layout {
    display: flex;
}

/* 左侧边栏 */
.service-sidebar {
    width: 200px;
    flex-shrink: 0;
    background-color: #f7f7f7;
    height: 300px;
    margin-right: 40px;
}

.sidebar-title {
    background-color: #287fef;
    color: white;
    font-size: 20px;
    font-weight: 600;
    padding: 15px;
    text-align: center;
}

/* 右侧内容 */
.service-content {
    flex: 1;
    
}

.page-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-line {
    width: 80px;
    height: 2px;
    background-color: #287fef;
    margin-bottom: 40px;
}

/* 服务模块 */
.service-modules {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 30px;
    margin-bottom: 40px;
}

.service-module {
    flex: 1;
    min-width: 280px;
    text-align: left;
    padding: 30px;
}

.module-icon {
    margin: 0 0 20px;
    background-color: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-icon img {
    object-fit: contain;
}

.service-module h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-module p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 服务信息 */
.service-info {
    background-color: transparent;
    padding: 30px;
    border-radius: 8px;
    border-top: 1px solid #e9ecef;
    margin-top: 20px;
}

.service-hours {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

.service-phone {
    font-size: 16px;
    color: #666;
}

.phone-label {
    font-weight: 600;
    margin-right: 10px;
}

.phone-number {
    margin-right: 20px;
    color: #287fef;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .service-layout {
        flex-direction: column;
    }

    .service-sidebar {
        width: 100%;
    }

    .service-modules {
        flex-direction: column;
    }

    .service-hours {
        flex-direction: column;
        gap: 10px;
    }
}

/* 教学视频页面样式 */
.video-container {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 1440px;
}

/* 左侧导航菜单 */
.video-sidebar {
    width: 200px;
    margin-right: 40px;
    background-color: #f7f7f7;
    height: 350px;
    /* padding-top: 20px; */
}

.video-main {
    flex: 1;
    min-height: 1440px;
}

.video-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 内容标题和副标题 */
.content-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

/* 视频表格容器 */
.video-table-container {
    overflow-x: auto;
    margin-bottom: 40px;
}

/* 表格头部 */
.video-table-header {
    display: flex;
    border-bottom: 2px solid #dee2e6;
}

/* 表格单元格 */
.video-table-cell {
    padding: 10px 15px;
    text-align: left;
    vertical-align: middle;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

/* 模块组 */
.video-module-group {
    display: flex;
    border-bottom: 1px solid #e9ecef;
}

/* 模块名称 */
.video-module-name {
    width: 100px;
    flex-shrink: 0;
    padding: 10px 15px;
    vertical-align: middle;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    border-right: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

/* 模块项目 */
.video-module-items {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 视频项目 */
.video-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
}

/* 视频名称 */
.video-name {
    flex: 1;
    padding: 0 15px;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
}

/* 视频播放 */
.video-play {
    width: 120px;
    flex-shrink: 0;
    padding: 0 15px;
    text-align: center;
}

/* 播放按钮 */
.play-button {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    justify-content: center;
}

/* 播放图标 */
.play-icon {
    margin-left: 5px;
    color: #007bff;
    font-size: 14px;
    line-height: 1;
}

/* 列宽设置 */
.module-column {
    width: 100px;
    flex-shrink: 0;
}

.name-column {
    flex: 1;
    min-width: 300px;
}

.action-column {
    width: 120px;
    flex-shrink: 0;
}

/* 模块单元格样式 */
.module-cell {
    font-weight: 600;
    color: #287fef;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

/* 播放按钮样式 */
.play-button {
    color: #287fef;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.play-button:hover {
    color: #1e65c0;
    text-decoration: underline;
}

/* 播放图标 */
.play-icon {
    margin-left: 5px;
    font-size: 12px;
    line-height: 1;
    color: #287fef;
}

/* 视频播放器 */
.video-player {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.video-player-content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.video-player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.video-player-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.close-player {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.close-player:hover {
    background-color: #e9ecef;
    color: #333;
}

.video-player-body {
    padding: 20px;
}

.video-player-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-player-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/* 视频页面响应式设计 */
@media (max-width: 768px) {
    .video-container {
        flex-direction: column;
    }

    .video-sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .video-thumbnail {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .video-item {
        flex-direction: column;
    }
}
