/* 样式仅挂在 .yqgqdc，避免影响主站头尾 */
.yqgqdc {
  --yq-blue: #2f6bff;
  --yq-blue-soft: #5b8cff;
  --yq-navy: #1a2744;
  --yq-text: #4a5568;
  --yq-muted: #7b8494;
  --yq-line: #d7e4ff;
  --yq-bg: #f5f7fb;
  --yq-dark: #243a6b;
  --yq-card: #ffffff;
  --yq-wrap: 1200px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--yq-text);
  line-height: 1.7;
  font-size: 15px;
  background: transparent;
}

.yqgqdc *,
.yqgqdc *::before,
.yqgqdc *::after {
  box-sizing: border-box;
}

.yqgqdc img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

.yqgqdc h1,
.yqgqdc h2,
.yqgqdc h3,
.yqgqdc p {
  margin: 0;
}

.yqgqdc-wrap {
  width: min(100% - 40px, var(--yq-wrap));
  margin: 0 auto;
}

/* ----- Hero ----- */
.yqgqdc-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  background-color: #c5dff5;
  background-image: url("../images/hero-bg.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

.yqgqdc-hero__copy {
  max-width: 640px;
  padding: 64px 0;
}

.yqgqdc-hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--yq-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.yqgqdc-hero__title {
  margin-top: 18px;
  color: var(--yq-navy);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.yqgqdc-hero__slogan {
  margin-top: 14px;
  color: var(--yq-navy);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.yqgqdc-hero__desc {
  margin-top: 14px;
  max-width: 560px;
  color: #5c6573;
  font-size: 14px;
  line-height: 1.85;
}

.yqgqdc-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.yqgqdc-hero__tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid #9bb8e6;
  border-radius: 999px;
  background: #fff;
  color: #3d6cb5;
  font-size: 14px;
}

/* ----- Sections ----- */
.yqgqdc-sec {
  padding: 80px 0;
}

.yqgqdc-sec--plain {
  background: #fff;
}

.yqgqdc-sec--muted {
  background: var(--yq-bg);
}

.yqgqdc-sec--dark {
  background: var(--yq-dark);
}

.yqgqdc-hd {
  text-align: center;
  margin-bottom: 48px;
}

.yqgqdc-hd__title {
  color: var(--yq-navy);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.yqgqdc-hd__sub {
  margin-top: 16px;
  color: var(--yq-muted);
  font-size: 14px;
}

/* ----- Problems: 1 featured + 2x2 ----- */
.yqgqdc-problems {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 16px;
  align-items: stretch;
}

.yqgqdc-problems__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.yqgqdc-problem {
  position: relative;
  overflow: hidden;
  padding: 20px 22px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, #dbe8fc 0%, #ffffff 72%);
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.yqgqdc-problem:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 45, 100, 0.08);
}

.yqgqdc-problem--featured {
  background: linear-gradient(180deg, #abc5eb 0%, #fbfdfe 100%);
}

.yqgqdc-problem h3 {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 52px);
  color: #1a3a5c;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.yqgqdc-problem--featured h3 {
  max-width: none;
  font-size: 17px;
}

.yqgqdc-problem__body {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  padding-right: 56px;
  color: var(--yq-text);
  font-size: 13px;
  line-height: 1.75;
}

.yqgqdc-problem--featured .yqgqdc-problem__body {
  padding-right: 0;
  line-height: 1.85;
}

.yqgqdc-problem__mark {
  position: absolute;
  right: 14px;
  top: 16px;
  width: 56px;
  height: auto;
  pointer-events: none;
  opacity: 0.9;
}

.yqgqdc-problem--featured .yqgqdc-problem__mark {
  top: auto;
  bottom: 10px;
  right: 8px;
  width: 108px;
}

/* ----- Architecture ----- */
.yqgqdc-arch {
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(26, 39, 68, 0.06);
}

.yqgqdc-arch img {
  display: block;
  width: 100%;
}

/* ----- Solutions: vertical tabs in one card ----- */
.yqgqdc-tabs {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
  background: #fff;
  border: 1px solid #d8dbeb;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 50, 100, 0.06);
  overflow: hidden;
}

.yqgqdc-tabs__nav {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #f1f5fa;
}

.yqgqdc-tabs__btn {
  appearance: none;
  flex: 1;
  width: 100%;
  border: 0;
  border-right: 1px solid #d8dbeb;
  border-bottom: 1px solid #d8dbeb;
  background: transparent;
  color: #657f97;
  border-radius: 0;
  padding: 14px 18px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.yqgqdc-tabs__btn:last-child {
  border-bottom: 0;
}

.yqgqdc-tabs__btn:hover {
  color: #1a3a5c;
}

.yqgqdc-tabs__btn.is-active {
  border-right-color: transparent;
  background: #fff;
  color: #1a3a5c;
  font-weight: 700;
}

.yqgqdc-tabs__panels {
  min-width: 0;
  padding: 36px 32px;
}

.yqgqdc-tabs__panel {
  display: none;
  grid-template-columns: 0.92fr 1.08fr;
  grid-template-areas: "copy media";
  gap: 32px;
  align-items: center;
}

.yqgqdc-tabs__panel.is-active {
  display: grid;
}

.yqgqdc-tabs__copy {
  grid-area: copy;
}

.yqgqdc-tabs__media {
  grid-area: media;
}

.yqgqdc-tabs__copy h3 {
  color: var(--yq-navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.yqgqdc-tabs__lead {
  margin-top: 12px;
  color: var(--yq-blue);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.yqgqdc-tabs__copy p {
  margin-top: 16px;
  color: var(--yq-text);
  font-size: 15px;
  line-height: 1.9;
}

.yqgqdc-tabs__copy p.yqgqdc-tabs__lead {
  margin-top: 12px;
  color: #1677ff;
}

.yqgqdc-tabs__media img {
  display: block;
  width: 100%;
}

/* ----- Features: light 2 + 3 ----- */
.yqgqdc-feats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.yqgqdc-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  grid-column: span 2;
  padding: 24px 22px;
  border-radius: 12px;
  background: #e7f0fd;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.yqgqdc-feat:nth-child(-n+2) {
  grid-column: span 3;
}

.yqgqdc-feat:nth-child(n+3) {
  grid-column: span 2;
}

.yqgqdc-feat:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 45, 100, 0.08);
}

.yqgqdc-feat img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

.yqgqdc-feat__copy {
  min-width: 0;
}

.yqgqdc-feat h3 {
  color: var(--yq-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.yqgqdc-feat p {
  margin-top: 8px;
  color: var(--yq-text);
  font-size: 13px;
  line-height: 1.8;
}

/* ----- Values: left bar + icon ----- */
.yqgqdc-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.yqgqdc-value {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #e8eef8;
  border-radius: 12px;
  background: #f8faff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.yqgqdc-value:hover {
  transform: translateY(-3px);
  border-color: #d0e0f8;
  box-shadow: 0 12px 28px rgba(15, 45, 100, 0.1);
}

.yqgqdc-value__icon {
  flex-shrink: 0;
  width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #3b8bff, #1677ff);
}

.yqgqdc-value__icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.yqgqdc-value__copy {
  flex: 1;
  min-width: 0;
  padding: 24px 22px;
}

.yqgqdc-value h3 {
  color: var(--yq-navy);
  font-size: 18px;
  font-weight: 700;
}

.yqgqdc-value p {
  margin-top: 10px;
  color: var(--yq-text);
  font-size: 13px;
  line-height: 1.8;
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .yqgqdc-problems,
  .yqgqdc-problems__grid {
    grid-template-columns: 1fr 1fr;
  }

  .yqgqdc-problems {
    grid-template-columns: 1fr;
  }

  .yqgqdc-tabs {
    grid-template-columns: 1fr;
  }

  .yqgqdc-tabs__nav {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    border-bottom: 1px solid #d8dbeb;
  }

  .yqgqdc-tabs__btn {
    flex: 1 1 auto;
    width: auto;
    border-right: 1px solid #d8dbeb;
    border-bottom: 3px solid transparent;
    padding: 10px 14px;
  }

  .yqgqdc-tabs__btn:last-child {
    border-right: 0;
    border-bottom: 3px solid transparent;
  }

  .yqgqdc-tabs__btn.is-active {
    border-right-color: transparent;
    border-bottom-color: #1a3a5c;
    background: #fff;
    color: #1a3a5c;
  }

  .yqgqdc-tabs__panel.is-active {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "copy";
    gap: 28px;
  }

  .yqgqdc-feats {
    grid-template-columns: 1fr 1fr;
  }

  .yqgqdc-feat,
  .yqgqdc-feat:nth-child(-n+2),
  .yqgqdc-feat:nth-child(n+3) {
    grid-column: auto;
  }

  .yqgqdc-hero__title {
    font-size: 34px;
  }
}

@media (max-width: 720px) {
  .yqgqdc-hero {
    min-height: 0;
    background-position: 70% center;
  }

  .yqgqdc-hero__copy {
    max-width: none;
    padding: 48px 0 56px;
  }

  .yqgqdc-hero__title {
    font-size: 28px;
  }

  .yqgqdc-hero__slogan {
    font-size: 16px;
  }

  .yqgqdc-sec {
    padding: 56px 0;
  }

  .yqgqdc-hd__title {
    font-size: 26px;
  }

  .yqgqdc-problems,
  .yqgqdc-problems__grid,
  .yqgqdc-feats,
  .yqgqdc-values {
    grid-template-columns: 1fr;
  }

  .yqgqdc-tabs__panels {
    padding: 24px 18px;
  }

  .yqgqdc-tabs__btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .yqgqdc-tabs__copy h3 {
    font-size: 22px;
  }
}
