/*
Theme Name: SoftLab Pro
Description: 蓝色软件库主题，浅色页脚，详情页粘性侧边栏，联系页面优化
Version: 5.8
*/

/* ========== 全局变量 ========== */
:root {
    --primary: #409EFF;
    --primary-dark: #337ecc;
}

/* ========== 基础重置 ========== */
html, body {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #6f6c7f;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}
.site-content {
    flex: 1 0 auto;
}
a {
    color: var(--primary);
    transition: all 0.2s;
    text-decoration: none;
}
a:hover {
    color: var(--primary-dark);
}
h1, h2, h3, h4, h5, h6 {
    color: #36324a;
    font-weight: 600;
}
h1 { font-size: 30px; line-height: 1.2; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }
p {
    line-height: 30px;
    margin-bottom: 25px;
    font-size: 16px;
}

/* ========== 按钮 ========== */
.btn {
    cursor: pointer;
    position: relative;
    padding: 16px 30px;
    color: var(--primary);
    font-weight: 600;
    text-transform: capitalize;
    overflow: hidden;
    border: 2px solid var(--primary);
    border-radius: 10px;
    transition: .3s all linear;
    font-size: 14px;
    display: inline-block;
    background: transparent;
}
.btn:hover {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
}
.btn.bg-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn.bg-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* ========== 容器与工具类 ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.col-lg-3, .col-sm-6, .col-lg-5, .col-md-8, .col-lg-6, .col-xl-5,
.col-lg-9 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
}
@media (min-width: 1200px) {
    .col-xl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
}
@media (min-width: 768px) {
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
}
.offset-lg-1 { margin-left: 8.333333%; }
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.mt-40 { margin-top: 40px; }
.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.pt-120 { padding-top: 120px; }
.pb-150 { padding-bottom: 150px; }
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }
.bg-gray { background: #f7f6f9; }

/* ========== 头部导航 ========== */
.main-header {
    position: fixed;
    z-index: 999;
    width: 100%;
    top: 0;
    left: 0;
    transition: background .3s, padding .3s;
    padding: 20px 0;
    background: transparent;
}
.main-header .logo img {
    height: 40px;
}
.header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}
.header-menu li a {
    color: #fff;
    font-weight: 500;
}
.main-header.sticky .header-menu li a,
.main-header.inner-page .header-menu li a {
    color: #36324a;
}
.main-header.sticky .header-menu li a:hover,
.main-header .header-menu li a:hover {
    color: var(--primary);
}
.main-header.sticky {
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
}
@media (max-width: 768px) {
    .header-menu { display: none; }
    .mobile-toggle { display: block; }
}
/* 白色背景或内页菜单修正 */
.header-white .header-menu li a,
.header-white .mobile-toggle {
    color: #36324a;
}
.header-white .header-menu li a:hover {
    color: var(--primary);
}
.inner-page .header-menu li a {
    color: #36324a;
}
.inner-page .header-menu li a:hover {
    color: var(--primary);
}

/* 软件详情页专用：蓝色Banner时菜单与Logo白色 */
.software-single .header-menu li a {
    color: #fff;
}
.software-single .header-menu li a:hover {
    color: rgba(255,255,255,0.8);
}
.software-single .mobile-toggle {
    color: #fff;
}
.software-single .logo img {
    filter: brightness(0) invert(1);
    height: 40px;
}
.software-single .logo h2,
.software-single .logo a {
    color: #fff;
}

/* ========== 漂浮形状 ========== */
.banner-shape-wrap {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.banner-shape-inner .shape {
    position: absolute;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    opacity: 0.15;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
.shape1 { top: 10%; left: 5%; animation-name: rotate3d; width: 60px; height: 60px; }
.shape2 { top: 70%; left: 15%; border-radius: 50%; width: 40px; height: 40px; animation-name: bounce; }
.shape3 { top: 20%; right: 10%; transform: rotate(45deg); border-radius: 0; animation-name: rotate2d; }
.shape4 { bottom: 20%; right: 20%; border-radius: 50%; width: 30px; height: 30px; animation-name: float; }
.shape5 { top: 50%; left: 50%; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; width: 70px; height: 70px; animation-name: morphSpin; }
.shape6 { top: 80%; left: 80%; border-radius: 20% 80% 80% 20% / 20% 80% 80% 20%; animation-name: rotate-2d; }
.shape7 { top: 5%; right: 30%; border-radius: 50%; animation-name: floatUpDown; }
@keyframes rotate3d { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); } }
@keyframes rotate2d { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes rotate-2d { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes morphSpin { 0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg); } 50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: rotate(180deg); } }
@keyframes floatUpDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(15px); } }

