/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面主体样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* 顶部导航栏样式 */
.dh {
    height: 80px;
    background-color: #f7f7f7;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* 头部容器样式 */
.header-container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo区域样式 */
.logo {
    display: flex;
    align-items: center;
    height: 80px;
    width: 270px;
    margin-left: -20px;
}

/* Logo图标样式 */
.logo-icon {
    width: 55px;
    height: 55px;
    margin-left: 0;
    vertical-align: middle;
}

/* QuietZone文字样式 */
.QuietZone {
    margin-left: 20px;
    width: 130px;
    height: 25px;
    vertical-align: middle;
}

/* 导航菜单样式 */
.nav-menu {
    display: flex;
    align-items: center;
}

/* 导航菜单列表样式 */
.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

/* 导航菜单项样式 */
.nav-menu ul li {
    margin-right: 15px;
}

/* 导航链接样式 */
.nav-item {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.7s ease;
    white-space: nowrap;
}

/* 导航链接悬停状态 */
.nav-item:hover {
    color: white;
    background-color: #0a9ce7;
    border-color: #0A9CE7;
}

/* 导航链接激活状态 */
.nav-item.active {
    color: white;
    background-color: #0a9ce7;
    border-color: #0A9CE7;
}

/* 用户操作区域样式 */
.user-actions {
    display: flex;
    align-items: center;
    height: 80px;
}

/* 首页图标样式 */
.icon-home {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    display: inline-block;
    line-height: 40px;
    cursor: pointer;
}

/* 个人中心链接样式 */
.user-center {
    text-decoration: none;
    color: #929292;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    margin-left: 10px;
    padding: 8px 16px;
    border-radius: 4px;
    white-space: nowrap;
}

/* 个人中心悬停状态 */
.user-center:hover {
    color: #0a9ce7;
}

/* 登录按钮样式 */
.login-btn {
    min-width: 80px;
    width: auto;
    text-align: center;
    background-color: #0a9ce7;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 20px;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

/* 登录按钮悬停状态 */
.login-btn:hover {
    background-color: #0886c7;
}

/* 移动端导航操作容器 */
.mobile-nav-actions {
    display: none;
    align-items: center;
}

/* 移动端登录按钮 */
.mobile-login {
    margin-right: 20px;
}

.mobile-login .login-btn {
    text-decoration: none;
}

/* 汉堡菜单 */
.hamburger {
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: #333;
}

.hamburger-box {
    position: absolute;
    top: 80px;
    right: 15px;
    width: 200px;
    background-color: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1000;
    display: none;
}

.hamburger-box.active {
    display: block;
}

.hamburger-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hamburger-box ul li {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.hamburger-box ul li:last-child {
    border-bottom: none;
}

.hamburger-box ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: block;
    transition: all 0.3s ease;
}

.hamburger-box ul li:hover {
    background-color: #f0f0f0;
}

.hamburger-box ul li a:hover {
    color: #0a9ce7;
}

/* 响应式布局 */
/* 超大屏 */
@media (min-width: 375px) and (max-width: 1200px) {

    /* 隐藏最后两个导航项 */
    .nav-menu ul li:nth-child(5),
    .nav-menu ul li:nth-child(6) {
        display: none;
    }
}

/* 大屏 (lg) */
@media (min-width: 375px) and (max-width: 990px) {

    /* 显示汉堡菜单 */
    .mobile-nav-actions {
        display: flex;
    }

    .hamburger-box {
        display: none;
    }

    /* 隐藏所有导航项 */
    .nav-menu {
        display: none;
    }

    .user-actions {
        display: none;
    }
}

/* 中屏 (md) */
@media (min-width: 375px) and (max-width: 767px) {
    .logo {
        width: auto;
    }

    .logo .QuietZone {
        display: block;
        width: 100px;
        height: 20px;
    }

    .mobile-login .login-btn {
        width: 60px;
        padding: 6px 12px;
        font-size: 14px;
    }

    .hamburger-box {
        width: 180px;
    }
}

/* 小屏 (sm) */
@media (min-width: 375px) and (max-width: 575px) {
    .logo .logo-icon {
        width: 45px;
        height: 45px;
    }

    .mobile-login .login-btn {
        width: 55px;
        font-size: 13px;
    }

    .hamburger-box {
        width: 160px;
    }

    .hamburger-box ul li a {
        font-size: 13px;
    }
}

.login-btn:hover {
    background-color: #0885c9;
}

/* 主内容区域样式 */
.main-content {
    max-width: 85%;
    margin: 0 auto;
    padding: 32px 20px;
}

/* 页面标题样式 */
.page-title {
    text-align: center;
    margin-bottom: 40px;
}

/* 页面标题文字样式 */
.page-title h1 {
    font-size: 28px;
    color: #333;
    font-weight: 600;
}

/* 模块区域样式 */
.module-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 模块头部样式 */
.module-header {
    border-left: 4px solid #1E4ED8;
    padding-left: 12px;
    margin-bottom: 24px;
}

/* 模块标题样式 */
.module-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* 模块内容区域样式 */
.module-content {
    display: flex;
    gap: 24px;
}

/* 步骤列表和知识列表样式 */
.step-list,
.knowledge-list {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 步骤项和知识项样式 */
.step-item,
.knowledge-item {
    padding: 12px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
    font-size: 14px;
}

/* 步骤项和知识项悬停状态 */
.step-item:hover,
.knowledge-item:hover {
    background-color: #f0f4ff;
    color: #1E4ED8;
}

/* 步骤项和知识项激活状态 - 渐变背景 */
.step-item.active,
.knowledge-item.active {
    background: linear-gradient(135deg, #cceaf8 0%, #0a9ce7 100%);
    color: #fff;
}

/* 步骤数字样式 */
.step-number {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-right: 8px;
    font-size: 12px;
}

/* 步骤内容和知识内容区域样式 */
.step-content,
.knowledge-content {
    flex: 1;
    position: relative;
}

/* 内容卡片样式 */
.content-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

/* 卡片标题样式 */
.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

/* 卡片图片样式 */
.card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 卡片图片容器样式 */
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 卡片描述样式 */
.card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 卡片文本段落样式 */
.card-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* 卡片文本最后一段样式 */
.card-text p:last-child {
    margin-bottom: 0;
}

/* 卡片文本强调样式 */
.card-text strong {
    color: #333;
    font-weight: 600;
}

/* 下载卡片样式 */
.download-card {
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 24px 16px;
}

/* 下载图标样式 */
.download-icon {
    width: 48px;
    height: 48px;
    background-color: #1E4ED8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #fff;
}

/* 下载链接样式 */
.download-link {
    text-decoration: none;
    color: #1E4ED8;
    font-size: 14px;
    text-align: center;
    word-break: break-all;
}

/* 下载链接悬停状态 */
.download-link:hover {
    text-decoration: underline;
}

/* FAQ内容区域样式 */
.faq-content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

/* FAQ分类样式 */
.faq-category {
    flex: 1;
    min-width: 200px;
}

/* 分类标题样式 */
.category-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

/* FAQ链接列表样式 */
.faq-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* FAQ链接样式 */
.faq-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    padding: 8px 0;
    transition: all 0.3s;
}

/* FAQ链接前置圆点样式 */
.faq-link::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #1E4ED8;
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.3s;
}

/* FAQ链接悬停状态 */
.faq-link:hover {
    color: #1E4ED8;
}

/* FAQ链接悬停时圆点样式 */
.faq-link:hover::before {
    background-color: #163bb8;
    transform: scale(1.2);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

/* 模态框遮罩层样式 */
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* 模态框内容样式 */
.modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    margin: 100px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* 模态框头部样式 */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

/* 模态框标题样式 */
.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* 模态框关闭按钮样式 */
.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

/* 模态框关闭按钮悬停状态 */
.modal-close:hover {
    color: #333;
}

/* 模态框主体内容样式 */
.modal-body {
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
}

/* 模态框内容标题样式 */
.modal-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

/* 模态框内容段落样式 */
.modal-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* 模态框内容列表样式 */
.modal-body ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

/* 模态框内容列表项样式 */
.modal-body li {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* 模态框操作区域样式 */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid #eee;
}

/* 按钮基础样式 */
.btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

/* 主要按钮样式 */
.btn-primary {
    background-color: #1E4ED8;
    color: #fff;
    border-color: #1E4ED8;
}

/* 主要按钮悬停状态 */
.btn-primary:hover {
    background-color: #163bb8;
    border-color: #163bb8;
}

/* 底栏开始 */
.last {
    position: relative;
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    height: 180px;
    margin: 0 auto;
    margin-top: 100px;
    padding: 20px;
    background-color: #0a9ce7;
    border: 3px solid #fff;
}

.last .logo-last {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 160px;
    height: auto;
}

.last .logo-last img {
    width: 100%;
    height: auto;
    display: block;
}



.last ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    min-width: 120px;
    text-align: center;
    margin-left: 50px;
}

.last h5 {
    font-weight: 500;
    color: #fff;
}

.last ul li {
    margin: 0;
}

.last p {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding: 0;
    text-align: right;
    max-width: 50%;
}

.last ul li a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: color 0.3s ease;
}

.last ul li a:hover {
    color: #e0e0e0;
}

/* 底栏结束 */
/* 响应式设计 - 中等屏幕适配 */
@media (min-width: 375px) and (max-width: 990px) {
    .last {
        flex-wrap: wrap;
        gap: 50px;
        padding: 20px;
    }

    .last ul {
        min-width: 100px;
        margin-left: 0;
    }

    .last p {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 30px;
        text-align: center;
        max-width: 100%;
    }
}

/* 响应式设计 - 平板屏幕适配 */
@media (min-width: 375px) and (max-width: 767px) {
    .last {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 20px;
    }

    .last .logo-last {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 20px;
    }

    .last ul {
        min-width: 100%;
        margin-left: 0;
    }

    .last p {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 30px;
        text-align: center;
        max-width: 100%;
    }
}

/* 响应式设计 - 小屏幕适配 */
@media (min-width: 375px) and (max-width: 575px) {
    .last {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 15px;
        position: relative;
    }

    .last .logo-last {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 40px;
        width: 120px;
        z-index: 10;
    }

    .last ul {
        display: none;
    }

    .last h5 {
        font-size: 14px;
    }

    .last ul li a {
        font-size: 12px;
    }

    .last p {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        text-align: center;
        max-width: 100%;
    }
}

/* 响应式设计 - 移动端适配 */
@media (max-width: 767px) {
    .header-container {
        padding: 0 16px;
    }

    .nav-menu ul {
        gap: 16px;
    }

    .nav-item {
        font-size: 13px;
    }

    .module-content {
        flex-direction: column;
    }

    .step-list,
    .knowledge-list {
        flex: none;
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .step-item,
    .knowledge-item {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .download-card {
        flex: none;
        width: 100%;
        flex-direction: row;
        gap: 12px;
        padding: 16px;
    }

    .faq-content {
        flex-direction: column;
    }

    .modal-content {
        width: 95%;
        margin: 50px auto;
    }

    /* 底部区域适配 */
    .last {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 15px;
        position: relative;
        height: auto;
    }

    .last .logo-last {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 60px;
        width: 120px;
        z-index: 10;
    }

    .last ul {
        display: none;
    }

    .last p {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 0;
        margin-bottom: 20px;
        text-align: center;
        max-width: 100%;
        z-index: 5;
    }
}