/* 客诉通 H5 投诉页面样式 - 微信官方风格 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { width: 100%; min-height: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 16px; color: #1d2129; background: #f7f8fa; -webkit-font-smoothing: antialiased; }
body.h5 { background: #f7f8fa; }
a { text-decoration: none; color: inherit; }

/* 移动端容器 */
.mobile { max-width: 600px; margin: 0 auto; min-height: 100vh; background: #f7f8fa; padding-bottom: 40px; }

/* weui 列表样式 */
.weui-cells__title { margin: 24px 16px 8px; color: #86909c; font-size: 14px; }
.weui-cells { background: #fff; margin: 0 12px; border-radius: 8px; overflow: hidden; }
.weui-cell { display: flex; align-items: center; padding: 16px; position: relative; transition: background .2s; }
.weui-cell:active { background: #f2f3f5; }
.weui-cell + .weui-cell { border-top: 1px solid #f2f3f5; }
.weui-cell__bd { flex: 1; min-width: 0; }
.weui-cell__bd p { font-size: 16px; color: #1d2129; }
.weui-cell__ft { color: #c9cdd4; font-size: 14px; margin-left: 8px; }
.weui-cell_access .weui-cell__ft::after { content: ""; display: inline-block; width: 8px; height: 8px; border-top: 2px solid #c9cdd4; border-right: 2px solid #c9cdd4; transform: rotate(45deg); margin-left: 4px; }

/* 表单行 */
.wx-form-row { display: flex; align-items: center; padding: 14px 16px; background: #fff; border-bottom: 1px solid #f2f3f5; }
.wx-form-label { flex: none; width: 80px; font-size: 15px; color: #1d2129; }
.wx-form-input { flex: 1; border: none; outline: none; font-size: 15px; color: #1d2129; background: transparent; }
.wx-form-input::placeholder { color: #c9cdd4; }

/* 图片上传 */
.wx-upload-head { display: flex; align-items: center; justify-content: space-between; }
.image-count { font-size: 13px; color: #86909c; }
.wx-upload-area { padding: 12px 16px 16px; background: #fff; }
.upload-grid { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.image-previews { display: none; }
.image-item { position: relative; width: 80px; height: 80px; border-radius: 6px; overflow: hidden; flex: none; vertical-align: top; line-height: 0; font-size: 0; }
.image-item img { display: block; width: 80px; height: 80px; object-fit: cover; }
.image-del { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; background: rgba(0,0,0,.5); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; cursor: pointer; z-index: 2; }
.wx-upload-add { width: 80px; height: 80px; border: 1px dashed #dcdfe6; border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: #fafbfc; flex: none; vertical-align: top; line-height: 80px; box-sizing: border-box; }
.wx-upload-add::before { content: "+"; font-size: 32px; color: #c9cdd4; font-weight: 300; line-height: 1; }
.wx-upload-add input { display: none; }

/* 投诉内容 */
.wx-form-content { padding: 14px 16px; background: #fff; margin-top: 10px; }
.wx-form-textarea { width: 100%; border: none; outline: none; font-size: 15px; color: #1d2129; background: transparent; resize: none; line-height: 1.5; min-height: 80px; font-family: inherit; }
.wx-form-textarea::placeholder { color: #c9cdd4; }
.count { text-align: right; font-size: 12px; color: #c9cdd4; margin-top: 4px; }

/* 提交按钮 */
.wx-form-submit { padding: 24px 16px; }
.wx-submit-btn { width: 100%; height: 44px; border: none; border-radius: 6px; font-size: 16px; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.submit-btn { background: #07c160; color: #fff; }
.submit-btn:disabled { background: #e5e6eb; color: #c9cdd4; cursor: not-allowed; }
.submit-btn:not(:disabled):active { background: #06ad56; }

/* 成功页 */
.weui-msg { padding: 60px 24px 40px; text-align: center; }
.weui-msg__icon-area { margin-bottom: 24px; }
.weui-icon-success { display: inline-block; width: 64px; height: 64px; border-radius: 50%; background: #07c160; position: relative; }
.weui-icon-success::after { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 14px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: translate(-50%, -60%) rotate(-45deg); }
.weui-msg__title { font-size: 20px; font-weight: 500; color: #1d2129; margin-bottom: 12px; }
.weui-msg__desc { font-size: 14px; color: #86909c; line-height: 1.6; }
.weui-msg__opr-area { margin-top: 40px; }
.weui-btn { display: inline-block; padding: 10px 40px; background: #07c160; color: #fff; border-radius: 6px; font-size: 16px; }
.weui-btn:active { background: #06ad56; }

/* 投诉须知 */
.notice-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fff; border-bottom: 1px solid #f2f3f5; }
.notice-nav span { font-size: 16px; font-weight: 500; color: #1d2129; }
.notice-close { font-size: 24px; color: #86909c; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.notice-page { padding: 16px; }
.notice-content { font-size: 14px; color: #4e5969; line-height: 1.8; }
.notice-content p { margin-bottom: 12px; }
.notice-content strong { color: #1d2129; }

/* 底部 */
.h5-footer { text-align: center; padding: 24px 16px; }
.h5-footer a { font-size: 13px; color: #165dff; }

/* 到期页 */
.mobile.expired { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.mobile.expired h1 { font-size: 20px; color: #1d2129; margin-bottom: 16px; text-align: center; }
.mobile.expired p { font-size: 14px; color: #86909c; text-align: center; margin-bottom: 8px; line-height: 1.6; }

/* toast */
.toast { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,.7); color: #fff; padding: 12px 20px; border-radius: 6px; font-size: 14px; z-index: 9999; }

/* ==================== 官网样式 ==================== */
body.website { background: #fff; color: #1d2129; }
body.website a { text-decoration: none; }

/* 导航 */
.mk-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid #f2f3f5; }
.mk-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.mk-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: #1d2129; }
.mk-brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: linear-gradient(135deg, #165DFF, #4080FF); color: #fff; border-radius: 8px; font-size: 16px; font-weight: 700; }
.mk-nav-links { display: flex; align-items: center; gap: 32px; }
.mk-nav-links a { font-size: 15px; color: #4e5969; transition: color .2s; }
.mk-nav-links a:hover { color: #165DFF; }
.mk-nav-cta { background: #165DFF; color: #fff !important; padding: 8px 20px; border-radius: 6px; font-size: 14px !important; }
.mk-nav-cta:hover { background: #0e4fd6; color: #fff !important; }

/* Hero */
.mk-hero { background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%); padding: 80px 0 100px; position: relative; overflow: hidden; }
.mk-hero::before { content: ""; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(22,93,255,.08) 0%, transparent 70%); border-radius: 50%; }
.mk-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 60px; position: relative; z-index: 1; }
.mk-hero-text { flex: 1; }
.mk-eyebrow { display: inline-block; background: rgba(22,93,255,.1); color: #165DFF; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; margin-bottom: 20px; }
.mk-hero-text h1 { font-size: 42px; font-weight: 700; line-height: 1.3; color: #1d2129; margin-bottom: 20px; }
.mk-hero-sub { font-size: 17px; color: #4e5969; line-height: 1.7; margin-bottom: 32px; }
.mk-hero-actions { display: flex; gap: 16px; }
.mk-hero-mock { flex: 1; max-width: 480px; }

/* 按钮 */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 8px; font-size: 15px; font-weight: 500; transition: all .2s; cursor: pointer; border: none; }
.mk-btn-primary { background: #165DFF; color: #fff; }
.mk-btn-primary:hover { background: #0e4fd6; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,93,255,.3); }
.mk-btn-ghost { background: #fff; color: #165DFF; border: 1px solid #165DFF; }
.mk-btn-ghost:hover { background: #f0f5ff; }
.mk-btn-lg { padding: 16px 40px; font-size: 17px; }

/* 浏览器样机 */
.mock-browser { background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.1); overflow: hidden; border: 1px solid #e5e6eb; }
.mock-bar { display: flex; gap: 6px; padding: 12px 16px; background: #f7f8fa; border-bottom: 1px solid #e5e6eb; }
.mock-bar span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.mock-bar span:nth-child(2) { background: #febc2e; }
.mock-bar span:nth-child(3) { background: #28c840; }
.mock-body { padding: 24px; }
.mock-chat { display: flex; flex-direction: column; gap: 12px; }
.mock-msg { max-width: 75%; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.mock-msg-left { background: #f2f3f5; color: #1d2129; align-self: flex-start; border-bottom-left-radius: 4px; }
.mock-msg-right { background: #165DFF; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.mock-tag { align-self: center; background: #e8ffea; color: #00b42a; padding: 6px 14px; border-radius: 20px; font-size: 12px; margin-top: 8px; }

/* 通用区块 */
.mk-section { padding: 80px 0; }
.mk-section-gray { background: #f7f8fa; }
.mk-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mk-section-head { text-align: center; margin-bottom: 48px; }
.mk-tag { display: inline-block; background: rgba(22,93,255,.1); color: #165DFF; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.mk-section-head h2 { font-size: 32px; font-weight: 700; color: #1d2129; }

/* 痛点卡片 */
.mk-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card { background: #fff; padding: 32px; border-radius: 12px; border: 1px solid #f2f3f5; transition: all .2s; }
.pain-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.pain-icon { font-size: 32px; margin-bottom: 16px; }
.pain-card h3 { font-size: 18px; font-weight: 600; color: #1d2129; margin-bottom: 10px; }
.pain-card p { font-size: 14px; color: #86909c; line-height: 1.7; }

/* 功能卡片 */
.mk-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #fff; padding: 32px; border-radius: 12px; border: 1px solid #f2f3f5; transition: all .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.06); border-color: #165DFF; }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 600; color: #1d2129; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #86909c; line-height: 1.7; }

/* 案例卡片 */
.mk-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; padding: 32px; border-radius: 12px; border: 1px solid #f2f3f5; transition: all .2s; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.case-metric { font-size: 36px; font-weight: 700; color: #165DFF; margin-bottom: 12px; }
.case-card h3 { font-size: 18px; font-weight: 600; color: #1d2129; margin-bottom: 10px; }
.case-card p { font-size: 14px; color: #86909c; line-height: 1.7; }

/* 为什么需要 */
.mk-why-list { list-style: none; max-width: 800px; margin: 0 auto; }
.mk-why-list li { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid #f2f3f5; font-size: 16px; color: #4e5969; line-height: 1.7; }
.mk-why-list li:last-child { border-bottom: none; }
.why-num { flex: none; width: 32px; height: 32px; background: linear-gradient(135deg, #165DFF, #4080FF); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }

/* CTA */
.mk-cta { background: linear-gradient(135deg, #165DFF 0%, #4080FF 100%); padding: 80px 0; }
.mk-cta-inner { text-align: center; }
.mk-cta h2 { font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.mk-cta p { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.mk-cta .mk-btn-primary { background: #fff; color: #165DFF; }
.mk-cta .mk-btn-primary:hover { background: #f0f5ff; }

/* 文章卡片 */
.mk-article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: #fff; border-radius: 12px; border: 1px solid #f2f3f5; overflow: hidden; transition: all .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.article-card a { display: block; padding: 28px; }
.article-card h3 { font-size: 17px; font-weight: 600; color: #1d2129; margin-bottom: 10px; line-height: 1.5; }
.article-card p { font-size: 14px; color: #86909c; line-height: 1.7; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-more { font-size: 14px; color: #165DFF; font-weight: 500; }

/* Footer */
.mk-footer { background: #1d2129; padding: 60px 0 40px; color: #c9cdd4; }
.mk-footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.mk-footer-brand strong { font-size: 18px; color: #fff; display: block; margin-bottom: 12px; }
.mk-footer-brand p { font-size: 14px; color: #86909c; line-height: 1.8; margin-bottom: 6px; }
.mk-footer-contact { color: #4080FF !important; }
.mk-footer-links { display: flex; flex-direction: column; gap: 12px; }
.mk-footer-links a { font-size: 14px; color: #86909c; transition: color .2s; }
.mk-footer-links a:hover { color: #fff; }
.mk-footer-info { text-align: right; }
.mk-footer-info p { font-size: 13px; color: #4e5969; line-height: 1.8; }

/* 文章详情页 */
.mk-article { padding: 60px 0; }
.mk-article-inner { max-width: 800px; }
.mk-back { display: inline-block; font-size: 14px; color: #165DFF; margin-bottom: 24px; }
.mk-article h1 { font-size: 32px; font-weight: 700; color: #1d2129; margin-bottom: 16px; line-height: 1.4; }
.mk-article-summary { font-size: 16px; color: #86909c; line-height: 1.8; margin-bottom: 32px; padding: 20px; background: #f7f8fa; border-radius: 8px; border-left: 4px solid #165DFF; }
.mk-article-content { font-size: 16px; color: #4e5969; line-height: 2; }
.mk-article-content p { margin-bottom: 16px; }
.mk-article-cta { margin-top: 48px; padding: 40px; background: linear-gradient(135deg, #f0f5ff 0%, #e8f0ff 100%); border-radius: 12px; text-align: center; }
.mk-article-cta h3 { font-size: 20px; color: #1d2129; margin-bottom: 20px; }

/* 响应式 */
@media (max-width: 768px) {
  .mk-nav-links { display: none; }
  .mk-hero { padding: 48px 0 60px; }
  .mk-hero-inner { flex-direction: column; gap: 40px; }
  .mk-hero-text h1 { font-size: 28px; }
  .mk-hero-sub { font-size: 15px; }
  .mk-hero-actions { flex-direction: column; }
  .mk-hero-actions .mk-btn { width: 100%; }
  .mk-section { padding: 48px 0; }
  .mk-section-head h2 { font-size: 24px; }
  .mk-pain-grid, .mk-feature-grid, .mk-case-grid, .mk-article-grid { grid-template-columns: 1fr; }
  .mk-footer-inner { flex-direction: column; }
  .mk-footer-info { text-align: left; }
  .mk-article h1 { font-size: 24px; }
}
