/* 首页专用样式（叠加在 site.css 之上，只有 index.html 引用） */

@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.home { --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.4, .5, 1); --cut: 24px; }

/* ---------- 进场动画 ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lineUp { from { opacity: 0; transform: translateY(70%) rotateX(-40deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.js .home .rise { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }

/* 区块标题：遮罩里逐行上滑 */
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.12; letter-spacing: -.035em; margin: 16px 0 0; font-weight: 740; perspective: 600px; }
.sec-head h2 > span { display: block; }
.sec-head p { color: var(--muted); font-size: 16.5px; line-height: 1.75; margin: 18px 0 0; }
.sec-head p a { color: var(--text); border-bottom: 1px solid var(--border-strong); }
.sec-head.center .kicker::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.js .sec-head .kicker, .js .sec-head p { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .sec-head h2 > span { opacity: 0; transform-origin: 50% 100%; }
.js .sec-head.in .kicker, .js .sec-head.in p { opacity: 1; transform: none; }
.js .sec-head.in p { transition-delay: .35s; }
.js .sec-head.in h2 > span { animation: lineUp 1s var(--ease) both; }
.js .sec-head.in h2 > span:nth-child(2) { animation-delay: .12s; }

/* 一组元素依次出现 */
.js [data-stagger] > * { opacity: 0; translate: 0 26px; filter: blur(6px); transition: opacity .8s var(--ease), translate .9s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger].in > * { opacity: 1; translate: 0 0; filter: none; }

.sec { padding: 120px 0; position: relative; }
.sec + .sec::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1072px, calc(100% - 48px)); height: 1px; translate: -50% 0; background: linear-gradient(90deg, transparent, var(--border-strong) 25%, var(--border-strong) 75%, transparent); }

