:root {
  --accent: #FF6A2C;
  --accent-2: #FFB347;
  --accent-soft: #FFF1E8;
  --ink: #1A1A1A;
  --muted: #6B7280;
  --bg: #FFFFFF;
  --card: #F7F8FA;
  --line: #ECECEC;
  --shadow: 0 6px 20px rgba(20, 20, 20, 0.06);
  --radius: 16px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ===== 头部 ===== */
.hero {
  position: relative;
  padding: 38px 20px 28px;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #FFF3EC 0%, #FFFFFF 78%);
  z-index: 0;
}
.hero__bg::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  right: -90px; top: -120px;
  background: radial-gradient(circle, rgba(255,106,44,0.18), transparent 70%);
}
.hero__main { position: relative; z-index: 1; }

.avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(255,106,44,0.35);
  background-size: cover;
  background-position: center;
}
.hero__name { font-size: 23px; font-weight: 800; letter-spacing: 1px; }
.hero__brand { font-size: 14px; color: var(--accent); font-weight: 700; margin-top: 2px; }
.hero__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin: 14px 0 12px;
}
.hero__tags span {
  font-size: 12px;
  color: #B5481F;
  background: var(--accent-soft);
  border: 1px solid #FFD9C4;
  padding: 4px 10px;
  border-radius: 999px;
}
.hero__bio { font-size: 13.5px; color: var(--muted); margin: 0 auto; max-width: 340px; }

.hero__actions { display: flex; gap: 14px; justify-content: center; margin-top: 22px; }
.btn {
  flex: 1 1 0;
  max-width: 190px;
  padding: 15px 20px;
  border-radius: 999px;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 1px;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: scale(0.96); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(255,106,44,0.42); }
.btn--ghost {
  background: #fff; color: var(--accent);
  border: 1.5px solid var(--accent);
  box-shadow: 0 6px 16px rgba(255,106,44,0.14);
}

/* ===== Tab ===== */
.tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 6px;
}
.tab {
  flex: 1;
  appearance: none;
  background: none;
  border: none;
  padding: 14px 4px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  cursor: pointer;
}
.tab.is-active { color: var(--accent); }
.tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: 0;
  width: 26px; height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

