/* wordpet landing — 纯手写零依赖 */
:root {
  --cream: #FFF8F0;
  --cream-deep: #FFEFDF;
  --ink: #3D2E26;
  --ink-soft: #7A6A5F;
  --orange: #FF8A3D;
  --orange-deep: #F2701D;
  --coral: #FF6B6B;
  --mint: #4ECDC4;
  --white: #FFFFFF;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 10px 30px rgba(242, 112, 29, .12);
  --shadow-hover: 0 16px 40px rgba(242, 112, 29, .20);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- 通用 ---------- */
.section__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 4vw, 32px);
}
.section__inner--narrow { max-width: 820px; }
.section__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
  letter-spacing: .02em;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 240, .92);
  backdrop-filter: blur(8px);
  transition: box-shadow .3s ease;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(61, 46, 38, .10); }
.header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px clamp(20px, 4vw, 32px);
  display: flex;
  align-items: center;
  gap: 20px;
}
.header__logo { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.header__paw { font-size: 1.5rem; }
.header__wordmark { font-size: 1.15rem; display: flex; flex-direction: column; line-height: 1.2; }
.header__wordmark--sub { font-size: .7rem; font-weight: 500; color: var(--ink-soft); letter-spacing: .35em; }
.header__nav { margin-left: auto; display: flex; gap: clamp(10px, 2vw, 24px); }
.header__link { font-size: .95rem; color: var(--ink-soft); padding: 6px 4px; border-radius: 8px; transition: color .2s; }
.header__link:hover, .header__link:focus { color: var(--orange-deep); }
.header__cta {
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.header__cta:hover { background: var(--orange-deep); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%); }
.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 32px) clamp(56px, 8vw, 104px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero__title { font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.3; }
.hero__title--accent { color: var(--orange-deep); position: relative; }
.hero__subtitle { margin: 20px 0 28px; color: var(--ink-soft); font-size: clamp(1rem, 2vw, 1.15rem); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__btn {
  display: inline-block;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.hero__btn--primary { background: var(--orange); color: var(--white); box-shadow: var(--shadow-soft); }
.hero__btn--primary:hover { background: var(--orange-deep); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.hero__btn--ghost { border: 2px solid var(--orange); color: var(--orange-deep); }
.hero__btn--ghost:hover { background: rgba(255, 138, 61, .10); transform: translateY(-3px); }
.hero__meta { margin-top: 18px; font-size: .85rem; color: var(--ink-soft); }

/* hero 桌宠场景(纯 CSS) */
.hero__scene { display: flex; justify-content: center; }
.scene__desk {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 42%, var(--white) 0 55%, transparent 56%);
  border-radius: 50%;
}
.scene__pet {
  position: absolute;
  left: 50%; top: 50%;
  width: 180px; height: 210px;
  transform: translate(-50%, -46%);
  animation: pet-bob 3.2s ease-in-out infinite;
}
.pet__face {
  position: absolute; inset: 0 0 40px 0;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 50% 50% 46% 46%;
  z-index: 2;
}
.pet__ear { position: absolute; top: 6px; width: 44px; height: 60px; background: var(--coral); border: 4px solid var(--ink); border-radius: 50% 50% 0 0; z-index: 1; }
.pet__ear--left { left: 14px; transform: rotate(-24deg); }
.pet__ear--right { right: 14px; transform: rotate(24deg); }
.pet__eye { position: absolute; top: 74px; width: 16px; height: 24px; background: var(--ink); border-radius: 50%; animation: pet-blink 4.5s infinite; }
.pet__eye--left { left: 48px; }
.pet__eye--right { right: 48px; }
.pet__blush { position: absolute; top: 100px; width: 26px; height: 13px; background: var(--coral); opacity: .45; border-radius: 50%; }
.pet__blush--left { left: 28px; }
.pet__blush--right { right: 28px; }
.pet__mouth { position: absolute; top: 106px; left: 50%; transform: translateX(-50%); width: 26px; height: 14px; border: 3px solid var(--ink); border-top: none; border-radius: 0 0 26px 26px; }
.pet__body {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 150px; height: 64px;
  background: var(--mint);
  border: 4px solid var(--ink);
  border-radius: 40px 40px 24px 24px;
  z-index: 1;
}
.scene__coin {
  position: absolute;
  width: 34px; height: 34px;
  background: var(--orange);
  border: 3px solid var(--orange-deep);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: var(--white);
}
.scene__coin::after { content: "+1"; }
.scene__coin--a { right: 14%; top: 30%; animation: float-y 2.8s ease-in-out infinite; }
.scene__coin--b { left: 12%; bottom: 26%; animation: float-y 3.4s ease-in-out infinite .6s; }
.scene__card {
  position: absolute;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 6px 14px rgba(61, 46, 38, .15);
  display: flex; flex-direction: column; line-height: 1.35;
}
.scene__card span { font-weight: 400; font-size: .75rem; color: var(--ink-soft); }
.scene__card--a { left: -4%; top: 16%; animation: float-y 3.6s ease-in-out infinite; }
.scene__card--b { right: -2%; top: 58%; animation: float-y 3.1s ease-in-out infinite .4s; }
.scene__card--c { left: 6%; bottom: 8%; animation: float-y 3.9s ease-in-out infinite .9s; }

@keyframes pet-bob { 0%, 100% { transform: translate(-50%, -46%); } 50% { transform: translate(-50%, -50%); } }
@keyframes pet-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 痛点 ---------- */
.pains { background: var(--white); }
.pains__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.pains__item {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  transition: transform .25s, box-shadow .25s;
}
.pains__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.pains__head { font-size: 1.15rem; margin-bottom: 10px; color: var(--coral); }
.pains__text { color: var(--ink-soft); font-size: .95rem; }

/* ---------- 功能六卡 ---------- */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.features__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: 0 4px 18px rgba(61, 46, 38, .07);
  transition: transform .25s, box-shadow .25s;
}
.features__card:nth-child(2n) { border-top: 4px solid var(--mint); }
.features__card:nth-child(2n+1) { border-top: 4px solid var(--orange); }
.features__card:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: var(--shadow-hover); }
.features__icon { font-size: 2rem; display: inline-block; margin-bottom: 12px; }
.features__head { font-size: 1.15rem; margin-bottom: 8px; }
.features__text { color: var(--ink-soft); font-size: .93rem; }

/* ---------- 勋章带 ---------- */
.medals { background: var(--white); }
.medals__lead { text-align: center; color: var(--ink-soft); margin: -16px 0 28px; }
.medals__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 12px 4px 20px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}
.medals__img {
  flex: 0 0 auto;
  width: 96px; height: 96px;
  border-radius: 50%;
  scroll-snap-align: start;
  background: var(--cream-deep);
  transition: transform .25s, opacity .6s ease, filter .6s ease;
  opacity: .35;
  filter: saturate(.4);
}
.medals__img.is-loaded { opacity: 1; filter: saturate(1); }
.medals__img:hover { transform: scale(1.14) rotate(4deg); }
.medals__hint { text-align: center; font-size: .85rem; color: var(--ink-soft); }

