/* 天智 · 对话页 */
.tz-dialogue-shell {
  width: min(920px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 16px 0 28px;
}

.tz-dialogue-shell .hero {
  margin: 8px 0 16px;
  padding: 22px 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(109, 151, 210, 0.18);
  box-shadow: 0 18px 46px rgba(41, 86, 145, 0.12);
}

.tz-dialogue-shell .label {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2563ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.tz-dialogue-shell .page-title {
  font-size: clamp(30px, 5.6vw, 44px);
  line-height: 1.12;
  margin: 12px 0 8px;
  letter-spacing: -0.03em;
  font-weight: 900;
  background: linear-gradient(
    105deg,
    #2563eb 0%,
    #1f8b7b 30%,
    #7c3aed 60%,
    #2563eb 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: dialogueTitleFlow 10s ease-in-out infinite;
}

@keyframes dialogueTitleFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.tz-dialogue-shell .page-lead {
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.75;
  color: #526173;
  font-weight: 750;
  margin: 0;
}

.tz-dialogue-shell .notice {
  display: inline-flex;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff7e6;
  border: 1px dashed rgba(255, 165, 46, 0.48);
  color: #7a5a19;
  font-weight: 850;
  font-size: 14px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.feature-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(109, 151, 210, 0.16);
  box-shadow: 0 10px 28px rgba(41, 86, 145, 0.08);
}

.feature-card b {
  display: block;
  font-size: 17px;
  color: #12315f;
  margin-bottom: 6px;
}

.feature-card span {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: #5a6b86;
  font-weight: 650;
}

.chat-panel {
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(109, 151, 210, 0.16);
  box-shadow: 0 12px 34px rgba(41, 86, 145, 0.09);
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.chat-head-title {
  font-size: 18px;
  font-weight: 900;
  color: #12315f;
}

.open-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2c6bff, #1d4dcc);
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(37, 99, 255, 0.18);
}

.iframe-wrap {
  position: relative;
  width: 100%;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(109, 151, 210, 0.2);
  background: #f5f8ff;
}

.iframe-wrap iframe {
  width: 100%;
  height: min(62vh, 560px);
  border: 0;
  display: block;
}

.iframe-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 14px;
  color: #758398;
  font-weight: 750;
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
  .chat-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .iframe-wrap iframe {
    height: 52vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tz-dialogue-shell .page-title {
    animation: none;
    background-position: 0% 50%;
  }
}
