/* 基础样式设置 */
body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* 防止水平滚动条 */
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* 隐藏滚动条但保持滚动功能 */
html::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

body::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

/* 兼容Firefox */
html {
  scrollbar-width: none;
}

body {
  scrollbar-width: none;
}

/* 内容容器通用样式 */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 头部内容区布局 */
.head-content {
  display: grid;
  grid-template-columns: 7fr 3fr; /* 左侧文字区域占7份，右侧占3份 */
  gap: 40px;
  width: calc(100% - 80px); /* 左右各留40px边距 */
  max-width: 2160px;
  margin: 0 auto;
  padding: 100px 0 20px 0;
  align-items: center;
}

/* 当存在instruction-image时的布局调整 */
.head-content:has(.instruction-image) {
  display: block;
}

/* 文字内容区样式 */
.text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin-right: 0;
}

/* 主标题样式 */
h1 {
  color: #030020;
  margin-bottom: 24px;
  font-family: "Special Gothic Expanded One";
  font-weight: 400;
  font-size: 72px;
  line-height: 1.2;
  width: 100%;
}

/* 文字段落通用样式 */
p {
  margin: 0;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  font-family: "Noto Sans SC", sans-serif;
}

/* 头部文字段落样式 */
.text-content p {
  color: #030020;
  font-size: 22px;
}

/* 文字字重变体 */
.text-content .medium {
  font-weight: 500;
}

.text-content .bold {
  font-weight: 700;
}

/* 颜色文字特效 */
.color-text {
  display: inline-block;
  transition: color 0.4s ease;
}

/* 说明图片容器样式 */
.instruction-image {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

/* 图片署名样式 */
.instruction-image::after {
  content: "by: ChiemSeherin";
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Noto Sans SC", sans-serif;
}

/* 说明图片样式 */
.instruction-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 三图片展示区容器 */
.three-images {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  width: fit-content;
  height: 400px;
}

/* 三图片共同样式 */
.three-images img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 400px;
  width: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 三图片定位样式 */
.three-images img:nth-child(1),
.three-images img:nth-child(2),
.three-images img:nth-child(3) {
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* 头部图片区域容器 */
.head-image {
  width: calc(100% - 80px);
  max-width: 2160px;
  margin: 80px auto 0;
  height: 600px;
  position: relative;
}

/* 功能特性区域样式 */
.features {
  width: calc(100% - 80px);
  max-width: 2160px;
  margin: 120px auto 0;
  height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 功能特性标题样式 */
.features h2 {
  margin: 0;
  font-size: 36px;
  color: #030020;
}

/* 功能特性描述文字样式 */
.features p {
  margin: 8px 0 0 0;
  font-size: 18px;
  color: #666;
}

/* 功能点列表容器 */
.feature-points {
  width: calc(100% - 80px);
  max-width: 2160px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 三等分布局 */
  gap: 20px;
  height: auto;
}

/* 功能点卡片样式 */
.feature-points > div {
  background: #f5f5f5;
  border-radius: 12px;
  height: 280px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

/* 悬浮圆圈样式 */
.hover-circle {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: #0095ff;
  border-radius: 50%;
  transform: translate(-50%, 50%) scale(0);
  opacity: 0;
  z-index: 1;
}

/* 悬浮文字样式 */
.hover-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  opacity: 0;
  z-index: 2;
  white-space: normal;
  text-align: center;
  width: 80%;
  line-height: 1.5;
  pointer-events: none;
}

/* 功能点标题样式 */
.feature-points h3 {
  margin: 0;
  font-size: 32px;
  color: #030020;
  font-family: "Special Gothic Expanded One", sans-serif;
  font-weight: 400;
}

/* 功能点描述文字样式 */
.feature-points p {
  margin: 0;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  font-family: "Noto Sans SC", sans-serif;
}

/* 注释区域容器 */
.annotation {
  width: calc(100% - 80px);
  max-width: 2160px;
  margin: 180px auto 40px;
}

/* 注释标题样式 */
.annotation h1 {
  position: relative;
  margin-bottom: 40px;
}

/* 注释标题下划线 */
.annotation h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #e2e2e2;
}

/* 鼠标跟随圆圈样式 */
.cursor-follower {
  width: 60px;
  height: 60px;
  background: rgb(18, 160, 255);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  mix-blend-mode: difference;
}

.qa-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e2e2e2;
}

.qa-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.qa-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.qa-item h4 {
  margin-bottom: 10px;
  color: #030020;
}

.qa-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

/* 语言切换相关样式 */
.qa-cn,
.qa-en {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.qa-en {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  opacity: 0;
  transform: translateY(10px);
}

.qa-item:hover .qa-cn {
  opacity: 0;
  transform: translateY(-10px);
}

.qa-item:hover .qa-en {
  opacity: 1;
  transform: translateY(0);
}
