/* ==========================================================================
   AIDA Open Platform — 静态页设计系统（由 docs/app React 版转换）
   全部类名加 .aida- 前缀，避免与 main.css / nav.css / layui 冲突
   ========================================================================== */

.aida-page,
.aida-page * {
  box-sizing: border-box;
}

.aida-page {
  --aida-blue: #007aff;
  --aida-green: #34c759;
  --aida-purple: #af52de;
  --aida-orange: #ff9500;
  --aida-pink: #ff2d55;
  --aida-indigo: #5856d6;
  --aida-red: #ff3b30;
  --aida-ink: #1d1d1f;
  --aida-gray: #6e6e73;
  --aida-gray-light: #aeaeb2;
  --aida-bg: #f5f5f7;
  --aida-line: #f0f0f5;
  --aida-line-2: #e8edf5;
  --aida-grad: linear-gradient(135deg, #007aff 0%, #5ac8fa 45%, #af52de 100%);
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--aida-ink);
  font-family: -apple-system, "SF Pro Display", "PingFang SC", "Helvetica Neue",
    "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.5;
}

.aida-page a {
  color: var(--aida-blue);
}

.aida-page img {
  max-width: 100%;
  display: block;
}

.aida-page button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.aida-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部留出全站固定 nav（约 72px）的空间 */
.aida-page-body {
  padding-top: 72px;
  background: var(--aida-bg);
  min-height: 100vh;
}

/* ---------- 通用标题 / 文本 ---------- */
.aida-section {
  padding: 112px 0;
}
.aida-section.bg-white { background: #fff; }
.aida-section.bg-gray { background: var(--aida-bg); }

.aida-section-head {
  text-align: center;
  margin-bottom: 64px;
}
.aida-section-head.mb48 { margin-bottom: 48px; }
.aida-section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--aida-ink);
}
.aida-section-head p {
  margin: 0;
  color: var(--aida-gray);
  font-size: 17px;
}

.aida-grad-text {
  background: var(--aida-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 胶囊按钮 ---------- */
.aida-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.aida-btn:hover { transform: translateY(-1px); }
.aida-btn-primary { background: var(--aida-blue); color: #fff; font-weight: 600; }
.aida-btn-ghost { background: rgba(0, 0, 0, 0.05); color: var(--aida-ink); }
.aida-btn-sm { height: 36px; padding: 0 20px; font-size: 13px; }

.aida-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   首页 — Hero
   ========================================================================== */
.aida-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}
.aida-hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.aida-hero-blobs span {
  position: absolute;
  border-radius: 50%;
}
.aida-hero-blobs .b1 {
  width: 700px; height: 700px; top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 65%);
}
.aida-hero-blobs .b2 {
  width: 500px; height: 500px; bottom: -100px; left: 30%;
  background: radial-gradient(circle, rgba(175, 82, 222, 0.1) 0%, transparent 65%);
}
.aida-hero-blobs .b3 {
  width: 600px; height: 600px; top: 0; right: -150px;
  background: radial-gradient(circle, rgba(52, 199, 89, 0.07) 0%, transparent 65%);
}
.aida-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  padding: 96px 24px 64px;
}

.aida-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 28px;
  background: rgba(0, 122, 255, 0.08);
  color: var(--aida-blue);
  border: 1px solid rgba(0, 122, 255, 0.15);
}
.aida-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--aida-ink);
}
.aida-hero-sub {
  margin: 28px 0 0;
  color: var(--aida-gray);
  font-size: 18px;
  line-height: 1.6;
  max-width: 400px;
}
.aida-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.aida-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.aida-hero-stats .v {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
}
.aida-hero-stats .l {
  font-size: 12px;
  margin-top: 2px;
  color: var(--aida-gray-light);
}

/* ---------- 聊天窗口 ---------- */
.aida-chat {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  height: 560px;
}
.aida-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}
.aida-chat-head-l { display: flex; align-items: center; gap: 12px; }
.aida-chat-ava {
  width: 32px; height: 32px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #007aff, #5ac8fa);
  color: #fff;
  flex-shrink: 0;
}
.aida-chat-ava.sm { width: 24px; height: 24px; border-radius: 8px; }
.aida-chat-name { font-size: 14px; font-weight: 600; color: var(--aida-ink); }
.aida-chat-status { font-size: 11px; color: var(--aida-green); }
.aida-chat-reset {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--aida-gray-light);
}
.aida-chat-reset:hover { background: rgba(0, 0, 0, 0.05); }

