/* ============================================================
   提案演示台
   ============================================================ */
:root {
  --x-bg: #F6F5F9;
  --x-ink: #17161D;
  --x-ink2: #5B5866;
  --x-ink3: #8C8896;
  --x-line: #E8E5EE;
  --x-brand: #9451CD;
  --x-brand-d: #5C2A8C;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--x-bg);
  color: var(--x-ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* 顶部 */
.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,245,249,.86);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--x-line);
}
.top .inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  height: 64px; display: flex; align-items: center; gap: 14px;
}
.top .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(140deg, #AE79DB, #5C2A8C);
  color: #fff; font-family: Georgia, serif; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px -6px rgba(148,81,205,.6);
}
.top .tname { font-size: 13px; font-weight: 600; letter-spacing: .2px; }
.top .tsub { font-size: 9px; letter-spacing: 1.6px; color: var(--x-ink3); text-transform: uppercase; }
.top .nav { margin-left: auto; display: flex; gap: 24px; }
.top .nav a { font-size: 12px; color: var(--x-ink2); position: relative; }
.top .nav a:hover { color: var(--x-brand); }

/* 封面 */
.cover { padding: 88px 0 64px; position: relative; overflow: hidden; }
.cover::before {
  content: ""; position: absolute; right: -8%; top: -20%; width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, rgba(174,121,219,.18), rgba(148,81,205,.05) 52%, transparent 70%);
  pointer-events: none;
}
.cover .kicker {
  font-size: 10px; letter-spacing: 4px; color: var(--x-brand); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.cover .kicker::after { content: ""; flex: 0 0 40px; height: 1px; background: var(--x-brand); opacity: .4; }
.cover h1 {
  font-size: 56px; line-height: 1.16; font-weight: 600; letter-spacing: -1.2px;
  margin-top: 22px; max-width: 860px;
}
.cover h1 em {
  font-style: normal; color: var(--x-brand);
  position: relative;
}
.cover .lede {
  font-size: 14px; line-height: 1.85; color: var(--x-ink2);
  margin-top: 22px; max-width: 620px;
}
.cover .meta {
  display: flex; gap: 48px; margin-top: 44px; padding-top: 26px;
  border-top: 1px solid var(--x-line); flex-wrap: wrap;
}
.cover .meta .m { }
.cover .meta .m-k { font-size: 9px; letter-spacing: 2px; color: var(--x-ink3); text-transform: uppercase; }
.cover .meta .m-v { font-size: 13px; font-weight: 500; margin-top: 6px; }

/* 区块标题 */
.blk { padding: 56px 0 8px; }
.blk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.blk-head .bl-k { font-size: 9px; letter-spacing: 3px; color: var(--x-brand); text-transform: uppercase; }
.blk-head h2 { font-size: 26px; font-weight: 600; letter-spacing: -.4px; margin-top: 10px; }
.blk-head .bl-d { font-size: 12px; color: var(--x-ink3); max-width: 380px; line-height: 1.8; }

/* 手机网格 */
.screens {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px 24px;
}
.ph-card { }
.ph-card .frame-wrap {
  position: relative;
  width: 100%;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--x-line);
  padding: 7px;
  box-shadow: 0 2px 4px rgba(23,22,29,.03), 0 18px 40px -28px rgba(92,42,140,.35);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s;
  cursor: pointer;
  overflow: hidden;
}
.ph-card .frame-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 3px 6px rgba(23,22,29,.04), 0 28px 54px -26px rgba(92,42,140,.44);
}
.ph-card .frame {
  position: relative; width: 100%; aspect-ratio: 375 / 812;
  border-radius: 20px; overflow: hidden; background: #fff;
}
.ph-card iframe {
  position: absolute; top: 0; left: 0;
  width: 375px; height: 812px; border: 0;
  transform-origin: top left;
  pointer-events: none;
}
.ph-card .hover-tip {
  position: absolute; inset: 0; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  background: rgba(23,22,29,.34); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .28s;
  border-radius: 20px;
}
.ph-card .frame-wrap:hover .hover-tip { opacity: 1; }
.ph-card .hover-tip span {
  height: 34px; padding: 0 18px; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--x-ink);
  font-size: 11.5px; display: flex; align-items: center; gap: 6px;
}
.ph-card .cap { padding: 13px 4px 0; display: flex; align-items: baseline; gap: 8px; }
.ph-card .cap .no {
  font-size: 10px; font-weight: 600; color: var(--x-brand);
  font-variant-numeric: tabular-nums; letter-spacing: .5px;
}
.ph-card .cap .nm { font-size: 13px; font-weight: 500; }
.ph-card .cap .ds { font-size: 10px; color: var(--x-ink3); margin-left: auto; text-align: right; }

/* 规范区 */
.spec-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.spec {
  background: #fff; border: 1px solid var(--x-line); border-radius: 16px;
  padding: 22px;
}
.spec h3 { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--x-ink3); font-weight: 500; }
.spec .body { margin-top: 16px; }

