/* 基础样式 */
:root {
    --primary-color: #3498db;
    --secondary-color: #27ae60;
    --text-color: #2c3e50;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0; /* 添加这一行，将外边距设置为 0 */
}

/* 内容容器 */
.main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
.page-title {
    font-size: 2.2rem;
    text-align: center;
    margin: 2rem 0;
    color: var(--primary-color);
}

.section-title {
    font-size: 1.8rem;
    padding-left: 1rem;
    margin: 3rem 0 1.5rem;
}

/* 段落格式 */
.content-paragraph {
    margin: 1.2rem 0;
    text-indent: 2em;
}

/* 按钮容器 */
.btn-container {
    display: flex;
    gap: 4rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

/* 通用按钮样式 */
.download-btn,
.purchase-btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 20px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

/* 下载按钮 */
.download-btn {
    background: #3498db;
    color: white !important;
}

/* 购买按钮 */
.purchase-btn {
    background: #27ae60;
    color: white !important;
}

/* 悬停效果 */
.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.3);
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 87, 34, 0.3);
    background: linear-gradient(135deg, #229954 0%, #27ae60 100%);
}

/* 点击效果 */
.download-btn:active,
.purchase-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .btn-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .download-btn,
    .purchase-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 图标样式 */
.btn-icon {
    width: 1.5em;
    height: 1.5em;
    fill: currentColor;
}

/* 国家列表 */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* 图片视频容器 */
.media-container {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.responsive-media {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .main-container {
        padding: 0 15px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-group {
        gap: 1rem;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 导航菜单 */
.h-box{
    width: 1200px;margin:0 auto;
}
.h-left{ margin-left:60px; padding-top: 32px;  float: left;  width: 200px;}
.h-right{
    float: left; width: 1020px;
}
#nav{
	width: 100%;
	background:#F5F5F5;
	height:105px;
}
.menubox {
    width: 1200px;
    height: 40px;
    margin: 0px auto;
}

li {list-style-type:none;}
ul.menu {
    float: right;
    height: 50%;
    margin: 25px 50px 0px 100px;
    list-style-type: none;
}
li.menu {
    display: inline;
    text-align: center;
}
a.menu {
    float: left;
    width: 120px;
	height:40px;
    text-decoration: none;
    color: #262626;
    font-size: 18px;
    /*padding: 0.2em 0px;*/
}
a.menu:hover,.item_hover{
    text-decoration: underline;
}

.span_c{
	padding-top:14px;
	display:block;
}
        /* 新增新闻列表样式 */
        .article-container {
            width: 100%;
            margin: 20px auto;
            max-width: 1000px;
        }
        .article-header {
			text-align: center;
            border-bottom: 2px solid #26c472;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }
        .article-title {
            font-size: 28px;
            color: #333;
            margin: 15px 0;
        }
        .article-meta {
            color: #666;
            font-size: 14px;
        }
        .article-content {
            line-height: 1.8;
            font-size: 16px;
        }
        .article-content img {
            max-width: 100%;
            height: auto;
            margin: 10px 0; /* 调整图片上下外边距 */
            border-radius: 4px;
        }
        /* 新增图片说明文字样式 */
        .article-content img + p {
            font-size: 16px;
            line-height: 1.8;
            margin-top: -5px; /* 调整图片和说明文字的间距 */
            text-align: left; /* 确保文字左对齐 */
        }
        .article-video {
            width: 100%;
            aspect-ratio: 16/9;
            background: #000;
            margin: 20px 0;
            max-width: 1000px;
        }
        .article-nav {
            margin: 30px 0;
            display: flex;
            justify-content: space-between;
        }
        .breadcrumb {
            margin: 10px 0;
            color: #666;
        }
        .viewCount {
            color: #26c472;
            font-weight: bold;
        }
#content{
	width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
}
.s3{
    text-align:center;
}
.s3 .main-title {
    text-align: center;
    font-size: 2.2em;
    font-weight: 600;
    margin: 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 轮播容器 */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.5s;
}

.carousel-item.active {
    opacity: 1;
}

/* 导航按钮 */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* 图片说明 */
.carousel-caption {
    text-align: center;
    color: #666;
    margin-top: 1rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .carousel-prev,
    .carousel-next {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    .carousel-caption {
        font-size: 0.8rem;
    }
}
/* 注册key样式 */
.link-container {
    display: flex;
    justify-content: center;
    gap: 2rem; /* 控制间距 */
    padding: 1rem 0;
}

.tutorial-link {
    padding: 0.8rem 1.5rem;
    background: #f0f4ff;
    border-radius: 6px;
    color: #2c3e50;
    text-decoration: none;
    text-align: center; /* 文字居中 */
    transition: all 0.3s ease;
    min-width: 200px; /* 统一宽度 */
}

.tutorial-link:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}
/* 页脚整体样式 */
.footer {
    text-align: center;
    padding: 20px 0; /* 增加上下内边距，让内容有更多空间 */
    background: linear-gradient(to bottom, #e9e9e9, #f5f5f5); /* 使用渐变背景，增加层次感 */
    font-family: "Microsoft YaHei", Arial, sans-serif;
    border-top: 2px solid #ddd; /* 加粗顶部边框，增强分割感 */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* 添加顶部阴影，使页脚有悬浮感 */
}

/* 公司信息样式 */
.footer-company-info {
    font-size: 18px; /* 增大字体大小 */
    color: #222; /* 加深文字颜色 */
    margin-bottom: 15px; /* 增加底部外边距 */
    font-weight: bold; /* 文字加粗 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* 添加文字阴影，增强立体感 */
}

/* 版权信息样式 */
.footer-copyright {
    font-size: 16px;
    color: #555; /* 调整文字颜色 */
    line-height: 1.6; /* 增加行高，提高可读性 */
}

/* 版权信息中的链接样式 */
.footer-copyright a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease; /* 添加颜色过渡效果 */
}

/* 鼠标悬停在链接上的样式 */
.footer-copyright a:hover {
    color: #007BFF; /* 悬停时改变文字颜色 */
    text-decoration: underline;
}