.aida-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.aida-msg { display: flex; gap: 10px; }
.aida-msg.user { justify-content: flex-end; }
.aida-msg-bubble {
  border-radius: 16px;
  padding: 10px 16px;
  font-size: 14px;
  max-width: 82%;
  word-break: break-word;
}
.aida-msg.ai .aida-msg-bubble {
  background: var(--aida-bg);
  color: var(--aida-ink);
  border-bottom-left-radius: 6px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.aida-msg.user .aida-msg-bubble {
  background: var(--aida-blue);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.aida-typing {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 6px;
  background: var(--aida-bg);
}
.aida-typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--aida-gray-light);
  animation: aida-bounce 1s ease-in-out infinite;
}
.aida-typing i:nth-child(2) { animation-delay: 0.15s; }
.aida-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes aida-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.aida-chat-suggest {
  padding: 0 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.aida-chat-suggest button {
  text-align: left;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(0, 122, 255, 0.06);
  color: var(--aida-blue);
  border: 1px solid rgba(0, 122, 255, 0.12);
  transition: background 0.2s;
}
.aida-chat-suggest button:hover { background: rgba(0, 122, 255, 0.12); }

.aida-chat-input {
  padding: 12px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}
.aida-chat-input-box {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border-radius: 16px;
  padding: 10px 16px;
  background: var(--aida-bg);
}
.aida-chat-input-box textarea {
  flex: 1;
  resize: none;
  outline: none;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: var(--aida-ink);
  max-height: 96px;
}
.aida-chat-send {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: #e5e5ea;
  color: var(--aida-gray-light);
  flex-shrink: 0;
}
.aida-chat-send.ready { background: var(--aida-blue); color: #fff; }
.aida-chat-hint {
  text-align: center;
  font-size: 10px;
  margin: 8px 0 0;
  color: #c7c7cc;
}

/* ==========================================================================
   首页 — 角色 Roles
   ========================================================================== */
.aida-roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.aida-role-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.aida-role-icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.aida-role-card h3 { margin: 0 0 12px; font-size: 16px; font-weight: 600; color: var(--aida-ink); }
.aida-role-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.aida-role-card li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--aida-gray); }
.aida-role-card li i { width: 4px; height: 4px; border-radius: 50%; flex-shrink: 0; }
.aida-role-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.2s;
}
.aida-role-card:hover .aida-role-link { gap: 10px; }

/* ==========================================================================
   首页 — 能力 Capabilities
   ========================================================================== */
.aida-caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.aida-cap-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 28px;
  background: var(--aida-bg);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s ease;
}
.aida-cap-card:hover { transform: translateY(-4px); }
.aida-cap-card.span2 { grid-column: span 2; }
.aida-cap-glow {
  position: absolute;
  right: -32px; top: -32px;
  width: 144px; height: 144px;
  border-radius: 50%;
  opacity: 0.2;
  transition: opacity 0.25s;
}
.aida-cap-card:hover .aida-cap-glow { opacity: 0.32; }
.aida-cap-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; height: 100%; }
.aida-cap-code {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.aida-cap-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--aida-ink); }
.aida-cap-card p { margin: 0; font-size: 14px; color: var(--aida-gray); }
.aida-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.aida-tag {
  font-size: 11px;
  font-family: Menlo, Consolas, monospace;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ==========================================================================
   首页 — Agents
   ========================================================================== */
.aida-filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.aida-filter {
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--aida-gray);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
}
.aida-filter.active { background: var(--aida-blue); color: #fff; border-color: var(--aida-blue); }

.aida-agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.aida-agent-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 24px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  height: 100%;
  transition: transform 0.25s ease;
}
.aida-agent-card:hover { transform: translateY(-4px); }
.aida-agent-top { display: flex; align-items: flex-start; justify-content: space-between; }
.aida-agent-level {
  width: 40px; height: 40px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}
.aida-agent-scene { font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 999px; }
.aida-agent-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--aida-ink); }
.aida-agent-card .desc { margin: 0; font-size: 14px; color: var(--aida-gray); line-height: 1.6; }
.aida-agent-deps {
  margin-top: auto;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--aida-bg);
}
.aida-agent-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 12px;
}

/* ==========================================================================
   首页 — Journey
   ========================================================================== */
.aida-journey-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.aida-step {
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--aida-bg);
  transition: transform 0.25s ease;
}
.aida-step:hover { transform: translateY(-4px); }
.aida-step-num {
  width: 48px; height: 48px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}
.aida-step h3 { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--aida-ink); }
.aida-step p { margin: 0; font-size: 12px; color: var(--aida-gray); line-height: 1.6; }

/* ==========================================================================
   首页 — Docs
   ========================================================================== */