/* ===== 内容 ===== */
.content { padding: 18px 16px 40px; max-width: 720px; margin: 0 auto; }
.panel { display: none; }
.panel.is-active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.panel__intro { margin-bottom: 16px; }
.panel__intro h2 { font-size: 19px; margin: 0 0 4px; }
.panel__intro p { font-size: 13px; color: var(--muted); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.grid--cases { grid-template-columns: repeat(2, 1fr); }
.grid--video { grid-template-columns: repeat(2, 1fr); }

/* 商家卡片 */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .12s ease;
}
.card:active { transform: scale(0.97); }
.card__top { display: flex; align-items: center; gap: 10px; }
.card__avatar {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 18px;
  background: var(--accent);
  background-size: cover; background-position: center;
  flex: 0 0 auto;
}
.card__name { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.card__industry { font-size: 11.5px; color: var(--accent); margin-top: 2px; }
.card__result {
  font-size: 12px; color: var(--muted);
  margin: 10px 0 0; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* AI案例卡片 */
.case {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  cursor: pointer;
  transition: transform .12s ease;
}
.case:active { transform: scale(0.97); }
.case__thumb {
  height: 110px;
  background: linear-gradient(135deg, #FFE7D6, #FFC9A8);
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
  background-size: cover; background-position: center;
}
.case__body { padding: 12px 13px 14px; }
.case__title { font-size: 14.5px; font-weight: 700; }
.case__desc {
  font-size: 12px; color: var(--muted); margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.case__go { font-size: 12px; color: var(--accent); margin-top: 8px; font-weight: 600; }

/* AI视频卡片 */
.video {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  cursor: pointer;
  transition: transform .12s ease;
}
.video:active { transform: scale(0.97); }
.video__thumb {
  height: 118px;
  position: relative;
  background: linear-gradient(135deg, #2b2b2b, #4a4a4a);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.video__play {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
}
.video__play::before {
  content: ""; width: 0; height: 0;
  border-left: 13px solid var(--accent);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}
.video__body { padding: 11px 12px 13px; }
.video__title { font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.video__sub { font-size: 11.5px; color: var(--muted); margin-top: 4px; }

/* ===== 底部抽屉 ===== */
.sheet { position: fixed; inset: 0; z-index: 50; display: none; }
.sheet.is-open { display: block; }
.sheet__mask { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.sheet__body {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
  max-height: 82vh; overflow-y: auto;
  animation: slideUp .28s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
.sheet__close {
  position: absolute; right: 14px; top: 12px;
  width: 32px; height: 32px; border: none; background: #F2F2F2;
  border-radius: 50%; font-size: 20px; color: #888; cursor: pointer;
}
.sheet__head { display: flex; align-items: center; gap: 12px; }
.sheet__avatar {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 20px;
  background: var(--accent);
  background-size: cover; background-position: center;
}
.sheet__name { font-size: 17px; font-weight: 800; }
.sheet__tag { font-size: 12px; color: var(--accent); margin-top: 2px; }
.sheet__result {
  font-size: 13px; color: #444; background: var(--accent-soft);
  padding: 10px 12px; border-radius: 12px; margin: 14px 0 16px;
}
.sheet__videos { display: flex; flex-direction: column; gap: 12px; }
.vitem {
  border: 1px solid var(--line); border-radius: 14px; padding: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.vitem__info { flex: 1; min-width: 0; }
.vitem__t { font-size: 13.5px; font-weight: 600; }
.vitem__d { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.vitem__btn {
  flex: 0 0 auto;
  background: var(--accent); color: #fff;
  font-size: 12.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  border: none; cursor: pointer;
  display: flex; align-items: center; gap: 4px;
}
.vitem__btn svg { width: 13px; height: 13px; fill: #fff; }

/* ===== 页脚 ===== */
.footer {
  text-align: center; font-size: 12px; color: var(--muted);
  padding: 22px 16px calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  line-height: 1.8;
}
.footer a { color: var(--accent); }

/* ===== Toast ===== */
.toast {
  position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%) translateY(20px);
  background: rgba(20,20,20,0.92); color: #fff; font-size: 13px;
  padding: 12px 18px; border-radius: 12px; max-width: 84vw;
  z-index: 80; opacity: 0; pointer-events: none; transition: all .25s ease;
  line-height: 1.5;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 微信二维码弹窗 ===== */
.modal { position: fixed; inset: 0; z-index: 70; display: none; }
.modal.is-open { display: block; }
.modal__mask { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.modal__body {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 78%; max-width: 320px; background: #fff; border-radius: 18px;
  padding: 26px 22px 22px; text-align: center; animation: popIn .25s ease;
}
@keyframes popIn { from { opacity: 0; transform: translate(-50%,-46%) scale(.96); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.modal__close {
  position: absolute; right: 12px; top: 10px; width: 30px; height: 30px;
  border: none; background: #F2F2F2; border-radius: 50%; font-size: 19px; color: #888; cursor: pointer;
}
.modal__title { font-size: 17px; font-weight: 800; }
.modal__qr { width: 200px; height: 200px; margin: 16px auto 10px; background: #f3f3f3; border-radius: 12px; overflow: hidden; }
.modal__hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.modal__id { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--accent); }

/* 无视频号时的占位提示 */
.vitem-note {
  font-size: 13px; color: var(--muted); text-align: center;
  padding: 16px; background: var(--card); border-radius: 12px;
}

/* ===== 首页客户案例墙 ===== */
.client-wall {
  padding: 18px 0 22px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F4 100%);
  border-bottom: 1px solid var(--line);
}
.client-wall__inner { max-width: 720px; margin: 0 auto; }
.client-wall__title {
  font-size: 13px; font-weight: 700; color: var(--accent);
  text-align: center; margin-bottom: 12px;
}
/* 网格 / 跑马灯 切换 */
.client-wall__switch { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; }
.cw-switch {
  appearance: none; border: 1px solid var(--line); background: #fff;
  color: var(--muted); font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 999px; cursor: pointer;
}
.cw-switch.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
/* 换行网格：手机4列，宽屏6列，纵向自然滚动，不再横着拉很长 */
.client-wall__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 6px;
  padding: 0 16px;
}
@media (min-width: 480px) {
  .client-wall__track { grid-template-columns: repeat(6, 1fr); }
}
/* 跑马灯：横向无缝循环（内容复制一份，位移 -50%）；悬停/按住暂停便于点击 */
.client-wall__track.is-marquee {
  display: flex; flex-wrap: nowrap; gap: 14px;
  overflow: hidden; padding: 0 16px; width: max-content;
  animation: wallMarquee 40s linear infinite;
}
.client-wall__track.is-marquee:hover,
.client-wall__track.is-marquee:active { animation-play-state: paused; }
.client-wall__track.is-marquee .client-wall__item { flex: 0 0 auto; width: 72px; }
@keyframes wallMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-wall__item {
  text-align: center;
  cursor: pointer;
}
.client-wall__logo {
  width: 100%;
  max-width: 62px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 6px;
  border-radius: 14px;
  background: var(--accent);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.client-wall__name {
  font-size: 10.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== 行业分类筛选 ===== */
.filter {
  display: flex; gap: 8px;
  overflow-x: auto;
  padding: 0 0 14px;
  margin-top: -4px;
}
.filter::-webkit-scrollbar { display: none; }
.filter__btn {
  flex: 0 0 auto;
  appearance: none; border: 1px solid var(--line);
  background: #fff; color: var(--muted);
  font-size: 12.5px; font-weight: 600;
  padding: 6px 13px; border-radius: 999px;
  cursor: pointer;
}
.filter__btn.is-active {
  background: var(--accent); color: #fff;
  border-color: var(--accent);
}

