
/* 
整个页面的样式设计，融合未来感与高级质感，采用深蓝色为主色调，辅以银色和橙色点缀，形成黄金比例的色彩搭配。使用CSS Grid和Flexbox实现响应式的模块化布局，确保在不同分辨率下的良好展示效果。页面背景采用渐变色，增加深度感，同时运用阴影和圆角效果提升视觉质感。导航栏设计为固定侧边栏与透明顶部导航相结合，提供清晰的章节导航系统，便于用户快速定位内容。

字体方面，选用‘Roboto’和‘Helvetica’等现代无衬线字体，保证文字的可读性与美观性。标题字号16-18px，正文字号15-17px，行高1.5，营造舒适的阅读体验。所有内部链接添加rel="nofollow"属性，确保SEO优化。

图片部分，使用指定的12张320×320的图片，通过圆角、阴影、悬浮效果和精致边框进行美化处理，增强页面的视觉吸引力。图片描述属性设为空，确保装饰性用途。

页面采用全屏视差滚动设计，每个段落占据整个视窗，通过不同速度的滚动效果，营造出深度和动感。动效方面，运用CSS3的动画和过渡效果，如渐变、阴影、3D变换等，提升互动性和沉浸感。按钮设计采用橙色和绿色作为对比色，添加悬停缩放和颜色变化效果，吸引用户点击。

响应式设计通过媒体查询调整布局和字体大小，确保在320px至1920px范围内的设备上无横向滚动条，内容完整可见。利用留白和对齐，避免页面设计的线性和堆砌，保持视觉上的呼吸感与平衡。

代码示例部分，采用独特的样式，与文章主体内容区分开来。预格式化的代码块使用深色背景和高亮字体，增强可读性和美观性。代码内的关键字和属性通过不同颜色标注，便于理解和学习。

导航系统采用有意义的标题和引导文字，避免简单的“章节1”等命名。导航项采用锚点链接，配合平滑滚动效果，提升用户体验。固定侧边导航栏在页面左侧，占据20%的宽度，顶部透明导航占据80%的宽度，随页面滚动背景颜色逐渐变化，保持设计的一致性。

折叠区域采用CSS和少量jQuery实现，当用户点击时，展开或收起补充说明内容，保持页面的整洁与层次。所有内部链接均设置rel="nofollow"，禁止外部链接的引入，保持页面的安全性和专注性。

整体设计贯穿科技美学与用户体验，结合智能投顾与量化交易的主题，通过动态效果和丰富的视觉元素，展示出专业与前瞻性的品牌形象。确保每一个设计细节都经过精心打磨，提供用户友好且视觉冲击力强的网页作品。
*/

/* 全局样式设置 */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0D2C54, #1E3B73, #A8D8FF);
    color: #FFFFFF;
    font-family: 'Roboto', Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

/* 导航栏样式 */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    box-sizing: border-box;
    z-index: 1000;
}
.sidebar a {
    display: block;
    color: #FFFFFF;
    margin: 20px 0;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}
.sidebar a:hover {
    color: #FF9900;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 200px;
    right: 0;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 999;
}
.top-nav a {
    color: #FFFFFF;
    margin-left: 20px;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}
.top-nav a:hover {
    color: #34C759;
}

/* 主内容区域样式 */
.main-content {
    margin-left: 200px;
    padding-top: 80px;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}
.main-content h2, .main-content h3, .main-content h4 {
    color: #FFD700;
}
.main-content p {
    margin-bottom: 20px;
}
.main-content pre {
    background: #1E3B73;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}
.main-content code {
    color: #FFD700;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

/* 图片样式 */
.main-content img {
    width: 320px;
    height: 320px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    margin: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.main-content img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.7);
}

/* 按钮样式 */
.action-button {
    background-color: #FF9900;
    color: #FFFFFF;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-size: 16px;
}
.action-button:hover {
    transform: scale(1.05);
    background-color: #E68900;
}

/* 视差滚动段落样式 */
.parallax-section {
    position: relative;
    height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #FFFFFF;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}
.section-1 {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
}
.section-2 {
    background-image: url('https://images.gptkong.com/demo/sample2.png');
}

/* 模块化布局样式 */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
    box-sizing: border-box;
}
.module {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.module:hover {
    transform: translateY(-10px);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
table th, table td {
    border: 1px solid #FFFFFF;
    padding: 10px;
    text-align: left;
}
table th {
    background: #1E3B73;
}
table td {
    background: rgba(255, 255, 255, 0.1);
}

/* 折叠区域样式 */
.collapsible {
    background-color: #1E3B73;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.active, .collapsible:hover {
    background-color: #FF9900;
}
.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: rgba(0,0,0,0.5);
    border-radius: 5px;
    margin-bottom: 20px;
}

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

/* 动态粒子效果样式 */
.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: move 5s infinite;
}
@keyframes move {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: translate(100px, 100px);
        opacity: 0;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    .top-nav {
        left: 0;
    }
    .parallax-section {
        height: auto;
        padding: 60px 20px;
    }
}

