* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--qy-title);
  background: var(--qy-white);
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.qy-container {
  width: min(var(--qy-container), calc(100% - 40px));
  margin: 0 auto;
}

.qy-section {
  padding: 84px 0;
}

.qy-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.qy-section-head h2,
.qy-partner-card h2,
.qy-cta h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.6px;
}

.qy-section-head p {
  max-width: 590px;
  margin: 0;
  color: var(--qy-text);
  line-height: 1.8;
}

.qy-section-label {
  width: fit-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  color: var(--qy-primary);
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: var(--qy-white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: var(--qy-shadow-sm);
}

.qy-btn {
  min-width: 138px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.qy-btn:hover {
  transform: translateY(-2px);
}

.qy-btn--primary {
  color: var(--qy-white);
  background: linear-gradient(135deg, var(--qy-primary), var(--qy-sky));
  box-shadow: 0 16px 34px rgba(18, 99, 255, 0.24);
}

.qy-btn--secondary {
  color: var(--qy-title);
  background: var(--qy-white);
  border: 1px solid var(--qy-line);
}

.qy-btn--light {
  color: var(--qy-primary);
  background: var(--qy-white);
}

.qy-btn--ghost {
  color: var(--qy-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .qy-section {
    padding: 62px 0;
  }

  .qy-section-head {
    display: block;
  }

  .qy-section-head p {
    margin-top: 12px;
  }
}

@media (max-width: 760px) {
  .qy-container {
    width: min(100% - 28px, var(--qy-container));
  }

  .qy-btn {
    width: 100%;
  }
}

/* 维护页兼容 */
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.text-center { text-align: center; }
#notfound { min-height: 520px; padding: 80px 20px; }
.notfound-404 h1 { margin: 0; color: var(--qy-primary); font-size: clamp(56px, 10vw, 120px); line-height: 1; }
.notfound h2 { margin: 22px 0 10px; color: var(--qy-title); font-size: 28px; }
.notfound p { margin: 0; color: var(--qy-muted); }

/* ===== 20260704 定向修复：点击态/选中态文字统一用蓝色，避免白字冲突 ===== */
button.is-active,
a.is-active,
[aria-selected="true"] {
  color: var(--qy-primary) !important;
}

button.is-active strong,
a.is-active strong,
[aria-selected="true"] strong {
  color: var(--qy-primary) !important;
}
