/* 基础样式 */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  /* 更贴近原版：优先中文无衬线系统字体 */
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, "Noto Sans CJK SC", system-ui, -apple-system, Roboto, sans-serif;
  color: #0b1220;
  /* 更贴近原版的无白色渐变：顶部更清、底部更浅 */
  background: linear-gradient(180deg, #c9e0ff 0%, #d9e9ff 40%, #ebf3ff 100%);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部 */
.site-header { padding: 20px 0 0; background: transparent; }
.header-inner { display: flex; align-items: center; justify-content: center; }
/* 去掉白色毛玻璃底色，保持透明背景 */
.brand { display: inline-flex; align-items: center; gap: 0; padding: 8px 0; border-radius: 14px; }
.brand-images .logo { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.brand-name { font-weight: 900; font-size: 32px; letter-spacing: .2px; color: #0b1220; margin-left: 8px; }
.brand-images .official { display: inline-flex; align-items: center; justify-content: center; font-size: 12px; background: #eef3ff; color: #2d5bff; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(45,91,255,.2); margin-left: 6px; }
.brand-images .official-img { width: 84px; height: auto; margin-left: 18px; image-rendering: -webkit-optimize-contrast; }

/* 首屏 */
.hero { position: relative; padding: 24px 0 48px; }
.hero-inner { text-align: center; }
.hero-title { font-size: clamp(30px, 5vw, 64px); line-height: 1.08; margin: 10px 0 14px; font-weight: 900; letter-spacing: .2px; }
.hero-title .accent { color: #4a6bff; text-shadow: 0 2px 0 rgba(255,255,255,.8); }
.hero-subtitle { margin: 0 auto; max-width: 720px; color: #5a6785; line-height: 1.7; font-size: 16px; }

.cta-group { margin: 24px auto 38px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.7); transition: transform .15s ease, box-shadow .15s ease; }
.btn .btn-ico { display: inline-block; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.7); }
.btn:active { transform: translateY(0); }
.btn-android { background: linear-gradient(90deg, #34c759, #2fb050); color: #fff; }
.btn-ios { background: linear-gradient(90deg, #7c8cff, #4a6bff); color: #fff; }

/* 图片按钮 */
.btn-img { display: inline-block; line-height: 0; }
.btn-img img { height: 140px; width: auto; display: block; filter: drop-shadow(0 8px 20px rgba(0,0,0,.12)); transition: transform .15s ease, filter .15s ease; }
.btn-img:hover img { transform: translateY(-2px); filter: drop-shadow(0 12px 28px rgba(0,0,0,.16)); }

/* 尺寸响应式：大屏更大，小屏稍小 */
@media (min-width: 1200px) {
  .btn-img img { height: 140px; }
}
@media (max-width: 420px) {
  .btn-img img { height: 64px; }
}
.btn-img:hover img { transform: translateY(-2px); filter: drop-shadow(0 12px 28px rgba(0,0,0,.16)); }

/* 手机展示 */
.phones { position: relative; margin: 10px auto 0; display: grid; place-items: center; }
.phones-img { width: 100%; max-width: 700px; height: auto; display: block; }

/* 左侧-聊天预览 */
.screen-header { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; background: #f7f9ff; border-bottom: 1px solid #eef2ff; }
.screen-header .dot { width: 8px; height: 8px; border-radius: 50%; background: #4a6bff; }
.screen-header .title { font-weight: 700; color: #2a3557; }
.msg-list { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.msg.card { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 10px; background: #f1f5ff; border: 1px solid #e3e9ff; border-radius: 14px; }
.msg.card .img { width: 84px; height: 84px; border-radius: 10px; background: linear-gradient(135deg, #8ec5ff, #b2bfff); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.msg.card .text .line { font-size: 12px; color: #5a6785; }
.msg.card .text .strong { font-weight: 800; color: #1f2a4a; font-size: 13px; margin-bottom: 2px; }
.msg.card .btn-mini { margin-top: 6px; display: inline-block; padding: 6px 10px; background: #fff; border: 1px solid #cfd8ff; border-radius: 999px; color: #2d4dff; font-weight: 700; font-size: 12px; }
.msg.reply { align-self: flex-start; max-width: 70%; padding: 8px 12px; background: #f7f9ff; border: 1px solid #e9eeff; border-radius: 14px 14px 14px 4px; color: #2a3557; }
.msg.input { margin-top: auto; padding: 12px; color: #8b96b3; border: 1px dashed #e3e9ff; border-radius: 12px; text-align: left; }

/* 右侧-会话列表 */
.list { padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: #f7f9ff; border: 1px solid #eef2ff; }
.row .avatar { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #ffd68a, #ff9f57); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.row .meta .name { font-weight: 700; color: #1f2a4a; }
.row .meta .strong { font-weight: 800; }
.row .meta .preview { color: #617099; font-size: 12px; margin-top: 2px; }
.row .time { color: #8b96b3; font-size: 12px; }

/* 页脚 */
.site-footer { padding: 20px 0 36px; color: #7c88a6; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-links a { color: #6c7bd1; text-decoration: none; }
.footer-links .sep { color: #c6cbe0; }

/* 自定义弹窗 */
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 1000; }
.modal.show { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11, 18, 32, .45); backdrop-filter: blur(3px); }
.modal-card { position: relative; width: min(92vw, 420px); background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(20,35,102,.28); overflow: hidden; animation: modalIn .18s ease-out; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #eef2ff; }
.modal-title { font-weight: 800; color: #1f2a4a; }
.modal-close { border: 0; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: #8b96b3; }
.modal-body { padding: 16px; color: #4c5b82; line-height: 1.6; }
.modal-actions { padding: 0 16px 16px; display: flex; justify-content: flex-end; }
.modal-btn { padding: 10px 16px; border: 0; border-radius: 10px; background: linear-gradient(90deg, #7c8cff, #4a6bff); color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.12); }

@keyframes modalIn { from { transform: translateY(6px); opacity: .8; } to { transform: translateY(0); opacity: 1; } }

/* 响应式 */
@media (max-width: 680px) {
  .cta-group { gap: 10px; }
}


