/* =========================================================
   小萌AI · 4 页 PPT 版
   一屏一页，字少，价格只在最后一页
   ========================================================= */

:root{
  --bg:#05060f;
  --line:rgba(255,255,255,.12);
  --ink:#EDF0FF;
  --ink-2:#A9B2D4;
  --ink-3:#727CA3;
  --grad:linear-gradient(118deg,#3BE9C8 0%,#6C63FF 52%,#A855F7 100%);
  --font:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei","Noto Sans SC",system-ui,-apple-system,"Segoe UI",sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-snap-type:y mandatory;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html::-webkit-scrollbar{width:0;height:0}
html{scrollbar-width:none}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);line-height:1.6;
  -webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font-family:inherit;font-size:inherit;color:inherit;background:none;border:0;cursor:pointer}
p,h1,h2,ul{margin:0}
ul{padding:0;list-style:none}
::selection{background:rgba(108,99,255,.45);color:#fff}

/* ---------- 背景 ---------- */
.bg{position:fixed;inset:0;z-index:-1;overflow:hidden;background:
  radial-gradient(900px 620px at 12% 0%,rgba(108,99,255,.34),transparent 62%),
  radial-gradient(760px 520px at 92% 12%,rgba(56,223,255,.16),transparent 60%),
  radial-gradient(760px 560px at 50% 108%,rgba(255,95,147,.14),transparent 62%),
  linear-gradient(180deg,#05060f,#060814 50%,#05060f)}
.aur{position:absolute;border-radius:50%;filter:blur(100px);opacity:.55;animation:drift 26s ease-in-out infinite alternate}
.a1{width:560px;height:560px;top:-180px;left:-140px;background:radial-gradient(circle,rgba(108,99,255,.9),transparent 66%)}
.a2{width:460px;height:460px;top:26%;right:-180px;background:radial-gradient(circle,rgba(56,223,255,.5),transparent 66%);animation-delay:-9s}
.a3{width:460px;height:460px;bottom:-200px;left:28%;background:radial-gradient(circle,rgba(255,95,147,.45),transparent 66%);animation-delay:-16s}
@keyframes drift{to{transform:translate3d(60px,-40px,0) scale(1.12)}}
.grid{position:absolute;inset:0;background-image:
  linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
  linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:80px 80px;
  mask-image:radial-gradient(ellipse 80% 65% at 50% 0%,#000 8%,transparent 76%);
  -webkit-mask-image:radial-gradient(ellipse 80% 65% at 50% 0%,#000 8%,transparent 76%)}

/* ---------- 页 ---------- */
.deck{position:relative}
.slide{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:center;
  padding:90px 72px 90px 40px;scroll-snap-align:start}
.inner{width:min(980px,100%);text-align:center}

.pno{position:absolute;left:32px;bottom:28px;font-size:12px;font-weight:700;letter-spacing:.18em;
  color:rgba(255,255,255,.28);font-variant-numeric:tabular-nums}
.pno::after{content:" / 03";color:rgba(255,255,255,.14);margin-left:3px}

/* 入场 */
.kicker,.slide h1,.slide h2,.slide .lead,.slide .grid8,.slide .three,.slide .who,.slide .foot,.slide .price,.slide .once,.slide .how,.slide .btn,.slide .tiny{
  opacity:0;transform:translateY(18px);transition:opacity .7s cubic-bezier(.2,.8,.2,1),transform .7s cubic-bezier(.2,.8,.2,1)}
.slide.is-active .kicker,.slide.is-active h1,.slide.is-active h2,.slide.is-active .lead,
.slide.is-active .grid8,.slide.is-active .three,.slide.is-active .who,.slide.is-active .foot,
.slide.is-active .price,.slide.is-active .once,.slide.is-active .how,.slide.is-active .btn,.slide.is-active .tiny{
  opacity:1;transform:none}
.slide.is-active .lead{transition-delay:.1s}
.slide.is-active .grid8,.slide.is-active .three{transition-delay:.14s}
.slide.is-active .foot,.slide.is-active .who{transition-delay:.22s}
.slide.is-active .once{transition-delay:.1s}
.slide.is-active .how{transition-delay:.18s}
.slide.is-active .btn{transition-delay:.26s}
.slide.is-active .tiny{transition-delay:.34s}

.kicker{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:600;letter-spacing:.18em;
  color:var(--ink-2);text-transform:uppercase}
.kicker.big{font-size:clamp(26px,3.2vw,42px);font-weight:800;letter-spacing:-.01em;color:#fff;text-transform:none;margin-bottom:4px}
.kicker img{border-radius:9px;filter:drop-shadow(0 4px 12px rgba(108,99,255,.6))}

/* 封面 */
.slide h1{margin-top:26px;display:flex;flex-direction:column;align-items:center;gap:2px;
  font-size:clamp(52px,11vw,132px);font-weight:900;line-height:1.02;letter-spacing:-.04em}
.slide h1 .grad{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:.06em}
.lead{margin-top:26px;font-size:clamp(15px,1.6vw,20px);color:var(--ink-2)}
.lead b{color:#fff;font-weight:700}

.hint{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:4px;
  font-size:12px;color:var(--ink-3);letter-spacing:.1em}
.hint i{font-style:normal;font-size:16px;animation:bob 1.8s ease-in-out infinite}
@keyframes bob{50%{transform:translateY(6px);opacity:.6}}

/* 第 2 页：8 格 */
.grid8{margin-top:30px;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.grid8 li{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:28px 14px;min-height:130px;
  border-radius:18px;border:1px solid var(--line);background:rgba(255,255,255,.035);
  font-size:clamp(14px,1.45vw,18.5px);font-weight:600;color:#E6EAFF;line-height:1.45;text-align:center}
.grid8 em{font-style:normal;font-size:clamp(24px,2.6vw,34px);line-height:1}
.foot{margin-top:26px;font-size:clamp(13px,1.3vw,15px);color:var(--ink-3)}

/* 第 3 页 */
.slide h2{font-size:clamp(40px,7.2vw,92px);font-weight:900;line-height:1.08;letter-spacing:-.03em}
.slide h2 .grad{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.three{margin-top:34px;display:flex;justify-content:center;flex-wrap:wrap;gap:34px}
.three li{position:relative;font-size:clamp(18px,2.2vw,28px);font-weight:700;color:#fff}
.three li+li::before{content:"";position:absolute;left:-18px;top:50%;width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.28)}
.who{margin-top:22px;font-size:clamp(13px,1.4vw,16px);color:var(--ink-2);letter-spacing:.06em}

/* 第 4 页：价格 */
.price{margin-top:6px;font-size:clamp(86px,15vw,168px);font-weight:900;line-height:1;letter-spacing:-.05em;
  background:linear-gradient(180deg,#fff,#B9B3FF);-webkit-background-clip:text;background-clip:text;color:transparent}
.price span{font-size:.34em;font-weight:800;vertical-align:super;letter-spacing:0;
  background:none;-webkit-text-fill-color:#C9C4FF;color:#C9C4FF;margin-right:6px}
.once{font-size:clamp(14px,1.5vw,17px);color:var(--ink-2)}
.how{margin-top:26px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;
  font-size:clamp(14px,1.5vw,17px);color:#DDE3FF}
.how i{font-style:normal;color:var(--ink-3)}
.btn{margin-top:30px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:17px 34px;border-radius:999px;font-size:16px;font-weight:700;color:#080b16;
  background:var(--grad);box-shadow:0 14px 40px -14px rgba(108,99,255,.9),inset 0 1px 0 rgba(255,255,255,.4);
  transition:transform .25s,box-shadow .25s}
.btn:hover{transform:translateY(-2px);box-shadow:0 22px 48px -16px rgba(108,99,255,1)}
.btn.is-copied{background:linear-gradient(118deg,#9BFFD9,#4FF0B0);box-shadow:0 14px 40px -14px rgba(79,240,176,.9)}
.tiny{margin-top:16px;font-size:12px;color:var(--ink-3)}

/* ---------- 右侧页码 ---------- */
.dots{position:fixed;right:26px;top:50%;transform:translateY(-50%);z-index:20;display:flex;flex-direction:column;gap:12px}
.dots button{width:9px;height:9px;border-radius:999px;background:rgba(255,255,255,.3);transition:all .3s;padding:0}
.dots button:hover{background:rgba(255,255,255,.6)}
.dots button.is-on{height:32px;background:linear-gradient(180deg,#8EEBFF,#8C7CFF);box-shadow:0 0 16px rgba(140,124,255,.9)}

/* ---------- 响应式 ---------- */
@media (max-width:900px){
  .grid8{grid-template-columns:repeat(2,1fr);gap:10px}
  .slide{padding:80px 42px}
  .slide{padding-right:54px}
}
@media (max-width:560px){
  .slide{padding:70px 22px 70px 18px;min-height:100svh}
  .slide h1{font-size:clamp(46px,15vw,64px)}
  .grid8{margin-top:24px;gap:9px}
  .grid8 li{padding:15px 8px;border-radius:13px;font-size:13.5px}
  .grid8 em{font-size:20px}
  .three{gap:22px}
  .three li{font-size:17px}
  .three li+li::before{left:-12px}
  .price{font-size:clamp(84px,26vw,120px)}
  .how{gap:8px;font-size:13px}
  .btn{width:100%;max-width:320px;padding:15px 20px;font-size:14.5px}
  .dots{right:10px;gap:9px}
  .dots button{width:7px;height:7px}
  .dots button.is-on{height:20px}
  .hint{bottom:16px}
}
/* 矮屏幕（老手机 / 小窗口）压缩一档，保证 4 页都装得下 */
@media (max-height:720px){
  .slide{padding:44px 18px}
  .kicker.big{font-size:clamp(22px,6vw,30px)}
  .grid8{margin-top:16px;gap:8px}
  .grid8 li{min-height:0;padding:14px 8px;gap:7px;border-radius:12px}
  .grid8 em{font-size:20px}
  .foot{margin-top:14px;font-size:12px}
  .three{margin-top:20px;gap:22px}
  .who{margin-top:14px}
  .price{font-size:clamp(64px,20vw,96px)}
  .how{margin-top:16px}
  .btn{margin-top:18px;padding:13px 24px}
  .tiny{margin-top:10px}
  .hint{bottom:12px}
  .pno{bottom:18px;left:18px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}
  .kicker,.slide h1,.slide h2,.slide .lead,.slide .grid8,.slide .three,.slide .who,.slide .foot,
  .slide .price,.slide .once,.slide .how,.slide .btn,.slide .tiny{opacity:1;transform:none}
}
