/* 知途 H5 落地页共享样式（现代移动端设计） */
:root {
  --accent: #6B5CFF;
  --accent-light: #8B82FF;
  --accent-dark: #4A3FD6;
  --accent-soft: rgba(107, 92, 255, 0.1);
  --text: #1A1A2E;
  --text-sub: #6B7280;
  --bg: #F5F6FA;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.page { max-width: 480px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }

/* 顶部品牌区（吸顶） */
.header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.header .logo-img {
  width: 40px; height: 40px; border-radius: 10px;
  object-fit: contain; flex-shrink: 0;
}
.header .brand { font-size: 17px; font-weight: 700; }
.header .slogan { font-size: 11px; color: var(--text-sub); margin-top: 1px; }

/* Hero 区 */
.hero {
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-light) 55%, var(--accent-dark) 100%);
  color: #fff; text-align: center;
  padding: 48px 24px 52px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -120px; right: -100px;
}
.hero::after {
  content: '';
  position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -80px; left: -60px;
}
.hero .emoji {
  font-size: 64px; display: block; margin-bottom: 16px;
  position: relative; z-index: 1;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero h1 {
  font-size: 28px; font-weight: 800; line-height: 1.35;
  margin-bottom: 12px; position: relative; z-index: 1;
  letter-spacing: 0.5px;
}
.hero p {
  font-size: 15px; line-height: 1.7; opacity: 0.93;
  margin-bottom: 26px; position: relative; z-index: 1;
}

/* CTA 按钮 */
.cta-btn {
  display: block; width: 100%; max-width: 300px; margin: 0 auto;
  background: #fff; color: var(--accent);
  border: none; border-radius: 48px;
  padding: 18px 0; font-size: 18px; font-weight: 700;
  cursor: pointer; letter-spacing: 1px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  position: relative; z-index: 1;
  transition: transform 0.15s;
}
.cta-btn:active { transform: scale(0.96); }

/* 信任数据 */
.trust {
  display: flex; justify-content: center; gap: 32px;
  margin-top: 22px; position: relative; z-index: 1;
}
.trust .num { font-size: 21px; font-weight: 800; }
.trust .label { font-size: 12px; opacity: 0.85; margin-top: 3px; }

/* 通用 section 标题 */
.section-title {
  font-size: 20px; font-weight: 800; text-align: center;
  margin: 34px 0 18px; color: var(--text);
}
.section-sub {
  font-size: 13px; color: var(--text-sub); text-align: center;
  margin: -12px 0 18px;
}

/* 痛点区 */
.pain { padding: 0 20px; }
.pain-item {
  background: #fff; border-radius: 14px; padding: 14px 16px;
  margin-bottom: 10px; font-size: 14px; color: var(--text-sub); line-height: 1.6;
  border-left: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.pain-item .q { color: var(--text); font-weight: 600; }

/* 优势卡片（解决方案） */
.benefits { padding: 0 20px; }
.benefit {
  background: #fff; border-radius: 18px; padding: 20px 18px;
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.benefit .icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent-soft);
  font-size: 24px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.benefit .title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.benefit .desc { font-size: 14px; color: var(--text-sub); line-height: 1.65; }

/* 3步流程 */
.steps { padding: 0 20px; }
.step {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 20px;
}
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff; font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.step-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.step-desc { font-size: 13px; color: var(--text-sub); line-height: 1.6; }

/* 功能模块 */
.modules { padding: 0 20px; }
.module-item {
  background: #fff; border-radius: 16px; padding: 18px;
  margin-bottom: 12px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.module-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.module-emoji { font-size: 22px; }
.module-name { font-size: 16px; font-weight: 700; }
.module-desc { font-size: 14px; color: var(--text-sub); line-height: 1.65; }

/* 信任背书 */
.credibility { padding: 0 20px; }
.cred-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.cred-item {
  flex: 1; min-width: 45%;
  background: #fff; border-radius: 14px; padding: 16px 12px;
  text-align: center; font-size: 13px; color: var(--text-sub);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.cred-item .emoji { font-size: 22px; display: block; margin-bottom: 6px; }
.cred-item .txt { font-weight: 600; color: var(--text); }

/* 底部 CTA */
.bottom-cta { padding: 32px 20px; }
.bottom-cta .cta-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
}
.bottom-note { text-align: center; font-size: 12px; color: #9CA3AF; margin-top: 12px; }

/* 页脚 */
.footer { margin-top: auto; padding: 24px 20px; text-align: center; }
.footer .links { font-size: 12px; color: #9CA3AF; }
.footer .links a { color: #9CA3AF; text-decoration: none; margin: 0 10px; }
.footer .copyright { font-size: 12px; color: #C4C4C4; margin-top: 8px; }

/* ===== 顶部品牌区可点回首页（内链） ===== */
.header .brand-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}

/* ===== 首页：测评入口卡片 ===== */
.entries { padding: 0 20px; }
.entry-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 16px; padding: 16px 18px;
  margin-bottom: 12px; text-decoration: none; color: inherit;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s, box-shadow 0.15s;
}
.entry-card:active { transform: scale(0.985); }
.entry-card .entry-emoji {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: var(--accent-soft);
  font-size: 24px; display: flex; align-items: center; justify-content: center;
}
.entry-card .entry-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.entry-card .entry-desc { font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.entry-card .entry-arrow { margin-left: auto; color: #C4C4C4; font-size: 18px; flex-shrink: 0; }

/* ===== 落地页底部：相关测评（站内互链） ===== */
.related { padding: 0 20px 8px; }
.related-item {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 12px; padding: 13px 16px;
  margin-bottom: 9px; text-decoration: none; color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.related-item .r-emoji { font-size: 19px; flex-shrink: 0; }
.related-item .r-text { font-size: 14px; font-weight: 600; }
.related-item .r-arrow { margin-left: auto; color: #C4C4C4; font-size: 16px; }

/* ===== PC 端小程序码浮层 ===== */
.qr-mask {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  align-items: center; justify-content: center;
  padding: 20px;
}
.qr-mask.show { display: flex; }
.qr-box {
  background: #fff; border-radius: 20px;
  padding: 30px 34px 26px; text-align: center;
  position: relative; max-width: 320px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.qr-box .qr-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: #C4C4C4;
}
.qr-box .qr-title { font-size: 17px; font-weight: 700; margin-bottom: 18px; }
.qr-box .qr-img {
  width: 200px; height: 200px; display: block; margin: 0 auto;
  border-radius: 10px;
}
.qr-box .qr-tip {
  font-size: 13px; color: var(--text-sub); line-height: 1.7; margin-top: 16px;
}

/* PC 端适度放宽版式，避免 480px 容器在大屏上过于局促 */
@media (min-width: 768px) {
  .hero { padding: 60px 24px 64px; }
  .hero h1 { font-size: 32px; }
}