.aida-docs-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 16px;
}
.aida-doc-links { display: flex; flex-direction: column; gap: 8px; }
.aida-doc-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: background 0.2s;
}
.aida-doc-link:hover { background: #fff; }
.aida-doc-ic {
  width: 36px; height: 36px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.aida-doc-link .t { font-size: 14px; font-weight: 600; color: var(--aida-ink); }
.aida-doc-link .s { font-size: 12px; color: var(--aida-gray-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aida-doc-link .txt { flex: 1; min-width: 0; }
.aida-doc-link .arrow { color: var(--aida-gray-light); flex-shrink: 0; }

.aida-code-panel {
  border-radius: 24px;
  overflow: hidden;
  background: #1d1d1f;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}
.aida-code-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
  height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.aida-code-tab {
  font-size: 12px;
  font-family: Menlo, Consolas, monospace;
  padding: 4px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.3);
}
.aida-code-tab.active { background: rgba(255, 255, 255, 0.1); color: #fff; }
.aida-code-pre {
  margin: 0;
  padding: 20px 24px;
  font-family: Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  overflow-x: auto;
  max-height: 320px;
  white-space: pre;
}

/* ==========================================================================
   首页 — Levels
   ========================================================================== */
.aida-levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.aida-level-card { border-radius: 24px; overflow: hidden; background: var(--aida-bg); }
.aida-level-bar { height: 6px; }
.aida-level-inner { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.aida-level-code {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}
.aida-level-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--aida-ink); }
.aida-level-card .d { margin: 0; font-size: 14px; color: var(--aida-gray); }
.aida-level-card .ul { font-size: 11px; margin: 0 0 8px; color: var(--aida-gray-light); }

/* ==========================================================================
   首页 — CTA + Footer
   ========================================================================== */
.aida-cta { position: relative; overflow: hidden; }
.aida-cta-glow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.aida-cta-glow span {
  width: 800px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 122, 255, 0.1) 0%, rgba(90, 200, 250, 0.08) 40%, transparent 70%);
}
.aida-cta-inner { position: relative; text-align: center; }
.aida-cta-inner h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--aida-ink);
}
.aida-cta-inner p {
  margin: 0 auto 40px;
  color: var(--aida-gray);
  font-size: 17px;
  max-width: 420px;
}
.aida-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.aida-btn-lg { height: 48px; padding: 0 32px; font-size: 14px; }

.aida-mini-footer {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 32px 0;
  color: var(--aida-gray-light);
  font-size: 13px;
}
.aida-mini-footer .aida-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   商城 Mall
   ========================================================================== */
