/* ============================================================
   今世臻爱 H5 落地页 · 共享样式（app.html / company.html / download.html）
   ============================================================ */
:root {
  --pink: #ec4899;
  --pink-soft: #fdf2f8;
  --pink-mid: #fce7f3;
  --ink: #1e293b;
  --ink-2: #475569;
  --ink-3: #94a3b8;
  --line: #e2e8f0;
  --grad-cta: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --grad-pink: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
  --shadow: 0 18px 40px -18px rgba(236, 72, 153, .35);
  --radius: 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink); background: #fff; line-height: 1.6;
  padding-bottom: 64px; /* 给底部固定导航栏留位 */
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
section[id], header[id], div[id] { scroll-margin-top: 66px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226,232,240,.8);
}
.nav-in { display: flex; align-items: center; gap: 26px; height: 60px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 19px; }
.logo-badge {
  width: 34px; height: 34px; border-radius: 11px; background: var(--grad-pink);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px -4px rgba(236,72,153,.55); font-size: 17px;
}
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); margin-left: auto; }
.nav-links a { padding: 6px 2px; border-radius: 8px; transition: color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--pink); font-weight: 700; }
.nav-cta {
  margin-left: 6px; height: 38px; padding: 0 18px; border-radius: 999px;
  background: var(--grad-cta); color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; box-shadow: 0 8px 18px -6px rgba(139,92,246,.5);
  transition: transform .18s;
}
.nav-cta:active { transform: scale(.95); }
@media (max-width: 760px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* ---------- 内页页头 banner ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, #6366f1 0%, #8b5cf6 46%, #be185d 100%);
  padding: 54px 0 58px;
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
}
.page-hero::before { width: 380px; height: 380px; background: rgba(236,72,153,.55); top: -120px; right: -80px; }
.page-hero::after { width: 340px; height: 340px; background: rgba(99,102,241,.65); bottom: -150px; left: -70px; }
.page-hero .wrap { position: relative; z-index: 2; }
.ph-kicker { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); font-size: 13px; font-weight: 700; }
.page-hero h1 { font-size: 36px; font-weight: 900; letter-spacing: 1px; margin-top: 14px; }
.page-hero p { opacity: .92; margin-top: 10px; font-size: 15px; max-width: 560px; }
@media (max-width: 680px) { .page-hero h1 { font-size: 28px; } .page-hero { padding: 40px 0 44px; } }