/* ---------- 问号说明 ---------- */
.q {
  flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 8px; padding: 0; vertical-align: 2px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: var(--faint);
  font: 600 11px/1 var(--mono); cursor: pointer; transition: color .2s, border-color .2s, background .2s, box-shadow .2s, transform .3s var(--spring);
}
.q:hover { color: #dbe5ff; border-color: rgba(122, 162, 255, .7); box-shadow: 0 0 14px rgba(91, 140, 255, .45); transform: scale(1.12); }
.q[aria-expanded="true"] { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 16px rgba(91, 140, 255, .6); }
.q:focus-visible { outline: 2px solid rgba(122, 162, 255, .7); outline-offset: 2px; }
/* 说明原文留在页面里（搜索引擎和读屏能读到），视觉上隐藏 */
.q-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* 浮层：3D 翻转着往下展开 */
.qpop {
  --ax: 50%;
  position: fixed; z-index: 60; left: 0; top: 0; width: 300px; padding: 14px 16px 15px;
  font-size: 13.5px; line-height: 1.7; color: #d7dceb;
  background: linear-gradient(180deg, rgba(24, 29, 41, .96), rgba(14, 17, 25, .96)) padding-box,
              linear-gradient(160deg, rgba(122, 162, 255, .6), rgba(255, 255, 255, .08) 45%, rgba(165, 140, 255, .45)) border-box;
  border: 1px solid transparent; border-radius: 4px 14px 14px 14px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform-origin: var(--ax) 0; transform: perspective(700px) rotateX(-92deg) translateY(-4px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .5s var(--spring), opacity .25s ease, visibility 0s linear .5s;
}
.qpop::before { content: ""; position: absolute; top: -6px; left: var(--ax); width: 10px; height: 10px; translate: -50% 0; rotate: 45deg; background: #181d29; border-left: 1px solid rgba(122, 162, 255, .55); border-top: 1px solid rgba(122, 162, 255, .55); }
.qpop.up { transform-origin: var(--ax) 100%; transform: perspective(700px) rotateX(92deg) translateY(4px); border-radius: 14px 14px 14px 4px; }
.qpop.up::before { top: auto; bottom: -6px; rotate: 225deg; background: #0f121a; }
.qpop.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform .6s var(--spring), opacity .3s ease, visibility 0s; }

/* ---------- 首屏 ---------- */
.home .hero { padding: 120px 0 0; }
.hero-spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 30%), rgba(122, 150, 255, .09), transparent 65%); }
.hero:hover .hero-spot { opacity: 1; }
.home .hero h1 { perspective: 800px; }
.h-title .ln { display: block; }
.js .h-title .ln { animation: lineUp 1.1s var(--ease) both; animation-delay: var(--d, 0s); transform-origin: 50% 100%; }
.home .hero .lead { max-width: 520px; margin-top: 26px; }
.home .hero .cta { margin-top: 34px; }
.home .hero .cta .btn.primary { position: relative; }
.home .hero .cta .btn.primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 14px 34px -14px rgba(91, 110, 255, .8), 0 0 0 0 rgba(122, 150, 255, .5); animation: halo 3.2s var(--ease) 1.6s infinite; }
@keyframes halo { 0% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 14px 34px -14px rgba(91, 110, 255, .8), 0 0 0 0 rgba(122, 150, 255, .45); } 60%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 14px 34px -14px rgba(91, 110, 255, .8), 0 0 0 14px rgba(122, 150, 255, 0); } }
/* 标题后面一条很细的光线扫过 */
.h-title .grad { position: relative; }
.home .hero h1 .grad { background-size: 200% 100%; animation: shimmerText 7s ease-in-out 2s infinite; background-image: linear-gradient(95deg, #fff 10%, #c3d1ff 40%, #fff 50%, #a993ff 70%, #c3d1ff 95%); }
@keyframes shimmerText { 0%, 70% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* 代码窗口：先倾斜着，往下滚动时慢慢放平 */
.stage { perspective: 1600px; margin-top: 76px; padding-bottom: 40px; }
.home .code-window { margin: 0 auto; transform-origin: 50% 0; transform: rotateX(var(--tilt, 0deg)) scale(var(--sc, 1)); will-change: transform; }
.js .home .stage { animation: rise 1.2s var(--ease) .7s both; }
.home .code-window::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .05) 45%, transparent 60%); background-size: 250% 100%; animation: sheen 7s ease-in-out 1.5s infinite; }
@keyframes sheen { 0%, 60% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.code-out .ok { position: relative; padding-left: 14px; }
.code-out .ok::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- 功能：切角卡片 ---------- */
.cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cell {
  --x: 50%; --y: 0%; --rx: 0deg; --ry: 0deg;
  --shape: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 12px 100%, 0 calc(100% - 12px));
  position: relative; isolation: isolate; grid-column: span 2; display: flex; flex-direction: column; min-height: 320px;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease);
}
.cell.span-4 { grid-column: span 4; }
.cell.span-2 { grid-column: span 2; }
.cell::before, .cell::after { content: ""; position: absolute; z-index: -1; clip-path: var(--shape); pointer-events: none; }
/* 外层是渐变描边，内层是卡片底色 */
.cell::before { inset: 0; background: linear-gradient(155deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05) 30%, rgba(255, 255, 255, .03) 70%, rgba(122, 150, 255, .32)); transition: background .4s; }
.cell::after {
  inset: 1px;
  --shape: polygon(0 0, calc(100% - var(--cut) + 1px) 0, 100% calc(var(--cut) - 1px), 100% 100%, 11.5px 100%, 0 calc(100% - 11.5px));
  background:
    radial-gradient(420px circle at var(--x) var(--y), rgba(110, 145, 255, .13), transparent 60%),
    radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.2px) 0 0 / 16px 16px,
    linear-gradient(180deg, #10131a, #0a0c10);
}
.cell:hover::before { background: linear-gradient(155deg, rgba(160, 185, 255, .45), rgba(255, 255, 255, .06) 30%, rgba(255, 255, 255, .04) 70%, rgba(165, 140, 255, .55)); }
.cell-edge { position: absolute; top: 0; right: 0; width: var(--cut); height: var(--cut); pointer-events: none; background: linear-gradient(to bottom left, transparent calc(50% - 1px), #8fb0ff 50%, transparent calc(50% + 1px)); filter: drop-shadow(0 0 5px rgba(122, 162, 255, .9)); opacity: .55; transition: opacity .4s; }
.cell:hover .cell-edge { opacity: 1; }
.cell-no { position: absolute; top: 16px; left: 20px; font: 500 11.5px var(--mono); letter-spacing: .12em; color: var(--faint); }
.cell-no::after { content: ""; display: inline-block; width: 22px; height: 1px; margin-left: 8px; vertical-align: middle; background: currentColor; opacity: .6; }
.cell-demo { flex: 1; display: flex; align-items: center; justify-content: center; padding: 50px 26px 8px; }
.cell-foot { padding: 18px 26px 24px; }
.cell h3 { display: flex; align-items: center; margin: 0; font-size: 17px; font-weight: 660; letter-spacing: -.01em; }
.cell-foot p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .cells { grid-template-columns: 1fr 1fr; } .cell.span-2 { grid-column: span 1; } .cell.span-4 { grid-column: span 2; } }
@media (max-width: 620px) { .cells { grid-template-columns: 1fr; gap: 14px; } .cell.span-2, .cell.span-4 { grid-column: span 1; } .cell { min-height: 0; } .cell-demo { padding-top: 46px; } }

/* ---------- 怎么接入 ---------- */
.steps { list-style: none; margin: 0 auto 56px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; max-width: 980px; }
/* 连接线 + 一颗流动的光点 */
.steps::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 38px; height: 1px; background: linear-gradient(90deg, rgba(91, 140, 255, .1), rgba(91, 140, 255, .55), rgba(165, 140, 255, .1)); }
.steps::after { content: ""; position: absolute; top: 35px; left: 16.6%; width: 60px; height: 7px; border-radius: 99px; background: radial-gradient(closest-side, #cfe0ff, rgba(122, 162, 255, .6), transparent); filter: blur(.5px); animation: travel 3.6s var(--ease) infinite; }
@keyframes travel { 0% { left: 16.6%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(83.4% - 60px); opacity: 0; } }
.steps li { position: relative; text-align: center; padding: 0 16px; }
.step-n { position: relative; z-index: 1; display: inline-block; padding: 0 14px; background: var(--bg); }
.step-n b {
  display: block; font: 800 64px/1 var(--sans); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .28);
  background-image: linear-gradient(180deg, #e6ecff, #7f9cff); -webkit-background-clip: text; background-clip: text;
  background-size: 100% 0%; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 200ms + .3s);
}
.steps.in .step-n b, html:not(.js) .step-n b { background-size: 100% 100%; }
.steps h3 { display: flex; align-items: center; justify-content: center; margin: 18px 0 8px; font-size: 18px; letter-spacing: -.01em; }
.steps code { font: 12.5px var(--mono); color: var(--faint); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 34px; margin-bottom: 44px; }
  .steps::before, .steps::after { display: none; }
  .step-n b { font-size: 52px; }
}