.aida-mall-topbar {
  position: sticky; top: 72px; z-index: 40;
  background: rgba(255,255,255,0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 12px rgba(29,29,31,0.04);
}
.aida-mall-topbar-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.aida-mall-topbar-row { display:flex; align-items:center; justify-content:space-between; height:52px; }
.aida-mall-title { display:flex; align-items:center; gap:9px; font-size:16px; font-weight:700; letter-spacing:0.2px; color:var(--aida-ink); }
.aida-mall-title-ic { display:block; flex-shrink:0; }
.aida-search { display:flex; align-items:center; gap:8px; height:36px; padding:0 16px; border-radius:999px; background:var(--aida-bg); border:1.5px solid transparent; width:240px; transition:border-color .2s ease,box-shadow .2s ease,background .2s ease; }
.aida-search svg { display:block; flex-shrink:0; }
.aida-search:focus-within { background:#fff; border-color:rgba(0,122,255,.5); box-shadow:0 0 0 4px rgba(0,122,255,.1); }
.aida-search input { flex:1; border:none; outline:none; background:transparent; font-size:14px; font-family:inherit; color:var(--aida-ink); min-width:0; }
.aida-cat-row { display:flex; align-items:center; gap:10px; padding:0 0 12px; overflow-x:auto; }
.aida-cat-row::-webkit-scrollbar { display:none; }
.aida-cat { padding:5px 10px !important; font-family:inherit; font-size:14px; line-height:1.4; white-space:nowrap; flex-shrink:0; color:var(--aida-gray); background:#f0f0f3; border:none; border-radius:999px; cursor:pointer; transition:color .18s ease,background .18s ease; }
.aida-cat:hover { color:var(--aida-blue); background:rgba(0,122,255,.08); }
.aida-cat.active { color:#fff; font-weight:600; background:var(--aida-blue); box-shadow:none; }
.aida-cat.active:hover { color:#fff; background:var(--aida-blue); }
.aida-mall-content { max-width:1120px; margin:0 auto; padding:32px 24px; }

.aida-mall-banner {
  border-radius: 28px; margin-bottom: 48px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(0,122,255,.14) 0%, transparent 55%),
    radial-gradient(120% 140% at 100% 0%, rgba(175,82,222,.12) 0%, transparent 55%),
    radial-gradient(120% 160% at 50% 100%, rgba(90,200,250,.16) 0%, transparent 60%),
    linear-gradient(135deg,#f4f8ff 0%,#faf5ff 50%,#f0faff 100%);
  border: 1px solid rgba(0,122,255,.08);
  box-shadow: 0 20px 48px -24px rgba(0,122,255,.35);
  min-height: 200px; padding: 56px 32px;
}
.aida-mall-banner::before, .aida-mall-banner::after { content:""; position:absolute; border-radius:50%; filter:blur(6px); pointer-events:none; }
.aida-mall-banner::before { width:240px; height:240px; top:-120px; left:-60px; background:radial-gradient(circle,rgba(0,122,255,.18),transparent 70%); }
.aida-mall-banner::after { width:280px; height:280px; bottom:-160px; right:-80px; background:radial-gradient(circle,rgba(175,82,222,.16),transparent 70%); }
.aida-mall-banner > * { position:relative; z-index:1; }
.aida-mall-banner h2 { margin:0 0 12px; font-size:34px; font-weight:800; letter-spacing:.5px; background:linear-gradient(135deg,#007aff 0%,#5a58d6 45%,#af52de 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.aida-mall-banner p { margin:0; color:var(--aida-gray); font-size:16px; }
.aida-mall-banner-stats { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:28px; flex-wrap:wrap; }
.aida-mall-banner-stats > div { display:flex; align-items:center; gap:7px; font-size:13px; color:var(--aida-gray); background:rgba(255,255,255,.72); border:1px solid rgba(0,0,0,.05); box-shadow:0 4px 14px rgba(29,29,31,.05); padding:8px 16px; border-radius:999px; backdrop-filter:blur(8px); }
.aida-mall-banner-stats > div strong { font-size:16px; font-weight:800; }
.aida-mall-banner-stats > div .n-blue { color:var(--aida-blue); }
.aida-mall-banner-stats > div .n-orange { color:var(--aida-orange); }

.aida-mall-section { margin-bottom:52px; }
.aida-mall-section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.aida-mall-section-head h3 { margin:0; font-size:21px; font-weight:800; color:var(--aida-ink); letter-spacing:.2px; display:flex; align-items:center; gap:10px; }
.aida-mall-section-head h3::before { content:""; width:4px; height:18px; border-radius:999px; background:linear-gradient(180deg,#007aff,#af52de); }
.aida-mall-section-head p { margin:6px 0 0 14px; font-size:13.5px; color:var(--aida-gray); }
.aida-more-btn { display:inline-flex; align-items:center; gap:2px; font-family:inherit; font-size:14px; font-weight:400; line-height:1.4; color:var(--aida-blue); padding:0; border:none; background:none; cursor:pointer; white-space:nowrap; -webkit-font-smoothing:antialiased; }
.aida-more-btn svg { display:block; flex-shrink:0; }
.aida-more-btn:hover { color:#0a62d6; background:none; border:none; }

.aida-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.aida-product-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 12px rgba(29, 29, 31, 0.05);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.aida-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 122, 255, 0.2);
  box-shadow: 0 16px 40px -12px rgba(0, 122, 255, 0.22);
}
.aida-product-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--aida-bg);
}
.aida-product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.aida-product-card:hover .aida-product-img img { transform: scale(1.06); }
.aida-product-badge {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff2d55, #ff6482);
  box-shadow: 0 4px 12px rgba(255, 45, 85, 0.35);
}
.aida-product-body { padding: 14px 16px 16px; }
.aida-product-shop { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.aida-shop-logo {
  width: 18px; height: 18px;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  background: linear-gradient(135deg, #007aff, #af52de);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 122, 255, 0.25);
}
.aida-shop-logo.lg { width: 36px; height: 36px; border-radius: 12px; font-size: 12px; }
.aida-product-shop .nm { font-size: 11px; color: var(--aida-gray-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aida-product-name {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--aida-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.aida-product-sub { margin: 0 0 14px; font-size: 12px; color: var(--aida-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aida-product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.aida-price { font-weight: 800; color: var(--aida-blue); font-size: 17px; }
.aida-price::first-letter { font-size: 12px; font-weight: 700; margin-right: 1px; }
.aida-rating { display: flex; align-items: center; gap: 3px; background: rgba(255, 149, 0, 0.08); padding: 3px 8px; border-radius: 999px; }
.aida-rating span { font-size: 11px; color: #b25c00; font-weight: 600; }

.aida-filter-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.aida-filter-count { font-size: 13.5px; color: var(--aida-gray); margin: 0; }
.aida-filter-count strong { color: var(--aida-blue); font-weight: 700; }
.aida-filter-clear {
  font-size: 13px;
  font-family: inherit;
  color: var(--aida-blue);
  background: rgba(0, 122, 255, 0.06);
  border: 1px solid rgba(0, 122, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.aida-filter-clear:hover { background: rgba(0, 122, 255, 0.12); padding: 6px 16px !important;}
.aida-empty { text-align: center; padding: 96px 0; color: var(--aida-gray-light); font-size: 14px; }
.aida-empty p { margin: 0 0 16px; }

/* 商城页脚 */
.aida-mall-footer {
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  margin-top: 32px;
  padding: 48px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.aida-mall-footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.aida-mall-footer h4 {
  margin: 0 0 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--aida-ink);
  position: relative;
  padding-bottom: 10px;
}
.aida-mall-footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 20px; height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #007aff, #af52de);
}
.aida-mall-footer p {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--aida-gray);
  cursor: pointer;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.aida-mall-footer p:hover { color: var(--aida-blue); padding-left: 4px; }
.aida-mall-footer .icp {
  max-width: 1120px;
  margin: 32px auto 0;
  padding: 24px 24px 0;
  font-size: 12px;
  color: var(--aida-gray-light);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   产品详情 ProductDetail
   ========================================================================== */
.aida-pd-wrap { max-width: 680px; margin: 0 auto; padding: 0 20px 128px; }
.aida-pd-breadcrumb { max-width: 680px; margin: 0 auto; padding: 16px 20px 8px; }
.aida-back-btn { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--aida-blue); }

.aida-pd-video {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: #1d1d1f;
}
.aida-pd-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.aida-play {
  position: relative;
  z-index: 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s;
}
.aida-play:hover { transform: scale(1.1); }
.aida-play.sm { width: 40px; height: 40px; }

.aida-pd-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.aida-pd-title-row h1 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--aida-ink); }
.aida-pd-sub { margin: 0 0 16px; font-size: 14px; color: var(--aida-gray); }

.aida-pd-shop {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: var(--aida-bg);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.aida-pd-shop .info { flex: 1; min-width: 0; }
.aida-pd-shop .nm { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--aida-ink); }
.aida-pd-shop .tag { margin: 2px 0 0; font-size: 12px; color: var(--aida-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aida-pd-shop .meta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.aida-pd-shop .meta .m { text-align: center; }
.aida-pd-shop .meta .v { font-size: 12px; font-weight: 600; color: var(--aida-ink); display: flex; align-items: center; gap: 2px; justify-content: center; }
.aida-pd-shop .meta .k { font-size: 10px; color: var(--aida-gray-light); }

.aida-pd-price { font-size: 26px; font-weight: 700; color: var(--aida-blue); margin: 0 0 24px; }

.aida-pd-features { border-radius: 16px; padding: 20px; margin-bottom: 32px; background: var(--aida-bg); }
.aida-pd-features .h { font-size: 14px; font-weight: 600; margin: 0 0 16px; color: var(--aida-ink); }
.aida-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 10px; column-gap: 16px; }
.aida-feature-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #3d3d3f; }

.aida-pd-block { margin-bottom: 32px; }
.aida-pd-block > h2 { margin: 0 0 16px; font-size: 18px; font-weight: 700; color: var(--aida-ink); }
.aida-core-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.aida-core-card { border-radius: 16px; overflow: hidden; background: var(--aida-bg); }
.aida-core-body { padding: 16px; }
.aida-core-title { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.aida-core-title .ic {
  width: 24px; height: 24px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 122, 255, 0.1);
  color: var(--aida-blue);
}
.aida-core-title .t { font-size: 14px; font-weight: 600; color: var(--aida-ink); }
.aida-core-card .d { margin: 0; font-size: 12px; line-height: 1.7; color: var(--aida-gray); }
.aida-core-video {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: #1d1d1f;
}
.aida-core-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.aida-core-video .vc { position: relative; z-index: 2; text-align: center; }
.aida-core-video .t1 { font-size: 12px; color: rgba(255, 255, 255, 0.8); margin: 8px 0 0; }
.aida-core-video .t2 { font-size: 10px; color: rgba(255, 255, 255, 0.5); margin: 0; }

.aida-delivery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.aida-delivery-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.aida-delivery-ic {
  width: 48px; height: 48px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 122, 255, 0.08);
  color: var(--aida-blue);
}
.aida-delivery-item .l { font-size: 12px; font-weight: 500; color: var(--aida-ink); }
.aida-delivery-item .s { font-size: 11px; color: var(--aida-gray); margin-top: 2px; }

.aida-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.aida-related-card { display: block; border-radius: 16px; overflow: hidden; background: var(--aida-bg); text-decoration: none; }
.aida-related-img { aspect-ratio: 4 / 3; overflow: hidden; }
.aida-related-img img { width: 100%; height: 100%; object-fit: cover; }
.aida-related-body { padding: 12px; }
.aida-related-body .n { margin: 0 0 4px; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--aida-ink); }
.aida-related-body .p { margin: 0; font-size: 12px; font-weight: 700; color: var(--aida-blue); }

.aida-pd-notfound {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.aida-pd-notfound .t { font-size: 18px; font-weight: 600; color: var(--aida-ink); margin: 0 0 16px; }

.aida-action-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 100;
}
.aida-action-bar .aida-btn { flex: 1; height: 48px; border-radius: 16px; }
.aida-btn-outline { border: 2px solid var(--aida-blue); color: var(--aida-blue); background: transparent; }

/* ==========================================================================
   Agent 详情
   ========================================================================== */
.aida-ad-breadcrumb { max-width: 1120px; margin: 0 auto; padding: 20px 24px 0; }
.aida-ad-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.aida-ad-main { display: flex; flex-direction: column; gap: 20px; }

.aida-ad-card {
  border-radius: 24px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--aida-line-2);
}
.aida-ad-card-head { margin-bottom: 20px; }
.aida-ad-card-head h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: var(--aida-ink); }
.aida-ad-card-head p { margin: 2px 0 0; font-size: 12px; color: var(--aida-gray-light); }

/* 概览 */
.aida-overview { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.aida-overview-main { flex: 1; }
.aida-pill-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.aida-pill { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--aida-line); color: var(--aida-gray); }
.aida-pill-solid { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #34c759, #30d158); }
.aida-pill-green { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(52, 199, 89, 0.1); color: var(--aida-green); }
.aida-pill-purple { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(175, 82, 222, 0.1); color: var(--aida-purple); }
.aida-overview h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--aida-ink);
}
.aida-overview .d { margin: 0; color: var(--aida-gray); font-size: 15px; line-height: 1.65; max-width: 560px; }
.aida-overview-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.aida-ov-btn {
  height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.05);
  color: var(--aida-ink);
}

/* 能力价值 */
.aida-values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.aida-value-card { border-radius: 16px; padding: 16px; }
.aida-value-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.aida-value-head .em { font-size: 18px; }
.aida-value-head .r { font-size: 14px; font-weight: 600; }
.aida-value-card .v { margin: 0; font-size: 14px; line-height: 1.7; color: #3d3d3f; }

/* 输出预览 */
.aida-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aida-preview-col { display: flex; flex-direction: column; gap: 12px; }

.aida-alert-card { border-radius: 16px; padding: 16px; background: #fff9f9; border: 1.5px solid rgba(255, 59, 48, 0.15); }
.aida-alert-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.aida-alert-head .t { font-size: 12px; font-weight: 600; color: var(--aida-red); }
.aida-alert-head .time { font-size: 10px; margin-left: auto; color: var(--aida-gray-light); }
.aida-alert-card .d { margin: 0 0 12px; font-size: 12px; line-height: 1.7; color: #3d3d3f; }
.aida-stock-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.aida-stock-row .n { font-size: 12px; flex: 1; color: var(--aida-ink); }
.aida-bar { flex: 1; height: 6px; border-radius: 999px; overflow: hidden; background: var(--aida-line); }
.aida-bar i { display: block; height: 100%; border-radius: 999px; }
.aida-stock-row .q { font-size: 11px; font-family: Menlo, Consolas, monospace; width: 32px; text-align: right; }

.aida-report-card { border-radius: 16px; padding: 16px; background: #f8f9ff; border: 1.5px solid rgba(0, 122, 255, 0.12); }
.aida-report-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.aida-report-head .t { font-size: 12px; font-weight: 600; color: var(--aida-blue); }
.aida-report-head .time { font-size: 10px; color: var(--aida-gray-light); }
.aida-report-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.aida-report-stat { text-align: center; }
.aida-report-stat .v { font-size: 16px; font-weight: 900; }
.aida-report-stat .l { font-size: 10px; margin-top: 2px; color: var(--aida-gray-light); }
.aida-report-tip {
  font-size: 11px;
  line-height: 1.7;
  padding: 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.03);
  color: var(--aida-gray);
}

/* Agent 聊天（绿色主题，复用 .aida-chat 结构并覆盖高度/配色） */
.aida-chat.chat-green { height: 380px; border: 1px solid var(--aida-line-2); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07); border-radius: 16px; }
.aida-chat.chat-green .aida-chat-ava { background: linear-gradient(135deg, #34c759, #30d158); }
.aida-chat.chat-green .aida-msg.user .aida-msg-bubble { background: var(--aida-blue); }
.aida-chat.chat-green .aida-chat-suggest button {
  background: rgba(52, 199, 89, 0.07);
  color: var(--aida-green);
  border-color: rgba(52, 199, 89, 0.15);
}
.aida-chat.chat-green .aida-chat-send.ready { background: var(--aida-blue); }

/* 表格 */
.aida-table-scroll { overflow-x: auto; }
.aida-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.aida-table th {
  text-align: left;
  padding: 10px 16px 10px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--aida-gray-light);
  border-bottom: 1.5px solid var(--aida-line-2);
  white-space: nowrap;
}
.aida-table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--aida-line); vertical-align: top; }
.aida-table tr:last-child td { border-bottom: none; }
.aida-table .obj { font-weight: 500; color: var(--aida-ink); white-space: nowrap; }
.aida-table .desc { color: var(--aida-gray); font-size: 12px; }
.aida-table .field { font-size: 11px; font-family: Menlo, Consolas, monospace; color: var(--aida-gray-light); margin-top: 2px; }
.aida-need {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}
.aida-need.req { background: rgba(255, 59, 48, 0.1); color: var(--aida-red); }
.aida-need.opt { background: rgba(0, 0, 0, 0.05); color: var(--aida-gray-light); }
.aida-method {
  font-size: 11px;
  font-family: Menlo, Consolas, monospace;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(52, 199, 89, 0.1);
  color: var(--aida-green);
  white-space: nowrap;
}
.aida-fmt {
  font-size: 11px;
  font-family: Menlo, Consolas, monospace;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--aida-line);
  color: var(--aida-gray);
  white-space: nowrap;
}
.aida-req-text { font-size: 11px; font-weight: 600; white-space: nowrap; }
.aida-link-btn { font-size: 12px; color: var(--aida-blue); display: inline-flex; align-items: center; gap: 2px; margin-right: 8px; }

/* 接入方式 specs */
.aida-specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.aida-spec { display: flex; gap: 12px; }
.aida-spec .k { font-size: 12px; width: 96px; flex-shrink: 0; padding-top: 2px; color: var(--aida-gray-light); }
.aida-spec .v { font-size: 14px; font-weight: 500; color: var(--aida-ink); }
.aida-mini-code { border-radius: 16px; overflow: hidden; background: #1d1d1f; }
.aida-mini-code-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.aida-mini-code-head span { font-size: 11px; font-family: Menlo, Consolas, monospace; color: rgba(255, 255, 255, 0.3); }
.aida-mini-code pre {
  margin: 0;
  padding: 16px;
  font-size: 12px;
  font-family: Menlo, Consolas, monospace;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  white-space: pre;
  overflow-x: auto;
}
.aida-outline-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.aida-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(0, 122, 255, 0.08);
  color: var(--aida-blue);
  border: 1px solid rgba(0, 122, 255, 0.15);
}

/* 场景 */
.aida-scenes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.aida-scene-card { border-radius: 16px; padding: 16px; }
.aida-scene-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.aida-scene-ic {
  width: 32px; height: 32px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.aida-scene-head .t { font-size: 14px; font-weight: 600; color: var(--aida-ink); }
.aida-scene-row { display: flex; gap: 8px; font-size: 12px; color: var(--aida-gray); margin-bottom: 8px; }
.aida-scene-row .k { font-weight: 500; flex-shrink: 0; color: var(--aida-gray-light); }
.aida-mini-tag { padding: 2px 6px; border-radius: 4px; font-size: 10px; }

/* 验收 */
.aida-accept-list { display: flex; flex-direction: column; gap: 10px; }
.aida-accept-item { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.aida-accept-check { margin-top: 2px; flex-shrink: 0; display: flex; color: #ddd; }
.aida-accept-item.checked .aida-accept-check { color: var(--aida-green); }
.aida-accept-item .txt { font-size: 14px; line-height: 1.6; color: var(--aida-ink); transition: color 0.2s; }
.aida-accept-item.checked .txt { color: var(--aida-gray-light); text-decoration: line-through; }
.aida-accept-foot {
  margin-top: 16px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--aida-line);
}
.aida-accept-foot .cnt { font-size: 12px; color: var(--aida-gray-light); white-space: nowrap; }
.aida-progress { flex: 1; height: 6px; border-radius: 999px; overflow: hidden; background: var(--aida-line); }
.aida-progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #34c759, #30d158);
  transition: width 0.4s ease;
}

/* 关联 Agent */
.aida-related-agents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aida-ra-card {
  display: block;
  background: #fff;
  border: 1px solid var(--aida-line);
  border-radius: 16px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.aida-ra-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.08); border-color: transparent; }
.aida-ra-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.aida-ra-ic { width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.aida-ra-level { margin-left: auto; font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.aida-ra-card .nm { font-size: 14px; font-weight: 600; color: var(--aida-ink); margin-bottom: 4px; }
.aida-ra-card .ds { font-size: 12px; color: var(--aida-gray); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aida-ra-card.disabled { opacity: .65; pointer-events: none; }

/* Agent 详情右侧栏 */
.aida-ad-side { position: relative; }
.aida-ad-sticky { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.aida-side-card {
  background: #fff;
  border: 1px solid var(--aida-line);
  border-radius: 20px;
  padding: 22px;
}
.aida-side-id { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.aida-side-id .ic {
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.aida-side-id .nm { font-size: 15px; font-weight: 600; color: var(--aida-ink); }
.aida-side-id .st { font-size: 12px; color: var(--aida-green); margin-top: 2px; }
.aida-side-id .st::before { content: '● '; }
.aida-meta-list { display: flex; flex-direction: column; }
.aida-meta { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--aida-line-2); font-size: 13px; }
.aida-meta:last-child { border-bottom: 0; }
.aida-meta .k { color: var(--aida-gray-light); flex-shrink: 0; }
.aida-meta .v { color: var(--aida-ink); text-align: right; font-weight: 500; }
.aida-meta .v.hl { color: var(--aida-purple); }
.aida-side-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.aida-side-btns .aida-btn { width: 100%; justify-content: center; }
.aida-side-confirm { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.aida-side-confirm li { position: relative; padding-left: 22px; font-size: 12px; color: var(--aida-gray); line-height: 1.6; }
.aida-side-confirm li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 1.5px solid #d2d2d7;
}
.aida-side-confirm li::after {
  content: '✓';
  position: absolute;
  left: 2.5px; top: 1px;
  font-size: 10px;
  color: var(--aida-green);
  opacity: 0;
}
.aida-side-confirm li.done::before { border-color: var(--aida-green); background: rgba(52,199,89,.08); }
.aida-side-confirm li.done::after { opacity: 1; }

/* ============ 响应式 ============ */
@media (max-width: 1160px) {
  .aida-container { max-width: 92%; }
  .aida-related-agents { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .aida-section { padding: 80px 0; }
  .aida-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .aida-hero { padding: 72px 0 80px; }
  .aida-chat { height: 520px; }
  .aida-caps-grid { grid-template-columns: repeat(2, 1fr); }
  .aida-cap-card.span2 { grid-column: span 1; }
  .aida-roles-grid { grid-template-columns: repeat(2, 1fr); }
  .aida-agents-grid { grid-template-columns: repeat(2, 1fr); }
  .aida-journey-grid { grid-template-columns: repeat(2, 1fr); }
  .aida-docs-grid { grid-template-columns: 1fr; }
  .aida-levels-grid { grid-template-columns: repeat(2, 1fr); }
  .aida-products-grid { grid-template-columns: repeat(3, 1fr); }
  .aida-ad-layout { grid-template-columns: 1fr; }
  .aida-ad-sticky { position: static; }
  .aida-core-grid { grid-template-columns: 1fr; }
  .aida-delivery-grid { grid-template-columns: repeat(2, 1fr); }
  .aida-feature-grid { grid-template-columns: 1fr; }
  .aida-scenes-grid { grid-template-columns: 1fr; }
  .aida-preview-grid { grid-template-columns: 1fr; }
  .aida-values-grid { grid-template-columns: repeat(2, 1fr); }
  .aida-related-grid { grid-template-columns: repeat(2, 1fr); }
  .aida-mall-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .aida-cta-inner { padding: 64px 32px; }
  .aida-mall-banner-stats { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 640px) {
  .aida-section { padding: 64px 0; }
  .aida-container { max-width: 90%; }
  .aida-hero-btns .aida-btn,
  .aida-cta-btns .aida-btn { width: 100%; }
  .aida-hero-cta { flex-direction: column; }
  .aida-hero-stats { flex-wrap: wrap; gap: 20px; }
  .aida-hero-stats .st { width: 45%; }
  .aida-caps-grid,
  .aida-roles-grid,
  .aida-agents-grid,
  .aida-journey-grid,
  .aida-levels-grid,
  .aida-related-agents,
  .aida-values-grid,
  .aida-related-grid,
  .aida-delivery-grid,
  .aida-mall-footer-grid { grid-template-columns: 1fr; }
  .aida-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .aida-filter-row { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }
  .aida-filter { white-space: nowrap; }
  .aida-cat-row { overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }
  .aida-cat { white-space: nowrap; }
  .aida-mall-topbar-row { flex-direction: column; align-items: stretch; gap: 12px; height: auto; padding: 12px 0; }
  .aida-search { width: 100%; box-sizing: border-box; }
  .aida-mall-topbar { position: static; }
  .aida-mall-content { padding-top: 24px; }
  .aida-mall-banner { padding: 36px 20px; min-height: 0; }
  .aida-mall-banner h2 { font-size: 24px; }
  .aida-mall-banner p { font-size: 14px; }
  .aida-mall-section-head { flex-direction: column; gap: 12px; }
  .aida-mall-section-head p { margin-left: 14px; }
  .aida-cta-inner { padding: 48px 20px; }
  .aida-pd-wrap { padding-bottom: 96px; }
  .aida-action-bar > div { flex-direction: column; }
  .aida-action-bar .aida-btn { width: 100%; justify-content: center; }
  .aida-accept-foot { flex-direction: column; align-items: stretch; }
  .aida-overview-actions { flex-direction: column; }
  .aida-overview-actions .aida-btn { width: 100%; justify-content: center; }
  .aida-pd-title-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .aida-code-panel { padding: 16px; }
  .aida-code-pre { font-size: 11px; }
  .aida-ad-card, .aida-side-card { border-radius: 16px; padding: 18px; }
}