/* AI applications extend the same purple business-page foundations. */
.mazai-ai-agents .custom-hero-art { width: 610px; bottom: 25px; right: 5px; }
.agent-application-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.agent-application-card { overflow: hidden; background: #fff; border: 1px solid #e9e3f5; border-radius: 18px; box-shadow: 0 4px 12px #231d7005; }
.agent-application-cover { display: block; overflow: hidden; background: #f3eeff; }
.agent-application-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1402 / 1122; object-fit: cover; transition: transform .25s; }
.agent-application-cover:hover img { transform: scale(1.025); }
.agent-application-content { padding: 26px 27px 28px; }
.agent-application-card h3 { font-size: 27px; line-height: 1.6; margin-bottom: 12px; }
.agent-application-content > p { color: #5c557e; font-size: 17px; line-height: 1.9; min-height: 65px; }
.agent-application-tags { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-block: 18px 24px !important; }
.agent-application-tags li { color: #79698c; font-size: 14px; line-height: 1.7; }
.agent-experience { background: #f5f2ff; }
.agent-demo-tabs { display: flex; gap: 36px; border-bottom: 1px solid #dcd3ed; overflow-x: auto; padding-inline: 2px; scrollbar-width: thin; }
.agent-demo-tabs button { display: flex; align-items: center; gap: 11px; position: relative; flex-shrink: 0; padding: 0 12px 20px; border: 0; background: transparent; color: #6f637f; font-size: 20px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.agent-demo-tabs button > i { font-size: 17px; }
.agent-demo-tabs button[aria-selected="true"] { color: #6100ff; }
.agent-demo-tabs button[aria-selected="true"]::after { content: ""; position: absolute; height: 4px; background: #823bef; left: 0; right: 0; bottom: 0; border-radius: 4px 4px 0 0; }
.agent-demo-panel { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 64px; padding-top: 42px; align-items: center; }
.agent-demo-description { padding-right: 8px; }
.agent-scene-label { color: #8051ad; font-size: 15px; line-height: 1.7; margin-bottom: 13px !important; }
.agent-demo-description h3 { font-size: 34px; line-height: 1.55; }
.agent-demo-description h3 > span { display: block; }
.agent-demo-description > p:not(.agent-scene-label) { color: #615478; font-size: 18px; line-height: 1.9; margin-top: 22px; }
.agent-demo-description > ul { display: grid; gap: 15px; margin-block: 26px 32px !important; }
.agent-demo-description li { display: flex; align-items: baseline; gap: 12px; color: #554572; font-size: 17px; }
.agent-demo-description li > i { font-size: 13px; color: #8c5ed1; }
.agent-demo-workspace { min-width: 0; overflow: hidden; border: 1px solid #e3daef; border-radius: 19px; background: #fff; box-shadow: 0 12px 35px #231d7009; }
.agent-workspace-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 26px; border-bottom: 1px solid #eee8f5; background: #fcfaff; }
.agent-workspace-header > div { display: flex; align-items: center; gap: 13px; min-width: 0; }
.agent-workspace-header > div > i { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; color: #8050c8; background: #eee6fb; border-radius: 11px; font-size: 18px; }
.agent-workspace-header h4 { margin: 0; color: #382565; font: 650 18px/1.55 "PingFang SC", "Microsoft YaHei", sans-serif; }
.agent-workspace-header > span { border: 1px solid #e1d7ef; border-radius: 20px; padding: 3px 10px; font-size: 12px; color: #7c6397; white-space: nowrap; }
.agent-demo-questions { padding: 24px 26px 0; }
.agent-demo-questions > p { margin-bottom: 11px; font-size: 13px; color: #776586; }
.agent-demo-questions > div { display: flex; flex-wrap: wrap; gap: 8px; }
.agent-demo-questions button { padding: 8px 12px; border: 1px solid #e3d8f3; border-radius: 9px; background: #fff; color: #6d5484; font-size: 14px; line-height: 1.6; text-align: left; transition: background .2s, border-color .2s; }
.agent-demo-questions button:hover { border-color: #b193dc; }
.agent-demo-questions button[aria-pressed="true"] { color: #6430a5; background: #f0e8fc; border-color: #cdb9e8; }
.agent-conversation { padding: 26px; min-height: 350px; }
.agent-question { margin-left: auto; max-width: 88%; margin-bottom: 24px; padding: 12px 17px; background: #f0e8fb; border-radius: 13px 13px 3px 13px; width: fit-content; }
.agent-question > span { display: block; margin-bottom: 3px; font-size: 11px; color: #76568f; }
.agent-question > p { color: #53336e; font-size: 15px; line-height: 1.8; }
.agent-answer-label { display: flex; align-items: center; gap: 9px; color: #704197; font-size: 13px; font-weight: 600; margin-bottom: 12px !important; }
.agent-answer-label > i { color: #8b59c3; font-size: 14px; }
.agent-answer-content > p:not(.agent-answer-source) { color: #554465; font-size: 15px; line-height: 1.85; }
.agent-answer-content ol { padding-left: 22px; margin-block: 14px 18px; }
.agent-answer-content li { color: #665273; font-size: 15px; line-height: 1.9; list-style: decimal; padding-left: 4px; }
.agent-answer-source { display: flex; align-items: baseline; gap: 8px; color: #766282; border-top: 1px solid #eee6f3; padding-top: 14px; font-size: 12px; line-height: 1.8; }
.agent-answer-source > i { flex-shrink: 0; }
.agent-demo-note { display: flex; align-items: baseline; gap: 8px; padding: 13px 26px; border-top: 1px solid #eee8f5; background: #fdfbff; color: #786485; font-size: 12px; line-height: 1.8; }
.agent-demo-note > i { font-size: 12px; flex-shrink: 0; }
.agent-noscript { margin-top: 24px !important; font-size: 16px; }
.agent-noscript a { color: #1645b3; text-decoration: underline; }
.agent-process .custom-process-list h3 { font-size: 25px; }
.agent-system-link { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid #e5ddec; margin-top: 47px; padding-top: 27px; }
.agent-system-link p { color: #6b587c; font-size: 17px; line-height: 1.8; }
.agent-system-link a { flex-shrink: 0; }
.agent-faq-section { background: #f6f2fc; }
.agent-cta { margin-top: 62px !important; }
.agent-cta .custom-cta-inner > img { width: 210px; }
.agent-cta .custom-cta-inner { gap: 25px; }
.agent-cta h2 { font-size: 28px; }
@media (max-width: 1399px) {
  .mazai-ai-agents .custom-hero-art { width: 550px; right: -2px; bottom: 45px; }
  .agent-application-content { padding-inline: 23px; }
  .agent-application-card h3 { font-size: 25px; }
  .agent-application-content > p { font-size: 16px; }
  .agent-demo-panel { gap: 44px; }
  .agent-demo-description h3 { font-size: 31px; }
  .agent-demo-description > p:not(.agent-scene-label) { font-size: 17px; }
  .agent-demo-description li { font-size: 16px; }
  .agent-cta h2 { font-size: 25px; }
  .agent-cta .custom-cta-inner > img { width: 180px; }
}
@media (max-width: 1199px) {
  .mazai-ai-agents .custom-hero-art { width: 450px; right: -3px; bottom: 75px; }
  .agent-application-grid { gap: 18px; }
  .agent-application-content { padding: 21px 20px 24px; }
  .agent-application-card h3 { font-size: 23px; min-height: 74px; }
  .agent-application-tags { gap: 5px 12px; margin-block: 15px 20px !important; }
  .agent-application-tags li { font-size: 13px; }
  .agent-demo-tabs { gap: 28px; }
  .agent-demo-tabs button { font-size: 18px; }
  .agent-demo-panel { gap: 32px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .agent-demo-description h3 { font-size: 27px; }
  .agent-demo-description > p:not(.agent-scene-label) { font-size: 16px; }
  .agent-demo-description li { font-size: 15px; }
  .agent-workspace-header { padding-inline: 20px; }
  .agent-workspace-header h4 { font-size: 17px; }
  .agent-demo-questions { padding-inline: 20px; }
  .agent-conversation { padding-inline: 20px; }
  .agent-demo-note { padding-inline: 20px; }
  .agent-process .custom-process-list h3 { font-size: 22px; }
  .agent-cta h2 { font-size: 22px; }
  .agent-cta .custom-cta-inner > img { width: 150px; }
}
@media (max-width: 991px) {
  .mazai-ai-agents .custom-hero h1 { font-size: 40px; }
  .mazai-ai-agents .custom-hero-art { width: 365px; right: -3px; bottom: 95px; }
  .agent-application-grid { gap: 16px; }
  .agent-application-content { padding: 18px 16px 21px; }
  .agent-application-card h3 { font-size: 21px; min-height: 68px; }
  .agent-application-content > p { font-size: 15px; min-height: 115px; }
  .agent-application-tags { font-size: 12px; gap: 5px 10px; }
  .agent-application-content .custom-text-link { font-size: 15px; gap: 10px; }
  .agent-demo-tabs { gap: 20px; }
  .agent-demo-tabs button { font-size: 17px; gap: 8px; padding-inline: 4px; }
  .agent-demo-tabs button > i { font-size: 15px; }
  .agent-demo-panel { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 30px; }
  .agent-demo-description { padding: 0; max-width: 640px; }
  .agent-demo-description h3 { font-size: 30px; }
  .agent-demo-description > p:not(.agent-scene-label) { margin-top: 17px; }
  .agent-demo-description > ul { margin-block: 20px 24px !important; gap: 12px; }
  .agent-demo-workspace { max-width: 760px; width: 100%; }
  .agent-workspace-header { padding: 19px 24px; }
  .agent-demo-questions { padding-inline: 24px; }
  .agent-conversation { padding-inline: 24px; min-height: 330px; }
  .agent-demo-note { padding-inline: 24px; }
  .agent-process .custom-process-list h3 { font-size: 23px; }
  .agent-system-link { gap: 20px; margin-top: 32px; padding-top: 25px; }
  .agent-system-link p { font-size: 15px; }
  .agent-cta { margin-top: 45px !important; }
}
@media (max-width: 575px) {
  .mazai-ai-agents .custom-section-heading > p br { display: initial; }
  .mazai-ai-agents .custom-hero h1 { font-size: clamp(29px, 8.2vw, 39px); }
  .mazai-ai-agents .custom-hero-art { position: relative; width: 86%; right: auto; bottom: auto; margin: 18px auto 1px; }
  .mazai-ai-agents .custom-hero-description { font-size: 15px; }
  .agent-application-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .agent-application-card { border-radius: 15px; }
  .agent-application-content { padding: 23px 22px 24px; }
  .agent-application-card h3 { font-size: 24px; min-height: 0; }
  .agent-application-content > p { font-size: 16px; min-height: 0; }
  .agent-application-tags { margin-block: 15px 21px !important; gap: 6px 16px; }
  .agent-application-tags li { font-size: 13px; }
  .agent-demo-tabs { gap: 23px; }
  .agent-demo-tabs button { font-size: 15px; gap: 7px; padding: 0 2px 15px; }
  .agent-demo-tabs button > i { font-size: 14px; }
  .agent-demo-panel { padding-top: 25px; gap: 26px; }
  .agent-scene-label { font-size: 13px; }
  .agent-demo-description h3 { font-size: 26px; }
  .agent-demo-description > p:not(.agent-scene-label) { font-size: 16px; line-height: 1.85; }
  .agent-demo-description li { font-size: 15px; gap: 10px; }
  .agent-demo-workspace { border-radius: 15px; }
  .agent-workspace-header { padding: 16px; gap: 10px; }
  .agent-workspace-header > div { gap: 10px; }
  .agent-workspace-header > div > i { width: 33px; height: 33px; border-radius: 9px; font-size: 16px; }
  .agent-workspace-header h4 { font-size: 16px; }
  .agent-workspace-header > span { font-size: 10px; padding-inline: 8px; }
  .agent-demo-questions { padding: 20px 16px 0; }
  .agent-demo-questions > div { display: grid; gap: 8px; }
  .agent-demo-questions button { width: 100%; font-size: 14px; padding: 10px 12px; }
  .agent-conversation { padding: 24px 16px 20px; min-height: 0; }
  .agent-question { padding: 10px 13px; margin-bottom: 22px; max-width: 95%; }
  .agent-question > p { font-size: 14px; }
  .agent-answer-content > p:not(.agent-answer-source), .agent-answer-content li { font-size: 14px; }
  .agent-answer-source { font-size: 11px; }
  .agent-demo-note { padding: 13px 16px; font-size: 11px; }
  .agent-process .custom-process-list h3 { font-size: 22px; }
  .agent-system-link { flex-direction: column; align-items: flex-start; gap: 15px; margin-top: 28px; }
  .agent-faq-section .custom-faq-intro h2 { font-size: 28px; }
  .agent-faq-section .custom-faq-intro h2 br { display: initial; }
  .agent-cta { margin-top: 37px !important; }
  .agent-cta .custom-cta-inner { gap: 9px; }
  .agent-cta .custom-cta-inner > img { width: 175px; }
  .agent-cta h2 { font-size: 24px; }
}
@media (max-width: 359px) {
  .mazai-ai-agents .custom-hero-actions { gap: 13px; }
  .mazai-ai-agents .custom-hero-description { font-size: 14px; }
  .agent-application-content { padding-inline: 19px; }
  .agent-application-card h3 { font-size: 22px; }
  .agent-demo-description h3 { font-size: 24px; }
  .agent-workspace-header { gap: 8px; padding-inline: 13px; }
  .agent-workspace-header > div { gap: 8px; }
  .agent-workspace-header h4 { font-size: 15px; }
  .agent-demo-questions, .agent-conversation { padding-inline: 13px; }
}
