/* Service Consultation Page - 按设计图：背景+白色大卡片(Tab+两栏) */

.service-page {
  position: relative;
}

.service-page .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  /* padding: var(--spacing-3xl) var(--container-padding); */
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* 主内容区：仅作定位容器，背景与内容分层 */
.service-section {
  position: relative;
  min-height: 830px;
}

/* 背景图单独一层：高度 830px，宽度全屏 */
.service-section__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 830px;
  background-image: url('../images/service/service-bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
  z-index: 0;
}

/* 内容层：浮在背景图之上，居中排布 */
.service-section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  min-height: 830px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  padding-bottom: 60px;
  box-sizing: border-box;
}

/* 白色大卡片：包含 Tab 与两栏，居中、圆角、阴影 */
.service-card {
  width: 100%;
  background: #FFFFFF;
  border-radius: 12px;
  /* box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08); */
  overflow: hidden;
  box-sizing: border-box;
}

/* 卡片内顶部 Tab 导航 - 按设计图 */
.service-tabs {
  display: flex;
  justify-content: center;
  gap: 120px;
  border-bottom: 1px solid #EBF0FF;
  margin: 0px 150px;
  padding-top: 40px;
  margin-bottom: 0;
}

.service-tab {
  text-decoration: none;
  font-family: PingFang SC, Microsoft YaHei !important;
  padding-bottom: 14px;
  margin-bottom: -1px;
  position: relative;
  transition: color var(--transition-base);
  font-weight: 600;
  font-size: 26px;
  color: #999999;
}

.service-tab:hover {
  color: #2B63F8;
}

/* 选中态：蓝色文字 + 略短于文字的蓝色下划线，居中 */
.service-tab-active {
  color: #2B63F8;
}

.service-tab-active::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0px;
  width: 76%;
  height: 4px;
  background: #2B63F8;
  border-radius: 0;
}

/* 学校采购 Tab 内容：样式与接口调用卡片一致，背景 pur-item-bg.png */
.service-pane-school {
  display: block;
  padding: 40px 80px 48px;
  box-sizing: border-box;
}

.service-school-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
}

