/* 导航栏容器 */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 999; /* 确保在页面最上层 */
}

/* 品牌Logo区域 */
.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 36px;
    width: auto;
    margin-right: 8px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* 导航菜单通用样式 */
.nav-menu {
    display: flex;
    align-items: center;
    margin: 0 auto; /* 居中显示 */
}

.menu-item {
    color: #666;
    text-decoration: none;
    padding: 0 15px;
    font-size: 15px;
    height: 60px;
    line-height: 60px; /* 垂直居中 */
    transition: color 0.2s ease;
}

.menu-item:hover,
.menu-item.active {
    color: #FF4D4F; /* 红色主题激活/hover色 */
    border-bottom: 2px solid #FF4D4F; /* 底部下划线标识 */
}

/* 用户操作区 */
.nav-actions {
    display: flex;
    align-items: center;
}

.action-btn {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.action-btn:hover {
    background-color: #FFF1F0;
    color: #FF4D4F;
}

.user-icon {
    margin-right: 6px;
}

/* 移动端菜单按钮（默认隐藏） */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* 移动端导航菜单（默认隐藏） */
.mobile-menu {
    position: fixed;
    top: 60px; /* 位于导航栏下方 */
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none; /* 默认隐藏 */
}

.mobile-menu.menu-item {
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    border-bottom: 1px solid #f5f5f5;
}

.mobile-menu.menu-item:last-child {
    border-bottom: none;
}

/* 响应式适配（屏幕宽度≤768px时） */
@media (max-width: 768px) {
    /* 隐藏桌面端菜单和用户按钮 */
    .desktop-menu,
    .nav-actions {
        display: none;
    }

    /* 显示移动端菜单按钮 */
    .menu-toggle {
        display: block;
    }

    /* 移动端菜单显示时的样式 */
    .mobile-menu.show {
        display: flex;
    }

    /* 调整Logo文字大小 */
    .logo-text {
        font-size: 16px;
    }
}

/* 页面内容适配（避免被导航栏遮挡） */
body {
    padding-top: 60px;
    margin: 0;
    background-color: #f5f5f5;
}


/* 组件容器 */
.platform-jump-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 平台卡片 */
.platform-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* 整体可点击 */
}

/* 卡片hover效果 */
.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* 平台LOGO */
.platform-logo {
    flex: 0 0 100px; /* 固定宽度 */
    height: 100px;
    margin-right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 保持LOGO比例 */
}

/* 平台信息区域 */
.platform-info {
    flex: 1; /* 占剩余宽度 */
    min-width: 250px; /* 避免过窄 */
    margin-bottom: 15px;
}

/* 平台名称 */
.platform-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

/* 平台简介 */
.platform-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 跳转按钮 */
.jump-btn {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 24px;
    background-color: #FF4D4F; /* 红色主题按钮 */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap; /* 防止文字换行 */
}

.jump-btn:hover {
    background-color: #F5222D; /* 深色红hover效果 */
}

/* 响应式适配（小屏设备） */
@media (max-width: 768px) {
    .platform-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .platform-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .jump-btn {
        margin-top: 10px;
    }
}


/* 容器样式 */
.wechat-follow-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 15px;
}

/* 卡片容器 */
.follow-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    overflow: hidden;
}

/* 标题区域 */
.follow-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.title-icon {
    font-size: 20px;
    margin-right: 10px;
}

.follow-title h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

/* 内容区域布局 */
.follow-content {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

/* 左右区域通用标题 */
.section-desc {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0 0 15px 0;
    text-align: center;
}

/* 二维码区域 */
.qrcode-section {
    flex: 0 0 200px;
    text-align: center;
}

.qrcode-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 10px;
}

.qrcode-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 5px;
    background-color: #fff;
    position: relative;
    z-index: 2;
}

/* 二维码装饰边框 */
.qrcode-border {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px dashed #FF4D4F;
    border-radius: 8px;
    z-index: 1;
}

/* 提示文字 */
.tips {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 搜索引导区域 */
.search-section {
    flex: 1;
    min-width: 250px;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    line-height: 1.6;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #FF4D4F;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-step p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* 高亮提示文字 */
.highlight {
    color: #FF4D4F;
    font-weight: 500;
}

/* 公众号名称 */
.account-name {
    color: #333;
    font-weight: 600;
    background-color: #FFF1F0;
    padding: 0 3px;
    border-radius: 3px;
}

/* 福利提示 */
.benefit-tip {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #FFF1F0;
    border-radius: 8px;
    font-size: 14px;
    color: #D4380D;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-tip span {
    margin-right: 8px;
    font-size: 16px;
}

/* 响应式适配（小屏设备） */
@media (max-width: 600px) {
    .follow-content {
        flex-direction: column;
        gap: 20px;
    }

    .qrcode-section {
        margin-bottom: 10px;
    }
}


/* 底部容器 */
.site-footer {
    background-color: #f5f5f5;
    padding: 25px 15px;
    font-size: 12px;
    color: #666;
    text-align: center;
    border-top: 1px solid #eee;
}

/* 链接区域 */
.footer-links {
    margin-bottom: 15px;
}

/* 链接样式 */
.footer-link {
    color: #666;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #FF4D4F; /* 红色主题hover效果 */
    text-decoration: underline;
}

/* 链接分隔符 */
.link-divider {
    color: #ccc;
}

/* 备案信息区域 */
.record-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* 公安备案链接 */
.police-record {
    display: inline-flex;
    align-items: center;
    color: #666;
    text-decoration: none;
    justify-content: center;
}

/* 公安备案图标 */
.police-icon {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: middle;
}

/* 工信部备案链接 */
.miit-record {
    color: #666;
    text-decoration: none;
}

/* 备案链接hover效果 */
.police-record:hover,
.miit-record:hover {
    color: #FF4D4F;
    text-decoration: underline;
}

/* 版权信息 */
.copyright {
    color: #999;
    line-height: 1.5;
}

/* 响应式调整（小屏设备） */
@media (max-width: 375px) {
    .record-info {
        flex-direction: column;
        gap: 8px;
    }

    .footer-link {
        margin: 0 5px;
    }
}

/* 商标区域 */
.footer-brand {
    margin-bottom: 15px; /* 与下方链接保持间距 */
    text-align: center; /* 居中显示 */
}

/* 商标图片样式 */
.footer-logo {
    height: 36px; /* 固定高度，宽度自适应 */
    max-width: 180px; /* 限制最大宽度，避免过大 */
    object-fit: contain; /* 保持图片比例，避免拉伸 */
    opacity: 0.85; /* 略降低透明度，符合底部辅助元素视觉权重 */
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 1; /*  hover时恢复完全不透明 */
}

/* 响应式调整：小屏设备商标略缩小 */
@media (max-width: 375px) {
    .footer-logo {
        height: 30px;
    }
}