
    /* 主色调与背景色设置 */
    :root {
        --primary-color: #1E90FF; /* 蓝色 */
        --background-color: #F5F5F5; /* 灰色 */
        --accent-color: #FFA500; /* 橙色 */
        --highlight-color: #32CD32; /* 绿色 */
        --text-color: #333333; /* 正文字体颜色 */
        --border-radius: 8px; /* 圆角半径 */
    }

    /* 全局样式 */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Roboto', 'Noto Sans', sans-serif;
        background-color: var(--background-color);
        color: var(--text-color);
        line-height: 1.6;
    }

    /* 导航栏样式 */
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 30px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .navbar a {
        color: #fff;
        text-decoration: none;
        margin: 0 10px;
        font-size: 16px;
        position: relative;
    }

    .navbar a:hover {
        text-decoration: underline;
        filter: brightness(1.2);
    }

    /* 提示样式 */
    .notice {
        text-align: center;
        padding: 20px;
        background-color: var(--highlight-color);
        color: #fff;
        font-size: 18px;
        font-weight: bold;
    }

    /* 章节导航样式 */
    .chapter-nav {
        margin-top: 80px; /* 避免与固定导航栏重叠 */
        padding: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        background-color: var(--background-color);
    }

    .chapter-nav a {
        background-color: var(--primary-color);
        color: #fff;
        padding: 10px 20px;
        margin: 10px;
        border-radius: 25px;
        text-decoration: none;
        transition: background-color 0.3s, transform 0.3s;
    }

    .chapter-nav a:hover {
        background-color: var(--highlight-color);
        transform: translateY(-2px);
    }

    /* 主要内容样式 */
    .content {
        max-width: 1200px;
        margin: 40px auto;
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr 3fr;
        gap: 20px;
    }

    /* 文章样式 */
    article {
        background-color: #fff;
        padding: 30px;
        border-radius: var(--border-radius);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    article h2 {
        font-size: 24px;
        color: var(--primary-color);
        margin-bottom: 15px;
    }

    article p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    article pre {
        background-color: #f0f0f0;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    article code {
        font-family: 'Courier New', monospace;
    }

    /* 图片样式 */
    .decorative-images {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .decorative-images img {
        width: 100%;
        max-width: 320px;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .decorative-images img:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    /* 响应式设计 */
    @media (max-width: 768px) {
        .content {
            grid-template-columns: 1fr;
        }

        .navbar {
            flex-direction: column;
            align-items: flex-start;
        }

        .chapter-nav {
            flex-direction: column;
            align-items: center;
        }
    }

    /* 折叠区域样式 */
    .foldable {
        background-color: #f9f9f9;
        border-left: 4px solid var(--accent-color);
        padding: 10px 20px;
        margin: 10px 0;
        cursor: pointer;
        transition: max-height 0.5s ease;
        overflow: hidden;
    }

    .foldable-content {
        display: none;
        padding: 10px 0;
    }

    .foldable.active .foldable-content {
        display: block;
    }

    /* 按钮样式 */
    .button {
        background: linear-gradient(45deg, var(--highlight-color), var(--primary-color));
        border: none;
        color: #fff;
        padding: 10px 20px;
        border-radius: var(--border-radius);
        cursor: pointer;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    .button:hover {
        background: linear-gradient(45deg, var(--primary-color), var(--highlight-color));
        transform: scale(1.05);
    }

    /* 代码示例样式 */
    .code-sample {
        background-color: #2d2d2d;
        color: #f8f8f2;
        padding: 15px;
        border-radius: 5px;
        font-family: 'Courier New', monospace;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    .code-sample code {
        display: block;
        white-space: pre;
    }

    /* 表格样式 */
    .table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
    }

    .table thead {
        background-color: var(--primary-color);
        color: #fff;
        position: sticky;
        top: 0;
    }

    .table th, .table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    .table tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .table tbody tr:hover {
        background-color: var(--highlight-color);
        color: #fff;
    }

    /* 仪表盘容器 */
    .dashboard-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        padding: 20px;
    }

    /* 仪表盘小组件 */
    .dashboard-widget {
        background-color: var(--background-color);
        border: 2px solid var(--primary-color);
        border-radius: var(--border-radius);
        padding: 15px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .dashboard-widget:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 12px rgba(0,0,0,0.2);
    }

    /* 平滑过渡效果 */
    .transition-element {
        background-color: var(--primary-color);
        transition: background-color 0.5s ease, transform 0.5s ease;
    }

    .transition-element:hover {
        background-color: var(--highlight-color);
        transform: scale(1.1);
    }

    /* 搜索栏样式 */
    .search-bar {
        border: none;
        padding: 5px 10px;
        border-radius: 4px;
        transition: width 0.4s ease;
        width: 150px;
    }

    .search-bar:focus {
        width: 250px;
    }

    /* 下拉菜单样式 */
    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-button {
        background-color: var(--primary-color);
        color: #fff;
        padding: 10px 20px;
        border: none;
        cursor: pointer;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

    .dropdown-button:hover {
        background-color: darken(var(--primary-color), 10%);
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: var(--background-color);
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        border-radius: 4px;
        z-index: 1;
    }

    .dropdown:hover .dropdown-content {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .dropdown-content a {
        color: #333;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .dropdown-content a:hover {
        background-color: var(--highlight-color);
        color: #fff;
    }

    /* 仪表盘指针 */
    .pointer {
        width: 2px;
        height: 100px;
        background-color: var(--highlight-color);
        position: absolute;
        top: 50%;
        left: 50%;
        transform-origin: bottom;
        animation: sweep 5s linear infinite;
    }

    @keyframes sweep {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    /* 动态仪表盘样式 */
    .dashboard {
        width: 300px;
        height: 300px;
        border: 10px solid var(--accent-color);
        border-radius: 50%;
        position: relative;
        animation: rotate 10s linear infinite;
    }

    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    /* 场景图过渡效果 */
    .scene {
        position: relative;
        overflow: hidden;
    }

    .scene::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
        animation: shimmer 2s infinite;
    }

    @keyframes shimmer {
        0% { left: -100%; }
        100% { left: 100%; }
    }

    /* 表格响应式 */
    .table-container {
        overflow-x: auto;
    }

    /* 其他样式根据需求继续添加... */