/* ========== 首页 Banner 样式 ========== */
.banner-area-inner {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.banner-area-inner.banner-white {
    background: #fff;
}
.banner-area-inner.banner-white:before {
    display: none;
}
.banner-area-inner.banner-white .shape {
    background: #e9f0ff;
    opacity: 0.6;
}
.banner-area-inner.banner-white .banner-text-inner h2 {
    color: #1e293b;
}
.banner-area-inner.banner-white .banner-text-inner p {
    color: #475569;
}
.banner-area-inner.banner-has-bg:before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}
.banner-area-inner.banner-has-bg .banner-text-inner h2,
.banner-area-inner.banner-has-bg .banner-text-inner p {
    color: #fff;
}
.banner-area-inner .container {
    position: relative;
    z-index: 2;
}
.banner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.banner-text {
    flex: 1 1 400px;
    padding-right: 40px;
}
.banner-text-inner h2 {
    font-size: 42px;
    margin-bottom: 20px;
}
.banner-text-inner p {
    font-size: 18px;
    margin-bottom: 40px;
}
.banner-text-inner .btn {
    margin: 0 10px;
}
.banner-image-irregular {
    position: relative;
    width: 600px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.irregular-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #409EFF, #a0cfff);
    border-radius: 60% 40% 50% 50% / 45% 50% 40% 55%;
    opacity: 0.25;
    z-index: 0;
    animation: morphCircle 8s ease-in-out infinite alternate;
}
.irregular-shape {
    position: absolute;
    opacity: 0.3;
    z-index: 0;
    will-change: transform, border-radius;
}
.shape-b {
    width: 200px;
    height: 200px;
    background: linear-gradient(180deg, #c084fc, #a78bfa);
    border-radius: 50% 30% 60% 40% / 40% 60% 40% 50%;
    top: 20px;
    right: 20px;
    animation: morphShapeB 7s ease-in-out infinite alternate, spinSlow 20s linear infinite;
}
.shape-c {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #93c5fd, #60a5fa);
    border-radius: 40% 60% 50% 50% / 30% 50% 60% 40%;
    bottom: 30px;
    left: 30px;
    animation: morphShapeC 9s ease-in-out infinite alternate, floatSlow 6s ease-in-out infinite;
}
.shape-d {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #f9a8d4, #f472b6);
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    top: 60%;
    right: 15%;
    animation: scalePulse 5s ease-in-out infinite, spinSlow 15s linear infinite reverse;
}
@keyframes morphCircle {
    0% { border-radius: 60% 40% 50% 50% / 45% 50% 40% 55%; }
    100% { border-radius: 40% 60% 55% 45% / 50% 45% 60% 40%; }
}
@keyframes morphShapeB {
    0% { border-radius: 50% 30% 60% 40% / 40% 60% 40% 50%; transform: rotate(0deg); }
    100% { border-radius: 30% 60% 40% 50% / 60% 40% 50% 30%; transform: rotate(10deg); }
}
@keyframes morphShapeC {
    0% { border-radius: 40% 60% 50% 50% / 30% 50% 60% 40%; }
    100% { border-radius: 60% 40% 40% 60% / 50% 30% 50% 50%; }
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes scalePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.banner-image-irregular img.bounce-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: softlabBounce 3s ease-in-out infinite;
}
@keyframes softlabBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ========== 正方形软件卡片 ========== */
.software-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}
.software-card {
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.software-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.card-icon {
    flex: 3;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4ff;
    color: #999;
    font-size: 16px;
    font-weight: 500;
}
.card-info {
    flex: 1;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-excerpt {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-date {
    font-size: 11px;
    color: #999;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 992px) {
    .software-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .software-grid { grid-template-columns: 1fr; }
}

/* ========== 分类区块标题 ========== */
.section-header {
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 30px;
    color: #36324a;
    margin-bottom: 10px;
}
.section-header .section-desc {
    color: #6f6c7f;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== 软件详情页专用 Banner ========== */
.software-banner {
    min-height: 360px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #409EFF 0%, #337ecc 100%);
    color: #fff;
    padding-top: 80px;
}
.software-banner .banner-text-inner h1 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 10px;
}
.software-banner .version-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
    color: #fff;
}
.software-banner .banner-text-inner p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin-bottom: 15px;
}
.software-banner .software-category {
    font-size: 14px;
    opacity: 0.9;
}
.software-banner .software-category a {
    color: #fff;
    text-decoration: underline;
}

/* Banner 内的面包屑，分隔符 > */
.software-breadcrumb {
    margin-bottom: 25px;
}
.software-breadcrumb .breadcrumb-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    flex-wrap: wrap;
}
/* 面包屑左对齐 */
.software-breadcrumb .breadcrumb-list {
    justify-content: flex-start !important;
}

