:root {
  --ink: #1c2430;
  --ink-soft: #4a5568;
  --paper: #fff8f1;
  --sand: #ffe8d2;
  --sun: #ffc43a;
  --coral: #e85d2c;
  --coral-deep: #c4471a;
  --sky: #d7eefc;
  --mint: #dff5ea;
  --line: rgba(28, 36, 48, 0.08);
  --shadow: 0 18px 50px rgba(232, 93, 44, 0.18);
  --radius: 18px;
  --font-display: "ZCOOL XiaoWei", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 60% at 85% -10%, #ffe27a 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at -10% 20%, var(--sky) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, var(--mint) 0%, transparent 55%),
    linear-gradient(180deg, #fff4e8 0%, var(--paper) 45%, #f3fbff 100%);
}

.glow {
  position: fixed;
  width: 42vw;
  height: 42vw;
  right: -8vw;
  top: -6vw;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 58, 0.45), transparent 70%);
  animation: drift 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-4vw, 3vh) scale(1.08); }
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 22px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  border-radius: 999px;
  padding: 12px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(232, 93, 44, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn-text {
  background: transparent;
  color: var(--ink-soft);
  padding-left: 8px;
  padding-right: 8px;
}

.btn-text-nowrap {
  white-space: nowrap;
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px 72px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  /* 留出底部给「四步」标题，让它出现在首屏最下方 */
  min-height: calc(100vh - 168px);
  padding: 24px 0 32px;
}

#how {
  padding-top: 8px;
}

#how > h2 {
  text-align: left;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-deep);
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.02em;
  animation: rise 0.8s ease both;
}

.lede {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: 1.08rem;
  color: var(--ink-soft);
  animation: rise 0.8s ease 0.08s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  animation: rise 0.8s ease 0.16s both;
}

.hint {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: #7a8699;
  animation: rise 0.8s ease 0.22s both;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  animation: rise 0.9s ease 0.12s both;
}

.sun {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff7c8 0%, var(--sun) 45%, rgba(255, 196, 58, 0) 72%);
  animation: pulse 4.5s ease-in-out infinite;
  filter: blur(0.2px);
}

.hero-logo {
  position: relative;
  width: min(78%, 400px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(28, 36, 48, 0.12));
  animation: float 5.5s ease-in-out infinite;
}

.spark {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--sun);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  animation: twinkle 2.8s ease-in-out infinite;
}

.s1 { top: 18%; left: 14%; animation-delay: 0s; }
.s2 { top: 28%; right: 16%; animation-delay: 0.7s; }
.s3 { bottom: 22%; left: 22%; animation-delay: 1.3s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes twinkle {
  0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.55; }
  50% { transform: scale(1.15) rotate(18deg); opacity: 1; }
}

.section {
  padding: 72px 0 24px;
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 400;
}

.section-lead {
  margin: 12px 0 0;
  max-width: 36em;
  color: var(--ink-soft);
}

.steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps li {
  padding: 22px 20px 24px;
  border-top: 2px solid var(--coral);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(6px);
}

.step-no {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--coral);
  margin-bottom: 10px;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.steps p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.band {
  margin-top: 28px;
  padding: 40px 28px 44px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(215, 238, 252, 0.55));
  border: 1px solid var(--line);
}

.fit {
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.fit li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
}

.fit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 22px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font-display);
}

.foot a {
  color: var(--coral-deep);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  max-width: min(92vw, 420px);
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(28, 36, 48, 0.92);
  color: #fff;
  font-size: 0.9rem;
  z-index: 50;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.toast[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 18px;
    padding-top: 12px;
  }

  .hero-visual {
    order: -1;
    min-height: 280px;
  }

  .hero-logo {
    width: min(70%, 300px);
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .top .btn-ghost {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 28px 18px 32px;
  }

  .foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— 长文页 about —— */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 22px 64px;
}

.article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.35;
  margin: 0 0 16px;
}

.article h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin: 40px 0 14px;
}

.article h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.article p,
.article li {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.article ul,
.article-steps {
  padding-left: 1.2em;
  margin: 12px 0 20px;
}

.article-steps {
  list-style: none;
  padding-left: 0;
}

.article-steps li {
  margin-bottom: 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-steps h3 {
  color: var(--ink);
}

.callout {
  margin: 18px 0 28px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(255, 228, 210, 0.9), rgba(215, 238, 252, 0.55));
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.callout p {
  margin: 0;
  color: var(--ink);
}

.faq h3 {
  margin-top: 22px;
  color: var(--ink);
}

.faq p {
  margin-top: 6px;
}

.article-band {
  margin-top: 40px;
}

.article code {
  font-size: 0.9em;
  background: rgba(28, 36, 48, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
