/* ---------- 通用容器 / 按钮 ---------- */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 96px 0;
}

/* 固定页头会盖住锚点目标的顶部，定位时留出它的高度。 */
section[id] {
  scroll-margin-top: 84px;
}

#home {
  scroll-margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-white {
  background: var(--surface);
  color: var(--ink);
}

.btn-white:hover {
  background: #eef3fb;
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #1666d0;
}

.btn-outline {
  background: var(--surface);
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: #c9d3e2;
}

.btn-block {
  width: 100%;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  transform: none;
}

