@font-face {
  font-family: "Poppins";
  src: url("../public/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../public/Poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../public/Poppins/Poppins-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

html {
  overflow-x: hidden;
}

html,
body {
  width: 100%;
  background: #fff;
  font-family: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;

  background: #fff;
  color: #222;
}

a {
  text-decoration: none;
  color: inherit;
}

a:focus-visible {
  outline: none;
}

li {
  list-style: none;
}

.header-bg {
  background-image: url("../images/webproxy_bg.webp");
  background-size: 100%;
  height: 480px;
  width: 100%;
  /* display: flex;
    justify-content: center; */
  margin-top: 72px;
}

.header-bg-box {
  width: 1004px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.header-bg-title {
  color: #041e39;
  font-size: 54px;
  line-height: 81px;
  font-weight: bold;
  text-align: center;
  font-family: "Poppins", sans-serif;
  padding-top: 103px;
  padding-bottom: 16px;
}

.header-bg-text {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #4f5c65;
  line-height: 27px;
  text-align: center;
  font-style: normal;
}

.header-bg-input {
  /* width: 816px; */
  height: 91px;
  margin-top: 40px;
}

.center_first {
  width: 1208px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.center_first_nothing {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  margin-top: 80px;
}

/* 图片自适应，不超出容器 */
.center_first_nothing_img img {
  display: block;
  width: 596px;
  height: auto;
  object-fit: cover;
}

/* 文字样式（可选） */
.center_first_nothing_text p {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 38px;
  color: #041e39;
  line-height: 57px;
  text-align: left;
  font-style: normal;
}

.center_first_nothing_text span {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #4f5c65;
  line-height: 27px;
  text-align: left;
  font-style: normal;
  padding-right: 56px;
  display: block;
  word-break: break-word;
  white-space: normal;
  padding-top: 20px;
}

.center_first_rate {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  margin-top: 80px;
}

/* 图片自适应，不超出容器 */
.center_first_rate_img img {
  display: block;
  width: 596px;
  height: auto;
  object-fit: cover;
}

.center_first_rate_text {
  padding-left: 56px;
}

/* 文字样式（可选） */
.center_first_rate_text p {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 38px;
  color: #041e39;
  line-height: 57px;
  text-align: left;
  font-style: normal;
}

.center_first_rate_text span {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #4f5c65;
  line-height: 27px;
  text-align: left;
  font-style: normal;
  display: block;
  word-break: break-word;
  white-space: normal;
  padding-top: 20px;
}

.proxies {
  background: #fff;
  padding-top: 6.25rem;
}

.proxies .proxies-title {
  font-size: 2.375rem;
  font-weight: bold;
  color: #041e39;
  text-align: center;
  margin-bottom: 1rem;
}

.proxies .proxies-desc {
  text-align: center;
  color: #4f5c65;
  margin-bottom: 40px;
}

.proxies .proxies-content {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.questions_box {
  width: 100%;
  height: 736px;
  background-color: #f7fafc;
  margin-top: 80px;
}

.questions_box_text {
  width: 1208px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  gap: 16px;
}

.questions_box_text_img {
  padding-top: 93px;
  width: 392px;
}

.questions_box_text_img img {
  width: 392px;
}

.questions_box_text_collapse {
  width: 100%;
}

.questions_box_text_collapse h1 {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 38px;
  color: #041e39;
  line-height: 57px;
  text-align: left;
  font-style: normal;
  padding-top: 80px;
}

/* FAQ 容器 */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* 面板之间的间距，和你之前的16px统一 */
  margin-top: 24px;
}

/* 单个FAQ项 */
.faq-item {
  box-shadow: 0px 0px 5px 0px rgba(186, 195, 212, 0.5);
  border-radius: 16px;
  border: 1px solid #dfe6f3;
  background-color: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* 问题按钮 */
.faq-question {
  width: 100%;
  padding: 30px 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-question span {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #041e39;
  line-height: 27px;
  text-align: left;
  font-style: normal;
}

/* 图标样式（+/-） */
.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

/* 展开状态的图标 */
.faq-item.active .faq-icon {
  transform: rotate(0deg);
}

/* 收起状态的图标（默认） */
.faq-item .faq-icon {
  transform: rotate(0deg);
}

/* 答案区域 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

.faq-answer p {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #4f5c65;
  line-height: 25px;
  text-align: left;
  font-style: normal;
}

/* 展开状态的答案 */
.faq-item.active .faq-answer {
  max-height: 500px;
  /* 足够大的高度，适配长文本 */
  padding: 0 24px 30px;
}

/* 标题样式（和你页面统一） */
.questions_box_text_collapse h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #1a374d;
  margin: 0;
}

/* 响应式适配（手机端） */
@media (max-width: 768px) {
  .header-bg {
    height: auto;
    margin-top: 64px;
    padding: 24px 16px 20px;
    background-size: cover;
    background-position: center;
  }

  .header-bg-box,
  .center_first,
  .questions_box_text {
    width: 100%;
    max-width: 100%;
  }

  .header-bg-title {
    font-size: 32px;
    line-height: 1.25;
    padding-top: 0;
  }

  .header-bg-text {
    font-size: 14px;
    line-height: 1.6;
    display: block;
    margin-top: 12px;
  }

  .header-bg-input {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  .center_first {
    padding: 0 16px;
  }

  .center_first_nothing,
  .center_first_rate {
    flex-direction: column;
    margin-top: 48px;
    gap: 16px;
  }

  .center_first_rate {
    flex-direction: column-reverse;
  }

  .center_first_nothing_img,
  .center_first_rate_img {
    width: 100%;
  }

  .center_first_nothing_img img,
  .center_first_rate_img img {
    width: 100%;
  }

  .center_first_rate_text {
    padding-left: 0;
  }

  .center_first_nothing_text p,
  .center_first_rate_text p {
    font-size: 28px;
    line-height: 1.35;
  }

  .center_first_nothing_text span,
  .center_first_rate_text span {
    font-size: 15px;
    line-height: 1.7;
    padding-right: 0;
    padding-top: 12px;
  }

  .proxies .proxies-desc {
    width: auto !important;
  }

  .questions_box {
    height: auto;
    margin-top: 56px;
    padding: 0 16px 40px;
  }

  .questions_box_text {
    flex-direction: column;
    gap: 0;
  }

  .questions_box_text_img {
    width: 100%;
    padding-top: 40px;
  }

  .questions_box_text_img img {
    width: 100%;
  }

  .questions_box_text_collapse h1 {
    padding-top: 24px;
    line-height: 1.3;
  }

  .faq-question {
    font-size: 18px;
    padding: 20px 20px;
  }

  .faq-question span {
    font-size: 16px;
    line-height: 1.5;
  }

  .faq-answer {
    font-size: 16px;
    padding: 0 16px;
  }

  .faq-item.active .faq-answer {
    padding: 0 16px 20px;
  }

  .questions_box_text_collapse h1 {
    font-size: 24px;
  }
}
