/* 全局样式重置 & 通用变量 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #f1f5f9;
    --border-color: #e2e8f0;
}

body {
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ======================
   公用导航栏 HEADER
====================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
	height: 60px;
}

.nav-container .logo img{
	height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.download-btn {
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
  background-size: 200% auto;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
  border: none;
  cursor: pointer;
}

.download-btn:hover {
  background-position: right center;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
  transform: translateY(-2px);
  color: #fff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* ======================
   公用底部 FOOTER
====================== */
footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-col ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ======================
   通用按钮 & 工具类
====================== */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--dark-bg);
}

.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* ======================
   汉堡菜单转X + 遮罩层样式
====================== */
/* 遮罩层：默认隐藏，展开菜单时显示 */
.nav-overlay {
    position: fixed;
    top: 70px; /* 对应header高度，避免遮挡导航栏 */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(0, 0, 0, 0.6); /* 半透明黑色 */
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 菜单展开时，遮罩层显示 */
.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 汉堡按钮转X动画 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001; /* 确保按钮在遮罩上层 */
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* 菜单展开时，按钮变成X */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 移动端菜单展开样式（补充原有样式） */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1.5rem;
        z-index: 1000;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
		display: flex !important;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
        display: flex;
    }
}
.nav-links li.on a {
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  position: relative;
}

.nav-links li.on a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px; 
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
  border-radius: 0; 
}
.pages{padding:20px 0;width:100%;text-align:center;clear:both}
.pages a,.pages span{color:#666;padding:0 15px;margin:0 3px;display:inline-block;vertical-align:middle;line-height:34px;background:#f9f9f9;border:1px solid #f2f2f2;text-decoration: none !important;}
.pages a:hover{display:inline-block;color:#fff;background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);box-shadow:0 0 14px rgba(0,0,0,.2)}
.pages span{display:inline-block;color:#666}
.pages a.page-num-current{display:inline-block;color:#fff;background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);box-shadow:0 0 14px rgba(0,0,0,.2)}
.text-secondary{text-align:center;padding:10px 0}
.widget-info-mowei{
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
}
.top4-tag{
	background: #666;
}
.top5-tag{
	background: #666;
}
.sr-only{
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}