/* ==========================================================
   人人货源 官网样式
   ========================================================== */
:root {
  --brand: #ff4d2e;
  --brand-2: #ff7a45;
  --brand-dark: #d93a1d;
  --ink: #1b1d22;
  --text: #4a4f5a;
  --muted: #8a8f99;
  --line: #eceef2;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(20, 24, 40, .18);
  --shadow-lg: 0 30px 60px -24px rgba(20, 24, 40, .28);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; font-weight: 700; }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 28px; border-radius: 999px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: 0;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 24px -8px rgba(255, 77, 46, .6); }
.btn-primary:hover { box-shadow: 0 14px 28px -8px rgba(255, 77, 46, .7); }
.btn-white { background: #fff; color: var(--brand); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }

/* ---------- 导航 ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(0,0,0,.2); }
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.logo img { border-radius: 10px; }
.header.scrolled .logo { color: var(--ink); }
.menu { display: flex; gap: 8px; }
.menu a { padding: 8px 16px; border-radius: 999px; color: rgba(255,255,255,.85); font-size: 15px; font-weight: 500; transition: .2s; }
.menu a:hover, .menu a.active { color: #fff; background: rgba(255,255,255,.16); }
.header.scrolled .menu a { color: var(--text); }
.header.scrolled .menu a:hover, .header.scrolled .menu a.active { color: var(--brand); background: rgba(255,77,46,.08); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.header:not(.scrolled) .nav-actions .btn-primary { background: #fff; color: var(--brand); box-shadow: none; }
.burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.header.scrolled .burger span { background: var(--ink); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 150px 0 110px; min-height: 720px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(255, 210, 100, .35), transparent 60%),
    linear-gradient(135deg, #ff3d1f 0%, #ff5a36 45%, #ff8a4c 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 80%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); font-size: 13px; font-weight: 500; letter-spacing: .5px; }
.hero h1 { color: #fff; font-size: clamp(44px, 6vw, 76px); letter-spacing: 4px; margin: 22px 0 10px; text-shadow: 0 10px 30px rgba(0,0,0,.15); }
.slogan { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: 1px; }
.desc { margin-top: 18px; font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.88); max-width: 520px; }
.hero-btns { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.25); }
.hero-stats b { display: block; font-size: 34px; font-weight: 800; line-height: 1; }
.hero-stats b i { font-style: normal; font-size: 18px; margin-left: 2px; }
.hero-stats span { display: block; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.8); }

.hero-visual { position: relative; height: 620px; }
.glow { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.35), transparent 65%); filter: blur(10px); }
.phone { filter: drop-shadow(0 40px 50px rgba(0,0,0,.35)); }
.phone-main { position: absolute; left: 50%; top: 0; width: 300px; transform: translateX(-62%); z-index: 2; animation: float 6s ease-in-out infinite; }
.phone-back { position: absolute; left: 50%; top: 70px; width: 260px; transform: translateX(22%) rotate(8deg); opacity: .92; z-index: 1; animation: float 7s ease-in-out 1s infinite; }
@keyframes float { 0%,100% { margin-top: 0; } 50% { margin-top: -16px; } }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink); padding: 10px 14px 10px 10px; border-radius: 14px; box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}
.float-card i { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-style: normal; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.float-card b { display: block; font-size: 14px; }
.float-card span { font-size: 12px; color: var(--muted); }
.fc1 { left: -40px; top: 400px; animation-delay: .6s; }
.fc2 { right: -20px; bottom: 60px; animation-delay: 1.4s; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- 通用 section ---------- */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 3px; color: var(--brand); font-weight: 700; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { margin-top: 12px; font-size: 16px; color: var(--muted); }

/* ---------- 下载 ---------- */
.download { background: var(--bg-soft); }
.download-panel {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
  background: #fff; border-radius: 24px; padding: 48px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.dl-qr { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px dashed var(--line); padding-right: 48px; }
.qr-wrap { position: relative; padding: 14px; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.qr-wrap img { border-radius: 6px; }
.qr-logo { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; transform: translate(-50%,-50%); border-radius: 10px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.dl-qr p { margin-top: 16px; font-weight: 600; color: var(--ink); }
.app-meta { display: flex; align-items: center; gap: 16px; }
.app-meta img { border-radius: 16px; box-shadow: var(--shadow); }
.app-meta h3 { font-size: 24px; }
.app-meta p { color: var(--muted); font-size: 14px; }
.meta-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta-list dt { font-size: 12px; color: var(--muted); }
.meta-list dd { margin-top: 4px; font-size: 16px; font-weight: 600; color: var(--ink); }
.meta-list dd a { color: var(--brand); font-size: 14px; }
.store-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.store {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 500;
  transition: .2s;
}
.store svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.store:hover { border-color: var(--brand); box-shadow: 0 8px 20px -10px rgba(255,77,46,.5); transform: translateY(-2px); }
.store.ios { background: var(--ink); color: #fff; border-color: var(--ink); }
.store.ios svg { color: #fff; }

/* ---------- 介绍 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  padding: 36px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  transition: .3s; position: relative; overflow: hidden;
}
.feature::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); opacity: 0; transition: .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature:hover::before { opacity: 1; }
.f-icon { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.f-icon svg { width: 30px; height: 30px; }
.f-icon.c1 { background: #fff0ec; color: var(--brand); }
.f-icon.c2 { background: #eaf3ff; color: #2f7ff5; }
.f-icon.c3 { background: #eafaf1; color: #22a56a; }
.feature h3 { font-size: 21px; margin-bottom: 8px; }
.tagline { color: var(--brand); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.feature p { font-size: 15px; }
.category-strip {
  margin-top: 40px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 22px 28px; border-radius: 16px; background: var(--bg-soft);
}
.cs-title { font-weight: 700; color: var(--ink); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chips span { padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink); }

/* ---------- 亮点 ---------- */
.highlight { background: linear-gradient(180deg, #fff 0%, #fff6f3 100%); overflow: hidden; }
.hl-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.hl-visual { display: flex; justify-content: center; position: relative; }
.hl-visual::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,77,46,.18), transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.hl-visual .phone { width: 320px; position: relative; filter: drop-shadow(0 30px 40px rgba(255, 77, 46, .25)); }
.hl-text h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 14px; }
.lead { font-size: 17px; color: var(--text); margin-bottom: 26px; }
.check-list { display: grid; gap: 14px; margin-bottom: 34px; }
.check-list li { position: relative; padding-left: 36px; font-size: 15px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.check-list li::after {
  content: ""; position: absolute; left: 8px; top: 7px; width: 8px; height: 5px;
  border-left: 2.4px solid #fff; border-bottom: 2.4px solid #fff; transform: rotate(-45deg);
}
.check-list b { display: block; color: var(--ink); font-size: 16px; }

/* ---------- 应用截图 ---------- */
.screens { background: #1b1d22; color: #fff; }
.screens .section-head h2 { color: #fff; }
.screens .section-head p { color: rgba(255,255,255,.6); }
.screens-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.screens-grid figure { text-align: center; transition: .3s; }
.screens-grid figure:hover { transform: translateY(-10px); }
.screens-grid img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.screens-grid figcaption { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.75); }

/* ---------- 适用人群 ---------- */
.user-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.user { text-align: center; padding: 30px 16px; border-radius: 18px; background: var(--bg-soft); border: 1px solid transparent; transition: .3s; }
.user:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-4px); }
.user i { display: block; font-style: normal; font-size: 40px; line-height: 1; margin-bottom: 14px; }
.user b { display: block; color: var(--ink); font-size: 17px; }
.user span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.cta-band {
  margin-top: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 40px 48px; border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, #ff3d1f, #ff8a4c); box-shadow: 0 30px 60px -30px rgba(255,77,46,.8);
}
.cta-band h3 { color: #fff; font-size: 26px; }
.cta-band p { margin-top: 6px; color: rgba(255,255,255,.85); }

/* ---------- 页脚 ---------- */
.footer { background: #14161a; color: rgba(255,255,255,.7); padding: 50px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.f-brand { display: flex; align-items: center; gap: 12px; }
.f-brand img { border-radius: 10px; }
.f-brand b { color: #fff; font-size: 18px; }
.f-brand p { font-size: 13px; color: rgba(255,255,255,.5); }
.f-links { display: flex; gap: 28px; font-size: 14px; }
.f-links a:hover { color: #fff; }
.copyright { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.45); }
.copyright a { display: inline-flex; align-items: center; gap: 5px; }
.copyright a:hover { color: #fff; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal-mask { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.modal-box { position: relative; width: min(520px, calc(100% - 40px)); background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(20px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close { position: absolute; right: 16px; top: 12px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.modal-box h3 { font-size: 22px; margin-bottom: 18px; }
.cl-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.cl-head b { color: var(--brand); font-size: 18px; }
.cl-head span { color: var(--muted); font-size: 13px; }
.cl-item ul { list-style: disc; padding-left: 20px; font-size: 14px; display: grid; gap: 6px; }

/* ---------- 提示 / 回顶 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); z-index: 300;
  background: rgba(20,22,26,.92); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.back-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--brand); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .desc { margin-left: auto; margin-right: auto; }
  .hero-btns, .hero-stats { justify-content: center; }
  .hero-visual { height: 560px; margin-top: 20px; }
  .fc1 { left: 0; } .fc2 { right: 0; }
  .download-panel { grid-template-columns: 1fr; padding: 32px; }
  .dl-qr { border-right: 0; padding-right: 0; border-bottom: 1px dashed var(--line); padding-bottom: 32px; }
  .meta-list, .store-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .hl-inner { grid-template-columns: 1fr; text-align: center; }
  .check-list li { text-align: left; }
  .screens-grid { grid-template-columns: repeat(2, 1fr); }
  .user-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-band { flex-direction: column; text-align: center; }
}
@media (max-width: 720px) {
  .menu { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 20px 20px; box-shadow: var(--shadow-lg); display: none; }
  .menu.open { display: flex; }
  .menu a { color: var(--text) !important; }
  .nav-actions .btn { display: none; }
  .burger { display: flex; }
  .header:not(.scrolled).menu-open { background: #fff; }
  .header.menu-open .logo { color: var(--ink); }
  .header.menu-open .burger span { background: var(--ink); }
  .hero { padding: 120px 0 80px; }
  .desc br, .section-head h2 br { display: none; }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 26px; }
  .hero-visual { height: 480px; }
  .phone-main { width: 230px; }
  .phone-back { width: 200px; }
  .float-card { display: none; }
  .section { padding: 70px 0; }
  .screens-grid, .user-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
