/* 萌宅社区 — 喵系萌向 · 参考 MeowBox 气质 */
:root {
  --bg: #fff8fb;
  --bg-soft: #fff0f6;
  --bg-card: #ffffff;
  --ink: #2d2438;
  --muted: #7a7088;
  --line: #f0dce8;
  --pink: #ff6b9d;
  --pink-deep: #e84d86;
  --pink-soft: #ffe4ef;
  --lavender: #c4b5fd;
  --wrap: 1120px;
  --pad: 1.25rem;
  --round: "M PLUS Rounded 1c", system-ui, sans-serif;
  --body: "Noto Sans SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: min(calc(100% - 2 * var(--pad)), var(--wrap));
  margin-inline: auto;
}

.wrap--narrow { max-width: 720px; }

.label-en {
  display: block;
  font-family: var(--round);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--pink);
  margin-bottom: 0.35rem;
}

/* ── 导航 ── */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 251, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.top-nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.brand strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.15;
}

.brand em {
  display: block;
  font-family: var(--round);
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover { color: var(--pink-deep); }

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
}

.fab-dl {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 10px 28px rgba(255, 107, 157, 0.38);
  transition: transform 0.15s, background 0.15s;
}

.fab-dl:hover {
  background: var(--pink-deep);
  transform: translateY(-2px);
}

.fab-dl svg { width: 17px; height: 17px; }

.btn-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink) 0%, #ff8fb8 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(255, 107, 157, 0.28);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-dl:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 107, 157, 0.35);
}

.btn-dl svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-dl--sm {
  padding: 0.52rem 1rem;
  font-size: 0.8rem;
  box-shadow: none;
}

.btn-dl--lg {
  padding: 0.95rem 1.65rem;
  font-size: 1rem;
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-soft:hover {
  border-color: var(--pink);
  color: var(--pink-deep);
}

/* ── 英雄区：透明立绘大图悬浮 ── */
.meow-hero {
  position: relative;
  overflow: hidden;
  padding: 2rem 0 3rem;
}

.meow-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 78% 42%, rgba(255, 107, 157, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 60% 50% at 12% 18%, rgba(196, 181, 253, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #fff5f9 0%, var(--bg) 100%);
}

.meow-hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.blob--1 { width: 280px; height: 280px; background: #ffc2dc; top: 8%; right: 18%; }
.blob--2 { width: 200px; height: 200px; background: #ddd6fe; bottom: 10%; left: 5%; }
.blob--3 { width: 140px; height: 140px; background: #ffe8f2; top: 45%; right: 42%; }

.meow-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  min-height: min(88vh, 780px);
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  font-family: var(--round);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--pink-deep);
  letter-spacing: 0.04em;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}

.hero-brand img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(255, 107, 157, 0.2);
}

.hero-brand h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-tagline {
  margin: 0 0 0.65rem;
  font-size: clamp(0.9rem, 2vw, 1.02rem);
  font-weight: 700;
  color: var(--pink-deep);
}

.hero-lead {
  margin: 0 0 1.35rem;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 32em;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.35rem;
}

.hero-stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.hero-stat-pills li {
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--muted);
  box-shadow: 0 4px 14px rgba(45, 36, 56, 0.04);
}

.hero-stat-pills strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 800;
}

.hero-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 480px;
}

.hero-tags li {
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
}

.hero-tags strong {
  display: block;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 0.1rem;
}

/* 透明立绘：无黑框，光晕衬托，放大展示 */
.meow-hero-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 420px;
  pointer-events: none;
}

.art-glow {
  position: absolute;
  width: min(420px, 90%);
  height: min(420px, 72%);
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 182, 212, 0.45) 0%, rgba(255, 182, 212, 0) 68%);
}

.meow-hero-art img {
  position: relative;
  z-index: 1;
  width: auto;
  height: min(520px, 72vh);
  max-width: min(380px, 42vw);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 36px rgba(255, 107, 157, 0.22));
  animation: floaty 4.5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── 通用区块 ── */
