@font-face { font-family: "Kuaile"; src: url("media/kuaile.woff2") format("woff2"); font-display: swap }
/* 蓝天白云：取自小程序 sky-theme（--bj-sky #58ADE8） */
:root {
  --sky: #58ADE8; --sky-deep: #2B86C8; --sky-top: #5FB3EC; --sky-mid: #A9D6F5; --sky-soft: #E6F3FC; --sky-softer: #F4FAFF;
  --ink: #1F4D78; --ink2: #5A7E9E; --line: #CBE4F6;
  --pink: #FF9EBB; --yel: #FFE27A;
  --round: "Kuaile", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --boing: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.8 var(--sans); overflow-x: hidden }
img { display: block; max-width: 100%; height: auto; -webkit-user-drag: none; user-select: none }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; border-radius: 12px }
svg.tw, .btn svg { fill: currentColor }

.h2 { margin: 0; font: 400 clamp(36px, 4.6vw, 62px)/1.25 var(--round); color: var(--ink) }
.lead { margin: 16px 0 0; font-size: 18px; color: var(--ink2) }
.center { text-align: center; margin-left: auto; margin-right: auto }
.tag { margin: 0 0 10px; font: 400 14px var(--round); letter-spacing: .24em; color: var(--sky) }

.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 30px; border-radius: 999px; font: 400 19px var(--round); transition: transform .4s var(--boing), box-shadow .3s }
.btn svg { width: 18px; height: 18px }
.btn:hover { transform: translateY(-3px) scale(1.04) }
.btn:active { transform: scale(.95) }
.btn-blue { background: linear-gradient(180deg, #6EBDF0, var(--sky)); color: #fff; box-shadow: 0 6px 0 #3F95D2, 0 16px 28px -12px rgba(43, 134, 200, .7) }
.btn-blue:active { box-shadow: 0 2px 0 #3F95D2 }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 6px 0 #C8E2F5, 0 16px 28px -14px rgba(43, 134, 200, .45) }
.btn-s { min-height: 44px; padding: 0 20px; font-size: 16px; box-shadow: 0 4px 0 #3F95D2 }

/* 云 */
.cl { position: absolute; display: block; fill: url(#cloudfill); filter: drop-shadow(0 14px 22px rgba(43, 134, 200, .14)); will-change: transform }
.cl use { animation: cl-drift var(--d, 18s) ease-in-out infinite alternate }
@keyframes cl-drift { to { transform: translateX(var(--dx, 40px)) } }

/* 导航 */
.nav { position: fixed; z-index: 30; top: 14px; left: 50%; transform: translateX(-50%); width: min(1160px, calc(100% - 24px)); display: flex; align-items: center; gap: 20px; padding: 6px 8px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 10px 30px -14px rgba(43, 134, 200, .4), inset 0 0 0 1px rgba(255, 255, 255, .7); transition: transform .5s var(--boing) }
.nav.hide { transform: translate(-50%, -130%) }
.nav.solid { background: rgba(255, 255, 255, .9) }
.logo { display: flex; align-items: center; gap: 8px; font: 400 22px var(--round) }
.logo img { width: 44px; height: 44px; border-radius: 50%; background: var(--sky-soft); object-fit: cover; object-position: 50% 20%; transition: transform .5s var(--boing) }
.logo:hover img { transform: rotate(-14deg) scale(1.1) }
.links { display: flex; gap: 4px; margin-left: auto }
.links a { padding: 8px 16px; border-radius: 999px; font: 400 16px var(--round); color: var(--ink2); transition: background .25s, color .25s }
.links a:hover { background: var(--sky-soft); color: var(--ink) }
@media (max-width: 760px) { .links { display: none } .nav .btn { margin-left: auto } }

/* 首屏：蓝天 → 白 */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 110px max(5vw, 20px) 170px; overflow: hidden; background: linear-gradient(180deg, var(--sky-top) 0%, #86C6F1 32%, var(--sky-mid) 60%, #D3EAFA 84%, var(--sky-soft) 100%) }
.sky { position: absolute; inset: 0; pointer-events: none }
.sun { position: absolute; right: 8%; top: 8%; width: 46vmin; height: 46vmin; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 65%) }
.tw { position: absolute; color: #fff; animation: twinkle 2.8s ease-in-out infinite }
.t1 { width: 30px; height: 30px; left: 8%; top: 22% } .t2 { width: 22px; height: 22px; left: 44%; top: 17%; animation-delay: -.8s }
.t3 { width: 18px; height: 18px; left: 52%; top: 62%; animation-delay: -1.4s } .t4 { width: 28px; height: 28px; right: 7%; top: 22%; color: var(--yel); animation-delay: -2s }
.t5 { width: 22px; height: 22px; right: 12%; bottom: 34%; color: var(--pink); animation-delay: -.4s } .t6 { width: 16px; height: 16px; left: 34%; bottom: 36%; animation-delay: -1.8s }
@keyframes twinkle { 0%, 100% { transform: scale(.7) rotate(0); opacity: .55 } 50% { transform: scale(1.15) rotate(20deg); opacity: 1 } }
.cloudbank { position: absolute; left: -2%; right: -2%; bottom: -2px; height: 210px; pointer-events: none; z-index: 1 }
.cloudbank svg { position: absolute; bottom: 0; left: -4%; width: 108%; height: 100% }
.cloudbank path:first-child { animation: sea 14s ease-in-out infinite alternate }
.cloudbank path:last-child { animation: sea 18s ease-in-out infinite alternate-reverse }
@keyframes sea { to { transform: translateX(-3%) } }

.hero-txt { position: relative; z-index: 3 }
.hi { display: inline-block; margin: 0 0 16px; padding: 6px 18px; border-radius: 999px; font: 400 17px var(--round); color: var(--sky-deep); letter-spacing: .12em; background: rgba(255, 255, 255, .82); box-shadow: 0 8px 20px -10px rgba(31, 77, 120, .4) }
.title { margin: 0; display: flex; gap: .02em; font: 400 clamp(88px, 12vw, 184px)/1 var(--round); color: #fff; -webkit-text-stroke: 5px var(--sky-deep); paint-order: stroke fill; text-shadow: 0 9px 0 #2B7DBA, 0 24px 30px rgba(31, 77, 120, .28) }
.title span { display: inline-block; opacity: 0; transform: translateY(40%) scale(.6) }
.ready .title span { animation: in-pop .8s var(--boing) forwards, hop 3.2s var(--boing) 1.6s infinite }
.ready .title span:nth-child(2) { animation-delay: .12s, 1.75s } .ready .title span:nth-child(3) { animation-delay: .24s, 1.9s }
@keyframes in-pop { to { opacity: 1; transform: none } }

@keyframes hop { 0%, 70%, 100% { opacity: 1; transform: translateY(0) } 80% { transform: translateY(-14px) rotate(-4deg) } 90% { transform: translateY(0) scale(1.05, .95) } }
.say { margin: 24px 0 34px; font-size: 19px; color: var(--ink); max-width: 26em }
.say b { font: 400 22px var(--round); color: var(--sky-deep) }
.acts { display: flex; flex-wrap: wrap; gap: 16px }

.hero-buddy { position: relative; z-index: 2; justify-self: center; width: min(40vw, 560px); margin-bottom: 20px }
.buddy-in { will-change: transform }
.buddy { display: block; width: 100%; opacity: 0; transform: translateY(-60vh) }
.ready .buddy { animation: drop 1.1s var(--boing) .15s forwards, float 4s ease-in-out 1.3s infinite }
@keyframes drop { 0% { opacity: 0; transform: translateY(-60vh) rotate(-12deg) } 40% { opacity: 1 } 70% { transform: translateY(10px) scale(1.05, .94) } 100% { opacity: 1; transform: none } }
.buddy img { filter: drop-shadow(0 20px 26px rgba(31, 77, 120, .25)) }
.ready .buddy.jump { opacity: 1; animation: jump .8s var(--boing) }
@keyframes float { 0%, 100% { opacity: 1; transform: translateY(0) rotate(-1.5deg) } 50% { transform: translateY(-18px) rotate(1.5deg) } }
@keyframes jump { 0% { opacity: 1; transform: scale(1.06, .9) } 35% { transform: translateY(-70px) scale(.95, 1.08) rotate(-6deg) } 70% { transform: translateY(0) scale(1.08, .92) } 100% { transform: none } }
.bubble { position: absolute; z-index: 3; left: -4%; top: 6%; padding: 12px 20px; border-radius: 26px; background: #fff; font: 400 18px var(--round); box-shadow: 0 12px 26px -10px rgba(31, 77, 120, .35); animation: bob 3s ease-in-out infinite; transition: transform .35s var(--boing) }
.bubble::after { content: ''; position: absolute; right: 26px; bottom: -12px; border: 8px solid transparent; border-top: 14px solid #fff }
.bubble.pop-in { animation: bub .45s var(--boing), bob 3s ease-in-out .45s infinite }
@keyframes bub { 0% { transform: scale(.6); opacity: .3 } 100% { transform: none; opacity: 1 } }
@keyframes bob { 50% { translate: 0 -6px } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 96px 20px 150px; text-align: center; gap: 4px; align-content: start }
  .hero-buddy { order: -1; width: min(62vw, 300px); margin: 0 auto }
  .world { margin-top: 56px } .world img { margin-top: -56px }
  .steps::before { display: none }
  .chips { justify-content: center }
  .title { justify-content: center; -webkit-text-stroke-width: 4px }
  .say { margin: 18px 0 26px; font-size: 16.5px }
  .acts { justify-content: center }
  .bubble { left: auto; right: -14%; top: -2%; font-size: 15px; padding: 9px 15px }
  .say { margin-left: auto; margin-right: auto }
  .cloudbank { height: 130px }
  .hide-m, .t5, .t3, .t6 { display: none }
}

/* 认识我 */
.hello { position: relative; padding: 40px 20px 90px; background: #fff }
.card-hello { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; padding: 40px; border-radius: 48px; background: #fff; box-shadow: 0 34px 70px -34px rgba(43, 134, 200, .45), inset 0 0 0 1px var(--line) }
.hello-pic { position: relative; border-radius: 40px; background: radial-gradient(circle at 50% 38%, #fff 0 30%, var(--sky-mid) 100%); padding: 20px; overflow: hidden }
.hello-pic img { position: relative; transition: transform .6s var(--boing) }
.hello-pic:hover img { transform: rotate(-5deg) scale(1.04) }
.hello-pic .cl { width: 60%; left: -10%; bottom: -8%; opacity: .95 }
.s1 { width: 30px; height: 30px; right: 18px; top: 18px; color: var(--yel) } .s2 { width: 20px; height: 20px; left: 22px; top: 30px; animation-delay: -1s }
.hello-txt > p:not(.tag) { margin: 16px 0 22px; font-size: 17px; color: var(--ink2) }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.facts li { display: flex; gap: 14px; align-items: baseline; padding: 12px 18px; border-radius: 20px; background: var(--sky-softer); box-shadow: inset 0 0 0 1px var(--line) }
.facts b { min-width: 4.2em; font: 400 16px var(--round); color: var(--sky) }
@media (max-width: 820px) { .card-hello { grid-template-columns: 1fr; padding: 22px; border-radius: 36px; gap: 20px } .hello-pic { max-width: 340px; margin: 0 auto } }

/* 两种玩法 */
.play { position: relative; padding: 90px 20px 130px; background: linear-gradient(180deg, #fff 0%, var(--sky-softer) 30%, var(--sky-soft) 100%); overflow: hidden }
.play > .cl { opacity: .9 }
.play .lead { max-width: 34em }
.duo { position: relative; max-width: 1160px; margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px }
.world { position: relative; display: grid; grid-template-rows: auto 1fr; margin-top: 70px; border-radius: 44px; padding: 0 28px 34px; transition: transform .5s var(--boing); transform-style: preserve-3d; box-shadow: 0 30px 60px -36px rgba(43, 134, 200, .6) }
.world::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .55), transparent 45%); pointer-events: none; opacity: 0; transition: opacity .3s }
.world:hover::after { opacity: 1 }
.w1 { background: linear-gradient(170deg, #CDE8FB 0%, #fff 70%) }
.w2 { background: linear-gradient(170deg, #9ED0F4 0%, #E6F3FC 70%) }
.world::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-radius: 0 0 44px 44px; overflow: hidden; height: 120px; background: radial-gradient(60px 50px at 20% 60%, #fff 98%, transparent), radial-gradient(80px 60px at 42% 40%, #fff 98%, transparent), radial-gradient(70px 55px at 64% 60%, #fff 98%, transparent), radial-gradient(60px 46px at 84% 50%, #fff 98%, transparent); opacity: .9 }
.world img { position: relative; width: 74%; margin: -70px auto -6px; transition: transform .6s var(--boing); filter: drop-shadow(0 18px 20px rgba(31, 77, 120, .2)) }


.world:hover img { transform: translateZ(40px) scale(1.06) rotate(-3deg) }
.world-txt { position: relative; padding: 20px 24px 22px; border-radius: 30px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 30px -20px rgba(43, 134, 200, .5) }
.world h3 { margin: 0; font: 400 34px var(--round) }
.world-txt > p:not(.tag) { margin: 10px 0 16px; color: var(--ink2) }
.dots, .beads { display: flex; gap: 8px }
.dots i { width: 22px; height: 30px; border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%; background: var(--c); box-shadow: inset -3px -4px 0 rgba(0, 0, 0, .06), inset 3px 3px 0 rgba(255, 255, 255, .6), 0 0 0 1.5px rgba(31, 77, 120, .08); transition: transform .4s var(--boing) }
.beads i { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 77, 120, .3) 0 22%, var(--c) 24%); box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .06), 0 0 0 1.5px rgba(31, 77, 120, .1); transition: transform .4s var(--boing) }
.world:hover .dots i, .world:hover .beads i { transform: translateY(-6px) }
.world:hover i:nth-child(2) { transition-delay: .05s } .world:hover i:nth-child(3) { transition-delay: .1s } .world:hover i:nth-child(4) { transition-delay: .15s } .world:hover i:nth-child(5) { transition-delay: .2s }
.steps::before { content: ''; position: absolute; left: 16%; right: 16%; top: 54px; border-top: 3px dashed #B9DBF4; z-index: 0 }
.steps li { position: relative; z-index: 1 }
.steps { position: relative; list-style: none; max-width: 1000px; margin: 64px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.steps li { display: grid; justify-items: center; text-align: center; padding: 28px 18px; border-radius: 34px; background: #fff; box-shadow: 0 18px 34px -22px rgba(43, 134, 200, .55); transition: transform .4s var(--boing) }
.steps li:hover { transform: translateY(-6px) }
.n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(180deg, #7FC6F3, var(--sky)); color: #fff; font: 400 26px var(--round); box-shadow: 0 4px 0 #3F95D2 }
.steps b { margin-top: 12px; font: 400 25px var(--round) }
.steps p { margin: 4px 0 0; color: var(--ink2) }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr } .world { border-radius: 36px; padding: 20px 18px 24px } .world-txt { padding: 18px } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; gap: 14px } .steps li { grid-template-columns: 52px 1fr; text-align: left; justify-items: start; column-gap: 14px; padding: 18px 20px } .steps li .n { grid-row: 1 / 3 } .steps b { margin: 0 } }

/* App：深一点的天空 */
.app { position: relative; padding: 150px 20px 200px; background: linear-gradient(180deg, var(--sky-soft) 0%, #9BD0F3 22%, var(--sky) 70%, #4AA2E2 100%); color: #fff; overflow: hidden }
.app > .cl { opacity: .95 }
.app-in { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center }
.app .h2 { color: #fff; text-shadow: 0 6px 0 rgba(43, 125, 186, .55) }
.app .tag { color: #fff; opacity: .9 }
.app .lead { color: rgba(255, 255, 255, .92) }
.app-pic img { animation: float 4.5s ease-in-out infinite; filter: drop-shadow(0 24px 30px rgba(31, 77, 120, .35)) }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0 }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); font: 400 15px var(--round) }
.chips svg { width: 14px; height: 14px; fill: var(--yel) }
.dl { display: grid; gap: 12px; margin-top: 28px }
.dl-b { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 70px; padding: 0 26px; border-radius: 26px; background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .4s var(--boing), background .3s }
.dl-b:first-child { background: #fff; color: var(--ink); box-shadow: 0 6px 0 #BFDDF3 }
.dl-b:hover { transform: translateY(-3px) scale(1.02); background: rgba(255, 255, 255, .34) }
.dl-b:first-child:hover { background: #fff }
.dl-b b { font: 400 22px var(--round) }
.dl-b span { font-size: 15px; opacity: .9 }
.tips { display: grid; gap: 4px; margin: 18px 0 0; font-size: 14px; color: rgba(255, 255, 255, .85) }
.tips span { scroll-margin-top: 120px }
.app .cloudbank { height: 170px; z-index: 1 }
@media (max-width: 860px) { .app-in { grid-template-columns: 1fr; text-align: center } .app-pic { max-width: 340px; margin: 0 auto } .dl-b { text-align: left } .app { padding-bottom: 160px } }

/* 页脚：回到白云里 */
.foot { position: relative; padding: 40px 20px 34px; text-align: center; background: #fff }
.foot-word { position: relative; margin: 0; font: 400 clamp(80px, 15vw, 200px)/1 var(--round); color: #fff; -webkit-text-stroke: 4px var(--sky); paint-order: stroke fill; text-shadow: 0 8px 0 #CBE4F6 }
.foot-mark { position: relative; display: inline-block; padding-top: 130px }
.peek { position: absolute; left: 50%; top: 0; width: 180px; transform: translateX(-50%); transition: transform .5s var(--boing); filter: drop-shadow(0 12px 14px rgba(43, 134, 200, .25)) }
.foot-mark:hover .peek { transform: translateX(-50%) translateY(-14px) rotate(-6deg) }
.foot-sub { margin: 22px 0 0; color: var(--ink2) }
.copy { margin: 10px 0 0; font-size: 13px; color: var(--ink2) }

/* 进场 */
.pop { opacity: 0; transform: translateY(30px) scale(.94); transition: opacity .6s, transform .9s var(--boing) }
.pop.in { opacity: 1; transform: none }


.sparkle { position: fixed; z-index: 50; width: 16px; height: 16px; pointer-events: none; color: #fff; filter: drop-shadow(0 0 4px rgba(88, 173, 232, .8)); animation: sp .9s ease-out forwards }
@keyframes sp { 0% { transform: translate(-50%, -50%) scale(.3) rotate(0); opacity: 1 } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(90deg); opacity: 0 } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } .pop, .buddy, .title span { opacity: 1 !important; transform: none !important } }
