/* MyChat 官网 —— 纯静态、零依赖 */
:root {
  --brand: #14a37f;
  --brand-2: #1fbf93;
  --brand-dark: #0e8a6b;
  --brand-soft: #e3f6ef;
  --ink: #0f1a17;
  --fg: #1d2129;
  --muted: #5d6673;
  --subtle: #9aa1ab;
  --line: #e6e8eb;
  --bg: #ffffff;
  --bg-soft: #f6f8f7;
  --dark: #0d1714;
  --dark-2: #13211d;
  --radius: 18px;
  --shadow: 0 30px 60px -20px rgb(15 40 32 / 0.25), 0 8px 20px -8px rgb(15 40 32 / 0.12);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(1200px, 100% - 40px); margin: 0 auto; }
.section { padding: 110px 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--brand);
  background: var(--brand-soft); padding: 5px 12px; border-radius: 99px;
  letter-spacing: 0.04em;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin: 18px 0 16px; font-weight: 800; }
.section-head p { font-size: 18px; color: var(--muted); }
.grad-text {
  background: linear-gradient(120deg, var(--brand-2), var(--brand-dark) 60%, #0b6e57);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 14px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: 0;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-dark));
  box-shadow: 0 10px 24px -8px rgb(20 163 127 / 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgb(20 163 127 / 0.7); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgb(255 255 255 / 0.1); color: #fff; border: 1px solid rgb(255 255 255 / 0.2); }
.btn-light:hover { background: rgb(255 255 255 / 0.18); }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { height: 68px; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); }
.logo img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--brand); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 11px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 90px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(600px 400px at 15% 20%, rgb(31 191 147 / 0.18), transparent 70%),
    radial-gradient(700px 500px at 85% 10%, rgb(20 163 127 / 0.14), transparent 70%),
    radial-gradient(500px 400px at 60% 70%, rgb(120 220 190 / 0.12), transparent 70%);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgb(20 163 127 / 0.06) 1px, transparent 1px), linear-gradient(90deg, rgb(20 163 127 / 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.hero-copy { text-align: center; max-width: 880px; margin: 0 auto; }
.hero h1 { font-size: clamp(40px, 6.6vw, 76px); font-weight: 900; margin: 24px 0 22px; letter-spacing: -0.02em; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 720px; margin: 0 auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-platforms { display: flex; gap: 22px; justify-content: center; margin-top: 28px; color: var(--subtle); font-size: 14px; flex-wrap: wrap; }
.hero-platforms span { display: inline-flex; align-items: center; gap: 6px; }
.hero-platforms svg { width: 16px; height: 16px; }
.hero-visual { position: relative; margin: 60px auto 0; max-width: 1100px; }
.hero-visual .window { margin-right: 120px; }
.hero-visual .phone { position: absolute; right: 0; bottom: -40px; }
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite;
}
.float-chip i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-style: normal; }
.float-chip small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.chip-1 { left: -30px; top: 80px; }
.chip-2 { left: 30%; bottom: -30px; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- 平台条 ---------- */
.platform-bar { border-block: 1px solid var(--line); background: #fff; }
.platform-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; flex-wrap: wrap; }
.platform-bar p { color: var(--muted); font-size: 15px; }
.platform-list { display: flex; gap: 36px; flex-wrap: wrap; }
.platform-list div { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.platform-list svg { width: 26px; height: 26px; }

/* ---------- 通用：模拟窗口 ---------- */
.window {
  background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgb(0 0 0 / 0.06); position: relative; z-index: 1;
}
.win-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f1f3f4; border-bottom: 1px solid var(--line); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar .url { margin: 0 auto; background: #fff; border-radius: 7px; height: 22px; padding: 0 12px; display: flex; align-items: center; font-size: 11px; color: var(--muted); min-width: 40%; justify-content: center; gap: 6px; }
.win-bar .url svg { width: 11px; height: 11px; }
.win-bar .title { margin: 0 auto; font-size: 12px; color: var(--muted); padding-right: 50px; }

/* 桌面客户端 */
.app { display: grid; grid-template-columns: 58px 54px 250px 1fr; height: 540px; font-size: 13px; }
.rail-station { background: #1d2a26; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; }
.st { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; position: relative; opacity: .7; }
.st.on { opacity: 1; box-shadow: 0 0 0 2px #1d2a26, 0 0 0 4px var(--brand-2); }
.st .dot { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; background: #fa5151; border-radius: 50%; border: 2px solid #1d2a26; }
.st.add { border: 1.5px dashed rgb(255 255 255 / .3); color: rgb(255 255 255 / .6); background: none; font-weight: 400; font-size: 20px; }
.rail-nav { background: #e9ecef; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 16px 0; }
.rail-nav .me { width: 34px; height: 34px; border-radius: 8px; }
.rail-nav svg { width: 22px; height: 22px; color: #8a919a; }
.rail-nav svg.on { color: var(--brand); }
.conv-list { background: #f7f8fa; border-right: 1px solid var(--line); overflow: hidden; }
.search { margin: 12px; height: 30px; border-radius: 8px; background: #eceef1; display: flex; align-items: center; gap: 6px; padding: 0 10px; color: var(--subtle); font-size: 12px; }
.search svg { width: 13px; height: 13px; }
.conv { display: flex; gap: 10px; padding: 10px 12px; align-items: center; }
.conv.on { background: #e2e5e9; }
.conv .meta { flex: 1; min-width: 0; }
.conv .row { display: flex; justify-content: space-between; gap: 6px; }
.conv b { font-weight: 500; color: var(--fg); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv time { font-size: 11px; color: var(--subtle); flex-shrink: 0; }
.conv p { font-size: 12px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat { background: #f2f3f5; display: flex; flex-direction: column; min-width: 0; }
.chat-head { height: 54px; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 20px; font-weight: 600; font-size: 15px; background: #f2f3f5; gap: 8px; }
.chat-head small { color: var(--subtle); font-weight: 400; font-size: 12px; }
.chat-head .icons { margin-left: auto; display: flex; gap: 16px; color: #6b7280; }
.chat-head .icons svg { width: 18px; height: 18px; }
.chat-body { flex: 1; padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.chat-input { height: 120px; border-top: 1px solid var(--line); background: #fff; padding: 10px 18px; display: flex; flex-direction: column; }
.chat-input .tools { display: flex; gap: 16px; color: #6b7280; }
.chat-input .tools svg { width: 19px; height: 19px; }
.chat-input .typing { flex: 1; padding-top: 10px; color: var(--fg); }
.chat-input .typing .caret { display: inline-block; width: 1.5px; height: 15px; background: var(--brand); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chat-input .send { align-self: flex-end; background: var(--brand); color: #fff; border-radius: 6px; padding: 4px 18px; font-size: 12px; }

/* 消息气泡（桌面与手机共用） */
.msg { display: flex; gap: 9px; align-items: flex-start; max-width: 82%; }
.msg.me { align-self: flex-end; flex-direction: row-reverse; }
.msg .who { font-size: 11px; color: var(--subtle); margin-bottom: 3px; }
.bubble { background: #fff; padding: 8px 12px; border-radius: 6px; position: relative; color: var(--fg); line-height: 1.5; word-break: break-word; }
.msg.me .bubble { background: #95ec69; }
.msg.me .bubble.brand { background: #d6f3e7; }
.bubble .at { color: #576b95; }
.time-tip { align-self: center; font-size: 11px; color: var(--subtle); }
.sys-tip { align-self: center; font-size: 11px; color: var(--subtle); background: rgb(0 0 0 / .04); padding: 2px 10px; border-radius: 5px; }
.img-msg { width: 150px; height: 104px; border-radius: 6px; }
.file-card { background: #fff; border-radius: 6px; padding: 10px 12px; display: flex; gap: 12px; width: 220px; align-items: center; }
.file-card b { font-weight: 500; font-size: 13px; display: block; }
.file-card small { color: var(--subtle); font-size: 11px; }
.file-card .ic { width: 36px; height: 42px; border-radius: 4px; background: #2b7cf6; color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; margin-left: auto; flex-shrink: 0; }
.mini-card { background: #fff; border-radius: 6px; width: 210px; overflow: hidden; }
.mini-card .h { display: flex; align-items: center; gap: 6px; padding: 8px 10px 4px; font-size: 11px; color: var(--muted); }
.mini-card .h i { width: 16px; height: 16px; border-radius: 50%; background: var(--brand); }
.mini-card .t { padding: 0 10px 6px; font-size: 13px; }
.mini-card .cover { height: 110px; }
.mini-card .f { border-top: 1px solid var(--line); padding: 4px 10px; font-size: 10px; color: var(--subtle); display: flex; align-items: center; gap: 4px; }

/* 头像 */
.av { width: 38px; height: 38px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 15px; flex-shrink: 0; }
.av.sm { width: 32px; height: 32px; font-size: 13px; border-radius: 5px; }
.av.xs { width: 22px; height: 22px; font-size: 10px; border-radius: 4px; }
.av.grp { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; place-items: stretch; gap: 1.5px; padding: 2px; background: #dfe2e6; }
.av.grp span { border-radius: 2px; display: block; }
.c1 { background: linear-gradient(135deg, #ffb26b, #ff7b54); }
.c2 { background: linear-gradient(135deg, #6ec6ff, #2b7cf6); }
.c3 { background: linear-gradient(135deg, #c69cff, #8a5cf6); }
.c4 { background: linear-gradient(135deg, #5fd8b0, #14a37f); }
.c5 { background: linear-gradient(135deg, #ff8fb1, #f04f7a); }
.c6 { background: linear-gradient(135deg, #ffd66b, #f4a51c); }
.c7 { background: linear-gradient(135deg, #8fa3b8, #546a82); }
.c8 { background: linear-gradient(135deg, #7be0e6, #1aa4b8); }

/* 生成的“照片” */
.ph-1 { background: linear-gradient(180deg, #ffcf9a 0%, #ff8f6b 45%, #6b4a8a 46%, #3a2f5c 100%); }
.ph-2 { background: radial-gradient(circle at 70% 30%, #fff6c8 0 10%, transparent 11%), linear-gradient(180deg, #8fd3ff, #d9f2ff 55%, #5fbf7a 56%, #2f8a52); }
.ph-3 { background: radial-gradient(circle at 30% 70%, #ffe5b0 0 18%, transparent 19%), linear-gradient(135deg, #f7d9c4, #e9a87c); }
.ph-4 { background: linear-gradient(160deg, #1b2a49 0%, #3c5a8a 50%, #f2b880 51%, #e07a5f 100%); }
.ph-5 { background: radial-gradient(circle at 50% 40%, #fff 0 8%, transparent 9%), linear-gradient(180deg, #2c3e66, #6b8fd1); }
.ph-6 { background: linear-gradient(135deg, #b8f0d8, #3cbf91 60%, #1b7a5c); }
.ph-7 { background: radial-gradient(ellipse at 50% 100%, #2f8a52 0 40%, transparent 41%), linear-gradient(180deg, #ffd1dc, #ffe9b8); }
.ph-8 { background: linear-gradient(200deg, #e0eafc, #cfdef3 40%, #9bb5d8 41%, #5b7fae); }
.ph-9 { background: radial-gradient(circle at 40% 45%, #d94f4f 0 22%, transparent 23%), radial-gradient(circle at 62% 55%, #f6c453 0 14%, transparent 15%), linear-gradient(135deg, #fff1e0, #f5d6b8); }

/* ---------- 手机 ---------- */
.phone {
  width: 300px; aspect-ratio: 9 / 19.2; border-radius: 46px; background: #111;
  padding: 11px; box-shadow: var(--shadow), inset 0 0 0 2px #333; position: relative; z-index: 2; flex-shrink: 0;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; background: #000; border-radius: 20px; transform: translateX(-50%); z-index: 5; }
.screen { color: #111; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #ededed; display: flex; flex-direction: column; font-size: 12.5px; position: relative; }
.status { height: 44px; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 26px 6px; font-size: 12px; font-weight: 600; color: #000; flex-shrink: 0; }
.status .sig { display: flex; gap: 4px; align-items: center; }
.status .sig i { width: 16px; height: 9px; border: 1.2px solid #000; border-radius: 3px; position: relative; }
.status .sig i::after { content: ""; position: absolute; inset: 1px 4px 1px 1px; background: #000; border-radius: 1px; }
.appbar { height: 42px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; position: relative; flex-shrink: 0; color: #111; }
.appbar .l, .appbar .r { position: absolute; top: 50%; transform: translateY(-50%); display: flex; gap: 14px; }
.appbar .l { left: 14px; } .appbar .r { right: 14px; }
.appbar svg { width: 20px; height: 20px; }
.p-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 12px 12px; }
.p-input { height: 54px; background: #f7f7f7; border-top: 1px solid #e3e3e3; display: flex; align-items: center; gap: 8px; padding: 0 10px 8px; flex-shrink: 0; }
.p-input svg { width: 24px; height: 24px; color: #222; flex-shrink: 0; }
.p-input .field { flex: 1; height: 34px; background: #fff; border-radius: 5px; }
.p-input .hold { flex: 1; height: 34px; background: #fff; border-radius: 5px; display: grid; place-items: center; font-weight: 600; font-size: 13px; }
.tabbar { height: 62px; background: #f7f7f7; border-top: 1px solid #e3e3e3; display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: 12px; flex-shrink: 0; }
.tabbar div { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; color: #333; gap: 1px; }
.tabbar svg { width: 22px; height: 22px; }
.tabbar .on { color: var(--brand); }
.p-list { background: #fff; flex: 1; overflow: hidden; }
.p-list .conv { padding: 11px 14px; border-bottom: 1px solid #f0f0f0; }
.p-list .conv b { font-size: 14px; }
.badge { position: absolute; top: -5px; right: -5px; background: #fa5151; color: #fff; font-size: 10px; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; font-weight: 600; }
.av-wrap { position: relative; }

/* 语音消息 */
.voice { display: flex; align-items: center; gap: 8px; min-width: 90px; }
.msg.me .voice { flex-direction: row-reverse; }
.voice .wave { display: flex; gap: 2px; align-items: center; height: 16px; }
.voice .wave i { width: 2.5px; background: currentColor; border-radius: 2px; height: 30%; }
.voice.playing .wave i { animation: wave 1s ease-in-out infinite; }
.voice .wave i:nth-child(2) { animation-delay: -.2s; height: 60%; }
.voice .wave i:nth-child(3) { animation-delay: -.4s; height: 90%; }
.voice .wave i:nth-child(4) { animation-delay: -.6s; height: 50%; }
@keyframes wave { 50% { height: 100%; } }
.transcript {
  margin-top: 5px; background: #fff; border-radius: 6px; padding: 7px 10px; font-size: 12px; line-height: 1.5; color: var(--fg);
  max-width: 190px; position: relative;
}
.msg.me .transcript { margin-left: auto; }
.transcript .tag { display: inline-flex; align-items: center; gap: 3px; color: var(--brand); font-size: 10px; margin-bottom: 2px; font-weight: 600; }
.transcript .tag svg { width: 11px; height: 11px; }
.unread-dot { width: 7px; height: 7px; border-radius: 50%; background: #fa5151; align-self: center; }

/* 朋友圈 */
.moments { background: #fff; flex: 1; overflow: hidden; position: relative; }
.m-cover { height: 190px; position: relative; background: linear-gradient(180deg, #4a7bb7, #9cc2e8 55%, #f2c48d 56%, #d98c5f); }
.m-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 30%, #fff8d6 0 7%, transparent 8%); }
.m-cover .me { position: absolute; right: 14px; bottom: -22px; display: flex; align-items: flex-end; gap: 10px; color: #fff; font-weight: 600; z-index: 1; font-size: 14px; }
.m-cover .me span { padding-bottom: 28px; text-shadow: 0 1px 3px rgb(0 0 0 / .4); }
.m-cover .me .av { width: 58px; height: 58px; border-radius: 8px; border: 2px solid #fff; font-size: 22px; }
.m-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.m-top .appbar, .m-top .status { color: #fff; }
.m-top .status .sig i { border-color: #fff; } .m-top .status .sig i::after { background: #fff; }
.post { display: flex; gap: 10px; padding: 14px 14px 10px; border-bottom: 1px solid #f2f2f2; }
.post:first-of-type { margin-top: 34px; }
.post .name { color: #576b95; font-weight: 600; font-size: 13.5px; }
.post .txt { font-size: 13px; margin: 2px 0 7px; color: #111; }
.pics { display: grid; grid-template-columns: repeat(3, 62px); gap: 4px; }
.pics div { height: 62px; }
.pics.two { grid-template-columns: repeat(2, 72px); } .pics.two div { height: 72px; }
.post .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 7px; color: var(--subtle); font-size: 11px; }
.post .more { background: #f7f7f7; border-radius: 3px; width: 26px; height: 16px; display: grid; place-items: center; color: #576b95; font-weight: 900; letter-spacing: 1px; font-size: 13px; line-height: 0; }
.likes { background: #f7f7f7; margin-top: 7px; border-radius: 3px; font-size: 12px; padding: 5px 8px; color: #576b95; }
.likes .cm { color: #111; margin-top: 3px; border-top: 1px solid #ececec; padding-top: 3px; }
.likes .cm b { color: #576b95; font-weight: 500; }

/* 通话 */
.call { background: radial-gradient(circle at 50% 0%, #2c3e38, #101614 70%); color: #fff; flex: 1; display: flex; flex-direction: column; }
.call .status { color: #fff; } .call .status .sig i { border-color: #fff; } .call .status .sig i::after { background: #fff; }
.call-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 14px 6px 0; }
.call-grid div { aspect-ratio: 1; border-radius: 4px; position: relative; display: grid; place-items: center; font-size: 22px; font-weight: 700; }
.call-grid div small { position: absolute; left: 5px; bottom: 3px; font-size: 9px; font-weight: 500; background: rgb(0 0 0 / .35); padding: 0 4px; border-radius: 3px; }
.call-grid div.speak { box-shadow: inset 0 0 0 2px #4ee39f; }
.call-info { text-align: center; margin-top: 18px; font-size: 13px; color: rgb(255 255 255 / .75); }
.call-info b { display: block; color: #fff; font-size: 17px; font-weight: 500; letter-spacing: .04em; }
.call-btns { display: flex; justify-content: space-around; margin-top: auto; padding: 0 20px 36px; }
.call-btns div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10px; color: rgb(255 255 255 / .8); }
.call-btns i { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .16); }
.call-btns i.hang { background: #fa5151; }
.call-btns svg { width: 22px; height: 22px; }

/* ---------- 功能卡片 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feat:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgb(15 40 32 / .25); border-color: transparent; }
.feat .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { font-size: 14px; color: var(--muted); }

/* ---------- 功能详解（左右交替） ---------- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.frow + .frow { margin-top: 140px; }
.frow.rev .row-copy { order: 2; }
.row-copy h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin: 18px 0 18px; }
.row-copy > p { font-size: 17px; color: var(--muted); }
.checks { margin-top: 26px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; font-size: 15px; color: var(--fg); }
.checks li svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--brand); margin-top: 1px; }
.checks li b { color: var(--ink); }
.row-visual { display: flex; justify-content: center; position: relative; }
.row-visual .blob { position: absolute; inset: 8% 6%; border-radius: 40px; background: linear-gradient(135deg, var(--brand-soft), #f3fbf8); z-index: 0; transform: rotate(-4deg); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pill { font-size: 13px; padding: 5px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--muted); }

/* ---------- 聊天站概念图 ---------- */
.stations-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.orbit { position: relative; aspect-ratio: 1; max-width: 520px; margin: 0 auto; width: 100%; }
.orbit .ring { position: absolute; border: 1.5px dashed rgb(20 163 127 / .28); border-radius: 50%; }
.orbit .ring.r1 { inset: 18%; } .orbit .ring.r2 { inset: 2%; }
.orbit .center {
  position: absolute; inset: 36%; border-radius: 30%; background: linear-gradient(135deg, var(--brand-2), var(--brand-dark));
  display: grid; place-items: center; color: #fff; text-align: center; box-shadow: 0 20px 50px -10px rgb(20 163 127 / .6);
}
.orbit .center img { width: 54%; margin: 0 auto; }
.orbit .center b { display: block; font-size: 13px; margin-top: -6%; }
.node {
  position: absolute; background: #fff; border-radius: 16px; padding: 10px 14px 10px 10px; display: flex; gap: 10px; align-items: center;
  box-shadow: 0 14px 30px -12px rgb(15 40 32 / .3); font-size: 13px; white-space: nowrap; transform: translate(-50%, -50%);
  animation: floaty 7s ease-in-out infinite;
}
.node .st { width: 36px; height: 36px; opacity: 1; font-size: 14px; }
.node b { display: block; color: var(--ink); font-size: 14px; }
.node small { color: var(--muted); font-size: 11.5px; }
.n1 { left: 50%; top: 4%; } .n2 { left: 86%; top: 32%; animation-delay: -1.5s; } .n3 { left: 82%; top: 86%; animation-delay: -3s; }
.n4 { left: 18%; top: 86%; animation-delay: -4.5s; } .n5 { left: 14%; top: 32%; animation-delay: -6s; }
.mini-steps { display: grid; gap: 18px; margin-top: 30px; }
.mini-steps li { display: flex; gap: 16px; align-items: flex-start; }
.mini-steps .n { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.mini-steps b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.mini-steps p { color: var(--muted); font-size: 14px; }

/* ---------- 小程序（深色） ---------- */
.dark { background: var(--dark); color: #c9d4d0; overflow: hidden; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .section-head p { color: #9bb0a9; }
.dark .eyebrow { background: rgb(31 191 147 / .14); color: #4ee3b5; }
.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 500px at 20% 0%, rgb(31 191 147 / .16), transparent 70%), radial-gradient(700px 500px at 100% 100%, rgb(80 120 255 / .12), transparent 70%);
}
.dark .container { position: relative; }
.ma-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 70px; }
.pillar { background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .08); border-radius: var(--radius); padding: 30px 26px; }
.pillar .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgb(31 191 147 / .15); color: #4ee3b5; margin-bottom: 18px; }
.pillar .ic svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 19px; margin-bottom: 10px; }
.pillar p { font-size: 14.5px; color: #9bb0a9; }

.ai-demo { display: grid; grid-template-columns: 1fr 1.15fr 300px; gap: 22px; align-items: stretch; }
.panel { background: #0a1210; border: 1px solid rgb(255 255 255 / .08); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.panel-h { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid rgb(255 255 255 / .07); font-size: 12.5px; color: #9bb0a9; }
.panel-h svg { width: 15px; height: 15px; color: #4ee3b5; }
.panel-h .tabs { display: flex; gap: 2px; margin-left: 6px; }
.panel-h .tabs span { padding: 4px 10px; border-radius: 6px; font-family: var(--mono); font-size: 11.5px; }
.panel-h .tabs span.on { background: rgb(255 255 255 / .07); color: #fff; }
.ai-chat { padding: 18px; display: flex; flex-direction: column; gap: 14px; font-size: 13.5px; flex: 1; }
.ai-msg { padding: 11px 14px; border-radius: 12px; line-height: 1.6; }
.ai-msg.u { background: var(--brand-dark); color: #fff; align-self: flex-end; max-width: 92%; border-bottom-right-radius: 4px; }
.ai-msg.a { background: rgb(255 255 255 / .06); color: #d5e1dd; max-width: 96%; border-bottom-left-radius: 4px; }
.ai-msg.a ul { margin-top: 6px; display: grid; gap: 4px; }
.ai-msg.a li { display: flex; gap: 6px; font-size: 12.5px; color: #9bb0a9; }
.ai-msg.a li::before { content: "✓"; color: #4ee3b5; }
.ai-msg code { font-family: var(--mono); font-size: 12px; color: #4ee3b5; }
pre.code { margin: 0; padding: 16px 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #c9d4d0; overflow-x: auto; white-space: pre; flex: 1; }
.tk-k { color: #ff7ab2; } .tk-s { color: #a5e8a0; } .tk-f { color: #7cc7ff; } .tk-c { color: #5f736d; font-style: italic; } .tk-n { color: #ffcf70; } .tk-t { color: #4ee3b5; }
.ai-demo .phone { width: 100%; max-width: 300px; justify-self: center; }

.shop-hero { background: linear-gradient(135deg, #ff9a5a, #ff5d5d); color: #fff; padding: 14px 14px 18px; }
.shop-hero b { font-size: 17px; display: block; }
.shop-hero small { opacity: .9; font-size: 11px; }
.shop-hero .who { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 11.5px; background: rgb(255 255 255 / .2); border-radius: 99px; padding: 3px 10px 3px 3px; width: max-content; }
.shop-list { padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: #f5f5f5; flex: 1; }
.shop-item { background: #fff; border-radius: 8px; overflow: hidden; }
.shop-item .pic { height: 74px; }
.shop-item div { padding: 6px 8px; font-size: 11.5px; }
.shop-item em { color: #ff5d5d; font-style: normal; font-weight: 700; font-size: 13px; }
.shop-btn { margin: 0 10px 12px; height: 38px; border-radius: 19px; background: linear-gradient(90deg, #ff9a5a, #ff5d5d); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 13px; }
.mini-bar { height: 42px; display: flex; align-items: center; padding: 0 12px; background: #fff; font-weight: 600; font-size: 14px; position: relative; color: #111; justify-content: center; }
.mini-bar .caps { position: absolute; right: 10px; display: flex; border: 1px solid #e3e3e3; border-radius: 15px; height: 26px; align-items: center; padding: 0 8px; gap: 8px; }
.mini-bar .caps i { width: 4px; height: 4px; background: #111; border-radius: 50%; box-shadow: 6px 0 #111, -6px 0 #111; margin: 0 6px; }
.mini-bar .caps b { width: 13px; height: 13px; border: 2px solid #111; border-radius: 50%; }

.compare { margin-top: 70px; border-radius: 18px; overflow: hidden; border: 1px solid rgb(255 255 255 / .08); }
.compare table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid rgb(255 255 255 / .06); }
.compare thead th { background: rgb(255 255 255 / .04); color: #fff; font-size: 14px; }
.compare thead th:nth-child(3) { color: #4ee3b5; }
.compare td:first-child { color: #9bb0a9; width: 22%; }
.compare td:nth-child(2) { color: #7f918b; }
.compare td:nth-child(3) { color: #fff; background: rgb(31 191 147 / .06); }
.compare tr:last-child td { border-bottom: 0; }
.ok { color: #4ee3b5; font-weight: 700; margin-right: 6px; }

/* ---------- 后台管理 ---------- */
.admin { display: grid; grid-template-columns: 200px 1fr; height: 520px; font-size: 13px; background: #f6f7f9; }
.adm-side { background: #fff; border-right: 1px solid var(--line); padding: 16px 10px; }
.adm-side .brand { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 0 8px 14px; color: var(--ink); }
.adm-side .brand img { width: 24px; }
.adm-side a { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; }
.adm-side a svg { width: 15px; height: 15px; }
.adm-side a.on { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.adm-side a .n { margin-left: auto; background: #f59e0b; color: #fff; border-radius: 9px; font-size: 10px; padding: 0 6px; }
.adm-main { padding: 22px 26px; overflow: hidden; }
.adm-main h4 { font-size: 18px; }
.adm-main .sub { color: var(--subtle); font-size: 12px; margin: 2px 0 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: #fff; border-radius: 12px; padding: 14px; border: 1px solid #eef0f2; }
.stat small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.stat small svg { width: 14px; height: 14px; }
.stat b { display: block; font-size: 22px; color: var(--ink); margin-top: 4px; font-weight: 700; }
.stat b.g { color: var(--brand); } .stat b.w { color: #f59e0b; }
.adm-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 12px; }
.card { background: #fff; border-radius: 12px; padding: 14px 16px; border: 1px solid #eef0f2; }
.card h5 { margin: 0 0 10px; font-size: 13px; color: var(--ink); display: flex; justify-content: space-between; }
.card h5 span { font-weight: 400; color: var(--subtle); font-size: 11px; }
.chart svg { width: 100%; height: 150px; }
.setting { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #f2f3f5; font-size: 12.5px; }
.setting:last-child { border: 0; }
.setting small { display: block; color: var(--subtle); font-size: 11px; }
.toggle { width: 32px; height: 18px; border-radius: 9px; background: var(--brand); position: relative; flex-shrink: 0; }
.toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.toggle.off { background: #d6d9de; } .toggle.off::after { right: auto; left: 2px; }
.seg { display: flex; background: #f2f3f5; border-radius: 7px; padding: 2px; font-size: 11px; }
.seg span { padding: 2px 8px; border-radius: 5px; color: var(--muted); }
.seg span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.admin-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.admin-points > div { display: flex; gap: 14px; }
.admin-points .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.admin-points .ic svg { width: 21px; height: 21px; }
.admin-points b { display: block; color: var(--ink); margin-bottom: 2px; }
.admin-points p { font-size: 14px; color: var(--muted); }

/* ---------- 性能 ---------- */
.perf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perf { border-radius: var(--radius); padding: 30px 26px; background: #fff; border: 1px solid var(--line); }
.perf .num { font-size: 44px; font-weight: 900; line-height: 1; }
.perf .num small { font-size: 18px; font-weight: 700; margin-left: 2px; }
.perf h3 { font-size: 16px; margin: 14px 0 6px; }
.perf p { font-size: 14px; color: var(--muted); }
.stack { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stack > div { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.stack .lg { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; flex-shrink: 0; }
.stack b { display: block; color: var(--ink); font-size: 15px; }
.stack small { color: var(--muted); font-size: 12.5px; }

/* ---------- 部署 ---------- */
.deploy { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.steps { display: grid; gap: 26px; margin-top: 32px; }
.step { display: flex; gap: 18px; }
.step .n { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand-dark)); flex-shrink: 0; font-size: 17px; }
.step b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; }
.term { background: #0c1412; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.term .win-bar { background: #16201d; border-color: #1f2b28; }
.term .win-bar .title { color: #7f918b; }
.term pre { margin: 0; padding: 22px 24px; font-family: var(--mono); font-size: 13px; line-height: 1.85; color: #c9d4d0; overflow-x: auto; }
.term .p { color: #4ee3b5; } .term .c { color: #5f736d; } .term .o { color: #8fa39c; } .term .y { color: #ffcf70; }

/* ---------- 下载 ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.dl {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 18px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.dl:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 20px 40px -24px rgb(20 163 127 / .6); }
.dl svg { width: 44px; height: 44px; color: var(--ink); }
.dl h3 { font-size: 18px; margin: 16px 0 4px; }
.dl small { color: var(--subtle); font-size: 12.5px; }
.dl .get { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; }
.dl .get svg { width: 15px; height: 15px; color: var(--brand); }
.dl-note { text-align: center; color: var(--subtle); font-size: 14px; margin-top: 26px; }
.dl-note a { color: var(--brand); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 16.5px; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--brand); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 15px; }

/* ---------- CTA / Footer ---------- */
.cta {
  border-radius: 28px; padding: 70px 40px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1fbf93, #0e8a6b 55%, #0b5e4a);
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 85% 0%, rgb(255 255 255 / .2), transparent 70%), radial-gradient(400px 300px at 0% 100%, rgb(0 0 0 / .15), transparent 70%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.5vw, 48px); font-weight: 900; }
.cta p { margin: 16px auto 34px; max-width: 600px; font-size: 18px; opacity: .9; }
.cta .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: 0 14px 30px -10px rgb(0 0 0 / .35); }
.footer { padding: 70px 0 40px; border-top: 1px solid var(--line); margin-top: 110px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot-grid p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 320px; }
.foot-grid h4 { font-size: 14px; margin-bottom: 14px; }
.foot-grid ul { display: grid; gap: 9px; font-size: 14px; color: var(--muted); }
.foot-grid a:hover { color: var(--brand); }
.copy { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--subtle); font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .app { grid-template-columns: 58px 54px 210px 1fr; }
  .feat-grid, .perf-grid, .stack { grid-template-columns: repeat(2, 1fr); }
  .ai-demo { grid-template-columns: 1fr 1fr; }
  .ai-demo .phone { grid-column: 1 / -1; }
  .dl-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-points { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open { background: #fff; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .15); }
  .nav.open .nav-inner { flex-wrap: wrap; height: auto; padding: 14px 0; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; gap: 0; order: 3; }
  .nav.open .nav-links a { padding: 12px 0; border-top: 1px solid var(--line); }
  .nav.open .nav-cta { display: flex; width: 100%; order: 4; margin: 8px 0 0; }
  .nav.open .nav-cta .btn { flex: 1; }
  .section { padding: 80px 0; }
  .frow, .stations-wrap, .deploy { grid-template-columns: 1fr; gap: 50px; }
  .frow.rev .row-copy { order: 0; }
  .frow + .frow { margin-top: 100px; }
  .hero-visual .window { margin-right: 0; }
  .hero-visual .phone { display: none; }
  .app { grid-template-columns: 50px 0 1fr; height: 460px; }
  .app .rail-nav { display: none; }
  .app .conv-list { display: none; }
  .ma-pillars { grid-template-columns: 1fr; }
  .ai-demo { grid-template-columns: 1fr; }
  .admin { grid-template-columns: 1fr; }
  .adm-side { display: none; }
  .adm-cols { grid-template-columns: 1fr; }
  .adm-cols .card:last-child { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .chip-1 { left: 8px; top: -30px; }
  .chip-2 { display: none; }
  .compare th, .compare td { padding: 12px 12px; font-size: 13px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .hero { padding-top: 120px; }
  .feat-grid, .perf-grid, .stack, .admin-points { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr 1fr; }
  .phone { width: 280px; }
  .platform-bar .container { justify-content: center; text-align: center; }
  .platform-list { gap: 20px; justify-content: center; }
  .platform-list div span { display: none; }
  .node { padding: 6px 10px 6px 6px; font-size: 11px; }
  .node b { font-size: 12px; } .node small { display: none; }
  .node .st { width: 28px; height: 28px; font-size: 12px; }
  .cta { padding: 50px 22px; }
  .compare { overflow-x: auto; }
  .compare table { min-width: 560px; }
  .term pre { font-size: 11.5px; padding: 16px; }
  pre.code { font-size: 11px; }
  .msg { max-width: 92%; }
}

/* ---------- 提示 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); z-index: 100;
  background: rgb(15 26 23 / .92); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 手机端首屏：展示手机界面 ---------- */
@media (max-width: 900px) {
  .hero-visual { margin-top: 56px; max-width: 360px; }
  .hero-visual .window { display: none; }
  .hero-visual .phone { display: block; position: relative; right: auto; bottom: auto; margin: 0 auto; }
  .chip-1 { left: -6px; top: 70px; }
  .chip-2 { display: flex; left: auto; right: -6px; bottom: 120px; }
  .float-chip { padding: 8px 11px; font-size: 12px; }
  .float-chip i { width: 26px; height: 26px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-platforms { gap: 14px; font-size: 13px; }
  .section-head { margin-bottom: 44px; }
  .section-head p, .row-copy > p { font-size: 16px; }
  .row-visual .blob { inset: 6% 0; }
  .ma-pillars { margin-bottom: 44px; }
  .pillar { padding: 24px 22px; }
  .perf .num { font-size: 38px; }
  .stats { gap: 8px; }
  .stat b { font-size: 19px; }
  .adm-main { padding: 16px; }
  .admin { height: auto; }
  .faq summary { font-size: 15.5px; }
  .foot-grid { gap: 28px; }
  .copy { flex-direction: column; }
}

/* ---------- 手机端细节 ---------- */
html, body { overflow-x: clip; }
@media (max-width: 900px) {
  .chip-1 { top: 230px; }
}
@media (max-width: 600px) {
  .row-visual .blob { inset: 6% 5%; }
  .orbit { width: 84%; }
  .term .win-bar .title { padding-right: 0; }
  .term pre { white-space: pre-wrap; word-break: break-all; }
  /* 对比表改为卡片 */
  .compare { border: 0; overflow: visible; border-radius: 0; }
  .compare table, .compare tbody, .compare tr, .compare td { display: block; width: auto; min-width: 0; }
  .compare thead { display: none; }
  .compare tr { background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .08); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
  .compare td { padding: 3px 0; border: 0; font-size: 13.5px; }
  .compare td:first-child { width: auto; color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
  .compare td:nth-child(2)::before { content: "传统："; color: #5f736d; }
  .compare td:nth-child(3) { background: none; }
}
@media (max-width: 600px) {
  .n2 { left: 76%; } .n3 { left: 72%; } .n4 { left: 27%; } .n5 { left: 24%; }
}
@media (max-width: 600px) {
  .section-head h2 { font-size: 28px; }
  .perf-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .perf { padding: 20px 16px; }
  .perf .num { font-size: 32px; }
  .perf .num small { font-size: 14px; }
  .perf h3 { font-size: 15px; margin-top: 10px; }
  .perf p { font-size: 13px; }
  .dl-grid { gap: 12px; }
  .dl { padding: 22px 12px 18px; }
  .dl:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .orbit .center b { font-size: 10.5px; white-space: nowrap; }
}
