/* ============================================================
   Nekobot 官网样式 · 温馨 / 可爱 / 简洁
   ============================================================ */

:root {
  /* 配色：奶油底 + 樱花粉主色 + 蜜桃/淡紫点缀 */
  --bg: #FFF7F2;
  --bg-soft: #FFFBF8;
  --card: #FFFFFF;
  --primary: #FF8FAB;
  --primary-deep: #F0668A;
  --primary-soft: #FFE3EC;
  --accent: #A78BFA;
  --accent-soft: #F0EAFF;
  --peach: #FFC9A3;
  --peach-soft: #FFF1E4;
  --mint-soft: #E4F4E0;
  --text: #4A3B47;
  --text-2: #8B7A87;
  --text-3: #B7A8B3;
  --border: #F5E3E8;
  --shadow-sm: 0 2px 10px rgba(240, 102, 138, .07);
  --shadow-md: 0 8px 28px rgba(240, 102, 138, .13);
  --shadow-lg: 0 18px 50px rgba(240, 102, 138, .18);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --nav-h: 68px;
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary-soft); color: var(--primary-deep); }

/* 排名圆点 */
.rank-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: 6px; vertical-align: middle;
}
.rank-gold { background: #F4C542; }
.rank-silver { background: #B8B8C0; }
.rank-bronze { background: #D4956A; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
code {
  background: var(--primary-soft);
  color: var(--primary-deep);
  padding: 2px 8px;
  border-radius: 8px;
  font-size: .88em;
}

/* ============ 背景装饰 ============ */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: blobFloat 14s ease-in-out infinite; }
.blob-1 { width: 420px; height: 420px; background: #FFD9E4; top: -120px; right: -80px; }
.blob-2 { width: 360px; height: 360px; background: #EDE4FF; top: 40%; left: -140px; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: #FFE8D6; bottom: -100px; right: 12%; animation-delay: -9s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -30px) scale(1.06); }
}
.paw {
  position: absolute; width: 22px; height: 22px; opacity: .14;
  animation: pawFloat 9s ease-in-out infinite;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F0668A'%3E%3Ccircle cx='12' cy='16' r='4'/%3E%3Ccircle cx='7' cy='10' r='2.5'/%3E%3Ccircle cx='17' cy='10' r='2.5'/%3E%3Ccircle cx='9.5' cy='6' r='2'/%3E%3Ccircle cx='14.5' cy='6' r='2'/%3E%3C/svg%3E") center/contain no-repeat;
}
.paw-1 { top: 18%; left: 6%; transform: rotate(-24deg); }
.paw-2 { top: 46%; right: 7%; animation-delay: -3s; transform: rotate(18deg); }
.paw-3 { top: 72%; left: 10%; animation-delay: -6s; transform: rotate(30deg); }
.paw-4 { top: 88%; right: 16%; animation-delay: -2s; transform: rotate(-12deg); }
@keyframes pawFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -18px; }
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding: 10px 22px; border-radius: 999px;
  transition: transform .25s var(--ease-spring), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.96); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 6px 18px rgba(240, 102, 138, .38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(240, 102, 138, .48); }
.btn-soft { background: var(--primary-soft); color: var(--primary-deep); }
.btn-soft:hover { background: #FFD3E0; transform: translateY(-2px); }
.btn-ghost { color: var(--text-2); border: 1.5px solid var(--border); background: rgba(255,255,255,.6); }
.btn-ghost:hover { color: var(--primary-deep); border-color: var(--primary); transform: translateY(-2px); }
.btn-sm { padding: 7px 16px; font-size: 13.5px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* ============ 导航栏 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(255, 250, 247, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(240, 102, 138, .08);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 24px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 20px; font-weight: 800; letter-spacing: .3px; color: var(--primary-deep);
}
.logo-cat {
  width: 34px; height: 34px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(240, 102, 138, .25);
  transition: transform .35s var(--ease-spring);
}
.nav-logo:hover .logo-cat { transform: rotate(-10deg) scale(1.1); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 7px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  color: var(--text-2); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--primary-deep); background: var(--primary-soft); }
.nav-links a.active { color: var(--primary-deep); background: var(--primary-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--text); transition: .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ Hero ============ */
.hero { padding: calc(var(--nav-h) + 64px) 24px 90px; }
.hero-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--border);
  padding: 7px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--primary-deep);
  box-shadow: var(--shadow-sm);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5);} 50% { box-shadow: 0 0 0 6px rgba(74,222,128,0);} }

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.25; font-weight: 800; letter-spacing: .5px;
  margin: 22px 0 18px;
  position: relative;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-cat { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -12%; margin-left: 8px; }
.hero-cat img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  box-shadow: 0 6px 16px rgba(240, 102, 138, .3);
  animation: catBob 3.5s ease-in-out infinite;
}
@keyframes catBob { 0%,100% { transform: rotate(0);} 50% { transform: rotate(-8deg) translateY(-3px);} }

.hero-sub { font-size: 16.5px; color: var(--text-2); margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 13.5px; color: var(--text-3); }
.hero-meta i { font-style: normal; opacity: .5; }

