/* Landing Page 样式：呈现复古终端美学与可读布局 */
* {
  box-sizing: border-box;
}

body {
  /* 设置整体风格：复古终端背景与 VT323 字体 */
  font-family: 'VT323', monospace;
  background-color: #020c0a;
  color: #ccffd7;
  margin: 0;
  line-height: 1.6;
}

a {
  color: inherit;
}

.page {
  /* 控制页面宽度与留白，便于聚焦内容 */
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.hero {
  /* 首屏区域采用居中布局与背景渲染 */
  text-align: center;
  border: 1px solid rgba(0, 255, 128, 0.3);
  padding: 3rem 2rem;
  margin-bottom: 3.5rem;
  background: radial-gradient(circle at top, rgba(0, 255, 136, 0.08), rgba(0, 0, 0, 0));
  box-shadow: 0 0 40px rgba(0, 255, 128, 0.08);
}

.hero__logo {
  height: 120px;
  margin-bottom: 1.2rem;
}

.hero__tag {
  /* 宣传语采用终端感配色 */
  color: #00ff88;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 0.4rem 0 1rem;
}

.hero__subtitle {
  font-size: 1.4rem;
  color: rgba(204, 255, 215, 0.85);
  max-width: 720px;
  margin: 0 auto 2rem;
}

.cta {
  /* CTA 按钮以终端绿突出可点击性 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.4rem;
  border: 1px solid #00ff88;
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover,
.cta:focus {
  background: rgba(0, 255, 136, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(0, 255, 128, 0.2);
}

.hero__badge {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.grid {
  /* 卖点区域采用响应式网格 */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  margin-bottom: 3.5rem;
}

.card {
  border: 1px solid rgba(0, 255, 128, 0.25);
  padding: 1.8rem;
  background-color: rgba(0, 20, 12, 0.7);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 128, 0.05);
}

.card h2 {
  color: #7cffc4;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1.2rem;
  color: rgba(195, 255, 220, 0.88);
}

.section {
  /* 通用内容区段，增强层次 */
  margin-bottom: 3.5rem;
  border-left: 2px solid rgba(0, 255, 128, 0.3);
  padding-left: 1.8rem;
}

.section h2 {
  font-size: 2rem;
  color: #00ff88;
  margin-bottom: 1.2rem;
}

.section p,
.section li {
  font-size: 1.2rem;
  color: rgba(204, 255, 215, 0.85);
}

.list {
  /* 列表采用更紧凑的行距 */
  list-style: square;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
}

.section--features {
  border-left: none;
  padding-left: 0;
}

.feature-grid {
  /* 特性区采用多列卡片式展示 */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-item {
  border: 1px solid rgba(0, 255, 128, 0.2);
  padding: 1.2rem;
  background: rgba(0, 25, 16, 0.7);
  font-size: 1.1rem;
}

.gallery {
  /* 截图画廊：单行排列并支持横向滚动 */
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.gallery img {
  width: clamp(220px, 28vw, 320px);
  flex: 0 0 auto;
  border: 1px solid rgba(0, 255, 128, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 128, 0.12);
  background: rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
  /* 小屏适配：缩小首屏与排版间距 */
  .hero {
    padding: 2.4rem 1.5rem;
  }

  .hero__logo {
    height: 96px;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }

  .section {
    margin-bottom: 2.5rem;
    padding-left: 1.2rem;
  }
}