/* 基础样式补充 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 导航栏样式 */
nav ul::-webkit-scrollbar {
    height: 4px;
}

nav ul::-webkit-scrollbar-thumb {
    background-color: #93c5fd;
    border-radius: 2px;
}

nav ul::-webkit-scrollbar-track {
    background-color: #f1f5f9;
}

/* 内容区块样式 */
.section-card {
    transition: all 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 过程列表样式 */
.process-list li {
    position: relative;
    padding-left: 1.5rem;
}

.process-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #3b82f6;
}

/* 口诀卡片样式 */
.rhyme-card {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-left: 4px solid #3b82f6;
}

/* 响应式调整 */
@media (max-width: 640px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* 滚动到顶部按钮 */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3b82f6;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(20px);
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 过程展开/折叠样式 */
.process-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.process-content.active {
    max-height: 1000px;
}

.toggle-btn {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.toggle-btn.active {
    transform: rotate(180deg);
}

/* 标签样式 */
.tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag-primary {
    background-color: #3b82f6;
    color: white;
}

.tag-secondary {
    background-color: #6b7280;
    color: white;
}

/* 进度指示器 */
.progress-container {
    width: 100%;
    height: 4px;
    background-color: #e5e7eb;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.progress-bar {
    height: 100%;
    background-color: #3b82f6;
    width: 0%;
}