/* ===== NewAI Base Styles ===== */
/* NewAI基础样式 - 重置、HTML/Body、背景效果 */

/* 重置样式 - CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HTML基础设置 */
html {
  scroll-behavior: smooth;
}

/* Body样式 */
body {
  background: linear-gradient(180deg, #0a0f0f 0%, #051212 100%);
  min-height: 100vh;
  font-family: var(--font-chinese);
  color: var(--newai-text-primary);
  overflow-x: hidden;
  line-height: 1.8;
}

/* 背景网格效果 - Background Grid */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(64, 186, 171, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 186, 171, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* 扫描线效果 - Scanlines */
.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(64, 186, 171, 0.015) 0px,
    rgba(64, 186, 171, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 1000;
}

/* 滚动进度条 - Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--newai-primary), var(--newai-accent));
  box-shadow: 0 0 10px var(--newai-primary);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s;
}

/* 通用容器 - Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* 通用章节样式 - Section */
section {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px;
}

/* 响应式 - Responsive */
@media (max-width: 600px) {
  section {
    padding: 80px 20px;
  }
}
