/* 主要样式文件 - 完全基于原始样式 */

/* 引入所有原始CSS文件的样式 */
@import url('reset.css');
@import url('fonts.css');
@import url('header.css');
@import url('footer.css');
@import url('index.css');
@import url('wen.css');
@import url('bost.css');
@import url('modal.min.css');
@import url('bootstrap.min.css');
@import url('index_three.css');
@import url('owl.carousel.min.css');
@import url('font-awesome.min.css');

/* 确保页面基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

/* 确保主要内容区域有正确的上边距 */
main {
    margin-top: 95px; /* 65px header + 30px margin-bottom */
}

/* 确保slider样式正确 */
.slider {
    width: 100%;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider img {
    max-width: 100%;
    height: auto;
}

/* 确保section样式正确 */
.section {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 确保division样式正确 */
.division {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

/* 确保hover-rounded样式正确 */
.hover-rounded {
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.hover-rounded:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

/* 确保icon-sahpe样式正确 */
.icon-sahpe {
    width: 50px;
    height: 50px;
    background: #0088cc;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* 确保overflow样式正确 */
.overflow h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.overflow p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* 确保section-about样式正确 */
.section-about {
    background: #fff;
}

.section-title-area {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-desc {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

.about-image {
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 确保wz-main样式正确 */
.wz-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.zx-wen h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.wz-con {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.wz-con a {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.wz-con a:hover {
    transform: translateY(-5px);
}

.wz-con figure {
    margin: 0;
}

.wz-con img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.wz-con-tit {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 1rem;
    color: #333;
}

.wz-con-con {
    margin: 0 1rem 1rem;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 确保下载区域样式正确 */
.border-top {
    border-top: 1px solid #eee;
}

.pt-110 {
    padding-top: 110px;
}

.pb-150 {
    padding-bottom: 150px;
}

.download-app-inner {
    text-align: center;
}

.download-app-inner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.download-app-inner h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #666;
}

.btn {
    display: inline-block;
    background: #0088cc;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.btn:hover {
    background: #006699;
}

/* 确保返回顶部样式正确 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.back-to-top a {
    display: block;
    width: 50px;
    height: 50px;
    background: #0088cc;
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s;
}

.back-to-top a:hover {
    background: #006699;
}

/* 确保页脚样式正确 */
footer {
    background: #f8f9fa;
    padding: 3rem 0 1rem;
}

.foo_box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.foo_top {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.fb_left .fbl_one {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.fb_left .fbl_two {
    color: #666;
}

.fb_con {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.fb_con .menu {
    flex-direction: column;
    gap: 0.5rem;
}

.fb_con .menu a {
    color: #666;
    font-size: 0.9rem;
}

.fb_right {
    text-align: center;
}

.fb_right img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.foo_bom {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* 确保应用下载广告样式正确 */
.app-download-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.app-download-ad-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-download-ad-icon img {
    width: 40px;
    height: 40px;
}

.app-download-ad-text .line1 {
    font-weight: bold;
    color: #333;
}

.app-download-ad-text .line2 {
    font-size: 0.9rem;
    color: #666;
}

.app-download-ad-button a {
    background: #0088cc;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
}

.app-download-ad-close {
    cursor: pointer;
    font-size: 1.5rem;
    color: #666;
}

/* 响应式设计 - 移动端优化 */
@media (max-width: 768px) {
    /* 基础样式调整 */
    body {
        font-size: 14px;
    }
    
    /* 头部优化 */
    .hea_box {
        padding: 0.5rem 1rem;
    }
    
    .heab_logo span {
        font-size: 0.9rem;
    }
    
    .heab_logo img {
        width: 35px;
        height: 35px;
    }
    
    .menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .menu a {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    
    /* 移动端菜单优化 */
    .heab_box {
        display: block;
        padding: 0.5rem 1rem;
        border-top: 1px solid #eee;
    }
    
    .hbt_tit {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
    }
    
    .hbt_left {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .hbt_left span {
        font-size: 0.9rem;
        font-weight: bold;
    }
    
    .hbt_right a {
        font-size: 0.8rem;
        color: #0088cc;
        text-decoration: none;
        padding: 0.3rem 0.8rem;
        border: 1px solid #0088cc;
        border-radius: 3px;
    }
    
    .hb_nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        height: 100vh;
        background: #fff;
        z-index: 999;
        transform: translateX(-100%);
        transition: all 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    .hb_nav.active {
        display: block;
        transform: translateX(0);
    }
    
    .hb_nav ul {
        padding: 2rem 1rem;
        margin: 0;
        list-style: none;
    }
    
    .hb_nav ul li {
        margin-bottom: 1rem;
        border-bottom: 1px solid #eee;
        padding-bottom: 0.5rem;
    }
    
    .hb_nav ul li a {
        display: block;
        padding: 0.8rem 0;
        color: #333;
        text-decoration: none;
        font-size: 1rem;
        transition: color 0.3s;
    }
    
    .hb_nav ul li a:hover,
    .hb_nav ul li a.aact {
        color: #0088cc;
    }
    
    /* 移动端菜单遮罩 */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    /* 主要内容区域优化 */
    main {
        margin-top: 80px;
    }
    
    .slider {
        min-height: 250px;
    }
    
    .slider img {
        max-width: 100%;
        height: auto;
    }
    
    /* 容器优化 */
    .container {
        padding: 0 0.5rem;
    }
    
    /* Section优化 */
    .section {
        padding: 2rem 0;
    }
    
    /* Division优化 */
    .division {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    /* 图标优化 */
    .icon-sahpe {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* 标题优化 */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .section-desc {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    /* 文章列表优化 */
    .wz-main {
        padding: 1rem 0.5rem;
    }
    
    .zx-wen h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .wz-con {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wz-con a {
        margin-bottom: 1rem;
    }
    
    .wz-con img {
        height: 150px;
    }
    
    .wz-con-tit {
        font-size: 1rem;
        margin: 0.5rem;
    }
    
    .wz-con-con {
        font-size: 0.8rem;
        margin: 0 0.5rem 0.5rem;
    }
    
    /* 下载区域优化 */
    .pt-110 {
        padding-top: 60px;
    }
    
    .pb-150 {
        padding-bottom: 80px;
    }
    
    .download-app-inner h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .download-app-inner h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-width: 120px;
    }
    
    /* 返回顶部优化 */
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top a {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 0.9rem;
    }
    
    /* 页脚优化 */
    footer {
        padding: 2rem 0 1rem;
    }
    
    .foo_top {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .fb_con {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .fb_left .fbl_one {
        font-size: 1.2rem;
    }
    
    .fb_con .menu a {
        font-size: 0.8rem;
    }
    
    .foo_bom {
        font-size: 0.8rem;
        padding: 1rem 0.5rem 0;
    }
    
    /* 应用下载广告优化 */
    .app-download-ad {
        padding: 0.8rem;
    }
    
    .app-download-ad-icon img {
        width: 35px;
        height: 35px;
    }
    
    .app-download-ad-text .line1 {
        font-size: 0.9rem;
    }
    
    .app-download-ad-text .line2 {
        font-size: 0.8rem;
    }
    
    .app-download-ad-button a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .app-download-ad-close {
        font-size: 1.2rem;
    }
}

/* 小屏幕手机优化 */
@media (max-width: 480px) {
    /* 更小的字体和间距 */
    body {
        font-size: 13px;
    }
    
    .hea_box {
        padding: 0.3rem 0.5rem;
    }
    
    .heab_logo span {
        font-size: 0.8rem;
    }
    
    .heab_logo img {
        width: 30px;
        height: 30px;
    }
    
    /* 更紧凑的布局 */
    .section {
        padding: 1.5rem 0;
    }
    
    .division {
        padding: 0.8rem;
        margin: 0 0.3rem;
    }
    
    .icon-sahpe {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .wz-con img {
        height: 120px;
    }
    
    .download-app-inner h2 {
        font-size: 1.3rem;
    }
    
    .download-app-inner h3 {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .back-to-top a {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
    
    .app-download-ad {
        padding: 0.6rem;
    }
    
    .app-download-ad-icon img {
        width: 30px;
        height: 30px;
    }
    
    .app-download-ad-text .line1 {
        font-size: 0.8rem;
    }
    
    .app-download-ad-text .line2 {
        font-size: 0.7rem;
    }
    
    .app-download-ad-button a {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
    /* 增加触摸目标大小 */
    .menu a,
    .btn,
    .app-download-ad-button a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 移除hover效果，改用active */
    .hover-rounded:hover {
        transform: none;
    }
    
    .hover-rounded:active {
        background: #e9ecef;
        transform: scale(0.98);
    }
    
    .wz-con a:hover {
        transform: none;
    }
    
    .wz-con a:active {
        transform: scale(0.98);
    }
    
    .btn:hover {
        background: #0088cc;
    }
    
    .btn:active {
        background: #006699;
        transform: scale(0.98);
    }
}

/* 工具类 */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 1rem; }
.ml-3 { margin-left: 1rem; }
.no-gutters { margin: 0; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.overflow { overflow: hidden; }
.wow { visibility: visible; }
.slideInUp { animation-name: slideInUp; }
.visible { visibility: visible; }
.lazyload { opacity: 0; transition: opacity 0.3s; }
.lazyloaded { opacity: 1; } 