.section {
  padding: 3.75rem 0;
}

.section--soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.sec-head {
  margin-bottom: 2rem;
}

.sec-head--center { text-align: center; }

.sec-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 900;
}

.sec-desc {
  margin: 0.5rem auto 0;
  max-width: 36em;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

.story-block {
  max-width: 720px;
  margin: 0 auto;
}

.story-block .label-en {
  display: block;
  margin-bottom: 0.5rem;
}

.story-block h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
  line-height: 1.2;
}

.story-block p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.story-block p:last-child {
  margin-bottom: 0;
}

/* 亮点卡片 */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feat-card {
  padding: 1.35rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 107, 157, 0.1);
}

.feat-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.75rem;
  border-radius: 14px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-size: 1.15rem;
  font-weight: 700;
}

.feat-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.feat-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
}

/* 界面平铺 */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.preview-card {
  margin: 0;
  text-align: center;
}

.preview-frame {
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(45, 36, 56, 0.06);
  margin-bottom: 0.55rem;
}

.preview-frame img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: contain;
  object-position: top;
}

.preview-card figcaption {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

/* 下载通栏 */
.dl-band {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, #2d2438 0%, #4a2f52 100%);
  color: #fff;
}

.dl-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.dl-band .label-en { color: #ffb8d0; }

.dl-band h2 {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 900;
}

.dl-band p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 28em;
}

/* 三步 */
.step-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-cards li {
  padding: 1.35rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.step-n {
  display: inline-block;
  font-family: var(--round);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.step-cards h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.step-cards p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
}

/* 评价轮播 */
.carousel {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
}

.carousel-track { min-height: 150px; }

.carousel-slide {
  margin: 0;
  padding: 1.65rem 1.85rem;
  display: none;
}

.carousel-slide.is-active { display: block; }

.carousel-meta {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.carousel-meta strong { font-size: 0.9rem; }

.carousel-meta time {
  font-family: var(--round);
  font-size: 0.65rem;
  color: var(--muted);
}

.carousel-slide p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

.carousel-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.carousel-prev,
.carousel-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}

.carousel-prev:hover,
.carousel-next:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.carousel-dots { display: flex; gap: 0.4rem; }

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
}

.carousel-dots button.is-on { background: var(--pink); }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 1rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1.5rem 0.9rem 0;
  font-weight: 700;
  font-size: 0.9rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-family: var(--round);
  font-weight: 800;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0 0 0.9rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
}

/* 页脚 */
.site-foot {
  padding: 1.5rem 0 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
}

.site-foot-inner {
  text-align: center;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
}

.foot-brand img { border-radius: 10px; }

.foot-brand strong { font-weight: 900; }

.site-foot p {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .nav {
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-card);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s, opacity 0.2s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.7rem var(--pad);
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle { display: block; margin-left: auto; }
  .top-nav-inner .btn-dl--sm { display: none; }

  .meow-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .meow-hero-copy { order: 1; }
  .meow-hero-art {
    order: 2;
    min-height: 320px;
  }

  .meow-hero-art img {
    height: min(420px, 55vh);
    max-width: min(320px, 78vw);
  }

  .hero-tags { display: none; }

  .feat-grid { grid-template-columns: 1fr 1fr; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .step-cards { grid-template-columns: 1fr; }

  .dl-band-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .feat-grid { grid-template-columns: 1fr; }

  .preview-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .preview-card {
    flex: 0 0 min(200px, 72vw);
    scroll-snap-align: center;
  }

  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-stat-pills { justify-content: center; }
  .fab-dl span { display: none; }
  .fab-dl { padding: 0.75rem; border-radius: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .meow-hero-art img { animation: none; }
  .fab-dl:hover, .btn-dl:hover, .feat-card:hover { transform: none; }
}
