@charset "utf-8";
/* 全局变量定义（仅保留一次） */
:root {  --primary-purple: #6c2eb9;
 --primary-orange: #ff7a00;
 --light-bg: #f8f9fa;
 --shadow: 0 3px 10px rgba(0,0,0,0.05);
}
/* 全局重置 & 基础样式（合并重复定义） */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", sans-serif; color: #333; line-height: 1.8; padding-top: 70px; /* 适配固定导航栏 */ }

/* 响应式基础适配 */
@media (max-width: 678px) {
.content { margin-right: 0px; }
}
@media (min-width: 678px) {
.content { margin-right: 15px; }
}
@media (max-width: 768px) {
.hero { padding: 8rem 0; }
.float-text { font-size: 1.5rem; }
}
a{ color: rgb(85 44 6);}
/* 导航栏样式（合并重复定义） */
.navbar { background-color: white; box-shadow: 0 2px 5px rgba(0,0,0,0.05); padding: 0.75rem 0; z-index: 9999; }
.navbar-brand { color: var(--primary-orange); font-weight: bold; font-size: 1.3rem; }
.nav-link { color: #333; font-size: 0.9rem; margin: 0 0.5rem; transition: color 0.3s ease; }
.nav-link:hover { color: var(--primary-purple); }
/* 按钮通用样式 */
.btn-orange { background-color: var(--primary-orange); color: white; border-radius: 20px; padding: 0.375rem 1rem; font-size: 0.9rem; border: none; transition: background-color 0.3s ease; }
.btn-orange:hover { background-color: #e06c00; color: white; }
/* 下拉菜单样式（合并重复定义） */
.dropdown-menu { border: none; box-shadow: var(--shadow); border-radius: 8px; padding: 0.5rem 0; }
.dropdown-item { font-size: 0.9rem; padding: 0.5rem 1rem; transition: all 0.3s ease; }
.dropdown-item:hover { background-color: var(--primary-purple); color: white; }
/* 面包屑导航 */
.breadcrumb { background-color: var(--light-bg); padding: 1rem 0; margin-bottom: 2rem; }
.breadcrumb-item a { color: #666; text-decoration: none; font-size: 0.9rem; }
.breadcrumb-item a:hover { color: var(--primary-orange); }
.breadcrumb-item.active { color: var(--primary-orange); font-size: 0.9rem; }
/* Hero 横幅区域 */
.hero { background: #6633FF; background-size: cover; color: white; padding: 10rem 0; position: relative; overflow: hidden; min-height: 60vh; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(108, 46, 185, 0.8); z-index: 1; }
.hero-content { position: relative; z-index: 3; width: 100%; }
.float-text { font-size: 2rem; font-weight: bold; line-height: 1.5; margin-bottom: 1rem; animation: floatAnimation 3s ease-in-out infinite; display: inline-block; text-shadow: 0 2px 10px rgba(0,0,0,0.3); max-width: 90%; }
@keyframes floatAnimation {  0% {
transform: translateY(0px);
opacity: 1;
}
 50% {
transform: translateY(-15px);
opacity: 0.95;
}
 100% {
transform: translateY(0px);
opacity: 1;
}
}
.hero-btn { background-color: #ff7a00; color: white; border-radius: 25px; padding: 0.8rem 3rem; font-size: 1.1rem; border: none; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3); }
.hero-btn:hover { background-color: #e06c00; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4); }
/* 数据统计区域 */
.stats { padding: 3rem 0; background-color: #f8f9fa; }
.stat-item { text-align: center; padding: 1rem; }
.stat-number { font-size: 2rem; font-weight: bold; color: var(--primary-orange); display: inline-block; min-width: 80px; }
.count-animate { transition: all 0.1s ease; }
.stat-label { font-size: 0.9rem; color: #666; }
/* 功能特性区域 */
.features { padding: 4rem 0; }
.feature-item { text-align: center; padding: 1.5rem; }
.feature-icon { font-size: 2rem; color: var(--primary-purple); margin-bottom: 1rem; }
.feature-title { font-size: 0.95rem; font-weight: bold; margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.8rem; color: #666; line-height: 1.5; }
/* 价格套餐区域 */
.pricing { padding: 4rem 0; background-color: #f8f9fa; }
.pricing-card { background: white; border-radius: 10px; padding: 2rem; text-align: center; margin-bottom: 2rem; box-shadow: var(--shadow); }
.pricing-price { font-size: 1.5rem; font-weight: bold; color: var(--primary-orange); margin-bottom: 1rem; }
.pricing-features { list-style: none; padding: 0; margin: 1.5rem 0; font-size: 0.85rem; color: #666; line-height: 1.8; }
.btn-pricing-orange { background-color: var(--primary-orange); color: white; border-radius: 20px; padding: 0.5rem 1.5rem; font-size: 0.9rem; border: none; }
.btn-pricing-purple { background-color: var(--primary-purple); color: white; border-radius: 20px; padding: 0.5rem 1.5rem; font-size: 0.9rem; border: none; }
/* 文章列表样式 */
.article-list { padding: 2rem 0 4rem; }
.article-card { border: none; box-shadow: var(--shadow); border-radius: 10px; overflow: hidden; margin-bottom: 1.5rem; transition: transform 0.3s ease; }
.article-card:hover { transform: translateY(-5px); }
.article-img { width: 100%; height: 200px; object-fit: cover; }
.article-body { padding: 1.5rem; }
.article-tag { display: inline-block; background-color: var(--primary-purple); color: white; font-size: 0.7rem; padding: 0.2rem 0.5rem; border-radius: 3px; margin-bottom: 0.8rem; }
.article-title { font-size: 1.1rem; font-weight: bold; margin-bottom: 0.8rem; color: #333; text-decoration: none; display: block; }
.article-title:hover { color: var(--primary-orange); }
.article-meta { font-size: 0.8rem; color: #999; margin-bottom: 0.8rem; }
.article-excerpt { font-size: 0.9rem; color: #666; line-height: 1.6; margin-bottom: 1rem; }
.read-more { color: var(--primary-orange); font-size: 0.85rem; text-decoration: none; font-weight: 500; }
.read-more:hover { color: #e06c00; text-decoration: underline; }
/* 文章详情页样式 */
.article-detail { padding: 2rem 0 4rem; }
.article-header { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid #eee; }
.article-detail .article-title { font-size: 1.6rem; margin-bottom: 1rem; line-height: 1.4; }
.article-detail .article-meta { font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.article-detail .article-meta span { display: flex; align-items: center; }
.article-detail .article-meta i { margin-right: 0.3rem; color: var(--primary-orange); }
.article-content { font-size: 1rem; color: #444; line-height: 1.8; }
.article-content h2 { font-size: 1.3rem; font-weight: bold; margin: 2rem 0 1rem; color: var(--primary-purple); }
.article-content h3 { font-size: 1.1rem; font-weight: bold; margin: 1.5rem 0 0.8rem; color: var(--primary-purple); }
.article-content p { margin-bottom: 1rem; text-align: justify; }
.article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; display: block; margin-left: auto; margin-right: auto; }
.article-content ul, .article-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.article-content li { margin-bottom: 0.5rem; }
.article-content code { background-color: #f5f5f5; padding: 0.2rem 0.4rem; border-radius: 4px; font-size: 0.9rem; color: #e06c00; }
.article-content pre { background-color: #f8f8f8; padding: 1rem; border-radius: 8px; overflow-x: auto; margin-bottom: 1rem; border: 1px solid #eee; }
/* 文章底部 & 导航 */
.article-footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid #eee; }
.article-tags { margin-bottom: 1rem; }
.article-detail .article-tag { background-color: var(--light-bg); color: #666; font-size: 0.8rem; padding: 0.3rem 0.8rem; border-radius: 20px; margin-right: 0.5rem; margin-bottom: 0.5rem; }
.article-detail .article-tag:hover { background-color: var(--primary-orange); color: white; }
.article-nav { margin-top: 2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1rem; background-color: var(--light-bg); border-radius: 8px; }
.prev-article, .next-article { flex: 1; min-width: 200px; }
.article-nav-title { font-size: 0.8rem; color: #999; margin-bottom: 0.3rem; }
.article-nav-link { font-size: 0.9rem; color: #333; text-decoration: none; display: block; }
.article-nav-link:hover { color: var(--primary-orange); }
/* 分页样式 */
.pagination { justify-content: center; margin-top: 2rem; }
.page-link { color: #666; border: none; margin: 0 0.3rem; border-radius: 6px !important; }
.page-link:hover { background-color: var(--primary-purple); color: white; }
.page-item.active .page-link { background-color: var(--primary-orange); border-color: var(--primary-orange); }
/* 侧边栏样式 */
.sidebar { padding: 2rem 0 4rem; }
.sidebar-widget { background-color: white; box-shadow: var(--shadow); border-radius: 10px; padding: 1.5rem; margin-bottom: 1.5rem; }
.widget-title { font-size: 1rem; font-weight: bold; padding-bottom: 0.8rem; border-bottom: 2px solid var(--light-bg); margin-bottom: 1rem; color: var(--primary-purple); }
/* 侧边栏 - 作者卡片 */
.author-card { text-align: center; padding: 1rem 0; }
.author-avatar { width: 80px; height: 80px; border-radius: 50%; background-color: var(--light-bg); margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; }
.author-name { font-weight: bold; font-size: 1rem; margin-bottom: 0.5rem; }
.author-desc { font-size: 0.85rem; color: #666; margin-bottom: 1rem; }
/* 侧边栏 - 分类/相关文章 */
.category-list, .related-articles { list-style: none; padding: 0; }
.category-item, .related-item { padding: 0.5rem 0; border-bottom: 1px solid #f0f0f0; }
.related-item { padding: 0.8rem 0; }
.category-item a, .related-item a { color: #666; font-size: 0.9rem; text-decoration: none; transition: color 0.3s ease; }
.category-item a { display: flex; justify-content: space-between; }
.category-item a:hover, .related-item a:hover { color: var(--primary-orange); }
.category-count { background-color: var(--light-bg); color: #999; font-size: 0.7rem; padding: 0.1rem 0.5rem; border-radius: 10px; }
/* 联系表单 */
.contact { padding: 4rem 0; background-color: #f8f9fa; }
.contact-form .form-control { border-radius: 5px; margin-bottom: 1rem; padding: 0.75rem; border: 1px solid #ddd; }
.btn-submit { background-color: var(--primary-orange); color: white; border-radius: 20px; padding: 0.5rem 1.5rem; border: none; }
/* 页脚样式（合并重复定义） */
.footer { padding: 3rem 0 1rem; background-color: white; border-top: 1px solid #eee; margin-top: 2rem; }
.footer-logo { color: var(--primary-orange); font-weight: bold; font-size: 1.2rem; margin-bottom: 1rem; }
.footer-text { font-size: 0.85rem; color: #666; line-height: 1.6; }
.footer-title { font-size: 0.95rem; font-weight: bold; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; font-size: 0.85rem; color: #666; line-height: 1.8; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #eee; font-size: 0.8rem; color: #999; }
