/* 应用平台页面：在 styles.css 之上的补充样式 */

.p-hero { padding-bottom: 88px; }

/* 首屏里的客户端窗口 */
.window {
  margin-top: 64px; text-align: left; background: var(--card);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 40px 80px -40px rgba(17, 114, 238, .45);
}
.window-bar {
  display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px;
  background: #eef2f7; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--mute);
}
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #d3dbe6; }
.window-title { font-weight: 600; color: var(--ink-2); }
.window-tag { margin-left: auto; }
.window iframe { display: block; width: 100%; height: 660px; border: 0; background: var(--bg); }

/* 版本对比 */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 24px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm);
}
.plan header h3 { font-size: 24px; margin-bottom: 6px; }
.plan header p { color: var(--ink-2); }
.plan .ticks { font-size: 15px; gap: 12px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-ent { border-color: rgba(17, 114, 238, .45); background: linear-gradient(180deg, #fff, var(--tint-2)); box-shadow: var(--shadow); }
.plan-flag { display: inline-block; font: 600 12px var(--sans); color: #fff; background: var(--grad); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.center-note { text-align: center; }

/* 管理后台示意 */
.admin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.admin h2 { margin-bottom: 28px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-weight: 600; font-size: 12.5px; color: var(--mute); background: #f8fafc; }
tbody tr:last-child td { border-bottom: 0; }
.st { font: 600 12px var(--sans); padding: 3px 10px; border-radius: 999px; color: var(--mute); background: #eef1f5; }
.st.on { color: var(--blue-ink); background: var(--tint); }

/* 使用场景 */
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scenes article { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.scenes p { color: var(--ink-2); font-size: 15px; }

/* 客户端形态 */
.clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.clients article {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm);
}
.clients .status { margin: 0 0 10px; }
.clients p { color: var(--ink-2); font-size: 15px; }
.text-link { margin-top: 8px; font-weight: 600; color: var(--blue-ink); }
.text-link:hover { text-decoration: underline; }

.foot-bottom a:hover { color: var(--blue-ink); }

@media (max-width: 900px) {
  .plans, .admin, .scenes, .clients { grid-template-columns: 1fr; }
  .admin { gap: 36px; }
  .window iframe { height: 600px; }
  .window-tag { display: none; }
}

.nav-login { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 8px 10px; }
.nav-login:hover { color: var(--blue-ink); }

.mcell { display: inline-flex; align-items: center; margin-right: 12px; }
.mcell .mlogo { margin-right: 5px; vertical-align: 0; }

/* ---------- 平台能力：左边列表，右边带标注的界面 ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.showcase h2 { margin-bottom: 28px; font-size: clamp(26px, 3vw, 36px); }
.sc-item { border-top: 1px solid var(--line); }
.sc-item:last-child { border-bottom: 1px solid var(--line); }
.sc-item button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 22px 0; cursor: pointer; color: var(--ink); font: inherit; }
.sc-item h3 { margin: 0; font-size: 20px; font-weight: 600; }
.sc-item.on h3 { font-size: 24px; font-weight: 700; }
.sc-text { display: none; padding: 0 0 26px; }
.sc-item.on .sc-text { display: block; }
.sc-lead { font-weight: 650; font-size: 16.5px; margin-bottom: 12px; color: var(--ink); }
.sc-text p:not(.sc-lead) { color: var(--ink-2); font-size: 15.5px; }

.sc-stage { position: sticky; top: 92px; }
.sc-pane {
  display: none; position: relative; min-height: 470px; padding: 34px 36px 40px; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(60% 55% at 92% 8%, rgba(4, 175, 247, .16), transparent 70%),
    radial-gradient(55% 50% at 5% 100%, rgba(17, 114, 238, .12), transparent 70%), #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.sc-pane.on { display: block; animation: sc-in .35s ease both; }
@keyframes sc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sc-kicker { font-size: 15px; color: var(--mute); margin-bottom: 4px; }
.sc-title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 22px; }
.sc-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; max-width: 400px; box-shadow: 0 18px 40px -26px rgba(17, 114, 238, .45); display: grid; gap: 10px; }
.sc-card .mlogo { vertical-align: -3px; margin-right: 6px; }
.eng-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.eng { display: flex; align-items: center; padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; font-size: 14px; white-space: nowrap; }
.eng.on { border-color: rgba(17, 114, 238, .5); background: var(--tint-2); }
.eng i { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--blue-ink); }
.sc-row { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.sel { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 9px; background: #f1f5fa; font-size: 13.5px; color: var(--ink-2); }
.sel.hot { background: var(--tint); color: var(--blue-ink); font-weight: 600; }
.sc-menu { list-style: none; margin: 0 0 0 auto; padding: 6px; width: 210px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 16px 34px -18px rgba(15, 27, 45, .35); font-size: 14px; }
.sc-menu li { padding: 8px 10px; border-radius: 8px; color: var(--ink-2); }
.sc-menu li.on { background: var(--tint); color: var(--blue-ink); font-weight: 600; }
.sc-mem { font-size: 17px; font-weight: 600; line-height: 1.5; }
.sc-label { font-size: 12px; color: var(--mute); margin-top: 4px; }
.sc-card blockquote { margin: 0; padding: 9px 12px; background: var(--bg); border-left: 3px solid var(--blue); border-radius: 0 9px 9px 0; font-size: 14px; color: var(--ink-2); }
.sc-src { font-size: 13px; color: var(--mute); display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.sc-src .tag { margin-right: 6px; }
.sc-old { font-size: 14px; color: var(--mute); text-decoration: line-through; }
.sc-btns { display: flex; gap: 8px; }
.sc-btns .b { padding: 7px 18px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; }
.sc-btns .b.solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.sc-app { font-size: 16px; font-weight: 600; display: flex; align-items: center; }
.sc-ago { margin-left: auto; font-size: 12.5px; font-weight: 400; color: var(--mute); }
.sc-checks { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.ck { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.ck::before { content: ""; width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid #b9c5d4; background: #fff; }
.ck.on::before { background: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 2.5px #fff; }
.sc-log { list-style: none; margin: 0; padding: 10px 12px; background: var(--bg); border-radius: 10px; display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.sc-log li { display: flex; justify-content: space-between; gap: 12px; }
.sc-log time { color: var(--mute); }
/* 标注：编号加一句说明，用一条线指向界面 */
.note { position: absolute; left: 452px; font-size: 14.5px; color: var(--blue-ink); padding-left: 44px; max-width: 200px; line-height: 1.45; }
.note::before { margin-left: -26px; width: 60px !important; }
.note::after { margin-left: -26px; }
.note b { display: block; font-size: 17px; font-weight: 500; }
.note::before { content: ""; position: absolute; left: 0; top: 13px; width: 34px; border-top: 1.5px solid var(--blue); }
.note::after { content: ""; position: absolute; left: -3px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.note.n1 { top: 118px; }
.note.n2 { top: 236px; }
.sc-pane:first-child .note.n2 { top: 352px; }

@media (max-width: 1180px) { .note { display: none; } .sc-card { max-width: 470px; } }
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .sc-stage { position: static; }
  .sc-pane { min-height: 0; padding: 26px 20px 28px; border-radius: 22px; }
  .sc-menu { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .sc-pane.on { animation: none; } }
