
/* 
主样式表：智能投顾与量化交易平台页面设计
包含磨砂玻璃效果、数字浪潮主题以及响应式布局
使用冷色系为主色调，辅以渐变和动画效果
*/

/* 全局样式 */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #1E3C72 70%, #2A5298 25%, #FFA500 5%);
  color: #fff;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(30, 60, 114, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s;
  rel: nofollow;
}

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

/* 侧边栏样式 */
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  width: 200px;
  height: 100%;
  background: rgba(42, 82, 152, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px;
  display: none;
}

.sidebar a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin: 15px 0;
  transition: color 0.3s;
  rel: nofollow;
}

.sidebar a:hover {
  color: #32CD32;
}

/* 主内容区域样式 */
.container {
  margin: 80px 20px 20px 220px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.section h2, .section h3, .section h4 {
  color: #FFA500;
}

.section p {
  font-size: 16px;
  line-height: 1.6;
}

/* 图像样式 */
.section img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.section img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

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

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

/* 代码块样式 */
.code-block {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: 'Courier New', Courier, monospace;
  color: #00FF00;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    margin: 80px 10px 10px 10px;
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    display: none;
  }
  
  .navbar {
    justify-content: space-between;
  }
  
  .navbar .menu {
    display: block;
  }
}