.service-school-item {
  width: 380px;
  height: 160px;
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 20px 18px;
  box-sizing: border-box;
  background-color: #F0F4FF;
  background-image: url('../images/service/pur-item-bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: box-shadow var(--transition-base);
}

.service-school-item:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.service-school-item__title {
  font-weight: 600;
  font-size: 24px;
  color: #000;
  margin: 0 0 20px 0;
  font-family: PingFang SC, Microsoft YaHei !important;
  line-height: 1.3;
}

.service-school-item__desc {
  font-weight: 400;
  font-size: 18px;
  color: #555555;
  margin: 0;
  line-height: 1.6;
  font-family: PingFang SC, Microsoft YaHei !important;
}

.service-school-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* 接口调用 Tab 内容 */
.service-pane-api {
  display: none;
  padding: 40px 80px 48px;
  box-sizing: border-box;
}

.service-pane-business {
  display: none;
}

.service-api-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.service-api-item {
  width: 380px;
  height: 180px;
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 20px 18px;
  box-sizing: border-box;
  background-color: #F0F4FF;
  background-image: url('../images/service/api-item-bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); */
  transition: box-shadow var(--transition-base);
}

.service-api-item:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.service-api-item__title {
  font-weight: 600;
  font-size: 24px;
  color: #000;
  
  margin: 0 0 20px 0;
  font-family: PingFang SC, Microsoft YaHei !important;
  line-height: 1.3;
}
.line-color{
   /* 文字渐变 */
   background: linear-gradient(90deg, #2B63F8 0%,#2B63F8 50%, #8166FE 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}
.service-api-item__desc {
  font-weight: 400;
  font-size: 18px;
  color: #555555;
  margin: 0;
  line-height: 1.6;
  font-family: PingFang SC, Microsoft YaHei !important;
}

.service-api-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-api {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-xl);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  font-family: PingFang SC, Microsoft YaHei !important;
  transition: opacity var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
  box-sizing: border-box;
}

.btn-api-primary {
  background: linear-gradient( 270deg, #4197F9 0%, #2E6BF8 100%);
  box-shadow: 0px 6px 16px 0px rgba(19,41,70,0.16);
  border-radius: 8px 8px 8px 8px;
  color: #FFFFFF;
  border: none;
}

.btn-api-primary:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(43, 99, 248, 0.3);
}

.btn-api-outline {
  background: #FFFFFF;
  box-shadow: 0px 6px 16px 0px rgba(19,41,70,0.1);
  border-radius: 8px 8px 8px 8px;
}

.btn-api-outline:hover {
  border-color: #2B63F8;
  color: #2B63F8;
}

/* 卡片内两栏布局 */
.service-form-wrapper {
  width: 100%;
  display: flex;
  /* gap: 435px; */
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 200px;
  box-sizing: border-box;
  border: 1px solid #E3EEFE;
  border-radius: 16px;
  border-top: 0;
}

/* 左侧：基础信息 */
.service-info-col {
  flex: 0 0 auto;
  min-width: max-content;
}

.service-info-title {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 40px 0;
  padding-bottom: 0;
  display: inline-block;
  font-family: PingFang SC, Microsoft YaHei !important;
  white-space: nowrap;
  line-height: 1.3;
  position: relative;
}

/* 短蓝色下划线：仅位于标题左侧文字下方，与图片一致 */
.service-info-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 24px;
  height: 4px;
  background: #2B63F8;
  border-radius: 0;
}

.service-info-desc {
  margin: 0 0 6px 0;
  font-family: PingFang SC, Microsoft YaHei !important;
  line-height: 1.6;
  font-weight: 400;
  font-size: 20px;
  color: #666666;
  white-space: nowrap;
}

.service-info-desc:last-of-type {
  margin-bottom: 0;
}

/* 左侧描述首句中的蓝色高亮（设计图：「如果您已经」为蓝色） */
.service-info-desc-highlight {
  color: #2B63F8;
}

/* 右侧：表单 */
.service-form-col {
  flex: 0 0 495px;
  width: 495px;
  max-width: 100%;
  min-width: 0;
}

.service-form {
  width: 100%;
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  font-family: PingFang SC, Microsoft YaHei !important;
  margin-bottom: 8px;
  line-height: 1.5;
}

.form-label .required {
  color: #FF4444;
  margin-left: 4px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 14px;
  color: #333333;
  font-family: PingFang SC, Microsoft YaHei !important;
  background-color: #FFFFFF;
  box-sizing: border-box;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  height: 42px;
  line-height: 1.5;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #2B63F8;
  box-shadow: 0 0 0 2px rgba(47, 116, 237, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #BBBBBB;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  height: auto;
  padding: 10px 14px;
  line-height: 1.6;
}

/* 验证码输入组 */
.form-input-group {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.form-input-code {
  flex: 1;
  min-width: 0;
}

.captcha-image {
  width: 120px;
  height: 42px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  object-fit: cover;
  transition: border-color var(--transition-base), opacity var(--transition-base);
  background-color: #F5F5F5;
}

.captcha-image:hover {
  border-color: #2B63F8;
  opacity: 0.9;
}

/* 提交按钮 */
.btn-submit {
  width: 100%;
  height: 44px;
  padding: 0;
  background: #2B63F8;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-family: PingFang SC, Microsoft YaHei !important;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition-base), box-shadow var(--transition-base);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  line-height: 44px;
  box-sizing: border-box;
}

.btn-submit:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(47, 116, 237, 0.3);
}

.btn-submit:disabled {
  background: #CCCCCC;
  cursor: not-allowed;
  opacity: 1;
  box-shadow: none;
}

/* 提示文字 */
.form-tip {
  font-size: 13px;
  color: #999999;
  margin: 15px 0;
  font-family: PingFang SC, Microsoft YaHei !important;
  line-height: 1.5;
  text-align: center;
}

/* 学校订购模块：学校版开通优势 */
.school-advantage-section {
  background: #F9FBFD;
  padding: 64px 0 64px;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.school-advantage-container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 54px var(--container-padding) 40px;
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 16px;
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06); */
  position: relative;
  margin-top: -150px;
  z-index: 2;
}

.school-advantage-title {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: 44px;
  font-family: PingFang SC, Microsoft YaHei !important;
  letter-spacing: 2px;
  text-align: center;
  margin: 0 0 48px 0;
}

.school-advantage-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 120px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.school-advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}

.school-advantage-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #2B63F8;
  margin-bottom: 16px;
  flex-shrink: 0;
  overflow: hidden;
}

