:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-gray: #f8f9fa;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    padding-top: 76px;
}

/* 导航样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

/* 通用样式 */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
} 

/* 价格卡片样式 */
.pricing-card {
    transition: transform 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
}

.price .amount {
    font-size: 2.5rem;
    font-weight: bold;
}

/* 流程卡片样式 */
.process-icon {
    position: relative;
    display: inline-block;
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* 用户评价卡片样式 */
.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* 数据统计区块样式 */
#stats {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

/* 回到顶部按钮样式 */
#backToTop {
    z-index: 1000;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#backToTop:hover {
    opacity: 1;
}

/* 常见问题样式 */
.accordion-button:not(.collapsed) {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

/* 温馨提示样式 */
.tips-content li {
    position: relative;
    padding-left: 2rem;
}

.tips-content li i {
    position: absolute;
    left: 0;
    top: 4px;
}

/* 合作伙伴样式 */
.partner-item {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

/* 互动功能样式 */
.interaction-card {
    height: 100%;
}

.interaction-stats span {
    font-size: 0.9rem;
}

.interaction-buttons {
    margin-top: 1rem;
}

.comment-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.comment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.comment-actions {
    font-size: 0.9rem;
    color: var(--secondary-color);
    cursor: pointer;
}

.comment-actions span:hover {
    color: var(--primary-color);
}

/* SEO内容区块样��� */
.content-card {
    line-height: 1.8;
}

.content-section {
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

.tips-list p {
    transition: transform 0.3s ease;
}

.tips-list p:hover {
    transform: translateX(10px);
}

/* 学术资源卡片样式 */
.resource-card {
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.resource-icon {
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-icon {
    transform: scale(1.1);
}

.resource-stats {
    margin-top: auto;
}

/* Banner样式 */
.banner-section {
    background: linear-gradient(135deg, #f6f9fc 0%, #e9f2f9 100%);
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.banner-section .container {
    position: relative;
    z-index: 1;
}

.banner-section .btn {
    position: relative;
    z-index: 2;
}

.banner-image {
    position: relative;
}

.banner-image::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.banner-image i {
    position: relative;
    z-index: 1;
}

/* 添加装饰性学术元素 */
.academic-decoration {
    position: absolute;
    opacity: 0.1;
    color: var(--primary-color);
}

.academic-decoration.books {
    top: 10%;
    left: 5%;
    transform: rotate(-15deg);
}

.academic-decoration.graduation {
    bottom: 15%;
    right: 8%;
    transform: rotate(20deg);
}

.academic-decoration.pencil {
    top: 20%;
    right: 15%;
    transform: rotate(45deg);
}

/* 专题页面特殊样式 */
.content-wrapper {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 15px;
}

/* 章节标题样式优化 */
.content-wrapper section h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 700;
}

.content-wrapper section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* 功能特点卡片样式优化 */
.feature-item {
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

/* 技术原理区块样式 */
.principle-content {
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.1);
}

.principle-item {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 应用场景卡片样式 */
.application-card {
    border: none;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* 数据统计样式优化 */
.stats-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stats-item:hover {
    transform: translateY(-5px);
}

/* 用户评价样式优化 */
.feedback-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    transition: all 0.3s ease;
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 相关文章卡片样式 */
.related-article {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* 左侧目录导航样式优化 */
.sticky-top .card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sticky-top .nav-link {
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.sticky-top .nav-link:hover,
.sticky-top .nav-link.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}