* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', sans-serif;
}

body {
    background: #F8FAFC;
    line-height: 1.6;
    color: #232d23;
    padding-top: 70px; /* 给固定头部留空间 */
    min-width: 320px; /* 最小宽度，防止超小屏挤压 */
}

/* 节容器 - 简化标题 */
.section {
    margin: 2rem 0 1.5rem; /* 缩小上下间距，节省空间 */
    scroll-margin-top: 80px; /* 锚点滚动避开头部 */
}

.section-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1e4a2e;
    margin-bottom: 1.2rem; /* 缩小下间距 */
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #b7d7b7;
}

.section-title span {
    background: #1b8c5e;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* 回到顶部按钮 start*/
#backToTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background-color: #0D9488;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 20px;
}

#backToTop:hover {
    background-color: rgba(13, 148, 136, 0.9);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* 回到顶部按钮 end*/

/* 渐入动画增强 start*/
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.2, 0, 0, 1), transform 0.7s cubic-bezier(0.2, 0, 0, 1);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* 渐入动画增强 end*/