/* 标题和描述左对齐 */
.software-banner .banner-text-inner {
    text-align: left !important;
}
.software-breadcrumb .breadcrumb-list li {
    padding: 0 6px;
}
.software-breadcrumb .breadcrumb-list li a {
    color: rgba(255,255,255,0.9);
    transition: color 0.2s;
}
.software-breadcrumb .breadcrumb-list li a:hover {
    color: #fff;
    text-decoration: underline;
}
.software-breadcrumb .breadcrumb-list li.active {
    color: #fff;
    font-weight: 500;
}
.software-breadcrumb .breadcrumb-list li + li:before {
    content: '>';
    margin-right: 6px;
    color: rgba(255,255,255,0.6);
}
/* 让面包屑和标题占满容器宽度，并强制左对齐 */
.software-banner .container {
    width: 100%;
}
.software-breadcrumb {
    width: 100%;
    text-align: left;
}
.software-breadcrumb .breadcrumb-list {
    justify-content: flex-start !important;
    width: 100%;
}
.software-banner .banner-text-inner {
    width: 100%;
    text-align: left !important;
}
.software-banner .banner-text-inner h1,
.software-banner .banner-text-inner p {
    text-align: left !important;
}

/* ========== 详情页强制左右分栏 ========== */
.detail-row {
    display: flex;
    flex-wrap: nowrap;
    margin-right: -15px;
    margin-left: -15px;
}
.detail-left {
    flex: 0 0 75%;
    max-width: 75%;
    padding-right: 15px;
    padding-left: 15px;
}
.detail-right {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 15px;
    padding-left: 15px;
}
@media (max-width: 991.98px) {
    .detail-row {
        flex-wrap: wrap;
    }
    .detail-left,
    .detail-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* 侧边栏粘性定位 */
.sticky-sidebar {
    position: sticky;
    top: 100px;
    margin-bottom: 30px;
}
@media (max-width: 768px) {
    .sticky-sidebar {
        position: relative;
        top: auto;
    }
}

/* 按钮组 */
.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s;
}
.btn-download {
    background: #fff;
    color: #409EFF;
    border: 2px solid #409EFF;
}
.btn-download:hover {
    background: #409EFF;
    color: #fff;
}
.btn-buy {
    background: #409EFF;
    color: #fff;
    border: 2px solid #409EFF;
}
.btn-buy:hover {
    background: #337ecc;
    border-color: #337ecc;
}

/* ========== 详情内容与侧边栏 ========== */
.about-content {
    color: #6f6c7f;
    line-height: 1.8;
}
.ey-z-info ul {
    list-style: none;
    padding: 0;
}
.ey-z-info ul li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
}
.sidebar-title h5 {
    margin-bottom: 20px;
    font-weight: 600;
    color: #1e293b;
}

