/* BatStick 页面背景样式 */

/* 全局背景基础样式 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* 深色遮罩层 */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(2px);
}

/* 首页 - 数据可视化/科技 */
body.page-index::before {
  background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1920&h=1080&fit=crop&q=85');
}

/* 使命页面 - 团队协作/办公 */
body.page-mission::before {
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&h=1080&fit=crop&q=85');
}

/* 招聘页面 - 现代办公空间 */
body.page-careers::before {
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&h=1080&fit=crop&q=85');
}

/* 博客页面 - 写作/知识分享 */
body.page-blog::before {
  background-image: url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?w=1920&h=1080&fit=crop&q=85');
}

/* 价格页面 - 商业/财务 */
body.page-pricing::before {
  background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1920&h=1080&fit=crop&q=85');
}

/* 演示页面 - 展示/演讲 */
body.page-demo::before {
  background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=1920&h=1080&fit=crop&q=85');
}

/* 安全与信任页面 - 网络安全 */
body.page-trust-security::before {
  background-image: url('https://images.unsplash.com/photo-1563986768609-322da13575f3?w=1920&h=1080&fit=crop&q=85');
}

/* 服务条款页面 - 法律文档 */
body.page-terms::before {
  background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1920&h=1080&fit=crop&q=85');
}

/* 隐私政策页面 - 数据保护 */
body.page-privacy::before {
  background-image: url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?w=1920&h=1080&fit=crop&q=85');
}

/* 帮助中心页面 - 支持/客服 */
body.page-help::before {
  background-image: url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?w=1920&h=1080&fit=crop&q=85');
}

/* Blog 详情页 - 阅读/内容 */
body.page-blog-detail::before {
  background-image: url('https://images.unsplash.com/photo-1432821596592-e2c18b78144f?w=1920&h=1080&fit=crop&q=85');
}

/* 确保内容在背景之上 */
.body {
  position: relative;
  z-index: 1;
}

/* 移动端优化 - 减少模糊和遮罩 */
@media (max-width: 768px) {
  body::after {
    background: rgba(0, 0, 0, 0.8);
  }
  
  body::before {
    background-attachment: scroll;
  }
}

/* 高性能设备 - 更好的视觉效果 */
@media (min-width: 1920px) {
  body::before {
    background-size: cover;
  }
}

/* 减少动画的设备 - 禁用视差效果 */
@media (prefers-reduced-motion: reduce) {
  body::before {
    background-attachment: scroll;
  }
}