.school-advantage-item__icon img {
  /* width: 44px;
  height: 44px; */
  object-fit: contain;
  display: block;
}

.school-advantage-item__text {
  font-weight: 600;
  font-size: 24px;
  color: #000000;
  text-align: center;
  margin: 0;
  line-height: 1.5;
  font-family: PingFang SC, Microsoft YaHei !important;
}

/* 支持开通学校版产品 */
.school-products-section {
  background: #FFFFFF;
  padding: 64px 0 80px;
}

.school-products-container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  box-sizing: border-box;
}

.school-products-title {
  font-size: 40px;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin: 0 0 56px 0;
  font-family: PingFang SC, Microsoft YaHei !important;
  letter-spacing: 2px;
}

/* 一行：左侧视觉区约 60%，右侧文案卡片约 40%，两端对齐、垂直居中 */
.school-product-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 80px;
  height: 527px;
  background-color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
}

.school-product-row:last-child {
  margin-bottom: 0;
}

/* 左侧：设备截图区，固定宽高 */
.school-product-visual {
  position: relative;
  flex: 0 0 725px;
  width: 725px;
  height: 527px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.school-product-visual__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/service/top-left.png');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  z-index: 0;
  pointer-events: none;
}

.school-product-visual__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.08));
}

/* 右侧：产品信息卡片，固定高度 */
.school-product-card {
  flex: 1;
  min-width: 0;
  height: 527px;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;

  padding: 65px 72px 32px;
  box-sizing: border-box;
}

/* 品牌区：上方小图标 + 下方小字标签（垂直排列） */
.school-product-card__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.school-product-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.school-product-card__label {
  font-size: 14px;
  color: #2B63F8;
  font-weight: 500;
  font-family: PingFang SC, Microsoft YaHei !important;
  line-height: 1.4;
}

.school-product-card__name {
  font-weight: 600;
  font-size: 36px;
  color: #2B63F8;
  font-family: PingFang SC, Microsoft YaHei !important;
  line-height: 1.3;
}

.school-product-card__desc {
  font-weight: 400;
  font-size: 24px;
  color: #555555;
  line-height: 46px;
  margin: 0 0 28px 0;
  font-family: PingFang SC, Microsoft YaHei !important;
  flex: 1;
}

.school-product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 600;
  color: #2B63F8;
  text-decoration: none;
  font-family: PingFang SC, Microsoft YaHei !important;
  transition: opacity 0.2s, color 0.2s;
  margin-top: auto;
  align-self: flex-end;
}

.school-product-card__link:hover {
  opacity: 0.85;
  color: #1a4fd4;
}

.school-product-card__arrow {
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
}

/* 学校版购买弹窗 */
.school-buy-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.school-buy-modal.is-open {
  display: block;
}

.school-buy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.school-buy-modal__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  max-width: calc(100% - 32px);
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  padding: 28px 32px 24px;
  box-sizing: border-box;
  font-family: PingFang SC, Microsoft YaHei !important;
}

.school-buy-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #999999;
}

.school-buy-modal__close:hover {
  color: #555555;
}

.school-buy-modal__title {
  font-size: var(--font-size-2xl); /* 稍大一些，作为弹窗主标题 */
  font-weight: 600;
  color: #000000;
  margin: 0 0 8px 0;
}

.school-buy-modal__desc {
  font-size: var(--font-size-base);
  color: #555555;
  margin: 0 0 18px 0;
  line-height: 1.6;
}