/* ========== 免责声明 ========== */
.job-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.job-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: box-shadow 0.3s;
}
.job-list.disclaimer {
    border-color: #ffc107;
    background: #fff9e6;
    cursor: default;
    justify-content: flex-start;   /* 改为从左开始排列 */
    gap: 20px;                     /* 标签与文字之间的间距 */
    text-align: left;              /* 确保文字左对齐 */
}
.job-list .salary-type .badge {
    background: #ffc107;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}
.job-list .content p {
    margin: 0;
    color: #856404;
    font-size: 14px;
    text-align: left;
}

/* ========== 页脚（浅色背景，背景图极淡） ========== */
.footer {
    flex-shrink: 0;
    position: relative;
    background: #fff;               /* 底色，与图片融合 */
    overflow: hidden;               /* 防止图片圆角溢出 */
}
.footerbg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;                  /* 自适应 footer 高度 */
    z-index: 0;
    pointer-events: none;
    line-height: 0;                /* 消除 img 底部间隙 */
}
.footerbg img {
    width: 100%;
    height: auto;                  /* 保持原图比例，弧度完整显示 */
    display: block;
    opacity: 0.8;                 /* 隐约可见，不喧宾夺主 */
}
/* 确保所有内容层在背景图上方 */
.footer-top {
    padding-bottom: 20px !important; /* 按需调整 */
}
.footer-top .row {
    align-items: flex-start;
}
.footer-bottom {
    position: relative;
    z-index: 1;
}
.address-list li:hover span i,
.widget-body .extra-link .link-right ul li a:hover,
.widget-body .extra-link .link-left ul li a:hover {
    color: #409EFF;
}
/* 页脚 Logo 向左浮动，文字环绕 */
.footer-widget .footer-logo {
    float: left;
    margin-right: 15px;      /* Logo 与文字间距 */
    margin-bottom: 0;        /* 去除多余下边距 */
    max-width: 120px;        /* 限制 Logo 区域最大宽度，防止过大 */
}

/* 文字区域：移除 overflow: hidden，让文字自然环绕 */
.footer-widget p {
    font-size: 13px;
    line-height: 22px;
    color: #aaa;
    margin-top: 0;           /* 文字顶部与 Logo 对齐 */
}

/* 清除浮动，保证父容器高度包含浮动 Logo */
.footer-widget {
    overflow: visible;       /* 确保不创建 BFC 限制绕排 */
}
.footer-widget::after {
    content: "";
    display: table;
    clear: both;
}

/* 缩小 Logo 图片 */
.footer-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}
.widget-header h5 {
    margin-top: 0;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 18px;
    color: #1e293b;
}
.widget-header {
    margin-top: 0;
}
.address-list ul li span i {
    font-size: 15px;
}
.address-list li span {
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    left: 0;
    position: absolute;
}
.address-list li {
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    color: #475569;
    margin-bottom: 6px;
}
.widget-body .extra-link .link-left {
    float: left;
}
.widget-body .extra-link .link-left ul li a {
    color: #475569;
    font-size: 15px;
    line-height: 1.3;
    display: block;
}
.widget-body .extra-link .link-left ul li {
    padding-bottom: 4px;
    margin-bottom: 2px;
}
.social-icons li a {
    color: #6f6c7f;
    font-size: 20px;
}
.social-icons li a:hover {
    color: #409EFF;
}
.qrcode-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: flex-start;
}
.footer-post-details {
    padding: 20px 10px 24px 10px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}
.footer-post-details img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 576px) {
    .qrcode-wrapper {
        flex-wrap: wrap;
    }
}
.footer-bottom {
    background: #fff;
    padding: 10px 0;
    position: relative;
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
}
.footer-bottom .container {
    margin-bottom: 0;
    padding-bottom: 0;
}
.footer-bottom p {
    margin-bottom: 0 !important;
    line-height: 1;
    color: #64748b;
    font-size: 14px;
}
.footer-bottom p a {
    color: #475569;
    display: inline-block;
    margin-left: 7px;
    font-size: 14px;
}

@media (min-width: 992px) {
    .footer .row {
        flex-wrap: nowrap;
    }
    .footer .col-lg-3 {
        min-width: 0;
    }
}

