
/* 
整体样式设计
本样式表采用了HTML5和CSS3的现代技术，结合Flexbox和Grid布局，实现了响应式且视觉丰富的网页设计。颜色搭配遵循黄金比例，主色调为深蓝色，辅以亮橙色和绿色点缀，营造出信任与活力并存的氛围。页面背景采用渐变效果，避免单一色彩，增强视觉层次感。

导航栏设计
导航栏固定在页面顶部，使用半透明背景，随着页面滚动逐渐变为不透明，提升用户的导航体验。导航链接采用无下划线样式，悬停时颜色变化，并添加轻微的放大效果，增强交互性。

主内容区布局
主内容区采用Grid和Flexbox布局，确保内容在不同屏幕尺寸下的自适应性。每个内容模块独立成块，通过适当的留白和边距，保持页面的呼吸感和视觉平衡。内容块之间使用渐变线条和科技感装饰元素分隔，增加页面的科技美学。

图片展示样式
页面中使用的装饰图片均采用圆角和阴影效果，悬浮时添加放大和透明度变化，提升图片的互动性和美观度。图片容器采用Grid布局，确保图片在不同设备上的有序排列。

响应式设计
通过媒体查询，针对不同屏幕宽度调整布局和字体大小，确保页面在320px到1920px范围内均无水平滚动条，内容完整可见。移动端布局采用单列排列，提升可读性和操作便捷性。

按钮与交互元素
按钮设计简洁现代，采用圆角和阴影效果，悬停时颜色和大小变化，提供即时的视觉反馈。按钮过渡效果平滑，提升用户点击的愉悦感。

动画与动态效果
使用关键帧动画实现数据流动和几何线条的动态效果，增强页面的高科技感。视差滚动效果通过不同层次元素的移动速率，营造出网页的深度和动感。

代码示例样式
代码块采用深色背景与等宽字体，内嵌中文注释，确保代码的可读性和美观性。代码高亮使用柔和的色彩，区分不同代码元素，提升视觉效果。

底部区域设计
底部区域采用深蓝色背景，文字为白色，整合用户评价和资质认证，增强信任感。认证图片采用统一风格，保持整体设计的一致性。

折叠区域样式
次要信息采用折叠设计，用户点击展开查看，保持页面整洁，避免信息过载。折叠按钮简洁明了，使用图标和文字结合，提升操作的直观性。

字体与排版
全站使用现代无衬线字体，如Roboto和Open Sans，确保文本的清晰与专业感。标题和正文字体大小适中，通过颜色和字体粗细区分层次，提升可读性和视觉层次感。

色彩渐变与阴影效果
背景和装饰元素使用线性和径向渐变，增加视觉的深度和立体感。文字和盒子添加阴影效果，提升元素的突出性和整体的质感。

导航系统
章节导航采用固定或侧边导航栏，使用有意义的标题和引导文字，帮助用户快速定位内容。导航链接使用rel="nofollow"属性，确保内部链接的规范性。

媒体查询与兼容性
通过多层次的媒体查询，优化不同设备的布局和元素样式，确保兼容性和良好的用户体验。所有元素和布局在主流浏览器和设备上表现一致，无视觉错乱。

交互提示与用户体验
页面各交互元素，如按钮、链接、图片等，均有视觉提示，提升用户的操作意愿。通过过渡和动画效果，增强页面的互动性和用户的参与感。

总体美学与技术结合
设计将先进的技术手段与美学原则相结合，注重细节表现，确保网页既具备高科技感又不失人性化。每一个设计元素和技术实现都服务于用户体验和品牌理念的传达。

*/
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(135deg, #0D2C54 70%, #3CB371 25%, #FFA500 5%);
  color: #333;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(13, 44, 84, 0.7);
  transition: background-color 0.3s ease;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.navbar.scrolled {
  background-color: rgba(13, 44, 84, 1);
}

.navbar a {
  color: #FFA500;
  text-decoration: none;
  margin: 0 15px;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.2s ease, color 0.2s ease;
}

.navbar a:hover {
  color: #FF8C00;
  transform: scale(1.05);
}

/* 主内容区样式 */
.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 60px 20px;
  box-sizing: border-box;
  position: relative;
}

.section h2, .section h3 {
  color: #0D2C54;
  margin-bottom: 20px;
}

.section p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 800px;
  text-align: center;
}

/* 图片样式 */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  padding: 40px 20px;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* 按钮样式 */
.btn {
  background-color: #FFA500;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  font-size: 17px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #FF8C00;
  transform: translateY(-3px);
}

/* 代码块样式 */
.code-example {
  background-color: #2E3440;
  color: #D8DEE9;
  padding: 20px;
  border-radius: 10px;
  font-family: 'Courier New', Courier, monospace;
  overflow-x: auto;
  margin: 40px 0;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 10px 20px;
  }

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

  .section {
    padding: 40px 10px;
  }

  .image-gallery {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .section p {
    font-size: 15px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 2s ease-in-out;
}

/* 折叠区域样式 */
.collapsible {
  background-color: #0D2C54;
  color: #fff;
  cursor: pointer;
  padding: 15px;
  width: 80%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  border-radius: 10px;
  margin: 20px 0;
  transition: background-color 0.3s ease;
}

.collapsible:hover {
  background-color: #1E3A5F;
}

.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
  color: #333;
  border-radius: 0 0 10px 10px;
}

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

/* 导航系统样式 */
.chapter-nav {
  position: fixed;
  top: 80px;
  right: 20px;
  background-color: rgba(13, 44, 84, 0.8);
  padding: 15px;
  border-radius: 10px;
  z-index: 999;
}

.chapter-nav a {
  display: block;
  color: #FFA500;
  text-decoration: none;
  margin: 10px 0;
  font-size: 16px;
  transition: color 0.2s ease;
}

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

/* 背景动态效果 */
.dynamic-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(13,44,84,0.5) 0%, rgba(255,255,255,0) 70%);
  animation: backgroundMove 15s linear infinite;
  z-index: -1;
}

@keyframes backgroundMove {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* 视差滚动效果 */
.parallax {
  perspective: 1px;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.parallax__layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.parallax__layer--back {
  transform: translateZ(-1px) scale(2);
  background: #0D2C54;
}

.parallax__layer--base {
  transform: translateZ(0);
  background: rgba(255, 165, 0, 0.5);
}

