/* 保留参考任务页的布局、颜色、间距和响应式断点。 */
:root {
  --blue:#2563eb;
  --blue-dark:#1746b2;
  --blue-soft:#eaf1ff;
  --ink:#151b2d;
  --muted:#667085;
  --line:#e4eaf4;
  --paper:#f5f8fd;
  --white:#fff;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none;
  text-rendering:optimizelegibility;
  -webkit-font-smoothing:antialiased;
  font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  background:var(--paper);
  min-width:0;
  margin:0
}
button,a {
  font:inherit
}
button {
  -webkit-tap-highlight-color:transparent
}
svg {
  fill:none;
  stroke:currentColor;
  stroke-width:2px;
  stroke-linecap:round;
  stroke-linejoin:round;
  display:block
}
main {
  background:radial-gradient(circle at 80% 8%,#dfe9ff 0,#0000 26rem),linear-gradient(#fbfcff,#f3f6fc);
  min-height:100vh
}
.intro-section,.carousel-section,.steps-section {
  width:min(900px,100% - 32px);
  margin:0 auto
}
.intro-section {
  padding-top:28px
}
.intro-card {
  -webkit-backdrop-filter:blur(20px);
  backdrop-filter:blur(20px);
  background:#ffffffe0;
  border:1px solid #2563eb24;
  border-radius:24px;
  padding:34px;
  position:relative;
  overflow:hidden;
  box-shadow:0 24px 70px #203a6e1a
}
.intro-card:after {
  content:"";
  background:linear-gradient(135deg,#2563eb33,#0000);
  border-radius:50%;
  width:280px;
  height:280px;
  position:absolute;
  top:-150px;
  right:-110px
}
.brand {
  z-index:1;
  color:inherit;
  align-items:center;
  gap:12px;
  margin-bottom:34px;
  text-decoration:none;
  display:inline-flex;
  position:relative
}
.brand img {
  border-radius:12px;
  width:44px;
  height:44px
}
.brand strong,.brand small {
  display:block
}
.brand strong {
  font-size:16px
}
.brand small {
  color:#98a2b3;
  letter-spacing:.16em;
  margin-top:2px;
  font-size:8px;
  font-weight:700
}
.eyebrow {
  color:var(--blue);
  letter-spacing:.16em;
  margin:0 0 10px;
  font-size:12px;
  font-weight:800
}
.intro-card h1 {
  z-index:1;
  letter-spacing:-.045em;
  white-space:nowrap;
  margin:0;
  font-size:clamp(34px,7vw,60px);
  line-height:1.08;
  position:relative
}
.intro-card h1 em {
  color:var(--blue);
  font-style:normal
}
.intro-card>p:not(.eyebrow) {
  max-width:720px;
  color:var(--muted);
  margin:22px 0 0;
  font-size:15px;
  line-height:1.85
}
.carousel-section {
  padding:24px 0 0
}
.carousel {
  background:#e9edf4;
  border-radius:20px;
  position:relative;
  overflow:hidden;
  box-shadow:0 18px 45px #151b2d17
}
.carousel-track {
  transition:transform .45s cubic-bezier(.22,.8,.32,1);
  display:flex
}
.carousel-slide {
  flex:0 0 100%;
  margin:0
}
.carousel-slide img {
  width:100%;
  height:auto;
  display:block
}
.carousel-button {
  color:#fff;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  cursor:pointer;
  background:#0f172a57;
  border:0;
  border-radius:50%;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  display:grid;
  position:absolute;
  top:50%;
  transform:translateY(-50%)
}
.carousel-button svg {
  width:20px;
  height:20px
}
.carousel-button.previous {
  left:14px
}
.carousel-button.next {
  right:14px
}
.carousel-dots {
  justify-content:center;
  gap:7px;
  display:flex;
  position:absolute;
  bottom:14px;
  left:0;
  right:0
}
.carousel-dot {
  background:#fff9;
  border:0;
  border-radius:999px;
  width:7px;
  height:7px;
  padding:0;
  transition:width .2s,background .2s
}
.carousel-dot.active {
  background:#fff;
  width:22px
}
.steps-section {
  padding:64px 0 80px
}
.section-heading {
  text-align:center;
  margin-bottom:26px
}
.section-heading span {
  color:var(--blue);
  letter-spacing:.22em;
  font-size:10px;
  font-weight:800
}
.section-heading h2 {
  letter-spacing:-.035em;
  margin:8px 0 7px;
  font-size:32px
}
.section-heading p {
  color:var(--muted);
  margin:0;
  font-size:13px
}
.steps {
  gap:18px;
  display:grid
}
.step-card {
  border:1px solid var(--line);
  background:#fffffff0;
  border-radius:20px;
  grid-template-columns:64px minmax(0,1fr);
  gap:18px;
  padding:24px;
  display:grid;
  box-shadow:0 14px 40px #2030530f
}
.step-number {
  color:#2563eb38;
  letter-spacing:-.05em;
  font-size:28px;
  font-weight:800
}
.step-content h3 {
  margin:3px 0 8px;
  font-size:19px
}
.step-content>p {
  color:var(--muted);
  margin:0 0 18px;
  font-size:14px;
  line-height:1.75
}
.step-card.compact .step-content>p {
  margin-bottom:2px
}
.muted {
  margin-top:15px!important;
  font-size:12px!important
}
.poster-wrap {
  --app-chrome-tint:#0c12206b;
  background:#f3f4f6;
  border-radius:12px;
  width:min(448px,100%);
  margin:20px auto 16px;
  position:relative;
  overflow:hidden
}
.poster-wrap img {
  width:100%;
  height:auto;
  display:block
}
.poster-preview {
  width:100%;
  aspect-ratio:var(--poster-aspect-ratio,9 / 16);
  -webkit-user-select:none;
  user-select:none;
  position:relative;
  overflow:hidden
}
.poster-wrap .poster-preview-bg {
  object-fit:cover;
  filter:saturate(210%)blur(10px)brightness(1.04);
  width:calc(100% + 60px);
  max-width:none;
  height:calc(100% + 60px);
  position:absolute;
  inset:-30px
}
.app-chrome-material {
  background:var(--app-chrome-tint);
  position:absolute;
  inset:0
}
.poster-preview:after {
  content:"";
  pointer-events:none;
  background:radial-gradient(circle at 18% 12%,#ffffff38,#0000 48%);
  position:absolute;
  inset:0
}
.poster-preview-content {
  z-index:1;
  color:#fff;
  text-align:center;
  text-shadow:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:10%;
  display:flex;
  position:absolute;
  inset:0
}
.poster-preview-date,.poster-preview-time {
  opacity:.85;
  font-size:clamp(20px,5vw,32px);
  line-height:1.15
}
.poster-preview-time {
  margin-top:.25em;
  margin-bottom:1.35em
}
.poster-preview-title {
  white-space:nowrap;
  margin-bottom:.6em;
  font-size:clamp(36px,9.5vw,65.6px);
  font-weight:700;
  line-height:1.05
}
.poster-preview-subtitle {
  white-space:nowrap;
  margin-bottom:.7em;
  font-size:clamp(23.2px,6vw,41.6px);
  font-weight:600;
  line-height:1.15
}
.poster-preview-feature {
  opacity:.95;
  white-space:nowrap;
  margin-bottom:1.2em;
  font-size:clamp(16px,4.7vw,32px);
  line-height:1.2
}
.poster-preview-site {
  font-size:clamp(19.2px,5.6vw,38.4px);
  font-weight:600;
  line-height:1.15
}
.poster-loading {
  color:#9ca3af;
  text-align:center;
  padding:48px 16px;
  font-size:14px
}
.primary-button {
  color:#fff;
  background:linear-gradient(135deg, #3478f6, var(--blue-dark));
  cursor:pointer;
  border:0;
  border-radius:12px;
  justify-content:center;
  align-items:center;
  gap:9px;
  min-height:48px;
  font-weight:700;
  display:inline-flex;
  box-shadow:0 12px 24px #2563eb33
}
.primary-button svg {
  width:19px;
  height:19px
}
.primary-button:disabled {
  opacity:.45;
  cursor:not-allowed
}
.poster-save {
  width:min(280px,100%);
  margin:0 auto;
  display:flex
}
.keywords {
  flex-wrap:wrap;
  gap:10px;
  display:flex
}
.keywords button {
  color:var(--blue-dark);
  cursor:pointer;
  background:#f2f6ff;
  border:1px solid #cbdafe;
  border-radius:999px;
  padding:9px 14px;
  font-size:13px;
  font-weight:650;
  transition:color .2s,background .2s,border-color .2s
}
.keywords button.copied {
  border-color:var(--blue);
  color:#fff;
  background:var(--blue)
}
body>main>footer {
  padding:28px 16px calc(28px + env(safe-area-inset-bottom));
  border-top:1px solid var(--line);
  color:#98a2b3;
  text-align:center;
  font-size:12px
}
.bot-bubble {
  right:max(18px, env(safe-area-inset-right));
  bottom:max(18px, env(safe-area-inset-bottom));
  z-index:40;
  color:#fff;
  background:linear-gradient(135deg, #3478f6, var(--blue-dark));
  cursor:pointer;
  border:0;
  border-radius:50%;
  place-items:center;
  width:58px;
  height:58px;
  padding:0;
  display:grid;
  position:fixed;
  box-shadow:0 18px 35px #1746b25c
}
.bot-bubble svg {
  width:27px;
  height:27px
}
.bot-panel {
  right:max(18px, env(safe-area-inset-right));
  bottom:calc(max(18px, env(safe-area-inset-bottom)) + 72px);
  z-index:41;
  opacity:0;
  pointer-events:none;
  background:#fff;
  border:1px solid #ffffffb3;
  border-radius:20px;
  flex-direction:column;
  width:min(360px,100vw - 32px);
  height:min(510px,100dvh - 112px);
  transition:opacity .2s,transform .2s;
  display:flex;
  position:fixed;
  overflow:hidden;
  transform:translateY(14px)scale(.98);
  box-shadow:0 28px 70px #0f1c3640
}
.bot-panel.open {
  opacity:1;
  pointer-events:auto;
  transform:none
}
.bot-header {
  color:#fff;
  background:linear-gradient(135deg, #3478f6, var(--blue-dark));
  align-items:center;
  gap:11px;
  min-height:70px;
  padding:12px 14px;
  display:flex
}
.bot-avatar {
  background:#ffffff26;
  border-radius:50%;
  place-items:center;
  width:40px;
  height:40px;
  display:grid
}
.bot-avatar svg {
  width:22px;
  height:22px
}
.bot-title {
  flex:1;
  min-width:0
}
.bot-title strong,.bot-title small {
  display:block
}
.bot-title strong {
  font-size:14px
}
.bot-title small {
  opacity:.82;
  margin-top:3px;
  font-size:10px
}
.bot-title small:before {
  content:"";
  background:#59e38b;
  border-radius:50%;
  width:6px;
  height:6px;
  margin-right:5px;
  display:inline-block
}
.bot-header button {
  color:#fff;
  cursor:pointer;
  background:0 0;
  border:0;
  place-items:center;
  width:34px;
  height:34px;
  padding:0;
  display:grid
}
.bot-header button svg {
  width:19px;
  height:19px
}
.bot-messages {
  background:#f6f8fc;
  flex-direction:column;
  flex:1;
  gap:10px;
  padding:14px;
  display:flex;
  overflow-y:auto
}
.bot-message {
  overflow-wrap:anywhere;
  border-radius:14px;
  max-width:86%;
  padding:10px 12px;
  font-size:13px;
  line-height:1.55
}
.bot-message.bot {
  border:1px solid var(--line);
  background:#fff;
  border-bottom-left-radius:4px;
  align-self:flex-start
}
.bot-message.user {
  color:#fff;
  background:var(--blue);
  border-bottom-right-radius:4px;
  align-self:flex-end
}
.bot-message img {
  border-radius:8px;
  max-width:100%;
  max-height:150px;
  display:block
}
.typing {
  gap:4px;
  display:flex
}
.typing i {
  background:#98a2b3;
  border-radius:50%;
  width:5px;
  height:5px;
  animation:1s infinite bounce
}
.typing i:nth-child(2) {
  animation-delay:.14s
}
.typing i:nth-child(3) {
  animation-delay:.28s
}
@keyframes bounce {
  40% {
    transform:translateY(-4px)
  }

}
.download-links {
  gap:8px;
  width:230px;
  max-width:100%;
  display:grid
}
.download-links a {
  color:#fff;
  background:linear-gradient(135deg, #3478f6, var(--blue-dark));
  border-radius:11px;
  justify-content:center;
  align-items:center;
  gap:8px;
  min-height:46px;
  font-weight:700;
  text-decoration:none;
  display:flex
}
.download-links small {
  color:var(--blue-dark);
  text-align:center;
  font-weight:700;
  display:block
}
.bot-footer {
  border-top:1px solid var(--line);
  background:#fff;
  padding:12px
}
.bot-footer .primary-button {
  width:100%
}
@media (width<=640px) {
  .intro-section,.carousel-section,.steps-section {
    width:min(100% - 24px,900px)
  }
  .intro-section {
    padding-top:12px
  }
  .intro-card {
    border-radius:18px;
    padding:24px 20px
  }
  .intro-card h1 {
    white-space:normal
  }
  .brand {
    margin-bottom:26px
  }
  .intro-card>p:not(.eyebrow) {
    font-size:14px
  }
  .carousel-section {
    padding-top:12px
  }
  .carousel {
    border-radius:16px
  }
  .carousel-button {
    width:32px;
    height:32px
  }
  .steps-section {
    padding:48px 0 64px
  }
  .step-card {
    border-radius:16px;
    grid-template-columns:42px minmax(0,1fr);
    gap:10px;
    padding:18px 16px
  }
  .step-number {
    font-size:20px
  }
  .step-content h3 {
    margin-top:0;
    font-size:17px
  }
  .bot-panel {
    right:12px;
    bottom:calc(max(12px, env(safe-area-inset-bottom)) + 66px);
    width:calc(100% - 24px);
    height:min(500px,100dvh - 96px)
  }
  .bot-bubble {
    right:14px;
    bottom:max(14px, env(safe-area-inset-bottom));
    width:54px;
    height:54px
  }

}
@media (prefers-reduced-motion:reduce) {
  *,:before,:after {
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important
  }

}