/* 终端：逐行打出来 */
.home .term { max-width: 860px; margin: 0 auto; }
.home .term pre { white-space: pre; }
.t-line { display: block; min-height: 1.95em; }
.js .term[data-type] .t-line { opacity: 0; clip-path: inset(0 100% 0 0); }
.js .term[data-type].in .t-line { animation: type .55s steps(28, end) forwards; animation-delay: calc(var(--i, 0) * 260ms + .2s); }
@keyframes type { from { opacity: 1; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* ---------- 投递追踪 ---------- */
.home .track { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.home .track .sec-head { margin-bottom: 30px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts li { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 22px; font-size: 15px;
  background: linear-gradient(90deg, rgba(91, 140, 255, .08), transparent 70%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.facts li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 10px; width: 2px; background: linear-gradient(var(--accent), var(--accent-2)); box-shadow: 0 0 10px rgba(91, 140, 255, .8); }
.facts b { font-weight: 620; }
.facts .q { margin-left: auto; }
.js .mail-card[data-seq] .tl li { opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 450ms + .3s); }
.js .mail-card[data-seq].in .tl li { opacity: 1; transform: none; }
.js .mail-card[data-seq] .hook { opacity: 0; transition: opacity .8s ease 1.8s; }
.js .mail-card[data-seq].in .hook { opacity: 1; }
.home .mail-card { border-radius: 4px 16px 16px 16px; }
@media (max-width: 920px) { .home .track { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- 价格：票券 ---------- */
.cur { position: relative; display: flex; width: max-content; margin: -24px auto 44px; padding: 4px; border: 1px solid var(--border-strong);
  border-radius: 3px 14px 3px 14px; background: rgba(255, 255, 255, .02); }
.cur button { position: relative; z-index: 1; min-width: 92px; height: 34px; padding: 0 16px; border: 0; background: none; color: var(--muted); font: 600 13px var(--sans); cursor: pointer; transition: color .3s; }
.cur button[aria-pressed="true"] { color: #fff; }
.cur-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: 92px; background: linear-gradient(180deg, #7c99ff, #5a72e8);
  border-radius: 2px 10px 2px 10px; box-shadow: 0 4px 16px -4px rgba(91, 140, 255, .7); transition: transform .55s var(--spring), width .55s var(--spring); }

.tickets { --perf: 168px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; perspective: 1400px; }
.ticket { position: relative; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.ticket-body {
  position: relative; height: 100%; display: flex; flex-direction: column; padding: 28px 28px 26px; border: 1px solid transparent; border-radius: var(--r-card);
  background: linear-gradient(180deg, #10131a, #0a0c10) padding-box, linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)) border-box;
  /* 两侧打孔 */
  -webkit-mask: radial-gradient(circle 13px at 0 var(--perf), #0000 12.5px, #000 13px) 0 0 / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--perf), #0000 12.5px, #000 13px) 100% 0 / 51% 100% no-repeat;
          mask: radial-gradient(circle 13px at 0 var(--perf), #0000 12.5px, #000 13px) 0 0 / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--perf), #0000 12.5px, #000 13px) 100% 0 / 51% 100% no-repeat;
  transition: transform .6s var(--ease);
}
.ticket:hover .ticket-body { transform: translateY(-6px); }
.ticket.hi { filter: drop-shadow(0 30px 50px rgba(70, 100, 230, .35)); z-index: 1; }
.ticket.hi .ticket-body {
  background: radial-gradient(ellipse 90% 45% at 50% 0%, rgba(91, 140, 255, .16), transparent 70%), linear-gradient(180deg, #121624, #0b0d13) padding-box,
              conic-gradient(from var(--spin), rgba(91, 140, 255, .15), #8fb0ff 12%, #b9a6ff 22%, rgba(91, 140, 255, .15) 40%, rgba(91, 140, 255, .15) 60%, #8fb0ff 75%, rgba(91, 140, 255, .15) 90%) border-box;
  animation: spin 7s linear infinite;
}
@keyframes spin { to { --spin: 360deg; } }
.t-top { height: calc(var(--perf) - 28px); display: flex; flex-direction: column; }
.t-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.t-name { display: inline-flex; align-items: center; font-weight: 660; font-size: 15.5px; }
.t-name em { font-style: normal; font: 600 11px var(--sans); color: #d6e1ff; background: rgba(91, 140, 255, .2); padding: 2px 8px; margin-left: 10px; clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px); }
.t-code { font: 500 10.5px var(--mono); letter-spacing: .18em; color: var(--faint); }
.t-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-bottom: 22px; perspective: 500px; }
.flip b small { margin-left: 8px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); -webkit-text-fill-color: var(--muted); }
/* 货币切换：价格 3D 翻转 */
.flip { display: inline-grid; transform-style: preserve-3d; transition: transform .9s var(--spring); transition-delay: calc(var(--i, 0) * 110ms); }
.flip b { grid-area: 1 / 1; font-size: 46px; font-weight: 760; letter-spacing: -.04em; line-height: 1; -webkit-backface-visibility: hidden; backface-visibility: hidden; white-space: nowrap; }
.flip .f-back { transform: rotateX(180deg); font-size: 38px; }
.tickets.usdt .flip { transform: rotateX(-180deg); }
.ticket.hi .flip b { background: linear-gradient(180deg, #fff, #b8c8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-perf { height: 1px; margin: 0 -14px; background-image: linear-gradient(90deg, rgba(255, 255, 255, .22) 50%, transparent 0); background-size: 10px 1px; }
.ticket ul { list-style: none; margin: 0; padding: 24px 0 28px; display: grid; gap: 12px; font-size: 14.5px; color: #cfd3db; }
.ticket li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; }
.ticket li::before { content: ""; width: 8px; height: 8px; margin: 7px 0 0 2px; border: 1.5px solid var(--accent); border-radius: 2px; rotate: 45deg; box-shadow: 0 0 8px rgba(91, 140, 255, .5); }
.ticket .btn { margin-top: auto; }
.price-note { display: flex; align-items: center; justify-content: center; margin: 30px 0 0; color: var(--faint); font-size: 13.5px; text-align: center; }
@media (max-width: 920px) { .tickets { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 18px; } }

/* ---------- 常见问题 ---------- */
.home .faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.home .faq-wrap .sec-head { margin: 0; }
.home .faq summary { padding: 22px 4px; }
.home .faq summary::after {
  content: "+"; width: 26px; height: 26px; border: 0; transform: none; display: grid; place-items: center; font: 400 20px/1 var(--sans); color: var(--muted);
  border: 1px solid var(--border-strong); border-radius: 2px 9px 2px 9px;
  transition: transform .6s var(--spring), color .3s, background .3s;
}
.home .faq details[open] summary::after { transform: rotate(135deg); color: #fff; background: rgba(91, 140, 255, .25); }
.home .faq details { transition: background .4s; }
.home .faq details[open] { background: linear-gradient(90deg, rgba(91, 140, 255, .06), transparent 80%); }
.faq-a { overflow: hidden; transform-origin: 50% 0; }
.home .faq details p { margin: -4px 4px 24px; }
@media (max-width: 920px) { .home .faq-wrap { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- 结尾 ---------- */
.final-sec { padding: 40px 0 120px; }
.home .final { position: relative; max-width: none; margin: 0; padding: 120px 24px; border: 0; border-radius: 0; text-align: center; overflow: hidden;
  background: radial-gradient(ellipse 50% 70% at 50% 50%, rgba(91, 140, 255, .14), transparent 70%); }
.home .final::before { display: none; }
.pulse { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 40%, transparent 100%); }
.pulse i { position: absolute; left: calc(50% - 160px); top: calc(50% - 160px); width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(122, 162, 255, .35); opacity: 0; animation: ring 6s var(--ease) infinite; }
.pulse i:nth-child(2) { animation-delay: 2s; }
.pulse i:nth-child(3) { animation-delay: 4s; }
@keyframes ring { 0% { transform: scale(.4); opacity: 0; } 20% { opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.home .final h2, .home .final p, .home .final .cta { position: relative; }
.js .home .final h2, .js .home .final p, .js .home .final .cta { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .home .final.in h2, .js .home .final.in p, .js .home .final.in .cta { opacity: 1; transform: none; }
.js .home .final.in p { transition-delay: .15s; }
.js .home .final.in .cta { transition-delay: .3s; }

/* ---------- 手机 ---------- */
@media (max-width: 640px) {
  .sec { padding: 88px 0; }
  .home .hero { padding-top: 84px; }
  .stage { margin-top: 56px; }
  .sec-head { margin-bottom: 40px; }
  .ticket-body { padding: 24px 22px 22px; }
  .home .final { padding: 96px 16px; }
  .price-note { flex-wrap: wrap; }
}

/* ---------- 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .home .rise, .js .h-title .ln, .js .home .stage, .js .sec-head.in h2 > span { animation: none; }
  .js .sec-head h2 > span, .js .sec-head .kicker, .js .sec-head p, .js [data-stagger] > *, .js .term[data-type] .t-line,
  .js .mail-card[data-seq] .tl li, .js .mail-card[data-seq] .hook, .js .home .final h2, .js .home .final p, .js .home .final .cta { opacity: 1; transform: none; translate: none; filter: none; clip-path: none; transition: none; animation: none; }
  .step-n b { background-size: 100% 100%; transition: none; }
  .steps::after, .pulse, .home .code-window::after { display: none; }
  .cell, .flip, .ticket-body, .qpop, .cur-thumb { transition: none; }
  .ticket.hi .ticket-body { animation: none; }
  .home .hero .cta .btn.primary, .home .hero h1 .grad { animation: none; }
  .home .code-window { transform: none; }
}
