:root {
  --bg: #ffffff;
  --soft: #f7f7f6;
  --ink: #0a0a0b;
  --ink-2: #3f3f46;
  --muted: #71717a;
  --faint: #a1a1aa;
  --line: #e7e7e9;
  --line-2: #f0f0f1;
  --accent: #d6455a;
  --accent-deep: #a8283b;
  --accent-soft: #fdf0f2;
  --ok: #16a34a;
  --wait: #d97706;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 10, 11, .04), 0 8px 24px -8px rgba(10, 10, 11, .08);
  --shadow-lg: 0 2px 4px rgba(10, 10, 11, .03), 0 24px 60px -20px rgba(10, 10, 11, .18);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
button, input, select { font: inherit; }
b { font-weight: 600; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 4px 14px -4px rgba(10,10,11,.4); }
.btn--dark:hover { background: #26262b; transform: translateY(-1px); }
.btn--line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: #cfcfd4; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn--xs { height: 30px; padding: 0 12px; font-size: 12.5px; border-radius: 8px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__mark {
  height: 28px; width: auto; aspect-ratio: 766 / 715; object-fit: contain;
  flex: none; display: block; background: transparent;
}
.brand__name { font-weight: 650; font-size: 17px; letter-spacing: -.02em; }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__menu-cta { display: none; }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang {
  display: inline-flex; padding: 3px; border-radius: 9px; background: var(--soft); border: 1px solid var(--line);
}
.lang__btn {
  border: 0; background: transparent; cursor: pointer; color: var(--muted);
  font-size: 13px; font-weight: 500; height: 28px; padding: 0 11px; border-radius: 6px;
  transition: background .2s, color .2s;
}
.lang__btn.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

.nav__toggle { display: none; width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; border-radius: 9px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.nav__toggle span:first-child { top: 14px; }
.nav__toggle span:last-child { top: 20px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
}
.hero__bg::after {
  content: ""; position: absolute; left: 50%; top: 360px; width: 900px; height: 420px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(214, 69, 90, .14), transparent);
  filter: blur(20px);
}
.hero__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.announce {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; color: var(--ink-2); box-shadow: var(--shadow);
}
.announce__tag { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; font-size: 12px; padding: 2px 9px; border-radius: 999px; }
.hero__title {
  margin-top: 28px;
  font-size: clamp(44px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700;
}
html[lang="zh-CN"] .hero__title { letter-spacing: -.02em; line-height: 1.12; }
.grad {
  background: linear-gradient(100deg, var(--accent-deep), var(--accent) 45%, #ef8a6f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 24px; max-width: 640px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.65; }
.hero__actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__note { margin-top: 18px; font-size: 13px; color: var(--faint); }

/* ---------- App mock ---------- */
.app {
  margin-top: 72px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(244, 244, 245, .6);
  overflow: hidden; font-size: 13px;
}
.app__bar, .stage__bar {
  height: 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 14px;
  border-bottom: 1px solid var(--line); background: #fbfbfb;
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e4e4e7; }
.app__url { font-family: var(--mono); font-size: 11.5px; color: var(--faint); background: #fff; border: 1px solid var(--line); padding: 3px 12px; border-radius: 7px; }
.app__body { display: grid; grid-template-columns: 250px 1fr 260px; min-height: 430px; }
.app__side { border-right: 1px solid var(--line); padding: 14px 10px; background: #fcfcfc; }
.side__label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 600; padding: 4px 8px 10px; }
.thread { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: start; padding: 10px; border-radius: 9px; }
.thread b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread > div { min-width: 0; }
.thread time { font-size: 11px; color: var(--faint); font-family: var(--mono); }
.thread.is-active { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 1px 3px rgba(0,0,0,.04); }
.ch-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; display: inline-block; flex: none; }
.ch-dot--wecom { background: #2f80ed; }
.ch-dot--ali { background: #ff6a00; }
.ch-dot--mail { background: #71717a; }
.ch-dot--site { background: var(--accent); }

.app__main { display: flex; flex-direction: column; min-width: 0; }
.conv__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.conv__head b { display: block; font-size: 14px; }
.conv__head small { color: var(--muted); font-size: 12px; }
.conv { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; line-height: 1.55; font-size: 13.5px; }
.msg--in { align-self: flex-start; background: var(--soft); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
.msg--out { align-self: flex-end; background: var(--ink); color: #f4f4f5; border-bottom-right-radius: 4px; }
.msg--out b { color: #fff; }
.msg--attach { display: flex; gap: 12px; align-items: center; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.msg--attach b { color: var(--ink); display: block; }
.msg--attach small { display: block; color: var(--muted); font-size: 12px; }
.pdf { font-family: var(--mono); font-size: 10px; font-weight: 700; color: #fff; background: var(--accent); padding: 8px 6px; border-radius: 6px; }
.meta { align-self: center; font-size: 11.5px; color: var(--faint); font-family: var(--mono); }

.app__panel { border-left: 1px solid var(--line); padding: 14px 16px; background: #fcfcfc; display: flex; flex-direction: column; gap: 12px; }
.kv { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; }
.kv div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); }
.kv dd { font-family: var(--mono); }
.kv__total dt { color: var(--ink); font-weight: 600; }
.kv__total dd { font-weight: 700; color: var(--accent-deep); }
.approval, .approve { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.approval b, .approve b { display: block; font-size: 12.5px; }
.approval small, .approve small { color: var(--muted); font-size: 11.5px; }
.approval .check { margin-left: auto; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #3f3f46, #0a0a0b); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; flex: none; }
.avatar--lg { width: 40px; height: 40px; font-size: 15px; background: linear-gradient(135deg, #f17a8b, var(--accent-deep)); }
.check { width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: var(--ok); display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.check--sm { width: 18px; height: 18px; font-size: 10px; }
.synced { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.badge--live { color: var(--ok); background: #f0fdf4; border-color: #bbf7d0; }
.badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(22,163,74,.18); }
.badge--ok { color: var(--ok); background: #f0fdf4; border-color: #bbf7d0; }
.badge--wait { color: var(--wait); background: #fffbeb; border-color: #fde68a; }

/* ---------- Logo wall ---------- */
.logos { margin-top: 72px; text-align: center; }
.logos__label { font-size: 13px; color: var(--muted); }
.logos__wall {
  margin-top: 24px; display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.logos__wall li {
  height: 72px; display: grid; place-items: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-weight: 650; font-size: 17px; letter-spacing: -.02em; color: #8a8a93;
  white-space: nowrap; filter: grayscale(1); transition: color .2s, background .2s;
}
.logos__wall li:hover { color: var(--ink); background: var(--soft); }

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section--tight { padding: 96px 0; }
.section--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 64px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--accent-deep); font-weight: 500; }
.kicker--dim { color: #f29aa7; }
.title { margin-top: 16px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
html[lang="zh-CN"] .title { letter-spacing: -.015em; line-height: 1.2; }
.title--sm { font-size: clamp(28px, 3.4vw, 40px); }
.lead { margin-top: 20px; font-size: 18px; color: var(--muted); line-height: 1.65; max-width: 620px; }
.head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Capabilities ---------- */
.cap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.cap__list { border-top: 1px solid var(--line); }
.cap__item {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 22px 4px; cursor: pointer;
  border-bottom: 1px solid var(--line); position: relative; outline: none;
}
.cap__item::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--ink);
}
.cap__item.is-active::before { animation: progress 6s linear forwards; }
.cap__item.is-paused::before { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }
.cap__num { font-family: var(--mono); font-size: 13px; color: var(--faint); padding-top: 3px; }
.cap__item h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; color: var(--muted); transition: color .2s; }
.cap__item p { font-size: 14.5px; color: var(--muted); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .3s, margin .3s; }
.cap__item.is-active h3, .cap__item:hover h3 { color: var(--ink); }
.cap__item.is-active .cap__num { color: var(--accent-deep); }
.cap__item.is-active p { max-height: 120px; opacity: 1; margin-top: 6px; }
.cap__item:focus-visible { background: var(--soft); }

.stage {
  position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px;
}
.stage__bar em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 500; }
.panel { display: none; padding: 24px; min-height: 420px; background: linear-gradient(180deg, #fff, #fcfcfc); }
.panel.is-active { display: block; animation: fade .45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.conv--panel { padding: 0; }

.kb { display: flex; flex-direction: column; gap: 16px; }
.kb__q { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 500; padding: 12px 14px; background: var(--soft); border-radius: 12px; border: 1px solid var(--line-2); }
.tag { font-size: 11px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; flex: none; }
.kb__sources { display: flex; flex-wrap: wrap; gap: 8px; }
.src { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; padding: 5px 10px 5px 5px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); }
.src i { font-style: normal; font-family: var(--mono); font-size: 9.5px; font-weight: 700; padding: 3px 5px; border-radius: 4px; background: var(--ink); color: #fff; }
.kb__a { font-size: 14px; line-height: 1.75; color: var(--ink-2); padding-left: 14px; border-left: 2px solid var(--accent); }
.kb__foot { font-size: 12px; color: var(--ok); font-weight: 500; }

.cost__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.cost__head small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.cost__head b { font-size: 15px; }
.cost__table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.cost__table td { padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); }
.cost__table td:last-child { text-align: right; font-family: var(--mono); color: var(--ink); }
.cost__table .total td { border-bottom: 0; padding-top: 14px; font-weight: 600; color: var(--ink); font-size: 14px; }
.cost__table .total td:last-child { color: var(--accent-deep); font-size: 17px; font-weight: 700; }
.approve__btns { margin-left: auto; display: flex; gap: 6px; }

.quote { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; box-shadow: var(--shadow); }
.quote__top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.quote__logo { display: flex; gap: 10px; align-items: center; }
.quote__logo b { display: block; font-size: 14px; }
.quote__logo small, .quote__no small { color: var(--muted); font-size: 11.5px; display: block; }
.quote__no { text-align: right; }
.quote__no b { font-family: var(--mono); font-size: 13px; }
.quote__to { font-size: 12px; color: var(--muted); margin: 12px 0; }
.quote__table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.quote__table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 11.5px; padding: 8px 6px; background: var(--soft); }
.quote__table td { padding: 10px 6px; border-bottom: 1px solid var(--line-2); }
.quote__table td:last-child, .quote__table th:last-child { text-align: right; font-family: var(--mono); }
.quote__sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-size: 13px; }
.quote__sum b { font-size: 22px; letter-spacing: -.02em; }
.quote__terms { font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.quote__sent { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ok); font-weight: 500; }

.crm__profile { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.crm__profile b { display: block; font-size: 14px; }
.crm__profile small { color: var(--muted); font-size: 12px; }
.crm__profile .badge { margin-left: auto; }
.timeline { margin-top: 18px; position: relative; padding-left: 18px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 0; font-size: 13px; }
.timeline li::before { content: ""; position: absolute; left: -18px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px #fff; }
.timeline li.next::before { background: #fff; border: 1.5px dashed var(--faint); }
.timeline li.next span { color: var(--muted); }
.timeline time { font-family: var(--mono); font-size: 11.5px; color: var(--faint); padding-top: 1px; }

/* ---------- Delivery ---------- */
.feats { display: grid; gap: 112px; }
.feat { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.feat--rev { grid-template-columns: 1.15fr .85fr; }
.feat--rev .feat__copy { order: 2; }
.feat > * { min-width: 0; }
.feat__num {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--accent-deep); box-shadow: var(--shadow);
}
.feat h3 { margin-top: 20px; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.025em; font-weight: 700; }
.feat__copy > p { margin-top: 14px; font-size: 16px; color: var(--muted); line-height: 1.7; }
.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 10px; display: grid; place-items: center; font-weight: 700;
}
.feat__viz {
  position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 28px; font-size: 13px;
  background: #fff radial-gradient(circle at 1px 1px, #e9e9ec 1px, transparent 0) 0 0 / 16px 16px;
  box-shadow: var(--shadow-lg);
}

/* ---------- Delivery motion (default = final state; .is-playing:not(.sN) = before step N) ---------- */
.mo { display: grid; gap: 0; }
.mo > * { min-width: 0; }
.mo-reset, .mo-reset * { transition: none !important; animation: none !important; }
.mo-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-bottom: 18px; counter-reset: s; }
.mo-steps li { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 11.5px; color: var(--muted); transition: background .3s, color .3s, border-color .3s; min-width: 0; }
.mo-steps span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; background: var(--soft); border: 1px solid var(--line); flex: none; transition: inherit; }
.mo-steps b { font-weight: 600; line-height: 1.25; }
.mo-steps li.is-done { color: var(--ink-2); }
.mo-steps li.is-done span { background: var(--ink); color: #fff; border-color: var(--ink); }
.mo-steps li.is-active { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 6px 16px -6px rgba(10,10,11,.45); }
.mo-steps li.is-active span { background: var(--accent); color: #fff; border-color: var(--accent); }
.mo-link { height: 22px; width: 1.5px; margin: 4px auto; background: linear-gradient(var(--line), var(--accent), var(--line)); background-size: 100% 200%; animation: flowdown 1.4s linear infinite; }
@keyframes flowdown { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* KB: documents */
.kb-src { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.doc { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.03); min-width: 0; }
.doc__icon { width: 30px; height: 30px; flex: none; }
.doc b { font-size: 13px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.doc__ok { margin-left: auto; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #dcfce7; color: var(--ok); font-size: 9px; font-weight: 700; display: grid; place-items: center; transition: opacity .3s, transform .3s; transition-delay: calc(var(--d) * .15s + .9s); }
.doc__scan { position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: linear-gradient(90deg, transparent, rgba(214, 69, 90, .16), transparent); opacity: 0; pointer-events: none; }
.mo.is-playing:not(.s1) .doc__ok { opacity: 0; transform: scale(.4); transition-delay: 0s; }
.mo.is-playing.s1:not(.s2) .doc__scan { animation: scan 1s ease-in-out calc(var(--d) * .15s) 1 both; }
@keyframes scan { 0% { left: -40%; opacity: 1; } 100% { left: 100%; opacity: 1; } }

/* KB: entities */
.ents { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ent { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 11.5px; transition: opacity .35s, transform .35s; transition-delay: calc(var(--d) * 70ms); }
.ent em, .gn em { white-space: nowrap; font-style: normal; font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 999px; color: #fff; background: var(--c); }
.mo.is-playing:not(.s2) .ent { opacity: 0; transform: translateY(-14px) scale(.85); transition-delay: 0s; }
.ent--prod, .gn--prod { --c: #a8283b; }
.ent--form, .gn--form { --c: #7c3aed; }
.ent--pack, .gn--pack { --c: #2563eb; }
.ent--price, .gn--price { --c: #0f766e; }
.ent--moq, .gn--moq { --c: #d97706; }
.ent--lead, .gn--lead { --c: #52525b; }

/* KB: ontology graph */
.graph { position: relative; aspect-ratio: 380 / 210; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.graph__edges { position: absolute; inset: 0; width: 100%; height: 100%; }
.ge { fill: none; stroke: #c9c9cf; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 800; stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s ease, opacity .2s, stroke .4s; transition-delay: calc(var(--d) * .18s + .3s); }
.mo.s4 .ge--hl, .mo:not(.is-playing) .ge--hl { stroke: var(--accent); stroke-width: 2.2; }
.mo.is-playing:not(.s3) .ge { stroke-dashoffset: 800; opacity: 0; transition-delay: 0s; }
.gl { position: absolute; transform: translate(-50%, -50%); font-size: 10px; color: var(--ink-2); background: #fff; border: 1px dashed #d4d4d8; border-radius: 6px; padding: 1px 6px; white-space: nowrap; transition: opacity .4s, color .4s, border-color .4s; transition-delay: calc(var(--d) * .18s + .7s); }
.mo.s4 .gl--hl, .mo:not(.is-playing) .gl--hl { color: var(--accent-deep); border-color: #f2b6bf; }
.mo.is-playing:not(.s3) .gl { opacity: 0; transition-delay: 0s; }
.gn { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 9px; border-radius: 10px; background: #fff; border: 1.5px solid var(--c); box-shadow: 0 4px 12px -6px rgba(0,0,0,.25); text-align: center; width: max-content; max-width: 34%; transition: opacity .4s, transform .4s, box-shadow .4s; transition-delay: calc(var(--d) * .12s); }
.gn b { font-size: 11px; font-weight: 600; line-height: 1.2; }
.mo.s4 .gn--hl, .mo:not(.is-playing) .gn--hl { box-shadow: 0 0 0 4px rgba(214, 69, 90, .15), 0 6px 16px -6px rgba(214, 69, 90, .5); }
.mo.is-playing:not(.s3) .gn { opacity: 0; transform: translate(-50%, -50%) scale(.6); transition-delay: 0s; }

/* KB: knowledge base + answer */
.kb-core { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.kb-core__head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.kb-core__head b { font-size: 13.5px; }
.kb-core__head .badge { margin-left: auto; transition: opacity .3s; }
.kb-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 0; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.kb-search { display: flex; gap: 8px; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); color: var(--ink-2); font-size: 12.5px; }
.kb-search span:first-child { color: var(--faint); font-size: 15px; }
.kb-q { clip-path: inset(0 0 0 0); transition: clip-path 1s steps(16); transition-delay: .2s; }
.kb-hit { margin-top: 8px; padding: 10px 12px; border-left: 2px solid var(--ok); background: #f0fdf4; border-radius: 0 8px 8px 0; transition: opacity .4s, transform .4s; transition-delay: 1.4s; }
.kb-hit b { display: block; font-size: 13px; }
.kb-hit small { font-size: 11.5px; color: var(--muted); }
.mo.is-playing:not(.s4) .kb-q { clip-path: inset(0 100% 0 0); transition: none; }
.mo.is-playing:not(.s4) .kb-hit { opacity: 0; transform: translateY(8px); transition-delay: 0s; }
.mo.is-playing:not(.s3) .kb-core__head .badge { opacity: 0; }

/* Training: chat logs */
.chats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chatlog { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: 11.5px; line-height: 1.45; display: grid; gap: 5px; align-content: start; transition: opacity .4s, transform .4s; transition-delay: calc(var(--d) * .15s); }
.chatlog__who { display: flex; align-items: center; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line-2); }
.chatlog__who .avatar { width: 20px; height: 20px; font-size: 10px; }
.chatlog__who b { font-size: 12px; }
.chatlog__who small { margin-left: auto; font-size: 10px; color: var(--faint); white-space: nowrap; }
.chatlog p { color: var(--ink-2); overflow-wrap: anywhere; }
.chatlog .rep { color: var(--ink); font-weight: 500; }
.mo.is-playing:not(.s1) .chatlog { opacity: .25; transform: translateY(8px); transition-delay: 0s; }
.pii { display: inline-grid; vertical-align: bottom; }
.pii > span { grid-area: 1 / 1; transition: opacity .35s, filter .35s; transition-delay: calc(var(--d) * .2s + .2s); }
.pii__raw { opacity: 0; filter: blur(4px); color: var(--accent-deep); }
.pii__mask { background: var(--ink); color: #fff; border-radius: 4px; padding: 0 4px; font-family: var(--mono); font-size: 10.5px; }
.mo.is-playing:not(.s2) .pii__raw { opacity: 1; filter: none; transition-delay: 0s; }
.mo.is-playing:not(.s2) .pii__mask { opacity: 0; transition-delay: 0s; }
.noise { text-decoration: line-through; opacity: .35; transition: opacity .4s; transition-delay: calc(var(--d) * .2s + .5s); }
.mo.is-playing:not(.s2) .noise { text-decoration: none; opacity: 1; transition-delay: 0s; }

/* Training: case library + distill */
.train-mid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cases, .distill, .evalbox { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: var(--shadow); min-width: 0; }
.cases__head { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.cases__head b { font-size: 12.5px; }
.case { display: flex; align-items: center; gap: 8px; padding: 6px 8px; margin-top: 5px; border-radius: 8px; background: var(--soft); font-size: 11.5px; transition: opacity .35s, transform .35s; transition-delay: calc(var(--d) * .15s); }
.case__id { font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
.case i { margin-left: auto; font-style: normal; font-weight: 700; }
.case i.ok { color: var(--ok); }
.case i.esc { color: var(--wait); }
.mo.is-playing:not(.s3) .case { opacity: 0; transform: translateX(-16px); transition-delay: 0s; }
.mo.is-playing:not(.s3) .cases .badge { opacity: 0; }
.distill { display: flex; flex-direction: column; gap: 5px; }
.rule-chip { font-size: 11px; padding: 4px 9px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); transition: opacity .35s, transform .35s; transition-delay: calc(var(--d) * .15s); }
.rule-chip--rose { background: var(--accent-soft); border-color: #f6cdd3; color: var(--accent-deep); }
.poppy-upd { margin-top: 4px; display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11.5px; transition: opacity .4s, transform .4s; transition-delay: .8s; }
.poppy-upd .brand__mark { height: 22px; width: auto; background: transparent; }
.mo.is-playing:not(.s4) .rule-chip { opacity: 0; transform: translateY(10px); transition-delay: 0s; }
.mo.is-playing:not(.s4) .poppy-upd { opacity: 0; transform: scale(.9); transition-delay: 0s; }

/* Training: evaluation */
.score { display: grid; grid-template-columns: minmax(0, 7.5em) 1fr 3em; align-items: center; gap: 10px; padding: 5px 0; font-size: 11.5px; }
.score b { font-family: var(--mono); text-align: right; color: var(--ok); }
.score__bar { height: 6px; border-radius: 6px; background: var(--line-2); overflow: hidden; }
.score__bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, #4ade80, var(--ok)); border-radius: 6px; transition: width .9s ease; transition-delay: calc(var(--d) * .2s); }
.eval-pass { transition: opacity .4s, transform .4s; transition-delay: 1.1s; }
.mo.is-playing:not(.s5) .score__bar i { width: 0; transition-delay: 0s; }
.mo.is-playing:not(.s5) .score b, .mo.is-playing:not(.s5) .eval-pass { opacity: 0; transition-delay: 0s; }
.score b { transition: opacity .4s; transition-delay: calc(var(--d) * .2s + .6s); }

.hub { position: relative; aspect-ratio: 4 / 3; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__lines path { fill: none; stroke: #d4d4d8; stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.hub__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff;
  box-shadow: 0 0 0 6px rgba(214, 69, 90, .12), 0 12px 30px -8px rgba(10,10,11,.4);
}
.hub__core .brand__mark { height: 34px; width: auto; background: transparent; }
.hub__ch {
  position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); white-space: nowrap;
}
.hub__ch b { display: block; font-size: 13px; }
.hub__ch small { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ok); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(22,163,74,.15); }
.ch-logo { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; flex: none; }
.ch-logo--wecom { background: #2f80ed; }
.ch-logo--site { background: var(--ink); font-size: 9px; }
.ch-logo--mail { background: #71717a; }
.ch-logo--ali { background: #ff6a00; }
.testlog { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px; box-shadow: var(--shadow); }
.testlog div { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 12.5px; border-bottom: 1px solid var(--line-2); }
.testlog div:last-child { border-bottom: 0; }
.testlog em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* ---------- Pricing ---------- */
.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price__card { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; background: #fff; }
.price__card--hi { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.price__big { display: block; font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price__card--hi .price__big { background: linear-gradient(100deg, #f7a3ae, #ef8a6f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price__card h3 { margin-top: 28px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.price__card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.price__card--hi p { color: #a1a1aa; }

/* ---------- Vision ---------- */
.section--dark { background: #0a0a0b; color: #f4f4f5; position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 80% 50%, rgba(214, 69, 90, .16), transparent 70%);
}
.vision { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.vision .title { font-size: clamp(32px, 4.2vw, 50px); }
.vision__copy p:not(.kicker) { margin-top: 20px; color: #a1a1aa; font-size: 16.5px; line-height: 1.75; max-width: 520px; }
.vision__copy p b { color: #fff; }
.eq { margin-top: 32px; display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px; border: 1px solid #27272a; border-radius: 12px; background: #111113; font-size: 15px; font-weight: 600; }
.eq i { font-style: normal; color: var(--accent); }
.a2a { position: relative; aspect-ratio: 1 / 1.02; margin-bottom: 28px; }
.a2a__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.a2a__lines path { fill: none; stroke: #34343a; stroke-width: 1.2; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.a2a__lines path.is-hot { stroke: var(--accent); stroke-dasharray: none; }
.a2a__pkts .out { fill: #f17a8b; }
.a2a__pkts .in { fill: #d4d4d8; }
.a2a__poppy {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 35%;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 16px;
  box-shadow: 0 0 0 6px rgba(214, 69, 90, .16), 0 0 60px rgba(214, 69, 90, .35);
}
.a2a__poppy-head { display: flex; align-items: center; gap: 10px; }
.a2a__poppy-head .brand__mark { height: 40px; }
.a2a__poppy-head b { display: block; font-size: 15px; }
.a2a__poppy-head small { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; }
.a2a__stats { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a2a__stats div { background: var(--soft); border-radius: 10px; padding: 8px 10px; }
.a2a__stats b { display: block; font-size: 22px; letter-spacing: -.03em; line-height: 1.1; }
.a2a__stats small { display: block; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.a2a__feed { margin-top: 10px; display: grid; gap: 6px; min-height: 66px; }
.a2a__feed div { font-size: 11px; color: var(--ink-2); line-height: 1.4; padding-top: 6px; border-top: 1px solid var(--line-2); }
.a2a__feed div.is-new { animation: fade .4s ease; }
.a2a__feed div span { color: var(--accent-deep); font-weight: 600; }
.a2a__buyers { position: absolute; left: 53%; right: 0; top: 0; bottom: 0; }
.buyer {
  position: absolute; left: 0; right: 0; transform: translateY(-50%);
  background: #141416; border: 1px solid #2a2a2e; border-radius: 11px; padding: 9px 12px;
  transition: border-color .3s, box-shadow .3s;
}
.buyer.is-hot { border-color: rgba(214, 69, 90, .7); box-shadow: 0 0 24px rgba(214, 69, 90, .25); }
.buyer__top { display: flex; align-items: center; gap: 7px; }
.buyer__code { font-family: var(--mono); font-size: 9.5px; font-weight: 700; color: #0a0a0b; background: #e4e4e7; border-radius: 4px; padding: 1px 4px; flex: none; }
.buyer__name { font-size: 12px; font-weight: 600; color: #f4f4f5; line-height: 1.3; }
.buyer__msg { margin-top: 5px; font-size: 11.5px; color: #a1a1aa; display: flex; gap: 6px; line-height: 1.4; }
.buyer__msg.out { color: #f7a3ae; }
.buyer__msg i { font-style: normal; flex: none; }
.buyer__msg.flash { animation: fade .4s ease; }
.a2a__more { position: absolute; top: 100%; right: 0; left: 53%; margin-top: 10px; text-align: center; font-size: 12px; color: #71717a; font-family: var(--mono); }

/* ---------- Add-ons ---------- */
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.addon { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; min-width: 0; }
.addon:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.addon__art { position: relative; height: 300px; padding: 16px 18px; background: var(--soft); border-bottom: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.addon__body { padding: 22px 26px 28px; }
.addon h3 { margin-top: 10px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.addon p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.ad-steps { display: flex; gap: 6px; flex-wrap: wrap; flex: none; }
.ad-steps li { font-size: 11px; font-weight: 500; color: var(--muted); padding: 3px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.ad-steps li.is-done { color: var(--ink-2); border-color: #d4d4d8; }
.ad-steps li.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* VI & packaging */
.ad-vi { background: radial-gradient(circle at 75% 65%, #fbe3e6, var(--soft) 65%); }
.vi { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; min-height: 0; }
.vi__left { display: grid; gap: 10px; align-content: start; }
.vi-logo { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.vi-logo svg { width: 42px; height: 42px; flex: none; }
.vi-ring { fill: none; stroke: #a8283b; stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s ease; transform: rotate(-90deg); transform-origin: center; }
.vi-leaf { fill: #a8283b; transition: opacity .5s .7s, transform .5s .7s; transform-origin: center; }
.vi-logo b { display: block; font-family: Didot, "Bodoni 72", Georgia, serif; letter-spacing: .18em; font-size: 15px; transition: opacity .5s .9s, letter-spacing .7s .9s; }
.vi-logo small { font-size: 10.5px; color: var(--muted); }
.vi-pal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.vi-pal span { display: grid; gap: 4px; font-family: var(--mono); font-size: 8.5px; color: var(--muted); text-align: center; transition: opacity .35s, transform .35s; transition-delay: calc(var(--d) * .12s); }
.vi-pal i { height: 30px; border-radius: 8px; background: var(--c); border: 1px solid rgba(0,0,0,.06); }
.vi-type { display: flex; align-items: baseline; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; transition: opacity .35s .5s; }
.vi-type b { font-family: Didot, "Bodoni 72", Georgia, serif; font-size: 20px; }
.vi-type small { font-size: 10.5px; color: var(--muted); }
.vi-pack { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 12px; padding-bottom: 30px; }
.vi-box { width: 46%; max-width: 104px; aspect-ratio: 9 / 15; border-radius: 6px; background: linear-gradient(160deg, #b8364a, #8f1f31); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: 0 18px 30px -14px rgba(120, 20, 40, .6); transition: opacity .5s, transform .5s; text-align: center; padding: 6px; }
.vi-box svg { width: 34%; }
.vi-box b { font-family: Didot, "Bodoni 72", Georgia, serif; letter-spacing: .16em; font-size: 10px; }
.vi-box small { font-size: 7px; opacity: .8; }
.vi-bottle { position: relative; width: 26%; max-width: 54px; aspect-ratio: 9 / 20; border-radius: 9px; background: linear-gradient(90deg, #e9cfd3, #f8eef0 45%, #dcbcc2); display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 26px -14px rgba(0,0,0,.35); transition: opacity .5s .2s, transform .5s .2s; }
.vi-bottle i { position: absolute; top: -26%; left: 30%; width: 40%; height: 28%; border-radius: 6px 6px 2px 2px; background: #1c1c1e; }
.vi-bottle span { writing-mode: vertical-rl; font-family: Didot, "Bodoni 72", Georgia, serif; font-size: 8px; letter-spacing: .2em; color: #a8283b; }
.vi-ok { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 600; color: var(--ok); background: #f0fdf4; border: 1px solid #bbf7d0; padding: 3px 10px; border-radius: 999px; transition: opacity .4s, transform .4s; }
.mo.is-playing:not(.s1) .vi-ring { stroke-dashoffset: 100; transition: none; }
.mo.is-playing:not(.s1) .vi-leaf { opacity: 0; transform: scale(.4); transition: none; }
.mo.is-playing:not(.s1) .vi-logo b { opacity: 0; letter-spacing: .6em; transition: none; }
.mo.is-playing:not(.s2) .vi-pal span { opacity: 0; transform: scale(.5); transition-delay: 0s; }
.mo.is-playing:not(.s2) .vi-type { opacity: 0; transition-delay: 0s; }
.mo.is-playing:not(.s3) .vi-box, .mo.is-playing:not(.s3) .vi-bottle { opacity: 0; transform: translateY(24px) scale(.92); transition-delay: 0s; }
.mo.is-playing:not(.s4) .vi-ok { opacity: 0; transform: translate(-50%, 8px); }

/* Short video */
.ad-video { background: #111113; }
.ad-video .ad-steps li { background: #1c1c1f; border-color: #2c2c31; color: #8a8a93; }
.ad-video .ad-steps li.is-done { color: #d4d4d8; border-color: #3f3f46; }
.ad-video .ad-steps li.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.vid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; min-height: 0; align-items: center; }
.vid__script { display: grid; gap: 6px; align-content: center; }
.vid__script li { display: grid; grid-template-columns: 22px 1fr auto; gap: 6px; align-items: center; font-size: 11.5px; color: #e4e4e7; background: #1a1a1d; border: 1px solid #2a2a2e; border-radius: 8px; padding: 6px 8px; transition: opacity .35s, transform .35s; transition-delay: calc(var(--d) * .22s); }
.vid__script i { font-style: normal; font-family: var(--mono); font-size: 10px; color: #f7a3ae; }
.vid__script em { font-style: normal; font-family: var(--mono); font-size: 10px; color: #71717a; }
.phone9 { position: relative; height: 196px; aspect-ratio: 9 / 16; border-radius: 16px; border: 3px solid #2a2a2e; overflow: hidden; background: #000; transition: opacity .4s, transform .4s; }
.sc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; font-size: 10.5px; font-weight: 600; opacity: 0; }
.sc svg { width: 60%; }
.sc1 { background: linear-gradient(170deg, #f6d9b8, #c97c4a); }
.sc2 { background: linear-gradient(170deg, #e8a0ab, #7e2a3a); }
.sc3 { background: linear-gradient(170deg, #fde7dc, #d68a74); opacity: 1; }
.sc3 span { color: #7e2a3a; }
.phone9__bar { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.phone9__bar i { display: block; height: 100%; width: 100%; background: #fff; }
.phone9__tag { position: absolute; top: 6px; left: 6px; font-family: var(--mono); font-size: 8.5px; color: #fff; background: rgba(0,0,0,.45); border-radius: 4px; padding: 1px 4px; }
.vid__pub { display: flex; gap: 6px; flex-wrap: wrap; flex: none; }
.vid__pub span { font-size: 11px; color: #bbf7d0; background: rgba(22,163,74,.14); border: 1px solid rgba(22,163,74,.35); border-radius: 999px; padding: 2px 9px; transition: opacity .35s, transform .35s; }
.vid__pub span:nth-child(2) { transition-delay: .15s; }
.vid__pub span:nth-child(3) { transition-delay: .3s; }
.mo.is-playing:not(.s1) .vid__script li { opacity: 0; transform: translateX(-12px); transition-delay: 0s; }
.mo.is-playing:not(.s2) .phone9 { opacity: .25; transform: scale(.94); }
.mo.is-playing.s2 .sc { animation: scene 3.6s infinite; }
.mo.is-playing.s2 .sc1 { animation-delay: 0s; }
.mo.is-playing.s2 .sc2 { animation-delay: 1.2s; }
.mo.is-playing.s2 .sc3 { animation-delay: 2.4s; opacity: 0; }
.mo.is-playing.s2 .phone9__bar i { animation: playbar 3.6s linear infinite; }
@keyframes scene { 0% { opacity: 0; transform: scale(1.08); } 6%, 33% { opacity: 1; transform: scale(1); } 40%, 100% { opacity: 0; } }
@keyframes playbar { from { width: 0; } to { width: 100%; } }
.mo.is-playing:not(.s3) .vid__pub span { opacity: 0; transform: translateY(8px); transition-delay: 0s; }

/* Trending products */
.ad-trend { background: #fff; }
.trend { flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.trend__tabs { display: flex; align-items: center; gap: 6px; }
.trend__tabs span { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 7px; color: var(--muted); transition: background .3s, color .3s; }
.trend__tabs small { margin-left: auto; font-size: 10.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-new { background: var(--ink); color: #fff !important; }
.mo.is-playing:not(.s2) .t-new { background: transparent; color: var(--muted) !important; }
.mo.is-playing.s1:not(.s2) .t-hot { background: var(--ink); color: #fff; }
.trend__lists { display: grid; }
.tl { grid-area: 1 / 1; display: grid; gap: 7px; transition: opacity .3s; }
.tl li { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 8px 9px; font-size: 12px; }
.tl i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.tl li:first-child i { color: var(--accent-deep); font-weight: 700; }
.tl span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl b { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.tl b small { font-family: var(--sans); font-size: 10.5px; color: var(--muted); margin-left: 1px; }
.tl b.up { color: var(--ok); }
.tl u { position: absolute; left: 34px; right: 8px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.tl u::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, #f7a3ae, var(--accent)); }
.tl--new u::after { background: linear-gradient(90deg, #86efac, var(--ok)); }
.tl--hot { opacity: 0; }
.mo.is-playing.s1:not(.s2) .tl--hot { opacity: 1; }
.mo.is-playing:not(.s2) .tl--new { opacity: 0; }
.mo.is-playing.s1:not(.s2) .tl--hot li, .mo.is-playing.s2 .tl--new li { animation: rise .5s both; animation-delay: calc(var(--d) * .12s); }
.mo.is-playing.s1:not(.s2) .tl--hot u::after, .mo.is-playing.s2 .tl--new u::after { animation: grow 1s both; animation-delay: calc(var(--d) * .12s + .2s); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { width: 0; } }
.trend__tip { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 11.5px; padding: 8px 10px; border-radius: 9px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; transition: opacity .4s, transform .4s; }
.trend__spark { width: 20px; height: 20px; border-radius: 6px; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.mo.is-playing:not(.s3) .trend__tip { opacity: 0; transform: translateY(10px); }

/* Emotional value */
.ad-care { background: linear-gradient(180deg, #fff7f3, #fdeef0); }
.care { position: relative; flex: 1; display: flex; flex-direction: column; gap: 7px; min-height: 0; }
.cm { max-width: 86%; font-size: 11.5px; line-height: 1.5; padding: 7px 11px; border-radius: 13px; transition: opacity .4s, transform .4s; }
.cm--in { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.cm--out { align-self: flex-end; background: var(--ink); color: #f4f4f5; border-bottom-right-radius: 4px; }
.care-card { align-self: flex-end; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: linear-gradient(120deg, #7e2a3a, #b8364a); color: #fff; box-shadow: 0 10px 20px -10px rgba(126, 42, 58, .6); transition: opacity .45s, transform .45s; max-width: 86%; }
.care-card svg { width: 30px; height: 30px; flex: none; }
.care-card b { display: block; font-size: 12px; }
.care-card small { font-size: 10.5px; opacity: .85; }
.hearts { position: absolute; right: 18%; bottom: 6px; pointer-events: none; }
.hearts i { position: absolute; font-style: normal; color: var(--accent); font-size: 14px; opacity: 0; }
.mo.is-playing.s4 .hearts i { animation: floatup 1.8s ease-out infinite; }
.mo.is-playing.s4 .hearts i:nth-child(2) { left: 14px; font-size: 11px; animation-delay: .5s; }
.mo.is-playing.s4 .hearts i:nth-child(3) { left: -12px; font-size: 12px; animation-delay: 1s; }
@keyframes floatup { 0% { opacity: 0; transform: translateY(0) scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-60px) scale(1.1); } }
.mo.is-playing:not(.s1) .care > .cm:nth-child(1) { opacity: 0; transform: translateY(10px); }
.mo.is-playing:not(.s2) .care > .cm:nth-child(2) { opacity: 0; transform: translateY(10px); }
.mo.is-playing:not(.s3) .care-card { opacity: 0; transform: scale(.85) rotate(-3deg); }
.mo.is-playing:not(.s4) .care > .cm:nth-child(4) { opacity: 0; transform: translateY(10px); }

.note { margin-top: 28px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.trust__list { display: grid; gap: 12px; }
.trust__list li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; font-weight: 500; }

/* ---------- CTA ---------- */
.cta { padding: 128px 0; }
.cta__inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
  background: #0a0a0b; color: #fff; border-radius: 24px; padding: 64px; position: relative; overflow: hidden;
}
.cta__inner::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(214,69,90,.35), transparent); }
.cta__copy { position: relative; }
.cta h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; letter-spacing: -.03em; font-weight: 700; }
.cta__copy > p { margin-top: 16px; color: #a1a1aa; font-size: 16px; }
.cta__contacts { margin-top: 28px; display: grid; gap: 8px; font-size: 14px; }
.cta__contacts li { display: flex; gap: 14px; }
.cta__contacts span { color: #71717a; width: 56px; flex: none; }
.cta__contacts a:hover { color: #f7a3ae; }
.form { position: relative; background: #fff; color: var(--ink); border-radius: 16px; padding: 28px; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.form input, .form select { height: 42px; border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; background: #fff; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,11,.08); }
.form input.is-invalid { border-color: var(--accent); }
.form__msg { font-size: 13px; min-height: 18px; color: var(--ok); }
.form__msg.is-error { color: var(--accent-deep); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; }
.footer p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.footer nav { display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.footer nav a:hover { color: var(--ink); }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .app__body { grid-template-columns: 220px 1fr; }
  .app__panel { display: none; }
  .cap { grid-template-columns: 1fr; gap: 32px; }
  .stage { position: relative; top: 0; }
}

@media (max-width: 860px) {
  .nav__links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links .nav__menu-cta { display: flex; justify-content: center; margin-top: 14px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 500; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }

  .hero { padding: 56px 0 56px; }
  .app { margin-top: 48px; }
  .app__body { grid-template-columns: 1fr; min-height: 0; }
  .app__side { display: none; }
  .logos__wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .logos__wall li { height: 56px; font-size: 12px; letter-spacing: -.03em; padding: 0 4px; }

  .section { padding: 88px 0; }
  .head { margin-bottom: 40px; }
  .lead { font-size: 16px; }
  .price, .addons, .vision, .trust, .cta__inner { grid-template-columns: 1fr; }
  .feats { gap: 72px; }
  .feat, .feat--rev { grid-template-columns: 1fr; gap: 28px; }
  .feat--rev .feat__copy { order: 0; }
  .vision { gap: 48px; }
  .a2a { max-width: 520px; width: 100%; margin: 0 auto; }
  .cta { padding: 64px 0 88px; }
  .cta__inner { padding: 36px 24px; gap: 32px; border-radius: 20px; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions { width: 100%; }
  .announce { font-size: 12px; }
  .feat__viz { padding: 16px; }
  .feat, .feat--rev { grid-template-columns: minmax(0, 1fr); }
  .doc { padding: 9px 10px; gap: 8px; }
  .doc__icon { width: 26px; height: 26px; }
  .doc b { font-size: 12.5px; }
  .mo-steps { gap: 4px; }
  .mo-steps li { flex-direction: column; justify-content: center; gap: 3px; padding: 6px 3px; font-size: 10.5px; text-align: center; }
  .graph { aspect-ratio: 320 / 250; }
  .gn { padding: 4px 6px; max-width: 29%; }
  .gn b { font-size: 10px; }
  .gn em { font-size: 9px; }
  .gl { font-size: 9px; padding: 0 4px; }
  .chats { grid-template-columns: minmax(0, 1fr); }
  .chatlog { grid-template-columns: minmax(0, 1fr); }
  .train-mid { grid-template-columns: minmax(0, 1fr); }
  .hub { aspect-ratio: 1 / 1; }
  .hub__ch { padding: 8px 10px; gap: 8px; }
  .hub__ch b { font-size: 12px; }
  .a2a { aspect-ratio: 4 / 5.4; }
  .a2a__poppy { padding: 12px; }
  .a2a__stats { grid-template-columns: 1fr; gap: 6px; }
  .a2a__stats b { font-size: 18px; }
  .a2a__poppy-head small { font-size: 10px; }
  .a2a__feed { display: none; }
  .buyer { padding: 7px 9px; }
  .buyer__name { font-size: 10.5px; }
  .buyer__msg { font-size: 10.5px; }
  .panel { padding: 16px; min-height: 0; }
  .msg { max-width: 92%; }
  .conv { padding: 16px; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
  .approve { flex-wrap: wrap; }
  .approve__btns { margin-left: 0; width: 100%; }
  .approve__btns .btn { flex: 1; }
  .lang__btn { padding: 0 8px; }
  .price__card { padding: 28px 24px; }
  .addon__art { height: auto; min-height: 300px; padding: 14px; }
  .addon__body { padding: 20px 20px 24px; }
  .vi { gap: 10px; }
  .vi-logo { padding: 8px; gap: 8px; }
  .vi-logo svg { width: 34px; height: 34px; }
  .vi-logo b { font-size: 13px; letter-spacing: .12em; }
  .vi-pack { min-height: 190px; }
  .phone9 { height: 170px; }
  .vid__script li { font-size: 11px; padding: 5px 7px; }
  .trend__tabs small { display: none; }
  .cm, .care-card { max-width: 92%; }
  .cta h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.example-tag { margin-top: 64px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.example-tag__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.example-tag + .app { margin-top: 16px; }
