/* /trial 演示与咨询 */
.trial-page {
  padding: 48px 0 64px;
}

.trial-page .home-section__title {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.trial-page .home-section__subtitle {
  margin: 0;
  font-size: 16px;
  color: #666;
  text-align: center;
  line-height: 1.6;
}

.trial-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 56px;
}

@media (max-width: 640px) {
  .trial-cards {
    grid-template-columns: 1fr;
  }
}

.trial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.trial-card:hover {
  border-color: #284e9d;
  box-shadow: 0 8px 24px rgba(40, 78, 157, 0.1);
}

.trial-card__icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}

.trial-card__title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  color: #333;
}

.trial-card__desc {
  margin: 0 0 24px;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  flex: 1;
}

/* 两张卡按钮底对齐 */
.trial-card .e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  color: #fff;
  line-height: 1;
}

.trial-demo-section {
  max-width: 1100px;
  margin: 0 auto 48px;
}

.trial-demo-section__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.trial-demo-section__desc {
  margin: 0 0 28px;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.trial-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .trial-demo-grid {
    grid-template-columns: 1fr;
  }
}

.trial-demo-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.trial-demo-card:hover {
  border-color: #284e9d;
  box-shadow: 0 6px 18px rgba(40, 78, 157, 0.08);
}

.trial-demo-card__thumb {
  flex-shrink: 0;
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: #f5f5f5;
}

.trial-demo-card__body {
  flex: 1;
  min-width: 0;
}

.trial-demo-card__badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  font-size: 12px;
  color: #284e9d;
  background: rgba(40, 78, 157, 0.08);
  border-radius: 4px;
}

.trial-demo-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.trial-demo-card__desc {
  margin: 0 0 12px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.trial-demo-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.trial-demo-card__actions .e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
  line-height: 1;
  box-sizing: border-box;
  vertical-align: middle;
}

/* 次按钮：白底描边，文字保持品牌色（覆盖 .e-btn-primary 的白字） */
.trial-demo-card__actions .e-btn-outline,
.trial-demo-card__actions a.e-btn-outline,
.trial-demo-card__actions a.e-btn-outline:visited {
  color: #284e9d !important;
  background-color: #fff !important;
  border: 1px solid #284e9d !important;
}

.trial-demo-card__actions .e-btn-outline:hover,
.trial-demo-card__actions a.e-btn-outline:hover {
  color: #fff !important;
  background-color: #284e9d !important;
  border-color: #284e9d !important;
}

.trial-contact-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 48px;
  padding: 24px;
  background: #f7f8fa;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
}

.trial-contact-bar a {
  color: #284e9d;
  font-weight: 500;
}
