
/* 
整体样式设计采用先进的CSS3技术，融合未来感与高级质感，确保网页在各类设备上的响应式表现。主色调以深空蓝为主，辅以深灰色，点缀色选用亮橙和青绿色，遵循黄金比例配色法则，营造和谐美观的视觉效果。

1. 布局设计：
- 使用Flexbox和Grid布局实现模块化和响应式设计，确保内容在不同屏幕尺寸下自适应排列。
- 导航栏固定在顶部，采用多层次菜单结构，方便用户快速定位内容。
- 内容区域划分为多个独立的模块，搭配微交互效果，提升用户体验。

2. 色彩与背景：
- 主色调：深空蓝（#1e3c72）用于主要背景和大面积区域，传达科技感与专业性。
- 辅助色：深灰色（#2a2a2a）用于次要背景和信息块，增强层次感。
- 点缀色：亮橙（#ff7e5f）和青绿色（#4caf50）用于按钮和重要信息，吸引用户注意。
- 背景采用线性渐变和径向渐变，增加视觉深度和立体感。

3. 字体与排版：
- 使用Roboto Bold和Open Sans Regular字体，确保文本的可读性和层次感。
- 正文字号设置为16px，标题字号逐级递减至14px，确保视觉上的清晰与协调。
- 行间距和段落间距适中，提升阅读舒适度。

4. 交互与动画：
- 按钮和链接悬停时触发平滑过渡效果，增强交互反馈。
- 关键元素添加box-shadow和text-shadow效果，提升立体感。
- 使用关键帧动画实现3D模型旋转、数据线条绘制等动态效果，增强科技感和沉浸体验。

5. 图片与图标：
- 所有装饰性图片采用圆角、阴影和悬浮效果，提升整体美观与质感。
- 图标统一为线性扁平风格，采用统一的颜色和尺寸，确保视觉一致性。

6. 响应式设计：
- 通过媒体查询调整布局和元素样式，确保在320px到1920px范围内的设备上无水平滚动条，高度自适应，避免内容被遮挡。
- 采用流式布局，利用百分比和相对单位设置宽度和高度，确保弹性适应不同屏幕。

7. 特殊元素：
- 章节导航系统设计清晰，采用固定定位和显著样式，帮助用户快速定位到指定内容区域。
- 代码示例部分采用不同的背景色和字体，区分于正文内容，提升代码的可读性和美观性。
- 折叠区域设计用于次要信息展示，用户点击后展开，保持页面整洁。

8. 强调提示：
- 在显著位置添加“这是一个网页样式设计参考”的提示，采用醒目的字体和颜色，确保用户注意到。

9. 链接设置：
- 所有内部链接强制添加rel="nofollow"属性，防止SEO方面的问题。

10. 安全与性能优化：
- 图片进行懒加载处理，提升页面加载速度。
- 使用CSS压缩和优化，减少资源占用，确保动画和动态效果流畅。

通过以上设计策略，网页不仅在视觉上具备强烈的科技感和高级质感，同时在功能和用户体验上也达到了高标准，满足了现代用户对金融科技网站的期望。
*/

/* 全局样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #ffffff;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(42, 82, 152, 0.9);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar .logo {
    font-family: 'Roboto Bold', sans-serif;
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #ff7e5f;
}

/* 章节导航 */
.chapter-nav {
    position: fixed;
    top: 80px;
    right: 20px;
    background: rgba(42, 82, 152, 0.8);
    padding: 10px;
    border-radius: 8px;
}

.chapter-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chapter-nav ul li {
    margin-bottom: 10px;
}

.chapter-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.chapter-nav ul li a:hover {
    color: #ff7e5f;
}

/* 主内容区域 */
.container {
    max-width: 1200px;
    margin: 140px auto 60px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* 模块样式 */
.module {
    background: rgba(42, 42, 42, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.4);
}

.module img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.module img:hover {
    transform: scale(1.05);
}

/* 标题样式 */
h2, h3, h4 {
    font-family: 'Roboto Bold', sans-serif;
    color: #ffffff;
    margin-bottom: 15px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

/* 文字内容 */
p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 15px;
}

/* 代码块样式 */
pre {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

pre code {
    color: #00e676;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

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

table th, table td {
    border: 1px solid #444444;
    padding: 10px;
    text-align: left;
}

table th {
    background: #1e3c72;
    color: #ffffff;
}

table tr:nth-child(even) {
    background: #2a2a2a;
}

/* 按钮样式 */
.button {
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    border: none;
    border-radius: 5px;
    color: #ffffff;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    font-size: 16px;
}

.button:hover {
    background: linear-gradient(45deg, #feb47b, #ff7e5f);
    transform: scale(1.05);
}

/* 折叠区域 */
.collapsible {
    background: #2a2a2a;
    color: #ffffff;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.collapsible:hover {
    background: #444444;
}

.content {
    padding: 0 15px;
    display: none;
    background: #1e1e1e;
    overflow: hidden;
    border-radius: 5px;
}

.content p {
    margin: 10px 0;
}

/* 提示文本样式 */
.prompt {
    text-align: center;
    font-size: 18px;
    color: #ff7e5f;
    margin-bottom: 30px;
    font-family: 'Roboto Bold', sans-serif;
}

/* 底部样式 */
.footer {
    background: #1e1e1e;
    color: #cccccc;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1 1 200px;
    margin: 10px;
}

.footer-section h4 {
    font-family: 'Roboto Bold', sans-serif;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-section a {
    color: #ff7e5f;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #feb47b;
}

.language-switcher button {
    background: none;
    border: none;
    color: #ff9800;
    cursor: pointer;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.language-switcher button:hover {
    color: #fb8c00;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        background: rgba(42, 82, 152, 0.9);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        display: none;
    }

    .navbar ul.active {
        display: flex;
    }

    .chapter-nav {
        display: none;
    }

    .container {
        grid-template-columns: 1fr;
    }
}

/* 自适应按钮 */
@media (max-width: 768px) {
    .button {
        width: 100%;
    }
}