/* ---- 手机模型 ---- */
.hero-phone { position: relative; justify-self: center; }
.phone {
  width: 280px; height: 570px;
  border: 5px solid transparent;
  background:
    linear-gradient(145deg, #232328, #08080A) padding-box,
    linear-gradient(145deg, #F6F6F9, #C6C7D0 55%, #ECEDF1) border-box;
  border-radius: 50px; padding: 6px;
  box-shadow: 0 0 0 1px rgba(45, 45, 65, .14), var(--shadow-lg);
  transform: rotate(2.5deg);
  transition: transform .5s var(--ease-spring);
  position: relative;
}
.hero-phone:hover .phone { transform: rotate(0); }
/* Hero 仿真状态栏 */
.phone-statusbar {
  flex: none;
  display: flex; align-items: center;
  height: 34px; padding: 0 18px;
  color: #151517;
}
.phone-statusbar .sb-time { font-size: 12px; }
.phone-statusbar .sb-island { width: 72px; height: 21px; }
.phone-statusbar .sb-island::after { right: 7px; width: 6px; height: 6px; margin-top: -3px; }
.phone-screen {
  width: 100%; height: 100%;   border-radius: 39px; overflow: hidden;
  background: linear-gradient(170deg, #FFF2F6 0%, #FDEAF2 55%, #F3EEFF 100%);
  display: flex; flex-direction: column;
}
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 16px 12px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.7);
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  flex-shrink: 0; overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(240, 102, 138, .25);
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-name { font-size: 14px; font-weight: 700; }
.chat-status { font-size: 11px; color: var(--text-3); display: flex; align-items: center; gap: 4px; }
.chat-status span { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; }
.chat-body {
  flex: 1; padding: 14px 12px; overflow: hidden;
  display: flex; flex-direction: column; gap: 9px;
}
.msg {
  max-width: 82%; padding: 9px 13px; font-size: 12.5px; line-height: 1.55;
  border-radius: 16px; animation: msgIn .45s var(--ease-spring);
  word-break: break-word;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(12px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.msg.ai { align-self: flex-start; background: #fff; color: var(--text); border-bottom-left-radius: 5px; box-shadow: 0 2px 8px rgba(240,102,138,.1); }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; border-bottom-right-radius: 5px; }
.msg.typing { align-self: flex-start; background: #fff; display: flex; gap: 4px; padding: 12px 14px; border-bottom-left-radius: 5px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: .5; animation: tBounce 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tBounce { 0%,60%,100% { transform: translateY(0);} 30% { transform: translateY(-5px);} }
.chat-input {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px 14px;
  background: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.7);
}
.chat-input-box {
  flex: 1; background: #fff; border-radius: 999px; padding: 8px 14px;
  font-size: 12px; color: var(--text-3); min-height: 32px;
}
.chat-send {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; display: grid; place-items: center;
}
.phone-shadow {
  width: 70%; height: 26px; margin: 22px auto 0;
  background: radial-gradient(ellipse, rgba(240,102,138,.25), transparent 70%);
  filter: blur(6px);
}
.float-chip {
  position: absolute; padding: 8px 15px; border-radius: 999px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(6px);
  font-size: 13px; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-md); white-space: nowrap;
  animation: chipFloat 5s ease-in-out infinite;
}
.chip-1 { top: 12%; left: -64px; }
.chip-2 { top: 44%; right: -58px; animation-delay: -1.8s; }
.chip-3 { bottom: 10%; left: -44px; animation-delay: -3.2s; }
@keyframes chipFloat { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }

/* ============ 通用 Section ============ */
.section { max-width: 1120px; margin: 0 auto; padding: 84px 24px 20px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-tag {
  display: inline-block; background: var(--card); border: 1px solid var(--border);
  color: var(--primary-deep); font-size: 13px; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin: 16px 0 10px; letter-spacing: .5px; }
.section-head p { color: var(--text-2); font-size: 15.5px; }

/* ============ 真实界面截图 ============ */
.screenshot-section { max-width: 1240px; }
.screenshot-stage {
  display: flex; flex-direction: column; align-items: center;
}
.screenshot-device { position: relative; }
/* 手机外壳（与 Hero 手机模型同款） */
.screenshot-phone {
  position: relative;
  width: min(312px, 78vw);
  border: 5px solid transparent;
  background:
    linear-gradient(145deg, #232328, #08080A) padding-box,
    linear-gradient(145deg, #F6F6F9, #C6C7D0 55%, #ECEDF1) border-box;
  border-radius: 48px;
  padding: 6px;
  box-shadow: 0 0 0 1px rgba(45, 45, 65, .14), 0 24px 60px rgba(58, 48, 75, .22);
}

/* 侧边实体按键（左侧静音+音量，右侧电源，落在银色外框上） */
.phone-btn {
  position: absolute; width: 3px; border-radius: 1.5px; z-index: 4;
  background: linear-gradient(90deg, #C9CAD2, #9A9BA6);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .55), 0 0 1px rgba(30, 30, 45, .4);
}
.phone-btn--action { left: -6px; top: 15%; height: 16px; }
.phone-btn--vol-up { left: -6px; top: calc(15% + 26px); height: 30px; }
.phone-btn--vol-down { left: -6px; top: calc(15% + 62px); height: 30px; }
.phone-btn--power { right: -6px; top: 22%; height: 52px; }

.screenshot-frame {
  position: relative;
  aspect-ratio: 30 / 65;
  overflow: hidden;
  border-radius: 37px;
  background: #F7F6FB;
  display: flex; flex-direction: column;
}
/* 屏幕玻璃反光 */
.screenshot-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 30%);
}

/* 仿真状态栏（时间 / 灵动岛 / 信号图标） */
.screenshot-statusbar {
  flex: none;
  display: flex; align-items: center;
  height: 40px; padding: 0 22px;
  background: #FFFFFF;
  color: #151517;
}
.sb-time { flex: 1; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; }
.sb-island {
  position: relative;
  width: 86px; height: 25px; border-radius: 999px;
  background: #0B0B0D;
}
.sb-island::after {
  content: ""; position: absolute; right: 9px; top: 50%;
  width: 8px; height: 8px; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2A2F3F, #05060A 72%);
}
.sb-icons { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.sb-icons svg { display: block; }

/* 屏幕内的滑动轨道 */
.screenshot-gallery {
  flex: 1; min-height: 0;
  display: flex;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.screenshot-gallery::-webkit-scrollbar { display: none; }
.screenshot-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  margin: 0;
  cursor: zoom-in;
}
.screenshot-card img {
  width: 100%; height: 100%;
  display: block; object-fit: cover; object-position: top center;
}
.screenshot-card figcaption { display: none; }

/* 左右切换箭头（手机两侧） */
.gallery-btn {
  position: absolute; top: 50%; z-index: 4;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  color: var(--text);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transform: translateY(-50%);
  transition: transform .25s var(--ease-spring), opacity .25s, box-shadow .25s, color .25s;
}
.gallery-btn.prev { right: calc(100% + 28px); }
.gallery-btn.next { left: calc(100% + 28px); }
.gallery-btn:hover { transform: translateY(-50%) scale(1.1); color: var(--primary-deep); box-shadow: var(--shadow-lg); }
.gallery-btn:disabled { opacity: 0; pointer-events: none; transform: translateY(-50%) scale(.82); }

/* 当前截图标题 */
.screenshot-caption {
  margin-top: 26px;
  display: grid; gap: 4px;
  text-align: center;
}
.screenshot-caption b { font-size: 18px; letter-spacing: .3px; }
.screenshot-caption span { font-size: 14px; color: var(--text-2); }

/* 轮播圆点 */
.gallery-dots { display: flex; gap: 8px; margin-top: 16px; }
.gallery-dots button {
  width: 8px; height: 8px; padding: 0;
  border-radius: 999px;
  background: #EFD4DE;
  transition: all .3s var(--ease-spring);
}
.gallery-dots button:hover { background: var(--primary); }
.gallery-dots button.active {
  width: 24px;
  background: linear-gradient(90deg, var(--primary), var(--primary-deep));
}

/* 截图灯箱 */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; visibility: hidden; }
.lightbox.open { visibility: visible; }
.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(34, 24, 36, .88); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .3s;
}
.lightbox.open .lightbox-backdrop { opacity: 1; }
.lightbox-figure {
  position: relative; z-index: 2; margin: 0;
  opacity: 0; transform: scale(.92) translateY(16px);
  transition: transform .35s var(--ease-spring), opacity .3s;
}
.lightbox.open .lightbox-figure { opacity: 1; transform: none; }
.lightbox-figure img {
  display: block;
  max-height: 80vh; max-width: 88vw; width: auto; height: auto;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox-figure figcaption { display: grid; gap: 2px; margin-top: 14px; text-align: center; color: #fff; }
.lightbox-figure figcaption b { font-size: 16px; letter-spacing: .3px; }
.lightbox-figure figcaption span { font-size: 13px; opacity: .72; }
.lightbox-close,
.lightbox-nav {
  position: absolute; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .13); color: #fff;
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox-close { top: 20px; right: 22px; }
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { left: max(16px, 4vw); }
.lightbox-nav.next { right: max(16px, 4vw); }
body.lightbox-open { overflow: hidden; }
.screenshot-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 760px;
  margin: 22px auto 0;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .72);
  color: var(--text-2);
  font-size: 13.5px;
}
.screenshot-note a {
  flex-shrink: 0;
  color: var(--primary-deep);
  font-weight: 700;
}
.screenshot-note a:hover { text-decoration: underline; }

/* ============ 特性网格 ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-spring), box-shadow .35s, border-color .35s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #FBD0DC; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--ic, var(--primary-soft));
  display: grid; place-items: center; font-size: 25px;
  margin-bottom: 18px;
  transition: transform .35s var(--ease-spring);
}
.feature-card:hover .feature-icon { transform: scale(1.12) rotate(-6deg); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.75; }

/* ============ Agent 模式 ============ */
.agent-section { position: relative; }
.agent-workbench {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 34px;
  align-items: center;
  padding: 38px;
  border: 1px solid #F0DCE6;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 5% 5%, rgba(255,255,255,.92), transparent 34%),
    linear-gradient(145deg, #FFF4F8 0%, #FFF9F5 48%, #F6F1FF 100%);
  box-shadow: 0 18px 54px rgba(115, 79, 103, .11);
  overflow: hidden;
}
.agent-workbench::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: 8%;
  top: -105px;
  border: 34px solid rgba(255, 143, 171, .08);
  border-radius: 50%;
  pointer-events: none;
}
.agent-workbench-copy { position: relative; z-index: 1; }
.agent-kicker {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--primary-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
.agent-workbench-copy h3 {
  max-width: 470px;
  margin-bottom: 14px;
  font-size: clamp(25px, 3.1vw, 36px);
  line-height: 1.26;
  letter-spacing: -.02em;
}
.agent-workbench-copy > p {
  max-width: 540px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.9;
}
.agent-workbench-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.agent-workbench-points span {
  padding: 6px 11px;
  border: 1px solid rgba(240, 102, 138, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
  color: #725D6C;
  font-size: 11.5px;
  font-weight: 650;
}
.agent-workbench-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.agent-workbench-stats > div {
  min-width: 0;
  padding: 12px 13px;
  border-top: 1px solid rgba(240, 102, 138, .18);
}
.agent-workbench-stats b,
.agent-workbench-stats small { display: block; }
.agent-workbench-stats b { font-size: 14px; color: var(--text); }
.agent-workbench-stats small { margin-top: 2px; color: var(--text-3); font-size: 10.5px; }

.agent-workbench-preview {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(101, 76, 95, .14);
  border-radius: 22px;
  background: #302A33;
  color: #F9F5F8;
  box-shadow: 0 24px 46px rgba(64, 46, 60, .2);
  transform: rotate(1.2deg);
  transition: transform .4s var(--ease-spring), box-shadow .4s;
}
.agent-workbench:hover .agent-workbench-preview {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 28px 56px rgba(64, 46, 60, .24);
}
.agent-preview-bar {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #39323C;
  font-size: 11px;
}
.agent-preview-bar > span:nth-child(2) { margin-left: 10px; color: #C9BEC6; font-weight: 650; }
.agent-preview-bar > b {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(115, 222, 156, .12);
  color: #8EE3AD;
  font-size: 9.5px;
}
.agent-preview-dots { display: flex; gap: 5px; }
.agent-preview-dots i { width: 7px; height: 7px; border-radius: 50%; background: #716672; }
.agent-preview-dots i:first-child { background: #FF8FA3; }
.agent-preview-dots i:nth-child(2) { background: #FFC98C; }
.agent-preview-dots i:nth-child(3) { background: #8ED9AB; }
.agent-preview-tabs {
  display: flex;
  gap: 5px;
  padding: 10px 12px 8px;
  background: #312B34;
}
.agent-preview-tabs span {
  padding: 5px 10px;
  border-radius: 7px;
  color: #948893;
  font-size: 10px;
  font-weight: 650;
}
.agent-preview-tabs span.active {
  background: #4C414B;
  color: #FFF;
}
.agent-browser-mini {
  margin: 0 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  background: #F9F7F8;
}
.agent-address {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #EBE4E8;
  color: #776A74;
  font: 9.5px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.agent-address i { width: 6px; height: 6px; border-radius: 50%; background: #78CB98; }
.agent-address span { flex: 1; }
.agent-address b {
  padding: 3px 6px;
  border-radius: 5px;
  background: #FFE3EC;
  color: #C75174;
  font-size: 8px;
}
.agent-page-lines { padding: 15px 14px 17px; }
.agent-page-lines > i {
  display: block;
  height: 6px;
  margin-bottom: 7px;
  border-radius: 999px;
  background: #E8E0E5;
}
.agent-page-lines > i:first-child { width: 46%; height: 9px; background: #E8ADC0; }
.agent-page-lines > i:nth-child(2) { width: 88%; }
.agent-page-lines > i:nth-child(3) { width: 70%; }
.agent-page-lines > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 14px; }
.agent-page-lines > div span {
  height: 34px;
  border: 1px solid #EEE5E9;
  border-radius: 8px;
  background: linear-gradient(145deg, #FFF, #F6F0F3);
}
.agent-terminal-mini {
  margin: 10px 12px 0;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: #262128;
  font: 9.5px/1.75 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.agent-terminal-mini p span { color: #FF94B0; }
.agent-terminal-mini .terminal-muted { color: #8E838C; }
.agent-terminal-mini .terminal-ok { color: #8ED9AB; }
.agent-preview-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px 12px;
  color: #9F939D;
  font-size: 9.5px;
}
.agent-preview-status span:first-child { color: #D8CDD5; }
.agent-preview-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #78CB98;
  box-shadow: 0 0 0 3px rgba(120, 203, 152, .1);
}

.agent-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.agent-cap-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  min-height: 176px;
  padding: 24px 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-spring), box-shadow .35s, border-color .35s;
}
.agent-cap-card:hover {
  transform: translateY(-5px);
  border-color: #F3C9D6;
  box-shadow: var(--shadow-md);
}
.agent-cap-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #FFF0F4;
  color: var(--primary-deep);
}
.agent-cap-icon::before,
.agent-cap-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  box-sizing: border-box;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.icon-browser::before {
  width: 27px;
  height: 21px;
  border: 2px solid currentColor;
  border-radius: 5px;
  background:
    radial-gradient(circle at 5px 4px, currentColor 1.3px, transparent 1.5px),
    radial-gradient(circle at 10px 4px, currentColor 1.3px, transparent 1.5px),
    linear-gradient(currentColor, currentColor) 0 8px / 100% 2px no-repeat;
}
.icon-view::before {
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 72% 12%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.icon-view::after {
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.icon-linux::before {
  width: 27px;
  height: 23px;
  border: 2px solid currentColor;
  border-radius: 5px;
  background:
    radial-gradient(circle at 6px 6px, currentColor 1.5px, transparent 1.7px),
    radial-gradient(circle at 6px 16px, currentColor 1.5px, transparent 1.7px),
    linear-gradient(currentColor, currentColor) 0 10px / 100% 2px no-repeat;
}
.icon-linux::after {
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 10px 0 currentColor;
  transform: translate(1px, -6px);
}
.icon-terminal::before {
  width: 28px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 5px;
}
.icon-terminal::after {
  content: ">_";
  color: currentColor;
  font: 800 12px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  transform: translate(-50%, calc(-50% + 1px));
}
.icon-file::before {
  width: 20px;
  height: 26px;
  border: 2px solid currentColor;
  border-radius: 4px;
}
.icon-file::after {
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}
.icon-safe::before {
  width: 25px;
  height: 25px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.icon-safe::after {
  width: 11px;
  height: 6px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, calc(-50% - 1px)) rotate(-45deg);
}
.agent-cap-card:nth-child(2) .agent-cap-icon,
.agent-cap-card:nth-child(5) .agent-cap-icon { background: #F1ECFF; color: #7A61C9; }
.agent-cap-card:nth-child(3) .agent-cap-icon,
.agent-cap-card:nth-child(6) .agent-cap-icon { background: #EAF6EA; color: #4C9663; }
.agent-cap-card h3 { margin: 1px 0 7px; font-size: 16px; line-height: 1.35; }
.agent-cap-card p { color: var(--text-2); font-size: 12.8px; line-height: 1.72; }
.agent-card-index {
  position: absolute;
  right: 15px;
  bottom: 7px;
  color: rgba(91, 68, 85, .055);
  font-size: 38px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.06em;
}

/* ============ 双模式 ============ */
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.mode-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--r-xl); padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-spring), box-shadow .35s;
}
.mode-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mode-local { background: linear-gradient(160deg, #FFF6FA, #F6F1FF); border-color: #F2D5E0; }
.mode-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mode-emoji { font-size: 30px; }
.mode-head h3 { font-size: 21px; font-weight: 800; }
.mode-badge {
  margin-left: auto; background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.mode-desc { font-size: 14.5px; color: var(--text-2); margin-bottom: 18px; }
.mode-list { list-style: none; display: grid; gap: 10px; }
.mode-list li { font-size: 14px; font-weight: 500; padding-left: 26px; position: relative; }
.mode-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F0668A' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* ============ 功能展示 Tab ============ */
.showcase {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 26px;
  box-shadow: var(--shadow-md);
}
.showcase-tabs {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 26px;
}
.sc-tab {
  padding: 10px 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--text-2);
  background: var(--bg-soft); border: 1.5px solid transparent;
  transition: all .25s var(--ease-spring);
}
.sc-tab:hover { color: var(--primary-deep); transform: translateY(-2px); }
.sc-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; box-shadow: 0 6px 16px rgba(240,102,138,.35);
}
.showcase-panels { position: relative; }
.sc-panel {
  display: none;
  grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center;
  padding: 6px;
}
.sc-panel.active { display: grid; animation: panelIn .4s var(--ease-spring); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.sc-desc h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.sc-desc p { font-size: 14.5px; color: var(--text-2); line-height: 1.85; }

/* ---- 模拟窗口 ---- */
.mock-window {
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
}
.mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px; background: #fff; border-bottom: 1px solid var(--border);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; }
.mock-bar i:nth-child(1) { background: #FFADAD; }
.mock-bar i:nth-child(2) { background: #FFD6A5; }
.mock-bar i:nth-child(3) { background: #B5E8C8; }
.mock-bar span { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--text-3); }

/* 对话 mock */
.mock-chat { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 240px; }
.m-bubble { max-width: 84%; padding: 9px 14px; font-size: 13px; border-radius: 15px; line-height: 1.6; }
.m-bubble.left { align-self: flex-start; background: #fff; border-bottom-left-radius: 5px; box-shadow: 0 2px 6px rgba(240,102,138,.08); }
.m-bubble.right { align-self: flex-end; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; border-bottom-right-radius: 5px; }
.m-typing { display: flex; gap: 4px; background: #fff; align-self: flex-start; padding: 11px 14px; border-radius: 15px; border-bottom-left-radius: 5px; }
.m-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: .5; animation: tBounce 1.2s infinite; }
.m-typing i:nth-child(2) { animation-delay: .15s; }
.m-typing i:nth-child(3) { animation-delay: .3s; }

/* 角色 mock */
.mock-character { padding: 20px 18px; }
.mc-avatar {
  width: 68px; height: 68px; margin: 0 auto 12px;
  border-radius: 50%; overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(240,102,138,.3);
}
.mc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mc-tags { display: flex; justify-content: center; gap: 6px; margin-bottom: 16px; }
.mc-tags span { background: var(--primary-soft); color: var(--primary-deep); font-size: 11.5px; font-weight: 700; padding: 3px 11px; border-radius: 999px; }
.mc-field { background: #fff; border-radius: var(--r-sm); padding: 10px 14px; margin-bottom: 9px; }
.mc-field label { font-size: 11px; font-weight: 700; color: var(--primary-deep); }
.mc-field p { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.mc-bars { display: grid; gap: 8px; margin-top: 14px; }
.mc-bars > div { display: flex; align-items: center; gap: 10px; }
.mc-bars span { font-size: 11.5px; color: var(--text-3); width: 44px; flex-shrink: 0; }
.mc-bars b {
  flex: 1; height: 8px; border-radius: 999px; background: var(--peach-soft);
  position: relative; overflow: hidden;
}
.mc-bars b::after {
  content: ""; position: absolute; inset: 0; width: var(--v, 50%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--peach), var(--primary));
  animation: barGrow 1.2s var(--ease-spring);
}
@keyframes barGrow { from { width: 0; } }

/* 故事图 mock */
.mock-plot { padding: 22px 16px; display: flex; flex-direction: column; align-items: center; min-height: 240px; }
.plot-node {
  background: #fff; border: 1.5px solid var(--border);
  padding: 7px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--text-2);
  box-shadow: var(--shadow-sm);
}
.plot-node.root { background: var(--accent-soft); border-color: #DDD0FA; color: var(--accent); }
.plot-node.active { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; border-color: transparent; }
.plot-node.dim { opacity: .4; }
.plot-node.small { font-size: 11px; padding: 5px 12px; }
.plot-node:empty { width: 30px; visibility: hidden; }
.plot-line { width: 2px; height: 16px; background: repeating-linear-gradient(var(--border) 0 4px, transparent 4px 8px); }
.plot-row { display: flex; gap: 14px; }

/* 用量 mock */
.mock-stats { padding: 18px 16px; }
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 14px; }
.ms-cards > div { background: #fff; border-radius: var(--r-sm); padding: 10px; text-align: center; }
.ms-cards label { font-size: 11px; color: var(--text-3); display: block; }
.ms-cards b { font-size: 17px; color: var(--primary-deep); }
.ms-chart {
  display: flex; align-items: flex-end; gap: 7px; height: 76px;
  background: #fff; border-radius: var(--r-sm); padding: 12px 14px 8px; margin-bottom: 12px;
}
.ms-chart i {
  flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  animation: barGrow 1s var(--ease-spring);
  transform-origin: bottom;
}
.ms-rank { display: grid; gap: 7px; }
.ms-rank > div {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border-radius: var(--r-sm); padding: 8px 14px; font-size: 12.5px;
}
.ms-rank b { color: var(--primary-deep); }

/* ============ Agent 进度卡片 mock ============ */
.mock-agent { padding: 16px 16px; }
.ag-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--border); margin-bottom: 14px; }
.ag-spinner { display: flex; gap: 3px; }
.ag-spinner i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: .5; animation: tBounce 1.2s infinite; }
.ag-spinner i:nth-child(2) { animation-delay: .15s; }
.ag-spinner i:nth-child(3) { animation-delay: .3s; }
.ag-title { font-size: 13.5px; font-weight: 700; color: var(--text); }
.ag-count { color: var(--primary-deep); font-weight: 800; }
.ag-sub { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.ag-steps { display: grid; gap: 8px; }
.ag-step {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; background: #fff; border-radius: var(--r-sm);
  border-left: 3px solid var(--border); transition: border-color .25s;
}
.ag-step.done { border-left-color: #4ADE80; }
.ag-step.running { border-left-color: var(--primary); }
.ag-step.pending { opacity: .55; border-left-color: var(--text-3); }
.ag-icon { font-size: 16px; flex-shrink: 0; width: 22px; text-align: center; }
.ag-step > div:nth-child(2) { flex: 1; min-width: 0; }
.ag-step b { font-size: 12.5px; font-weight: 700; color: var(--text); display: block; }
.ag-step p { font-size: 11px; color: var(--text-3); margin-top: 1px; line-height: 1.5; }
.ag-state { font-size: 13px; font-weight: 800; color: #4ADE80; flex-shrink: 0; }
.ag-state-running { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--primary); border-top-color: transparent; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ag-state-pending { color: var(--text-3); font-size: 14px; }

/* ============ 记忆面板 mock ============ */
.mock-memory { padding: 16px; }
.mm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.mm-cards > div { background: #fff; border-radius: var(--r-sm); padding: 10px; text-align: center; }
.mm-cards label { font-size: 11px; color: var(--text-3); display: block; }
.mm-cards b { font-size: 16px; color: var(--primary-deep); }
.mm-bars { display: grid; gap: 6px; margin-bottom: 14px; }
.mm-bars > div { display: flex; align-items: center; gap: 10px; }
.mm-bars span { font-size: 11px; color: var(--text-3); width: 50px; flex-shrink: 0; }
.mm-bars b { flex: 1; height: 6px; border-radius: 999px; background: var(--peach-soft); position: relative; overflow: hidden; }
.mm-bars b::after {
  content: ""; position: absolute; inset: 0; width: var(--v, 50%); border-radius: 999px;
  background: linear-gradient(90deg, var(--peach), var(--primary));
  animation: barGrow 1.2s var(--ease-spring);
}
.mm-list { display: grid; gap: 6px; }
.mm-item {
  background: #fff; border-radius: var(--r-sm); padding: 8px 12px;
  font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 8px;
}
.mm-tag { background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; flex-shrink: 0; }

/* ============ 配置中心 mock ============ */
.mock-config { padding: 14px 16px; }
.cfg-tabs { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.cfg-tab {
  padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  background: var(--bg-soft); color: var(--text-3);
  transition: all .2s;
}
.cfg-tab.active { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; }
.cfg-list { display: grid; gap: 8px; }
.cfg-item {
  display: flex; gap: 12px; align-items: stretch;
  background: #fff; border-radius: var(--r-sm); padding: 10px 12px;
}
.cfg-prio {
  display: grid; place-items: center; width: 28px; flex-shrink: 0;
  font-size: 11px; font-weight: 800; color: var(--primary-deep);
  background: var(--primary-soft); border-radius: 8px;
}
.cfg-body { flex: 1; min-width: 0; }
.cfg-name { display: flex; align-items: center; gap: 8px; }
.cfg-name b { font-size: 12.5px; color: var(--text); }
.cfg-tag { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.cfg-tag.ok { background: #E4F4E0; color: #3F9B5C; }
.cfg-tag.cool { background: #FFE9E3; color: #D4956A; }
.cfg-meta { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.cfg-bar { height: 5px; border-radius: 999px; background: var(--peach-soft); margin-top: 6px; overflow: hidden; }
.cfg-bar i {
  display: block; height: 100%; width: var(--w, 0%); border-radius: 999px;
  background: linear-gradient(90deg, var(--peach), var(--primary));
  animation: barGrow 1.2s var(--ease-spring);
}

/* ============ 群聊面板 mock ============ */
.mock-group { padding: 14px 16px; }
.grp-strategy {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; border-bottom: 1px dashed var(--border); margin-bottom: 10px;
}
.grp-label { font-size: 11px; color: var(--text-3); font-weight: 600; }
.grp-strat-active {
  font-size: 12px; font-weight: 700; color: var(--primary-deep);
  background: var(--primary-soft); padding: 3px 12px; border-radius: 999px;
}
.grp-members { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.grp-member {
  font-size: 11.5px; font-weight: 600; color: var(--text-2);
  background: var(--bg-soft); padding: 4px 14px; border-radius: 999px;
  border: 1px solid var(--border);
}
.grp-chat { display: grid; gap: 10px; }
.grp-msg { display: flex; flex-direction: column; gap: 3px; }
.grp-msg.user { align-items: flex-end; }
.grp-sender {
  font-size: 11px; font-weight: 700; color: var(--sc, var(--primary-deep));
  padding-left: 2px;
}
.grp-bubble {
  background: #fff; border-radius: var(--r-sm); padding: 9px 14px;
  font-size: 12.5px; color: var(--text); line-height: 1.7;
  border: 1px solid var(--border); max-width: 88%;
}
.grp-msg.user .grp-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; border: none;
}

/* ============ 进阶能力（小卡片网格） ============ */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.adv-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-spring), box-shadow .35s, border-color .35s;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #FBD0DC; }
.adv-icon {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--ic, var(--primary-soft));
  display: grid; place-items: center; color: var(--primary-deep);
  margin-bottom: 12px;
  transition: transform .35s var(--ease-spring);
}
.adv-card:hover .adv-icon { transform: scale(1.12) rotate(-6deg); }
.adv-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.adv-card p { font-size: 12.5px; color: var(--text-2); line-height: 1.7; }

/* ============ 下载 ============ */
.download-card {
  max-width: 960px; margin: 0 auto;
  background: linear-gradient(135deg, #FFEDF3 0%, #F3EEFF 100%);
  border: 1px solid #F6DCE6;
  border-radius: var(--r-xl);
  padding: 48px 46px;
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items: center;
  box-shadow: var(--shadow-md);
}
.download-text h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 14px 0 10px; }
.download-text > p { color: var(--text-2); font-size: 14.5px; }
.download-text > p b { color: var(--primary-deep); }
.download-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 14px; }
.download-note { font-size: 13px; color: var(--text-3); }
.download-side { display: grid; place-items: center; }
.dl-qr {
  background: rgba(255,255,255,.75); backdrop-filter: blur(6px);
  border-radius: var(--r-lg); padding: 26px 30px;
  display: grid; place-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  animation: chipFloat 5s ease-in-out infinite;
}
.dl-cat { width: 84px; height: 84px; border-radius: 24px; object-fit: cover; box-shadow: 0 6px 18px rgba(240,102,138,.22); }
.dl-qr span { font-size: 13px; font-weight: 700; color: var(--text-2); }

/* ============ 时间线 ============ */
.timeline { max-width: 680px; margin: 0 auto; position: relative; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px;
  width: 2px; background: repeating-linear-gradient(var(--border) 0 6px, transparent 6px 12px);
}
.tl-item { position: relative; padding-bottom: 22px; }
.tl-dot {
  position: absolute; left: -26px; top: 22px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary); border: 3.5px solid #fff;
  box-shadow: 0 0 0 2px var(--primary-soft), var(--shadow-sm);
}
.tl-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.tl-card:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.tl-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.tl-head b { font-size: 17px; color: var(--primary-deep); }
.tl-head time { font-size: 12.5px; color: var(--text-3); }
.tl-card ul { list-style: none; display: grid; gap: 5px; }
.tl-card li { font-size: 13.5px; color: var(--text-2); padding-left: 18px; position: relative; }
.tl-card li::before { content: ""; position: absolute; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); top: 7px; opacity: .5; }
.changelog-more { text-align: center; margin-top: 30px; }

/* ============ FAQ ============ */
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, border-color .3s;
}
.faq-item[open] { border-color: #F6C9D8; box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 22px; font-size: 15px; font-weight: 600;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary-deep); }
.faq-arrow {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F0668A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/13px no-repeat;
  transition: transform .3s var(--ease-spring);
}
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-body {
  padding: 0 22px 19px; font-size: 14px; color: var(--text-2); line-height: 1.8;
  animation: panelIn .35s ease;
}

/* ============ 结尾 CTA ============ */
.final-cta { padding-bottom: 90px; }
.final-card {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: linear-gradient(150deg, var(--primary) 0%, var(--accent) 130%);
  border-radius: var(--r-xl); padding: 56px 40px;
  color: #fff; box-shadow: var(--shadow-lg);
}
.final-cat {
  width: 86px; height: 86px; border-radius: 50%; object-fit: cover;
  margin-bottom: 18px;
  border: 4px solid rgba(255,255,255,.65);
  box-shadow: 0 10px 26px rgba(0,0,0,.16);
  animation: catBob 3.5s ease-in-out infinite;
}
.final-card h2 { font-size: clamp(23px, 3vw, 30px); font-weight: 800; margin-bottom: 8px; }
.final-card p { opacity: .88; font-size: 15px; margin-bottom: 26px; }
.final-card .btn-primary { background: #fff; color: var(--primary-deep); box-shadow: 0 8px 22px rgba(0,0,0,.14); }
.final-card .btn-primary:hover { box-shadow: 0 12px 28px rgba(0,0,0,.2); }

/* ============ Footer ============ */
.footer { background: #FFF1EC; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px;
  padding: 52px 24px 34px;
}
.footer-brand p { font-size: 13.5px; color: var(--text-2); margin-top: 12px; }
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-col b { font-size: 14px; margin-bottom: 4px; }
.footer-col a { font-size: 13.5px; color: var(--text-2); transition: color .2s; width: fit-content; }
.footer-col a:hover { color: var(--primary-deep); }
.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center; padding: 18px;
  font-size: 13px; color: var(--text-3);
}

/* ============ 回到顶部 ============ */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .35s var(--ease-spring);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ============ 滚动渐入 ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s var(--ease-spring); }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}

/* ============ 响应式 ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 64px; }
  .hero-cta, .hero-meta { justify-content: center; }
  .br-pc { display: none; }
  .hero-phone { margin-top: 8px; }
  .float-chip { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid > .feature-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .agent-workbench { grid-template-columns: 1fr; padding: 34px; }
  .agent-workbench-copy > p { max-width: 680px; }
  .agent-workbench-preview { width: 100%; max-width: 620px; justify-self: center; }
  .agent-cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-panel { grid-template-columns: 1fr; gap: 24px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .download-card { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .download-actions { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 12px; right: 12px;
    background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: var(--r-md);
    flex-direction: column; padding: 10px; gap: 2px;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: all .3s var(--ease-spring);
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: 11px 16px; }
  .nav-burger { display: flex; }
  .nav-actions .btn-ghost { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid > .feature-card:last-child:nth-child(odd) { grid-column: auto; }
  .agent-workbench { padding: 25px 20px; gap: 26px; border-radius: var(--r-lg); }
  .agent-workbench-copy h3 { font-size: 26px; }
  .agent-workbench-stats { grid-template-columns: 1fr; gap: 0; }
  .agent-workbench-stats > div { display: flex; align-items: baseline; gap: 8px; padding-inline: 0; }
  .agent-workbench-preview { transform: none; }
  .agent-cap-grid { grid-template-columns: 1fr; }
  .agent-cap-card { min-height: 0; }
  .mode-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .showcase { padding: 16px; }
  .sc-tab { padding: 8px 16px; font-size: 13px; }
  .phone { width: 250px; height: 510px; }
  .float-chip { display: none; }
  .section { padding-top: 64px; }
  .screenshot-section { padding-inline: 12px; }
  .gallery-btn { display: none; }
  .screenshot-statusbar { height: 36px; padding: 0 18px; }
  .sb-time { font-size: 12.5px; }
  .sb-island { width: 76px; height: 22px; }
  .screenshot-caption { margin-top: 20px; padding-inline: 8px; }
  .screenshot-caption b { font-size: 16px; }
  .screenshot-caption span { font-size: 13px; }
  .screenshot-note {
    align-items: flex-start;
    flex-direction: column;
    margin-inline: 4px;
  }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .to-top { right: 16px; bottom: 16px; }
}
