/* 定价与产品页共用的 AI Agent 操作示例。 */
.agent-section { padding: 88px 24px; background: #fff; color: #12141d; }
.agent-section-inner { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 488px 560px; justify-content: space-between; column-gap: 48px; row-gap: 0; align-items: start; }
.agent-section-copy { display: contents; }
.agent-section h2 { grid-column: 1 / -1; font-size: 28px; font-weight: 500; line-height: 1.5; margin: 0 0 24px; }
.agent-feature-tabs { display: flex; flex-direction: column; gap: 20px; }
.agent-feature-tabs button { border: 0; padding: 24px 20px; text-align: left; background: transparent; cursor: pointer; color: #7a7e81; font: inherit; }
.agent-feature-tabs button[aria-selected="true"] { background: #f5f6f8; color: #12141d; }
.agent-feature-tabs strong { display: block; font-size: 22px; font-weight: 500; margin-bottom: 16px; }
.agent-feature-tabs button > span { display: block; font-size: 14px; line-height: 1.8; color: #98999b; }
.agent-demo { border: 1px solid #d7e2fb; border-radius: 12px; box-shadow: 0 0 64px rgba(143,119,239,.09); background: #fff; overflow: hidden; min-width: 0; }
.agent-demo-heading { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid #d7e2fb; }
.agent-demo-heading strong { font-size: 16px; font-weight: 500; }
.agent-avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #e6efff; font-size: 26px; }
.agent-demo-stack { display: grid; align-items: start; padding: 20px; }
.agent-demo-panel { grid-area: 1 / 1; visibility: hidden; min-width: 0; }
.agent-demo-panel.is-active { visibility: visible; }
.agent-demo-user { display: flex; justify-content: end; gap: 12px; align-items: start; margin-bottom: 20px; }
.agent-demo-user p { margin: 0; padding: 14px; background: #2878ff; color: #fff; font-size: 14px; line-height: 1.7; border-radius: 18px 4px 18px 18px; }
.agent-demo-user > span { border-radius: 50%; background: #9fc1ff; color: #fff; width: 40px; line-height: 40px; text-align: center; flex: 0 0 40px; }
.agent-demo-answer { display: flex; align-items: start; gap: 12px; }
.agent-demo-answer > div { padding: 14px; border-radius: 4px 16px 16px; background: #f5f7fb; font-size: 14px; line-height: 1.7; min-width: 0; }
.agent-demo-answer code { display: block; border-bottom: 1px solid #dce5f7; padding-bottom: 8px; margin-bottom: 8px; color: #7b8084; font: inherit; }
.agent-demo-answer p { margin: 0 0 8px; }
.agent-demo-answer p:last-child { margin-bottom: 0; }
.agent-demo-answer em { color: #2878ff; font-style: normal; }
.agent-demo-note { color: #98999b; }
.agent-demo-continue { display: flex; gap: 12px; align-items: center; margin: 12px 20px 28px; border: 1px solid #dce5f7; border-radius: 30px; padding: 5px; box-shadow: 0 2px 8px #edf1fb; color: #98999b; font-size: 13px; }
.agent-demo-continue > span:first-child { background: #f5f7fb; padding: 8px; border-radius: 50%; }
.agent-demo-continue b { margin-left: auto; background: #2878ff; color: #fff; border-radius: 50%; width: 36px; flex: 0 0 36px; line-height: 36px; text-align: center; }
.agent-section button:focus-visible, .agent-section a:focus-visible { outline: 2px solid #2878ff; outline-offset: 3px; }
@media (max-width: 1200px) { .agent-section-inner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; } }
@media (max-width: 768px) { .agent-section { padding: 48px 20px; } .agent-section-inner { grid-template-columns: 1fr; gap: 24px; } .agent-section h2 { font-size: 24px; } .agent-feature-tabs { gap: 12px; } .agent-feature-tabs button { padding: 16px; } .agent-feature-tabs strong { font-size: 18px; margin-bottom: 8px; } .agent-demo-stack { padding: 14px; } .agent-avatar, .agent-demo-user > span { width: 28px; height: 28px; flex-basis: 28px; line-height: 28px; font-size: 20px; } .agent-demo-answer { gap: 8px; } .agent-demo-answer > div { padding: 10px; font-size: 12px; } .agent-demo-user p { font-size: 12px; } .agent-demo-continue { margin: 8px 14px 18px; font-size: 11px; gap: 6px; } }

.agent-user-avatar { position: relative; }
.agent-user-avatar::before { content: ""; position: absolute; width: 28%; height: 28%; background: #fff; border-radius: 50%; left: 36%; top: 19%; }
.agent-user-avatar::after { content: ""; position: absolute; width: 52%; height: 27%; background: #fff; border-radius: 50% 50% 20% 20%; left: 24%; bottom: 19%; }