.swatches { display: flex; flex-direction: column; gap: 9px; }
.sw { display: flex; align-items: center; gap: 10px; }
.sw i { width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(23,22,29,.06); }
.sw .n { font-size: 11px; font-weight: 500; }
.sw .h { font-size: 9.5px; color: var(--x-ink3); letter-spacing: .4px; }

.type-row { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--x-line); }
.type-row:last-child { border-bottom: 0; }
.type-row .lv { font-size: 9px; color: var(--x-ink3); width: 46px; flex: 0 0 auto; letter-spacing: .4px; }
.type-row .sp { font-size: 9.5px; color: var(--x-ink3); margin-left: auto; font-variant-numeric: tabular-nums; }

.dim-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--x-line); font-size: 11px; }
.dim-row:last-child { border-bottom: 0; }
.dim-row b { font-weight: 500; color: var(--x-ink); }
.dim-row span { color: var(--x-ink3); font-size: 10px; font-variant-numeric: tabular-nums; }

.radius-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.radius-row div { text-align: center; }
.radius-row div i {
  display: block; width: 40px; height: 40px;
  background: linear-gradient(150deg, #F3EBFA, #E7D9F5);
  border: 1px solid #DFD0F0;
}
.radius-row div.pill i { width: 54px; height: 26px; margin: 14px 0 0; }
.radius-row div p { font-size: 8.5px; color: var(--x-ink3); margin-top: 6px; white-space: nowrap; }

/* 说明 */
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 18px; }
.note {
  background: #fff; border: 1px solid var(--x-line); border-radius: 16px; padding: 20px 22px;
}
.note .nt-k { font-size: 9px; letter-spacing: 2px; color: var(--x-brand); text-transform: uppercase; }
.note .nt-t { font-size: 14px; font-weight: 600; margin-top: 8px; }
.note .nt-d { font-size: 11.5px; line-height: 1.85; color: var(--x-ink2); margin-top: 8px; }

/* 页脚 */
.foot { margin-top: 70px; padding: 34px 0 46px; border-top: 1px solid var(--x-line); }
.foot .inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .f1 { font-size: 11px; color: var(--x-ink3); }
.foot .f2 { font-size: 10px; color: var(--x-ink3); letter-spacing: .4px; }

/* 演示弹层 */
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(24,20,30,.62);
  backdrop-filter: blur(14px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal .mbox {
  position: relative; display: flex; gap: 40px; align-items: center;
}
.modal .device {
  position: relative; width: 375px; height: 812px;
  border-radius: 44px; background: #0E0D12; padding: 10px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
  flex: 0 0 auto;
}
.modal .device .notch {
  position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
  width: 120px; height: 26px; border-radius: 0 0 16px 16px;
  background: #0E0D12; z-index: 5;
}
.modal .device iframe {
  width: 375px; height: 812px; border: 0; border-radius: 34px; background: #fff;
  display: block;
}
.modal .side { color: #fff; width: 236px; flex: 0 0 auto; }
.modal .side .m-k { font-size: 9px; letter-spacing: 3px; opacity: .5; text-transform: uppercase; }
.modal .side .m-no { font-size: 40px; font-weight: 600; letter-spacing: -1px; margin-top: 8px; opacity: .28; }
.modal .side .m-t { font-size: 22px; font-weight: 600; margin-top: 4px; }
.modal .side .m-d { font-size: 11.5px; line-height: 1.9; opacity: .6; margin-top: 12px; }
.modal .side .m-acts { display: flex; flex-direction: column; gap: 9px; margin-top: 26px; }
.modal .side .m-btn {
  height: 38px; border-radius: 999px; border: 1px solid rgba(255,255,255,.24);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11.5px; color: #fff; background: rgba(255,255,255,.06);
  transition: background .2s;
}
.modal .side .m-btn:hover { background: rgba(255,255,255,.14); }
.modal .side .m-btn.pri { background: #fff; color: var(--x-ink); border-color: transparent; }
.modal .mclose {
  position: absolute; right: 0; top: -46px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1;
}
.modal .mnav {
  position: absolute; left: -76px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px;
}
.modal .mnav button {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal .mnav button:hover { background: rgba(255,255,255,.24); }
.modal .mnav.r { left: auto; right: -76px; }

@media (max-width: 1080px) {
  .wrap, .top .inner { padding: 0 22px; }
  .cover h1 { font-size: 38px; }
  .cover { padding: 56px 0 40px; }
  .modal .mbox { gap: 20px; }
  .modal .side { width: 180px; }
  .modal .mnav { display: none; }
}
@media (max-width: 860px) {
  .modal { padding: 12px; }
  .modal .side { display: none; }
  .modal .device { transform: scale(.86); transform-origin: center; }
  .screens { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px 14px; }
  .top .nav { display: none; }
}