.school-buy-modal .tip {
  margin: 0 0 18px 0;
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: #5a6c7d;
  line-height: 1.5;
  background: #f5f9fc;
  border-left: 3px solid #4a90e2;
  border-radius: 4px;
}

.school-buy-modal__content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.school-buy-modal__qrcode-box {
  flex: 0 0 auto;
  text-align: left;
}

.school-buy-modal__qrcode-item {
  text-align: left;
}

.school-buy-modal__qrcode-item + .school-buy-modal__qrcode-item {
  margin-top: 24px;
}

.school-buy-modal__qrcode-title {
  margin: 0 0 6px 0;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #333333;
}

.school-buy-modal__qrcode {
  width: 144px;
  height: 144px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #F0F0F0;
  background-color: #FFFFFF;
  display: block;
}

.school-buy-modal__qrcode-tip {
  margin: 8px 0 0 0;
  font-size: 0.875rem;
  color: #666666;
  line-height: 1.5;
}

.school-buy-modal__steps {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
  padding-bottom: 4px;
}

.school-buy-modal__steps-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #333333;
  margin: 0 0 6px 0;
}

.school-buy-modal__steps-list {
  margin: 0 0 8px 1.2em;
  padding: 0;
  font-size: 0.9375rem;
  color: #555555;
  line-height: 1.7;
}

.school-buy-modal__tips {
  font-size: 0.875rem;
  color: #999999;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .school-buy-modal__dialog {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: calc(100% - 24px);
    max-height: calc(100% - 24px);
    padding: 18px 14px 14px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .school-buy-modal__content {
    flex-direction: column;
    align-items: center;
  }

  .school-buy-modal__qrcode-box {
    text-align: center;
  }

  .school-buy-modal__qrcode {
    width: 132px;
    height: 132px;
  }

  .school-buy-modal__steps {
    width: 100%;
  }
}

/* Responsive Design */