/* ---------- 数据带 ---------- */
.stats { background: var(--orange); color: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats__item { display: flex; flex-direction: column; gap: 4px; }
.stats__num {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .08);
}
.stats__label { font-size: .95rem; opacity: .92; }

/* ---------- 三步 ---------- */
.steps__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); counter-reset: step; }
.steps__item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(61, 46, 38, .07);
  transition: transform .25s;
}
.steps__item:hover { transform: translateY(-6px); }
.steps__badge {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.steps__head { font-size: 1.15rem; margin-bottom: 6px; }
.steps__text { color: var(--ink-soft); font-size: .93rem; }
.steps__cta { text-align: center; margin-top: clamp(28px, 4vw, 44px); }

/* ---------- 定价 ---------- */
.pricing { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); }
.pricing__lead { text-align: center; color: var(--ink-soft); margin: -16px 0 36px; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); align-items: stretch; }
.pricing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(61, 46, 38, .08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 4px 18px rgba(61, 46, 38, .07);
  transition: transform .25s, box-shadow .25s;
}
.pricing__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.pricing__card--popular { border: 2px solid var(--orange); box-shadow: var(--shadow-soft); }
.pricing__card--popular:hover { box-shadow: 0 14px 36px rgba(242, 112, 29, .25); }
.pricing__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
}
.pricing__head { text-align: center; }
.pricing__plan { font-size: 1.25rem; margin-bottom: 2px; }
.pricing__tag { font-size: .85rem; color: var(--ink-soft); }
.pricing__amount { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-top: 18px; }
.pricing__currency { font-size: 1.2rem; font-weight: 700; }
.pricing__value { font-size: clamp(2.4rem, 4vw, 2.9rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.pricing__period { font-size: .9rem; color: var(--ink-soft); }
.pricing__yearly { text-align: center; font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }
.pricing__highlight { color: var(--orange-deep); font-weight: 700; }
.pricing__features { list-style: none; display: grid; gap: 10px; margin: 22px 0 26px; flex: 1; }
.pricing__features li { position: relative; padding-left: 24px; font-size: .93rem; }
.pricing__features li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--orange-deep);
  font-weight: 800;
}
.pricing__btn {
  display: block;
  text-align: center;
  font-weight: 700;
  padding: 13px 0;
  border-radius: 999px;
  border: 2px solid var(--orange);
  color: var(--orange-deep);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.pricing__btn:hover { background: rgba(255, 138, 61, .10); transform: translateY(-3px); }
.pricing__btn--solid { background: var(--orange); color: var(--white); box-shadow: var(--shadow-soft); }
.pricing__btn--solid:hover { background: var(--orange-deep); box-shadow: var(--shadow-hover); }
.pricing__note { text-align: center; font-size: .85rem; color: var(--ink-soft); margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 6px 22px;
  transition: box-shadow .25s;
}
.faq__item[open] { box-shadow: var(--shadow-soft); }
.faq__q {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
  position: relative;
  padding-right: 34px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--orange-deep);
  transition: transform .25s;
}
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { color: var(--ink-soft); font-size: .95rem; padding: 0 0 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--cream-deep); }
.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 32px);
  text-align: center;
  display: flex; flex-direction: column; gap: 8px;
}
.footer__main { font-weight: 600; }
.footer__disclaimer { font-size: .85rem; color: var(--ink-soft); }
.footer__links { display: flex; justify-content: center; gap: 24px; margin-top: 8px; }
.footer__link { font-size: .9rem; color: var(--orange-deep); }
.footer__link:hover { text-decoration: underline; }

.noscript-note { text-align: center; padding: 12px; background: var(--cream-deep); font-size: .85rem; color: var(--ink-soft); }

/* ---------- 入场 reveal(默认可见,JS 增强才隐藏) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__cta { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__scene { margin-top: 12px; }
  .scene__desk { width: min(100%, 340px); }
  .pains__grid, .features__grid, .steps__grid, .pricing__grid { grid-template-columns: 1fr; }
  .pricing__grid { max-width: 460px; margin-left: auto; margin-right: auto; }
  .pricing__card--popular { order: -1; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
}
@media (max-width: 375px) {
  .hero__btn { width: 100%; text-align: center; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
