/* Standalone shell for the 小手健康 App module. */
:root {
  --navy-950: #06121e;
  --navy-900: #071827;
  --line: rgba(31, 99, 132, .18);
  --ease: cubic-bezier(.22, .8, .26, 1);
  --content: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #0a1c2b;
  background: #f4f8fa;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
button { font: inherit; }
.section-index { color: #227ea0; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
/* 小手健康 App — continuous product-flow showcase */
.app-showcase {
  min-height: 100svh;
  padding-top: clamp(80px, 9vh, 128px);
  padding-bottom: clamp(70px, 9vh, 120px);
  background:
    radial-gradient(circle at 52% 48%, rgba(96, 212, 205, .13), transparent 24%),
    linear-gradient(135deg, #eef8fa 0%, #f7fbfc 52%, #eaf5f7 100%);
}
.app-showcase-head { width: min(100%, var(--content)); margin: 0 auto 34px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); gap: 40px; align-items: end; }
.app-showcase-head h2 { margin-top: 17px; color: var(--navy-900); font-size: clamp(38px, 5.2vw, 72px); line-height: 1.1; letter-spacing: -.06em; }
.app-showcase-head h2 em { color: #2085ad; }
.app-showcase-head p { max-width: 430px; justify-self: end; color: #58707d; font-size: 14px; line-height: 1.9; }
.app-demo-shell { width: min(100%, 1280px); min-height: 650px; margin: 0 auto; padding: 28px; display: grid; grid-template-columns: minmax(195px, .76fr) minmax(280px, .96fr) minmax(260px, 1.1fr); gap: clamp(22px, 4vw, 60px); align-items: center; border: 1px solid rgba(37, 126, 151, .16); border-radius: 32px; background: rgba(255,255,255,.55); box-shadow: 0 30px 90px rgba(29, 112, 137, .12), inset 0 1px rgba(255,255,255,.8); backdrop-filter: blur(16px); }
.app-flow-column, .app-detail-panel { min-width: 0; }
.app-flow-kicker { display: flex; align-items: center; gap: 9px; color: #227ea0; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.app-pulse { width: 8px; height: 8px; border-radius: 50%; background: #52cdb7; box-shadow: 0 0 0 5px rgba(82,205,183,.16); }
.app-flow-list { display: grid; gap: 9px; margin-top: 20px; }
.app-flow-card { position: relative; width: 100%; padding: 13px 13px 13px 15px; display: grid; grid-template-columns: 27px 1fr auto; gap: 10px; align-items: center; border: 1px solid transparent; border-radius: 15px; color: #66808b; background: rgba(255,255,255,.62); text-align: left; cursor: pointer; transition: transform .38s var(--ease), color .38s var(--ease), border-color .38s var(--ease), background .38s var(--ease), box-shadow .38s var(--ease); }
.app-flow-card:hover { transform: translateX(4px); border-color: rgba(44, 153, 170, .2); color: #266d82; }
.app-flow-card.active { transform: translateX(8px); color: #0b3342; border-color: rgba(73, 188, 174, .46); background: linear-gradient(120deg, rgba(255,255,255,.94), rgba(219,250,245,.82)); box-shadow: 0 10px 24px rgba(55, 168, 158, .13); }
.app-flow-card.queued { border-color: rgba(44, 153, 170, .28); background: rgba(230, 249, 248, .72); box-shadow: 0 0 0 3px rgba(82, 205, 183, .08); }
.app-flow-card.queued .app-flow-arrow { color: #1d9c8d; animation: app-queued-pulse 1s ease-in-out infinite; }
@keyframes app-queued-pulse { 50% { transform: translateX(5px); opacity: .62; } }
.app-flow-number { color: #8ca5ae; font-size: 10px; font-weight: 800; }
.app-flow-card.active .app-flow-number { color: #1d9c8d; }
.app-flow-copy { display: grid; gap: 1px; }
.app-flow-copy strong { font-size: 13px; line-height: 1.3; }
.app-flow-copy small { color: #93a6ad; font-size: 10px; line-height: 1.45; }
.app-flow-card.active small { color: #5d817f; }
.app-flow-arrow { color: #acc0c5; font-size: 16px; transition: transform .35s var(--ease); }
.app-flow-card.active .app-flow-arrow { color: #1d9c8d; transform: translateX(3px); }
.app-flow-note { margin-top: 25px; padding-top: 17px; border-top: 1px solid rgba(43, 126, 146, .14); }
.app-flow-note span, .app-detail-metric span { display: block; color: #83a1aa; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.app-flow-note b { display: block; margin-top: 6px; color: #245364; font-size: 12px; line-height: 1.5; }
.app-flow-note small { display: block; margin-top: 5px; color: #8aa1a9; font-size: 10px; line-height: 1.6; }
.app-phone-stage { position: relative; min-height: 592px; display: grid; place-items: center; }
.app-phone-glow { position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(70, 197, 184, .23), rgba(70, 197, 184, 0) 66%); filter: blur(5px); }
.app-phone { position: relative; width: min(100%, 286px); aspect-ratio: 1080 / 2040; padding: 7px; overflow: hidden; border: 1px solid rgba(4, 46, 60, .68); border-radius: 33px; background: #071d29; box-shadow: 0 28px 48px rgba(6, 55, 67, .27), 0 0 0 7px rgba(255,255,255,.74), 0 0 0 8px rgba(28, 107, 124, .14); transform: translateZ(0); }
.app-phone::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); z-index: 3; }
.app-phone-speaker { position: absolute; z-index: 4; top: 12px; left: 50%; width: 66px; height: 17px; border-radius: 999px; transform: translateX(-50%); background: rgba(2, 21, 29, .92); }
.app-phone video { display: block; width: 100%; height: 100%; border-radius: 27px; object-fit: cover; background: #d7ecf3; }
.app-phone.is-seeking video { opacity: .42; transform: scale(.988); filter: saturate(.82) blur(.35px); transition: opacity .16s ease, transform .16s ease, filter .16s ease; }
.app-phone video { transition: opacity .22s ease, transform .22s ease, filter .22s ease; }
.app-demo-shell.is-transitioning .app-detail-panel { opacity: .62; transform: translateY(3px); transition: opacity .18s ease, transform .18s ease; }
.app-detail-panel { transition: opacity .22s ease, transform .22s ease; }
.app-phone-homebar { position: absolute; z-index: 4; left: 50%; bottom: 13px; width: 78px; height: 4px; border-radius: 999px; transform: translateX(-50%); background: rgba(255,255,255,.78); mix-blend-mode: screen; }
.app-stage-caption { position: absolute; right: 0; bottom: 2px; left: 0; display: flex; align-items: baseline; justify-content: center; gap: 8px; color: #1f5363; }
.app-stage-caption span:first-child { color: #45ab9d; font-size: 10px; font-weight: 800; }
.app-stage-caption strong { font-size: 13px; }
.app-stage-live { display: inline-flex; align-items: center; gap: 5px; margin-left: 7px; color: #89a4ab; font-size: 8px; letter-spacing: .1em; }
.app-stage-live i { width: 5px; height: 5px; border-radius: 50%; background: #45c5b1; }
.app-detail-panel { padding: 28px 0 28px 8px; }
.app-detail-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #65a5af; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.app-detail-status { padding: 6px 9px; border: 1px solid rgba(58, 167, 157, .2); border-radius: 999px; color: #3b9d91; background: rgba(215, 249, 241, .6); font-size: 9px; letter-spacing: .03em; text-transform: none; }
.app-detail-panel h3 { margin: 27px 0 12px; color: #113d4c; font-size: clamp(28px, 3vw, 45px); line-height: 1.1; letter-spacing: -.05em; }
.app-detail-panel p { max-width: 330px; color: #5f7883; font-size: 14px; line-height: 1.9; }
.app-detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.app-detail-tags span { padding: 6px 9px; border: 1px solid rgba(67, 159, 156, .18); border-radius: 999px; color: #438b8b; background: rgba(236, 252, 249, .7); font-size: 10px; }
.app-detail-divider { width: 100%; max-width: 340px; height: 1px; margin: 35px 0 22px; background: rgba(46, 129, 145, .15); }
.app-detail-metric b { display: block; margin-top: 6px; color: #194b5c; font-size: 18px; letter-spacing: -.02em; }
.app-next-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 178px; margin-top: 34px; padding: 12px 14px 12px 17px; border: 1px solid rgba(44, 150, 148, .36); border-radius: 999px; color: white; background: #16586c; box-shadow: 0 12px 24px rgba(22, 88, 108, .17); cursor: pointer; transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); font-size: 12px; }
.app-next-button:hover { transform: translateY(-2px); background: #0e4659; box-shadow: 0 15px 30px rgba(22, 88, 108, .24); }
.app-next-button:disabled, .app-next-button[aria-disabled="true"] { opacity: .55; cursor: default; box-shadow: none; }
.app-next-button:disabled:hover, .app-next-button[aria-disabled="true"]:hover { transform: none; background: #16586c; }
.app-next-button .app-next-label { font-size: 12px; line-height: 1; }
.app-next-button > span:last-child { font-size: 18px; line-height: 1; }
.app-showcase-foot { width: min(100%, 1280px); margin: 22px auto 0; padding: 0 3px; display: flex; align-items: center; gap: 15px; color: #6c8d97; font-size: 11px; }
.app-showcase-foot span { color: #328b94; font-weight: 800; letter-spacing: .08em; }
.app-showcase-foot b { color: #315967; font-size: 12px; }
.app-showcase-foot small { margin-left: auto; color: #8ba1a9; font-size: 10px; }
@media (max-width: 1120px) { .app-demo-shell { grid-template-columns: 190px minmax(240px, .9fr) minmax(220px, 1fr); gap: 24px; padding: 22px; } .app-phone { width: min(100%, 248px); } .app-detail-panel { padding-left: 0; } }
@media (max-width: 900px) { .app-showcase-head { grid-template-columns: 1fr; gap: 14px; } .app-showcase-head p { justify-self: start; } .app-demo-shell { grid-template-columns: 1fr; gap: 30px; padding: 23px; } .app-phone-stage { order: -1; min-height: 510px; } .app-phone { width: min(64vw, 286px); } .app-flow-list { display: flex; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; } .app-flow-list::-webkit-scrollbar { display: none; } .app-flow-card { min-width: 164px; scroll-snap-align: center; } .app-flow-note { display: none; } .app-detail-panel { padding: 0 3px 8px; } .app-detail-panel h3 { margin-top: 18px; } .app-showcase-foot { display: grid; gap: 6px; } .app-showcase-foot small { margin-left: 0; } }
@media (max-width: 520px) { .app-showcase { padding-right: 16px; padding-left: 16px; } .app-demo-shell { padding: 17px; border-radius: 24px; } .app-phone-stage { min-height: 450px; } .app-phone { width: min(72vw, 252px); } .app-stage-live { display: none; } .app-detail-panel p { font-size: 13px; } }

/* 嵌入 BP 时的紧凑展示：保证手机画面与阶段说明处在同一可视区域 */
@media (min-width: 901px) {
  .app-showcase { min-height: 0; padding: 38px 28px 30px; }
  .app-showcase-head { margin-bottom: 24px; }
  .app-showcase-head h2 { font-size: clamp(32px, 4vw, 56px); }
  .app-showcase-head p { font-size: 12px; line-height: 1.7; }
  .app-demo-shell { min-height: 0; padding: 22px; gap: 28px; align-items: center; }
  .app-phone-stage { min-height: 500px; }
  .app-phone { width: min(100%, 228px); }
  .app-detail-panel { padding-top: 18px; padding-bottom: 18px; }
  .app-detail-panel h3 { margin-top: 20px; font-size: clamp(26px, 2.6vw, 38px); }
  .app-detail-panel p { font-size: 12px; line-height: 1.7; }
  .app-detail-divider { margin-top: 24px; margin-bottom: 16px; }
  .app-next-button { margin-top: 24px; }
  .app-showcase-foot { margin-top: 16px; }
}