/* ---------- Hero（软件介绍主页） ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; background:
  radial-gradient(900px 420px at 85% -60px, rgba(168,85,247,.14), transparent 60%),
  radial-gradient(700px 380px at -10% 20px, rgba(236,72,153,.12), transparent 60%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px;
  border-radius: 999px; background: var(--pink-mid); color: #be185d; font-size: 13px; font-weight: 700;
}
.hero h1 { font-size: 44px; line-height: 1.22; letter-spacing: 1px; margin: 18px 0 14px; font-weight: 900; }
.hero h1 em { font-style: normal; background: var(--grad-cta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { color: var(--ink-2); font-size: 16.5px; max-width: 520px; }
.hero-btns { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn-dl {
  display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px;
  border-radius: 16px; font-weight: 800; font-size: 15.5px; color: #fff;
  background: var(--grad-cta); box-shadow: 0 14px 30px -10px rgba(139,92,246,.55);
  transition: transform .18s, box-shadow .18s;
}
.btn-dl.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: 0 10px 24px -14px rgba(15,23,42,.25); }
.btn-dl:active { transform: scale(.96); }
.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }

/* 手机 mockup */
.hero-phone { display: flex; justify-content: center; }
.phone {
  width: 288px; border-radius: 42px; background: #0f172a; padding: 12px;
  box-shadow: 0 40px 70px -30px rgba(15,23,42,.55); position: relative;
  transform: rotate(3deg);
}
.phone-screen { border-radius: 32px; overflow: hidden; background: #fff; position: relative; }
.ps-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 90px; height: 20px; border-radius: 999px; background: #0f172a; z-index: 5; }
.ps-head { background: var(--grad-cta); padding: 34px 16px 16px; color: #fff; }
.ps-hi { font-size: 12px; opacity: .85; }
.ps-name { font-size: 19px; font-weight: 900; display: flex; align-items: center; gap: 6px; }
.ps-vip { font-size: 9px; background: rgba(255,255,255,.25); border-radius: 999px; padding: 2px 7px; font-weight: 700; }
.ps-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.ps-tag { font-size: 10px; background: rgba(255,255,255,.18); border-radius: 999px; padding: 3px 9px; }
.ps-body { padding: 14px 14px 20px; background: linear-gradient(#faf5ff, #fff); }
.ps-card { background: #fff; border-radius: 18px; box-shadow: 0 12px 26px -14px rgba(15,23,42,.28); overflow: hidden; }
.ps-cover { position: relative; }
.ps-cover img { width: 100%; aspect-ratio: 1/ .8; object-fit: cover; }
.ps-cover .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 12px 10px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.4)); }
.ps-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.ps-row img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.ps-row .t { font-size: 13px; font-weight: 800; }
.ps-row .s { font-size: 10.5px; color: var(--ink-3); }
.ps-acts { display: flex; justify-content: center; gap: 26px; padding: 8px 0 14px; }
.ps-act { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; background: #f1f5f9; }
.ps-act.main { width: 56px; height: 56px; background: var(--grad-cta); color: #fff; font-size: 22px; box-shadow: 0 12px 22px -8px rgba(139,92,246,.6); }
.ps-act.like { background: var(--pink-mid); color: var(--pink); }
.float-chip {
  position: absolute; background: #fff; border-radius: 14px; padding: 9px 13px;
  box-shadow: 0 16px 34px -12px rgba(15,23,42,.3); font-size: 12px; font-weight: 800;
  display: flex; align-items: center; gap: 7px; animation: floaty 3.4s ease-in-out infinite;
}
.fc1 { top: 12%; left: -18px; }
.fc2 { bottom: 20%; right: -14px; animation-delay: 1.2s; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 860px) {
  .hero h1 { font-size: 33px; }
  .float-chip { display: none; }
  .phone { transform: none; }
}

/* ---------- 数据条 ---------- */
.stats { background: #fff; padding: 34px 0 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 680px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; background: var(--pink-soft); border-radius: 18px; padding: 20px 8px; }
.stat b { display: block; font-size: 26px; font-weight: 900; background: var(--grad-cta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 12.5px; color: var(--ink-2); }

/* ---------- 通用区块 ---------- */
.sec-head { text-align: center; margin-bottom: 38px; }
.sec-kicker { display: inline-block; font-size: 13px; font-weight: 800; color: var(--pink); letter-spacing: 3px; }
.sec-head h2 { font-size: 30px; font-weight: 900; margin-top: 8px; letter-spacing: 1px; }
.sec-head p { color: var(--ink-2); margin-top: 10px; font-size: 15px; }
@media (max-width: 680px) { .sec-head h2 { font-size: 24px; } section { padding: 48px 0; } }

/* ---------- 产品功能 ---------- */
.feats { background: linear-gradient(#fff, #fdf4ff); }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 36px -22px rgba(15,23,42,.3); display: flex; flex-direction: column; }
.feat-img { position: relative; }
.feat-img img { width: 100%; aspect-ratio: 16/9.2; object-fit: cover; }
.feat-img .fi-chip { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 4px 12px; font-size: 11.5px; font-weight: 800; color: #be185d; }
.feat-bd { padding: 18px 20px 22px; }
.feat-bd h3 { font-size: 17.5px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.feat-bd h3 .ic { width: 26px; height: 26px; border-radius: 9px; background: var(--pink-mid); color: var(--pink); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.feat-bd p { color: var(--ink-2); font-size: 13.5px; margin-top: 8px; }
.feat-bd ul { margin-top: 10px; list-style: none; }
.feat-bd li { font-size: 12.5px; color: var(--ink-3); padding-left: 18px; position: relative; margin-top: 4px; }
.feat-bd li::before {
  content: ""; position: absolute; left: 0; top: 3.5px; width: 12px; height: 12px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23ec4899" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/contain no-repeat;
}

/* ---------- 真人风采 ---------- */
.wall { background: #fff; }
.wall-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 680px) { .wall-grid { grid-template-columns: repeat(2, 1fr); } }
.wcell { border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 12px 26px -18px rgba(15,23,42,.4); }
.wcell img { width: 100%; aspect-ratio: 3/3.6; object-fit: cover; }
.wcell .winfo { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; color: #fff; font-size: 12px; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.45)); display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.wcell .vbadge { background: rgba(255,255,255,.25); border-radius: 999px; padding: 2px 8px; font-size: 10px; backdrop-filter: blur(4px); white-space: nowrap; }

/* ---------- 公司介绍 ---------- */
.about { background: linear-gradient(#fdf4ff, #fff); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-pic { position: relative; }
.about-pic img.main { border-radius: 24px; width: 100%; aspect-ratio: 1/1.06; object-fit: cover; box-shadow: var(--shadow); }
.about-pic img.deco { position: absolute; width: 43%; right: -14px; bottom: -22px; border-radius: 20px; border: 5px solid #fff; box-shadow: 0 20px 40px -20px rgba(15,23,42,.4); }
.about-bd h2 { font-size: 27px; font-weight: 900; letter-spacing: 1px; }
.about-bd h2 em { font-style: normal; color: var(--pink); }
.about-bd p { color: var(--ink-2); font-size: 14.5px; margin-top: 14px; }
.about-vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.aval { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px; text-align: center; }
.aval b { display: block; font-size: 15px; }
.aval span { font-size: 11.5px; color: var(--ink-3); }
.about-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; text-align: center; }
@media (max-width: 680px) { .about-facts { grid-template-columns: repeat(2, 1fr); } }
.afact b { font-size: 22px; font-weight: 900; color: var(--pink); }
.afact span { display: block; font-size: 12px; color: var(--ink-3); }

/* 里程碑 */
.miles { background: #fff; }
.mile-line { position: relative; max-width: 760px; margin: 0 auto; padding-left: 22px; border-left: 2px solid var(--pink-mid); }
.mile { position: relative; padding: 0 0 26px 18px; }
.mile:last-child { padding-bottom: 0; }
.mile::before {
  content: ""; position: absolute; left: -31px; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad-pink); box-shadow: 0 0 0 4px var(--pink-mid);
}
.mile b { font-size: 16px; font-weight: 900; color: var(--pink); margin-right: 10px; }
.mile span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- 服务保障 ---------- */
.safe { background: #fff; }
.safe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .safe-grid { grid-template-columns: 1fr; } }
.safe-item { background: linear-gradient(160deg, #faf5ff, #fdf2f8); border-radius: var(--radius); padding: 24px 20px; }
.safe-item .sic { width: 46px; height: 46px; border-radius: 15px; background: var(--grad-cta); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 21px; box-shadow: 0 10px 22px -8px rgba(139,92,246,.5); }
.safe-item h4 { margin-top: 14px; font-size: 16.5px; font-weight: 900; }
.safe-item p { font-size: 13px; color: var(--ink-2); margin-top: 7px; }

/* ---------- 下载区 ---------- */
.dl { background: linear-gradient(150deg, #312e81 0%, #6d28d9 48%, #be185d 100%); color: #fff; position: relative; overflow: hidden; }
.dl::before, .dl::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
}
.dl::before { width: 420px; height: 420px; background: rgba(236,72,153,.5); top: -140px; right: -100px; }
.dl::after { width: 380px; height: 380px; background: rgba(99,102,241,.6); bottom: -160px; left: -80px; }
.dl-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.dl-in > * { min-width: 0; } /* 否则 .shots 的 642px 最小内容宽会把整列撑宽，窄屏被 .dl 裁掉 */
@media (max-width: 860px) { .dl-in { grid-template-columns: 1fr; } }
.dl h2 { font-size: 32px; font-weight: 900; letter-spacing: 1px; }
.dl p.dl-sub { opacity: .9; margin-top: 10px; font-size: 15px; }
.dl-btns { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.btn-store {
  display: flex; align-items: center; gap: 12px; min-width: 190px; padding: 11px 20px;
  background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 16px; backdrop-filter: blur(6px); transition: transform .18s, background .18s;
}
.btn-store:hover { background: rgba(255,255,255,.22); }
.btn-store:active { transform: scale(.96); }
.btn-store .ic { font-size: 26px; display: flex; }
.btn-store .s1 { font-size: 11px; opacity: .85; display: block; }
.btn-store .s2 { font-size: 16px; font-weight: 900; }
.dl-meta { margin-top: 20px; font-size: 12.5px; opacity: .8; }
.dl-meta span { margin-right: 16px; }
.qr-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 24px; padding: 26px; display: flex; align-items: center; gap: 20px; backdrop-filter: blur(8px); justify-content: center; }
.qr-box { background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 20px 44px -18px rgba(0,0,0,.5); }
.qr-box #qr { display: block; width: 168px; height: 168px; }
.qr-side { max-width: 190px; }
.qr-side b { display: block; font-size: 16px; }
.qr-side p { font-size: 12px; opacity: .85; margin-top: 6px; line-height: 1.7; }
@media (max-width: 560px) {
  .qr-card { flex-direction: column; text-align: center; padding: 22px; }
  .qr-side { max-width: 100%; }
}
.shots { display: flex; gap: 14px; margin-top: 30px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 150px; width: 150px; border-radius: 20px; overflow: hidden; border: 3px solid rgba(255,255,255,.35); position: relative; }
.shot img { aspect-ratio: 9/16; object-fit: cover; width: 100%; }
.shot .cap { position: absolute; left: 0; right: 0; bottom: 0; font-size: 11px; font-weight: 700; padding: 16px 8px 7px; text-align: center; background: linear-gradient(transparent, rgba(0,0,0,.5)); }

/* ---------- 下载页 FAQ ---------- */
.faq { background: #fff; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-top: 14px; background: #fff; }
.faq-item b { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 900; }
.faq-item b .fic { width: 24px; height: 24px; border-radius: 8px; background: var(--pink-mid); color: var(--pink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.faq-item p { color: var(--ink-2); font-size: 13.5px; margin-top: 8px; }

/* ---------- 底部固定导航栏（线性图标 24px） ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; background: rgba(255,255,255,.95); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 5px 0 calc(5px + env(safe-area-inset-bottom, 0px));
}
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 4px 0 2px; font-size: 11px; font-weight: 700; color: var(--ink-3);
  transition: color .2s; -webkit-tap-highlight-color: transparent;
}
.tab svg { width: 24px; height: 24px; }
.tab.on { color: var(--pink); }

/* 面性填充图标通用尺寸 */
.fi { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; }

/* ---------- Footer ---------- */
footer { background: #0f172a; color: #94a3b8; font-size: 12.5px; padding: 34px 0 26px; }
.ft-grid { display: flex; gap: 30px; flex-wrap: wrap; justify-content: space-between; }
.ft-brand { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 900; font-size: 17px; }
.ft-links { display: flex; gap: 18px; flex-wrap: wrap; }
.ft-links a:hover { color: #fff; }
.ft-tip { margin-top: 16px; line-height: 1.9; border-top: 1px solid rgba(148,163,184,.2); padding-top: 16px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 86px; transform: translateX(-50%) translateY(20px);
  background: rgba(15,23,42,.88); color: #fff; font-size: 13.5px; padding: 11px 20px;
  border-radius: 999px; opacity: 0; pointer-events: none; transition: all .3s; z-index: 99;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