/* ========== 返回顶部 ========== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: opacity 0.3s;
}
#back-to-top:hover {
    background: var(--primary-dark);
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 10px;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #eee;
    color: #36324a;
    border-radius: 5px;
    transition: all 0.2s;
}
.pagination .page-numbers.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination .page-numbers:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ========== 联系我们页面优化 ========== */
.contact-card {
    border: 1px solid #eef2f6;
    padding: 25px 25px 30px !important;   /* 底部内边距加大 */
    overflow: hidden;
}
/* 修正内部栅格负边距 */
.contact-card .row {
    margin-right: 0;
    margin-left: 0;
}
/* 栅格系统 (g-3) */
.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
}
.g-3 > [class*="col-"] {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

.contact-method {
    padding: 20px 15px 25px;
    border-radius: 12px;
    background: #fafbfc;
    min-height: 260px;          /* 统一最小高度，防止长短不一 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;    /* 内容垂直居中 */
    overflow: hidden;
    box-sizing: border-box;
}
.contact-method:hover { transform: translateY(-3px); }
.method-icon {
    width: 55px; height: 55px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    margin-bottom: 12px;
}
.wechat-bg { background: #07c160; }
.qq-bg { background: #12b7f5; }
.contact-method h4 { font-size: 17px; color: #1e293b; margin-bottom: 6px; }
.account { font-size: 16px; font-weight: 600; color: #36324a; margin-bottom: 12px; }
.qr-small img {
    width: 100px; max-width: 100%; height: auto;
    border-radius: 8px; border: 1px solid #eee;
    padding: 3px; background: #fff;
}
.hint { font-size: 12px; color: #999; margin-top: 6px; }

/* 远程工具 */
.remote-tools .tool-item {
    padding: 25px 20px 30px !important;
    border-radius: 12px;
    border: 1px solid #eef2f6;
    background: #f8fafc;
    min-height: 260px;          /* 与微信卡片一致 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}
.remote-tools .tool-icon i {
    font-size: 40px !important;
}
.remote-tools h5 {
    font-size: 18px;
    margin-bottom: 10px;
}
.remote-tools .small {
    font-size: 14px;
    line-height: 1.5;
}
.remote-tools .btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}
.bg-light { background: #f8fafc; }
.alert {
    padding: 12px 18px; border-radius: 8px; font-size: 14px;
}
.alert-light { background: #fefce8; border: 1px solid #fde68a; color: #856404; }
.desc { color: #475569; margin-bottom: 20px; }

/* 留言表单 */
.contact-form .form-control {
    width: 100%; height: 46px;
    padding: 10px 14px; font-size: 14px;
    color: #1e293b; background: #fff;
    border: 1px solid #d0d5e0; border-radius: 8px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}
.contact-form .form-control:focus {
    border-color: #409EFF;
    box-shadow: 0 0 0 3px rgba(64,158,255,0.1);
    outline: none;
}
.contact-form textarea.form-control {
    height: auto; min-height: 100px; resize: vertical;
}
.contact-form .btn-block {
    width: 100%; padding: 13px 20px; font-size: 16px;
    background: #409EFF; color: #fff;
    border: none; border-radius: 8px;
    transition: background 0.3s;
}
.contact-form .btn-block:hover { background: #337ecc; }

.mb-25 { margin-bottom: 25px; }
.mb-20 { margin-bottom: 20px; }
.mb-15 { margin-bottom: 15px; }
.mb-12 { margin-bottom: 12px; }
.text-muted { color: #6c757d; }
.small { font-size: 87.5%; }

@media (max-width: 768px) {
    .contact-method { margin-bottom: 15px; }
}

/* ========== 详情页按钮卡片与售后边框 ========== */
.sidebar-actions-box {
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;           /* 防止按钮圆角溢出容器 */
}
.sidebar-actions-box .btn {
    margin-bottom: 12px;
    white-space: normal;        /* 允许文字换行 */
    word-break: break-word;
    box-sizing: border-box;
}
.sidebar-actions-box .btn:last-child {
    margin-bottom: 0;
}
/* 售后声明边框（与按钮卡片统一） */
.service-box {
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.service-box .sidebar-title h5 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}
.service-box .ey-z-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-box .ey-z-info ul li {
    padding: 6px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* 自定义弹窗样式 */
.custom-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}
.custom-modal.show {
    display: flex;
}

.custom-modal-dialog {
    background: #fff;
    border-radius: 14px;
    max-width: 380px;
    width: 85%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    animation: modalPopIn 0.3s ease-out;
}

@keyframes modalPopIn {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* 头部 */
.custom-modal-header {
    background: linear-gradient(135deg, #409EFF, #337ecc);
    color: #fff;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.custom-modal-header i {
    font-size: 18px;
}
.custom-modal-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

/* 内容 */
.custom-modal-body {
    padding: 20px 20px 5px;
    text-align: center;
}
.custom-modal-body p {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* 底部按钮 */
.custom-modal-footer {
    padding: 10px 20px 20px;
    text-align: center;
}
.btn-primary-modal {
    background: #409EFF;
    border: none;
    color: #fff;
    padding: 8px 28px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    min-width: auto;
    letter-spacing: 0.5px;
}
.btn-primary-modal:hover {
    background: #337ecc;
}
/* 文章列表/详情页顶部的简洁标题区 */
/*.section-header {
    margin-bottom: 40px;
    text-align: left;
}
.section-header h1 {
    font-size: 32px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}
.section-header p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}*/
/* 确保文章详情内容与软件详情风格统一 */
.about-content {
    color: #6f6c7f;
    line-height: 1.8;
}
.about-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.post-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);   /* 两列布局 */
    gap: 25px;
    margin-top: 30px;
}
.post-card-horizontal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.post-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.post-card-img {
    width: 140px;
    min-height: 140px;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-card-img .no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f0f4ff;
    color: #999;
    font-size: 36px;
}
.post-card-text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
.post-card-text h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}
.post-card-text .card-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card-text .card-date {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .post-list-grid {
        grid-template-columns: 1fr;   /* 移动端单列 */
    }
    .post-card-horizontal {
        flex-direction: column;       /* 图片在上方 */
    }
    .post-card-img {
        width: 100%;
        height: 160px;
    }
}

/* ========== 资讯列表样式 ========== */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.article-item {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 缩略图区域 */
.article-thumb {
    width: 180px;
    height: 130px;
    flex-shrink: 0;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-thumb .no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f0f4ff;
    color: #999;
    font-size: 36px;
}

/* 文字区域 */
.article-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.article-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.4;
}
.article-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}
.article-meta i {
    margin-right: 4px;
    color: #409EFF;
}
.article-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 响应式：移动端图片在上方 */
@media (max-width: 768px) {
    .article-item {
        flex-direction: column;
    }
    .article-thumb {
        width: 100%;
        height: 180px;
    }
    .article-info {
        padding: 15px;
    }
}
/* ========== 软件搜索框样式 ========== */
.software-search {
    max-width: 500px;
    margin: 0 auto 40px;
}
.search-input-group {
    display: flex;
    gap: 10px;
}
.search-input-group .form-control {
    flex: 1;
    height: 30px;
    padding: 10px 15px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}
.search-input-group .form-control::placeholder {
    color: rgba(255,255,255,0.8);
}
.search-input-group .form-control:focus {
    background: rgba(255,255,255,0.25);
    border-color: #fff;
    box-shadow: none;
    outline: none;
}
.search-input-group .btn {
    margin-top: 5px;
    padding: 8px 18px;
    height: 42px;
    white-space: nowrap;
    background: #fff;
    color: #409EFF;
    border: 2px solid #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
.search-input-group .btn:hover {
    background: rgba(255,255,255,0.9);
    border-color: #fff;
}
/* ========== 移动端菜单修复 ========== */
@media (max-width: 768px) {
    .header-menu {
        display: none;            /* 默认隐藏 */
        position: absolute;
        top: 70px;                /* 根据导航高度调整 */
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
        padding: 15px 0;
        flex-direction: column;
        gap: 0;
    }
    .header-menu.show {          /* 显示时的状态 */
        display: flex;
    }
    .header-menu li a {
        display: block;
        padding: 12px 20px;
        color: #36324a !important;
        border-bottom: 1px solid #f0f0f0;
    }
    .header-menu li a:hover {
        background: #f5f7fa;
    }
    /* 调整移动切换按钮颜色 */
    .mobile-toggle {
        color: #36324a;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
    }
}


/* ========== 通用 ========== */
img { max-width: 100%; height: auto; }
ul, li { list-style: none; padding: 0; margin: 0; }