.compat-section { padding: 34px 30px 44px; background: linear-gradient(180deg, #fff, var(--ul-bg)); }
.compat-page { max-width: 1200px; margin: 0 auto; }
.compat-title { font-size: 26px; margin: 0 0 6px; color: #1a2233; font-weight: 800; letter-spacing: -0.3px; }
.compat-sub { color: #5a6577; margin: 0 0 22px; font-size: 15px; }
.compat-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 360px at 90% -20%, rgba(6, 182, 212, 0.3), transparent 60%),
    linear-gradient(150deg, #0a1230, #0f1e3d);
  color: #fff;
  border-radius: 24px;
  padding: 38px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: 0 30px 70px -34px rgba(10, 18, 48, 0.7);
}
.compat-panel .left { flex: 1; min-width: 240px; }
.compat-panel .left h3 { margin: 0 0 10px; font-size: 22px; color: #fff; font-weight: 800; letter-spacing: -0.3px; }
.compat-panel .left p { margin: 0; opacity: 0.88; font-size: 14.5px; line-height: 2; color: #cdd9f5; }
.compat-panel .box {
  flex: 1;
  min-width: 280px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}
.compat-panel .box select,
.compat-panel .box input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  margin-bottom: 11px;
  font-size: 14px;
  color: #fff;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
}
.compat-panel .box select option { color: #1a2233; }
.compat-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(100deg, var(--ul-brand), var(--ul-brand-2));
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.3s, filter 0.3s;
}
.compat-submit:hover { transform: translateY(-2px); filter: brightness(1.05); color: #fff; }
.compat-submit svg.ul-i { width: 18px; height: 18px; }
.compat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.compat-cards .c-card {
  background: #fff;
  border: 1px solid var(--color-entry-line);
  border-radius: 18px;
  padding: 22px;
  transition: transform 0.35s, box-shadow 0.35s;
}
.compat-cards .c-card:hover { transform: translateY(-6px); box-shadow: var(--ul-shadow); }
.compat-cards .ic {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(6, 182, 212, 0.14));
  color: var(--ul-brand);
  border: 1px solid rgba(37, 99, 235, 0.18);
}
.compat-cards .ic svg.ul-i { width: 26px; height: 26px; }
.compat-cards h4 { margin: 0 0 6px; font-size: 16px; color: #1a2233; font-weight: 700; }
.compat-cards p { margin: 0; font-size: 13px; color: #5a6577; line-height: 1.55; }
.compat-note { color: #5a6577; font-size: 13px; margin-top: 16px; }
@media (max-width: 820px) {
  .compat-section { padding: 24px 18px 32px; }
  .compat-panel { padding: 28px 22px; gap: 22px; }
  .compat-cards { grid-template-columns: 1fr; }
}

/* 品牌数据源容器：仅供 JS 读取生成下拉项，前台不显示 */
.compat-brand-source { display: none !important; }

/* 隐藏正文文本域（由 JS 自动填充询盘内容） */
.compat-panel .box textarea[name="contact[comment]"] { display: none !important; }

/* 提交成功态 */
.compat-success { text-align: center; padding: 6px 4px 2px; }
.compat-success[hidden] { display: none !important; }
.compat-fields[hidden] { display: none !important; }
.compat-success__ic {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 12px 26px -10px rgba(22, 163, 74, 0.75);
}
.compat-success__ic svg { width: 26px; height: 26px; }
.compat-success h4 { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: #fff; }
.compat-success p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: #cdd9f5; }
.compat-wa-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(100deg, #16a34a, #22c55e);
  transition: transform 0.3s, filter 0.3s;
}
.compat-wa-link:hover { transform: translateY(-2px); filter: brightness(1.06); color: #fff; }

/* 提交错误提示 */
.compat-error {
  margin: 0 0 12px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 13px;
  color: #fecaca;
  background: rgba(220, 38, 38, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.4);
}
