/* =========================
   Examples section (new)
   ========================= */

.examples {
  padding: 56px 0 64px;
  background: #fbf7ef;
  /* 截图那种浅米色底 */
}

.examples-title {
  position: relative;
  /* ⭐ 必须有 */
  display: inline-block;
  font-size: 26px;
  font-weight: 800;
  color: #111;
  padding-bottom: 12px;
  margin-bottom: 22px;
}

.examples-title .hl {
  position: relative;
  display: inline-block;
  /* ⭐ 非常关键 */
  color: var(--brand-auro);
  padding-bottom: 8px;
  /* 下划线与文字的距离 */
  color: var(--brand-auro);
  margin-right: 2px;
}

.examples-title .hl::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  /* ⭐ 自动等于文字宽度 */
  height: 4px;
  border-radius: 2px;

  background: linear-gradient(90deg,
      #f2c94c 0%,
      #f5d76e 100%);
}

/* 4列卡片网格 */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1100px) {
  .examples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .examples {
    padding: 36px 0 44px;
  }

  .examples-grid {
    grid-template-columns: 1fr;
  }

  .examples-title {
    font-size: 20px;
  }
}

/* 单卡片 */
.ex-card {
  background: #fff1c9;
  /* 浅黄卡片底 */
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 16px;
  padding: 18px 18px 14px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .05);
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ex-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .10);
  border-color: rgba(0, 0, 0, .10);
}

/* 顶部：Q + 标题文本 */
.ex-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ex-ico {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #ffe39a;
  color: #7a5a00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: 0 0 auto;
  margin-top: 2px;
}

.ex-h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111;
}

.ex-p {
  font-size: 13px;
  line-height: 1.55;
  color: #4a4a4a;
}

/* 底部：左“查看研究→” 右眼睛+数字 */
.ex-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111;
}

.ex-link {
  font-size: 12px;
  font-weight: 700;
  opacity: .9;
}

.ex-meta {
  font-size: 12px;
  color: #333;
  opacity: .85;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.ex-eye {
  font-size: 13px;
  line-height: 1;
}

.examples {
  width: 100%;
}

/* 让 examples 的背景铺满全屏（即便它在 .main 里面） */
.main .examples {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  background: #fbf7ef;
  padding: 56px 0 64px;
}

/* ===== 按钮 loading 状态 ===== */
.submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 转圈 */
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin 0.8s linear infinite;
}

/* loading 时显示 */
.submit-btn.is-loading .btn-spinner {
  display: inline-block;
}

/* loading 时隐藏箭头 */
.submit-btn.is-loading .btn-arrow {
  display: none;
}

/* 禁用态 */
.submit-btn.is-loading {
  cursor: not-allowed;
  opacity: 0.85;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