/* 平板设备 (1024px 及以下) */
@media (max-width: 1024px) {
  .service-pane-school,
  .service-pane-api {
    padding: 32px 40px 40px;
  }

  .service-school-cards {
    gap: 20px;
    margin-bottom: 32px;
  }

  .service-school-item {
    width: 100%;
    max-width: 380px;
    height: auto;
    min-height: 160px;
  }

  .service-api-cards {
    gap: 20px;
    margin-bottom: 32px;
  }

  .service-api-item {
    width: 100%;
    max-width: 380px;
    height: auto;
    min-height: 180px;
  }

  .service-tabs {
    padding: 20px 32px 0;
    gap: 32px;
  }

  .service-form-wrapper {
    gap: 40px;
    padding: 28px 32px 40px;
  }

  .service-info-col {
    flex: 0 0 auto;
    min-width: max-content;
  }

  .service-info-title {
    font-size: 18px;
  }

  .service-info-desc {
    font-size: 13px;
  }

  .school-advantage-section {
    padding: 56px 0 40px;
    margin-top: 0;
  }

  .school-advantage-container {
    padding: 24px 24px 32px;
    margin-top: -40px;
  }

  .school-advantage-title {
    font-size: 22px;
    margin-bottom: 36px;
  }

  .school-advantage-list {
    gap: 32px 20px;
  }

  .school-advantage-item__icon {
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
  }

  .school-advantage-item__icon img {
    width: 40px;
    height: 40px;
  }

  .school-advantage-item__text {
    font-size: 15px;
  }

  .school-products-section {
    padding: 48px 0 56px;
  }

  .school-products-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .school-product-row {
    flex-direction: column;
    gap: 36px;
    margin-bottom: 56px;
    height: auto;
  }

  .school-product-visual {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    height: 280px;
    min-height: 280px;
  }

  .school-product-card {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
    height: auto;
    padding: 32px 36px 28px;
  }

  .school-product-card__name {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .school-product-card__desc {
    font-size: 15px;
    margin-bottom: 24px;
  }
}

/* 平板竖屏和小屏设备 (768px 及以下) */
@media (max-width: 768px) {
  .service-pane-school,
  .service-pane-api {
    padding: 24px 20px 32px;
  }

  .service-school-cards {
    margin-bottom: 28px;
  }

  .service-school-item {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 180px;
  }

  .service-api-cards {
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
  }

  .service-api-item {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 180px;
  }

  .school-advantage-section {
    padding: 48px 0 32px;
    margin-top: 0;
  }

  .school-advantage-container {
    padding: 20px 20px 28px;
    margin-top: -32px;
  }

  .school-products-section {
    padding: 40px 0 48px;
  }

  .school-products-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .school-product-row {
    gap: 28px;
    margin-bottom: 48px;
    height: auto;
  }

  .school-product-visual {
    height: 240px;
    min-height: 240px;
  }

  .school-product-card {
    height: auto;
    padding: 28px 24px 24px;
  }

  .school-product-card__brand {
    margin-bottom: 12px;
  }

  .school-product-card__icon {
    width: 36px;
    height: 36px;
  }

  .school-product-card__name {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .school-product-card__desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .school-product-card__link {
    font-size: 15px;
  }

  .school-advantage-title {
    font-size: 20px;
    margin-bottom: 28px;
  }

  .school-advantage-list {
    gap: 28px 16px;
  }

  .school-advantage-item__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
  }

  .school-advantage-item__icon img {
    width: 36px;
    height: 36px;
  }

  .school-advantage-item__text {
    font-size: 14px;
  }

  .service-school-actions,
  .service-api-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-api {
    width: 100%;
    max-width: 280px;
    text-align: center;
    margin: 0 auto;
  }

  .service-page .container {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .service-tabs {
    padding: 16px 24px 0;
    gap: 28px;
  }

  .service-tab {
    font-size: 14px;
  }

  .service-section {
    padding: var(--spacing-xl) 0;
    min-height: auto;
  }

  .service-form-wrapper {
    flex-direction: column;
    gap: var(--spacing-xl);
    padding: 24px 24px 36px;
  }

  .service-info-col {
    flex: none;
    width: 100%;
    min-width: 0;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid #EEEEEE;
  }

  .service-info-title {
    font-size: 18px;
    white-space: normal;
  }

  .service-info-desc {
    font-size: 13px;
    white-space: normal;
  }

  .form-group {
    margin-bottom: var(--spacing-md);
  }

  .form-label {
    font-size: 14px;
  }

  .form-input-group {
    flex-wrap: wrap;
  }

  .form-input-code {
    flex: 1;
    min-width: 120px;
  }

  .captcha-image {
    width: 100px;
    height: 40px;
  }

  .btn-submit {
    height: 44px;
    font-size: 15px;
  }

  .form-tip {
    font-size: 12px;
  }
}

/* 移动设备 (480px 及以下) */
@media (max-width: 480px) {
  .service-page .container {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .service-tabs {
    padding: 12px 20px 0;
    gap: var(--spacing-md);
  }

  .service-tab {
    font-size: 13px;
  }

  .service-card {
    border-radius: 8px;
  }

  .service-form-wrapper {
    padding: 20px 20px 32px;
  }

  .service-info-title {
    font-size: 16px;
  }

  .service-info-desc {
    font-size: 12px;
  }

  .form-label {
    font-size: 13px;
  }

  .form-input,
  .form-textarea {
    font-size: 14px;
    height: 40px;
    padding: 8px 12px;
  }

  .form-textarea {
    min-height: 100px;
  }

  .captcha-image {
    width: 90px;
    height: 38px;
  }

  .btn-submit {
    height: 42px;
    font-size: 15px;
  }

  .form-tip {
    font-size: 11px;
  }
}

/* 超小屏设备 (360px 及以下) */
@media (max-width: 360px) {
  .service-tab {
    font-size: 12px;
  }

  .service-info-title {
    font-size: 15px;
  }

  .form-label {
    font-size: 12px;
  }

  .form-input,
  .form-textarea {
    font-size: 13px;
  }

  .btn-submit {
    font-size: 14px;
    height: 40px;
    line-height: 40px;
  }
}

