
/* 
    智能投顾与量化交易服务平台 - 样式表
    本CSS文件采用现代Web技术栈，结合视觉美学原理，旨在打造一个融合未来感与高级质感的响应式网页。整体设计以深蓝色为主色调，辅以亮青色和橙色，运用了CSS3的高级特性如渐变、阴影、动画等，增强页面的立体感和视觉层次。
    
    一级布局采用Flexbox和Grid布局方式，确保在不同设备和屏幕尺寸下都能保持良好的响应式效果。导航栏固定在顶部，采用半透明背景，增加页面的层次感，并在用户滚动时保持可见性。
    
    页面背景使用线性渐变，从深蓝色过渡到黑色，营造出深邃的科技氛围。所有图片均采用圆角和阴影效果，并在悬停时添加微妙的放大动画，提升交互体验。模块之间通过适当的留白和分隔线分隔，确保内容的清晰呈现和视觉平衡。
    
    文字部分，采用Roboto等现代无衬线字体，确保可读性和现代感。标题和正文的字号区分明显，利用不同的字体粗细和颜色，强化信息层级。代码块采用等宽字体，并配以深色背景和高亮边框，便于阅读和复制。
    
    页面的主要模块包括品牌介绍、核心功能、市场分析、用户评价等，每个模块都配有相关图片和动画效果，增强内容的吸引力和互动性。导航栏中的链接均添加了rel="nofollow"属性，保证SEO优化的同时，遵循用户隐私保护原则。
    
    为了进一步提升用户体验，页面内嵌多种交互动效，如按钮的渐变悬停、滚动触发的元素淡入效果以及加载时的简洁动画。这些动效不仅增加了页面的动态感，还引导用户的注意力，提升整体的使用流畅度。
    
    最后，整个页面严格遵循Web标准和无障碍设计原则，确保在各种浏览器和设备上的兼容性和访问便利性。所有装饰性图片均设置alt=""，不影响使用辅助技术的用户体验。
*/

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a1f44, #000000);
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 31, 68, 0.9);
    padding: 20px 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.navbar a:hover {
    color: #ff8c00;
}

/* 章节导航样式 */
.chapter-nav {
    position: fixed;
    top: 100px;
    right: 50px;
    background: rgba(10, 31, 68, 0.8);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.chapter-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chapter-nav a {
    color: #00ffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.chapter-nav a:hover {
    color: #ff8c00;
}

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

/* 文章样式 */
article {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

article h2, article h3, article h4 {
    color: #00ffff;
    margin-bottom: 20px;
    font-size: 24px;
}

article p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #ffffff;
}

article pre {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

article code {
    color: #00ffff;
    font-family: 'Courier New', Courier, monospace;
}

/* 图片样式 */
img {
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.7);
}

/* 按钮样式 */
.button {
    background: linear-gradient(45deg, #00ffff, #ff8c00);
    border: none;
    padding: 15px 30px;
    color: #ffffff;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.5s ease;
    font-size: 16px;
    margin-top: 20px;
}

.button:hover {
    background: linear-gradient(45deg, #ff8c00, #00ffff);
}

/* 数据可视化图表样式 */
.chart {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.chart:hover {
    transform: scale(1.02);
}

/* 用户评价展示区 */
.testimonials {
    background: rgba(10, 31, 68, 0.8);
    padding: 40px;
    border-radius: 10px;
    color: #ffffff;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 固定顶部菜单悬停效果 */
.navbar a:hover {
    color: #ff8c00;
}

/* 模块化网格布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.grid-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.05);
}

/* 数据流动画效果 */
@keyframes flow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.data-stream {
    display: flex;
    white-space: nowrap;
    animation: flow 15s linear infinite;
}

.data-stream span {
    color: #00ffff;
    margin-right: 50px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .chapter-nav {
        display: none;
    }
    
    .container {
        padding: 100px 10px 20px 10px;
    }

    article h2, article h3, article h4 {
        font-size: 20px;
    }

    article p {
        font-size: 14px;
    }

    .navbar ul {
        gap: 15px;
    }

    .navbar a {
        font-size: 16px;
    }
}

