
/* ========================================
   XENONS DREAMS - TECHNOLOGY & SUPPORT
   独立样式，尽量避免影响网站其他模块
======================================== */

.dreams-support,
.dreams-support * {
  box-sizing: border-box;
}

.dreams-support {
  width: 100%;
  margin: 0 auto;
  padding: 35px 0 45px;
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
  overflow-wrap: break-word;
}

.dreams-support img {
  display: block;
  max-width: 100%;
  height: auto;
}

.dreams-support .ds-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.dreams-support .ds-kicker {
  margin: 0 0 10px;
  color: #5d6570;
  font-size: 11px;
  letter-spacing: 1.5px;
  line-height: 1.6;
}

.dreams-support h1,
.dreams-support h2,
.dreams-support h3,
.dreams-support p {
  margin-top: 0;
  text-align: center;
}

.dreams-support h1 {
  margin-bottom: 15px;
  color: #111;
  font-size: clamp(27px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.6px;
}

.dreams-support h2 {
  margin-bottom: 12px;
  color: #111;
  font-size: clamp(22px, 2.6vw, 29px);
  font-weight: 700;
  line-height: 1.4;
}

.dreams-support h3 {
  margin-bottom: 8px;
  color: #111;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.dreams-support p {
  margin-bottom: 17px;
  color: #333;
  font-size: 14px;
  line-height: 1.9;
}

.dreams-support .ds-subtitle {
  margin-bottom: 8px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.6;
}

.dreams-support .ds-rule {
  width: 42px;
  height: 1px;
  margin: 20px auto;
  background: #111;
}

.dreams-support .ds-section {
  padding: 36px 0;
  border-top: 1px solid #d8dce1;
}

.dreams-support .ds-intro {
  padding-top: 24px;
  padding-bottom: 30px;
}

.dreams-support .ds-section-label {
  margin-bottom: 8px;
  color: #5d6570;
  font-size: 11px;
  letter-spacing: 1.1px;
  line-height: 1.6;
}

.dreams-support .ds-image {
  width: 100%;
  margin: 26px auto;
  overflow: hidden;
}

.dreams-support .ds-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.dreams-support .ds-image-caption {
  margin-top: -17px;
  margin-bottom: 24px;
  color: #626a74;
  font-size: 10px;
  letter-spacing: 1px;
}

/* 三大优势 */

.dreams-support .ds-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 22px auto 0;
}

.dreams-support .ds-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 15px;
}

.dreams-support .ds-benefit + .ds-benefit {
  border-left: 1px solid #d8dce1;
}

.dreams-support .ds-benefit svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: #111;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dreams-support .ds-benefit span {
  color: #111;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

/* 技术介绍 */

.dreams-support .ds-technology {
  padding-top: 36px;
}

.dreams-support .ds-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 25px auto 0;
  border: 1px solid #d0d6de;
  border-radius: 4px;
  overflow: hidden;
}

.dreams-support .ds-tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 23px 14px;
}

.dreams-support .ds-tech-item + .ds-tech-item {
  border-left: 1px solid #d0d6de;
}

.dreams-support .ds-tech-item svg {
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  fill: none;
  stroke: #111;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dreams-support .ds-tech-item h3 {
  margin-bottom: 7px;
  font-size: 17px;
}

.dreams-support .ds-tech-item p {
  margin: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.7;
}

/* FAQ */

.dreams-support .ds-faq {
  width: 100%;
  max-width: 860px;
  margin: 24px auto 0;
  text-align: center;
}

.dreams-support .ds-faq-item {
  position: relative;
  width: 100%;
  border-bottom: 1px solid #cfd5dd;
}

.dreams-support .ds-faq-question {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 25px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 66px;
  padding: 16px 8px;
  border: 0;
  background: transparent;
  color: #111;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.dreams-support .ds-faq-letter {
  color: #6b7280;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
}

.dreams-support .ds-faq-title {
  color: #111;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  text-align: center;
}

.dreams-support .ds-faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #333;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.dreams-support .ds-faq-answer {
  display: none;
  padding: 0 38px 22px;
}

.dreams-support .ds-faq-item.is-open .ds-faq-answer {
  display: block;
}

.dreams-support .ds-faq-answer p {
  max-width: 760px;
  margin: 0 auto;
  color: #444;
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
}

.dreams-support .ds-faq-question:focus-visible {
  outline: 1px solid #777;
  outline-offset: -2px;
}

/* 底部联系区域 */

.dreams-support .ds-contact {
  padding-top: 35px;
  padding-bottom: 5px;
  border-top: 1px solid #d8dce1;
}

.dreams-support .ds-contact h2 {
  margin-bottom: 9px;
  font-size: 23px;
}

.dreams-support .ds-contact p {
  margin-bottom: 22px;
}

.dreams-support .ds-contact-link {
  display: inline-block;
  padding: 11px 30px;
  border: 1px solid #222;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.7;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.dreams-support .ds-contact-link:hover {
  background: #111;
  color: #fff;
}

/* 手机端 */

@media screen and (max-width: 767px) {
  .dreams-support {
    padding: 24px 0 30px;
    font-size: 14px;
  }

  .dreams-support .ds-container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .dreams-support .ds-section {
    padding: 27px 0;
  }

  .dreams-support .ds-intro {
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .dreams-support p {
    font-size: 13px;
    line-height: 1.85;
  }

  .dreams-support .ds-image {
    margin: 21px auto;
  }

  .dreams-support .ds-image img {
    aspect-ratio: 2 / 1;
  }

  .dreams-support .ds-benefit {
    padding: 10px 5px;
    gap: 8px;
  }

  .dreams-support .ds-benefit svg {
    width: 25px;
    height: 25px;
  }

  .dreams-support .ds-benefit span {
    font-size: 9px;
  }

  .dreams-support .ds-tech-item {
    padding: 17px 7px;
  }

  .dreams-support .ds-tech-item svg {
    width: 28px;
    height: 28px;
  }

  .dreams-support .ds-tech-item h3 {
    font-size: 14px;
  }

  .dreams-support .ds-tech-item p {
    font-size: 11px;
    line-height: 1.6;
  }

  .dreams-support .ds-faq {
    margin-top: 18px;
  }

  .dreams-support .ds-faq-question {
    grid-template-columns: 25px minmax(0, 1fr) 20px;
    gap: 6px;
    min-height: 60px;
    padding: 13px 0;
  }

  .dreams-support .ds-faq-letter {
    font-size: 15px;
  }

  .dreams-support .ds-faq-title {
    font-size: 13px;
  }

  .dreams-support .ds-faq-toggle {
    font-size: 20px;
  }

  .dreams-support .ds-faq-answer {
    padding: 0 8px 18px;
  }

  .dreams-support .ds-faq-answer p {
    font-size: 13px;
  }
}
