/* =========================================================================
 * 【学习注释】landing-motion.css —— 官网首页动画关键帧与滚动入场过渡样式。
 * ========================================================================= */
/* Homepage only. The approved artwork, palette and shared account/studio UI stay intact. */
.afterglow-home { --motion-ease:cubic-bezier(.16,1,.3,1) }
.afterglow-home .hero-footnote { margin-top:20px; color:#ded7bc; font-size:12px; letter-spacing:.06em }
.afterglow-home .hero-actions .action { font-size:23px }
.conversation-scene { position:absolute; bottom:10%; right:0; width:370px; border:1px solid #e3d6ab54; border-radius:22px; padding:21px; overflow:hidden; background:#1c271eea; box-shadow:0 18px 70px #10170d38; backdrop-filter:blur(18px); color:#f4e8ce }
.scene-heading { display:flex; align-items:center; gap:11px }
.scene-avatar { display:grid; place-items:center; width:35px; height:35px; background:#a6ae8340; border:1px solid #d3c88b69; border-radius:50%; font:18px "Noto Serif SC",serif }
.scene-heading strong { display:block; font-size:13px; font-weight:500 }
.scene-heading div>span { display:block; color:#c3c6b0; font-size:10px; margin-top:4px }
.scene-caption { margin-left:auto; color:#cfc8ae; font-size:10px; letter-spacing:.12em }
.scene-messages { display:flex; flex-direction:column; align-items:flex-start; gap:12px; padding-block:21px 17px }
.scene-bubble { max-width:90%; border-radius:12px 12px 12px 2px; padding:10px 13px; font-size:12px; line-height:1.8; will-change:auto }
.scene-self { align-self:flex-end; background:#e0c48a; color:#313525; border-radius:12px 12px 2px 12px }
.scene-reply { background:#eef0da13; border:1px solid #e6ddba29; color:#f2e7cf }
.scene-note { display:flex; align-items:center; gap:6px; border-top:1px solid #d3cbac2b; padding-top:12px; font-size:10px; color:#d1d4b8 }
.scene-note .lucide { width:12px; height:12px; color:#d9b97c }
.scene-note small { margin-left:auto; font-size:9px; color:#bcc2aa }
.scene-motion-control { display:block; margin:12px 0 -5px auto; border:0; background:transparent; color:#d2c9aa; font-size:10px; padding:8px 0; min-height:30px; text-decoration:underline; text-underline-offset:4px }
.voice-showcase { background:#20291f; padding-block:105px 65px; overflow:hidden }
.voice-intro { display:flex; justify-content:space-between; gap:50px; align-items:flex-end; margin-bottom:49px }
.voice-intro .eyebrow { color:#c5b17e; margin-bottom:26px; letter-spacing:.16em; font-size:11px }
.voice-intro h2 { font-size:clamp(38px,4.2vw,61px); font-weight:400; letter-spacing:-.03em; line-height:1.3 }
.voice-intro-note { padding-bottom:5px; font-size:13px; color:#c6cbb8; line-height:1.95; max-width:350px }
.voice-intro-note p { margin:16px 0 13px }
.voice-intro-note>span:last-child { font-size:11px; color:#b6bca7 }
.sample-mark { display:inline-flex; gap:9px; align-items:center; color:#dfcf9f; font-size:11px; letter-spacing:.08em }
.sample-mark::before { content:""; width:6px; height:6px; background:#d7c18d; border-radius:50% }
.sample-grid { display:grid; grid-template-columns:1fr 1fr; gap:25px }
.voice-sample { min-width:0; position:relative; border:1px solid #d9d3b53d; border-radius:20px; padding:29px 32px 22px; background:#283426; --sample-accent:#e4cc94 }
.voice-sample-warm { background:#38352a; --sample-accent:#ecc399 }
.sample-top { display:flex; justify-content:space-between; gap:16px; color:#cdd1b8; font-size:11px; letter-spacing:.1em }
.sample-code { color:#dfceab; font-family:Georgia,serif; font-size:12px }
.sample-identity { margin-top:32px; display:flex; align-items:center; justify-content:space-between; gap:15px }
.sample-identity h3 { font-size:clamp(22px,2.5vw,33px); font-weight:400; line-height:1.55; letter-spacing:-.015em }
.voice-seal { flex-shrink:0; display:grid; place-items:center; width:65px; height:65px; border:1px solid #e3d0a44d; border-radius:50%; font:28px "Noto Serif SC",serif; color:#e8d5ad; background:#eee0b608 }
.sample-description { margin-top:13px; color:#c3c8b4; font-size:12px; line-height:1.9 }
.sample-waveform { display:flex; gap:3px; align-items:center; height:70px; margin-top:22px; overflow:hidden; border-block:1px solid #ded8b51a }
.sample-waveform:empty::after { content:"样音振幅概览 · 点击后载入音频"; color:#c3c8b4; font-size:11px; letter-spacing:.04em }
.sample-waveform span { flex:1; min-width:1px; border-radius:2px; background:#bdc2a85c }
.sample-waveform span.is-played { background:var(--sample-accent) }
.voice-sample audio { display:block; width:100%; margin-top:20px; height:44px }
.voice-sample.is-enhanced audio { display:none }
.sample-controls { display:flex; align-items:center; gap:17px; margin-top:24px }
.sample-play { flex-shrink:0; display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:var(--sample-accent); border:0; color:#283123 }
.sample-play:hover { background:#fff0c7 }
.play-symbol { display:block; width:0; height:0; border-block:6px solid transparent; border-left:9px solid currentColor; margin-left:3px }
.voice-sample[data-state=playing] .play-symbol { width:10px; height:13px; border:0; border-inline:3px solid currentColor; margin:0 }
.voice-sample[data-state=loading] .play-symbol { width:15px; height:15px; margin:0; border:2px solid #28312350; border-top-color:#283123; border-radius:50% }
.sample-track { flex:1; min-width:0 }
.sample-time { display:flex; justify-content:space-between; color:#e3dcc8; font-size:10px; font-variant-numeric:tabular-nums }
.sample-seek { display:block; width:100%; height:24px; margin:3px 0 0; accent-color:var(--sample-accent); cursor:pointer }
.sample-state { flex-shrink:0; min-width:49px; color:#d3cdb5; font-size:11px }
.sample-bottom { color:#b9c0aa; margin-top:22px; font-size:10px; line-height:1.8 }
.sample-error { color:#ffceab; font-size:12px; line-height:1.8; margin-top:16px }
.voice-section-end { margin-top:27px; padding-top:26px; border-top:1px solid #dad7b42b; display:flex; align-items:center; justify-content:space-between; gap:20px; color:#ced0b9 }
.voice-section-end p { font-size:12px; line-height:1.9 }
.voice-section-end .text-link { font-size:13px; flex-shrink:0 }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0 }
.begin-contact { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:42px; padding:22px 0; border-block:1px solid #e0d5b044; font-size:13px }
.begin-contact>span { display:flex; align-items:center; gap:12px; line-height:1.8 }
.begin-contact .lucide { width:18px; height:18px; color:#d2b878 }
.begin-contact button { background:transparent; border:1px solid #ddd2af56; color:#bfc6b4; padding:12px 20px; min-height:44px; border-radius:30px; cursor:default; font-size:12px }
.begin-contact+.availability-note { margin-top:24px; padding-top:0; border:0 }
.closing-secondary { display:flex; width:max-content; margin:20px auto 0; color:#d4c5a1; font-size:13px }
@media(min-width:1600px) { .conversation-scene { bottom:12%; width:390px } }
@media(max-width:1150px) { .afterglow-home .site-nav { gap:22px }.conversation-scene { width:335px; bottom:8%; padding:18px }.afterglow-home .hero-actions .action { font-size:20px }.sample-identity h3 { font-size:25px }.voice-sample { padding:25px }.voice-seal { width:52px; height:52px; font-size:24px } }
@media(max-width:1050px) {
  .afterglow-home .hero { height:auto; max-height:none; min-height:900px }.afterglow-home .hero-content { padding-bottom:105px; height:auto }.conversation-scene { position:relative; margin:38px 0 0 auto; right:auto; bottom:auto; width:350px }.hero-copy { max-width:650px }
}
@media(max-width:800px) {
  .voice-showcase { padding-block:72px 45px }.voice-intro { align-items:flex-start; gap:30px }.voice-intro h2 { font-size:40px }.voice-intro-note { max-width:265px; font-size:12px }.sample-grid { gap:17px }.voice-sample { padding:24px 20px }.sample-identity { margin-top:26px }.sample-identity h3 { font-size:24px }.voice-seal { display:none }.sample-controls { gap:11px }.sample-play { width:44px; height:44px }.sample-state { font-size:10px; min-width:44px }.voice-section-end { align-items:flex-start }
}
@media(max-width:580px) {
  .afterglow-home .site-nav { gap:30px }.afterglow-home .hero { min-height:0 }.afterglow-home .hero-content { padding-bottom:85px }.afterglow-home .hero-footnote { font-size:10px; margin-top:18px }.afterglow-home .hero-actions { gap:13px }.afterglow-home .hero-actions .action { font-size:17px }.conversation-scene { width:min(100%,340px); margin-top:34px; padding:17px; border-radius:17px }.scene-messages { padding-block:17px 14px; gap:10px }.scene-bubble { font-size:11px; padding:8px 12px }.scene-motion-control { font-size:10px }.voice-showcase { padding-block:56px 39px }.voice-intro { display:block; margin-bottom:29px }.voice-intro .eyebrow { font-size:9px; margin-bottom:20px }.voice-intro h2 { font-size:36px; line-height:1.4 }.voice-intro-note { margin-top:25px; max-width:100%; font-size:12px }.voice-intro-note p { margin:10px 0 }.sample-grid { grid-template-columns:1fr; gap:18px }.voice-sample { padding:23px; border-radius:16px }.sample-identity h3 { font-size:27px }.voice-seal { display:grid; width:54px; height:54px }.sample-identity { margin-top:25px }.sample-waveform { height:64px; margin-top:20px }.sample-controls { margin-top:19px; gap:14px }.sample-state { min-width:44px }.voice-section-end { display:block; margin-top:24px; padding-top:20px }.voice-section-end .text-link { font-size:12px; margin-top:8px }.begin-contact { align-items:flex-start; flex-direction:column; margin-top:29px; gap:15px }.begin-contact>span { font-size:12px }.begin-contact button { font-size:11px }.closing-secondary { max-width:100%; font-size:12px }
}
@media(max-width:350px) { .voice-seal { display:none }.sample-identity h3 { font-size:25px }.sample-controls { gap:10px }.afterglow-home .hero-actions { gap:12px }.afterglow-home .hero-actions .action { font-size:16px; padding-left:18px }.afterglow-home .hero-actions .text-link { font-size:11px }.scene-bubble { max-width:95% }.afterglow-home .site-nav { gap:23px } }
@media(prefers-reduced-motion:reduce) { .conversation-scene *, .voice-sample * { transition:none!important; animation:none!important; will-change:auto!important } }
