/* 小熊猫辅助器 — 暖橙杂志风 · 左右分栏亮点 · 引语墙评价 */
:root {
  --cream: #faf7f2;
  --white: #ffffff;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --line: #e5e0d8;
  --orange: #f59e0b;
  --orange-deep: #ea580c;
  --orange-light: #fef3c7;
  --orange-tint: #fff7ed;
  --container: 1120px;
  --pad: 1.5rem;
  --en: "Outfit", 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(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(calc(100% - 2 * var(--pad)), var(--container));
  margin-inline: auto;
}

.container--narrow { max-width: 720px; }

.label-en {
  display: block;
  font-family: var(--en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange-deep);
  margin-bottom: 0.35rem;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover { color: var(--ink); }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}

.btn-dl:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

.btn-dl svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-dl--sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

.btn-dl--lg {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--white);
}

.btn-ghost:hover { border-color: var(--orange); color: var(--orange-deep); }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-brand img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex-shrink: 0;
}

.hero-brand h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-tagline {
  margin: 0.4rem 0 0;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 600;
  color: var(--muted);
}

.hero-lead {
  margin: 0 0 1.35rem;
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
}

.hero-tags {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 300px;
}

.hero-tags li {
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-tags strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-duo {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.1);
}

.phone-duo img {
  width: auto;
  max-height: 320px;
  max-width: 130px;
  aspect-ratio: 300 / 533;
  border-radius: 12px;
  object-fit: cover;
  object-position: top;
}

/* ── Sections ── */
.section {
  padding: 3.5rem 0;
}

.section--tint {
  background: var(--orange-tint);
  border-block: 1px solid rgba(245, 158, 11, 0.12);
}

.section-head {
  margin-bottom: 2rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--ink);
}

.section-head h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
}

.section-head p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  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;
}

/* 左右分栏亮点 */
.split-features {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.split-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.split-item--flip .split-text { order: 2; }
.split-item--flip .split-img { order: 1; }

.split-num {
  display: inline-block;
  font-family: var(--en);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--orange-deep);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.split-text h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.split-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.split-img {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.split-img img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: top;
}

/* 横滑预览 */
.scroll-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}

.scroll-gallery:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 8px;
}

.gallery-card {
  flex: 0 0 auto;
  width: min(220px, 42vw);
  margin: 0;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.gallery-card figcaption {
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* 叠卡步骤 */
.step-stack {
  display: flex;
  justify-content: center;
  gap: 0;
  padding-top: 0.5rem;
}

.step-card {
  position: relative;
  flex: 1;
  max-width: 280px;
  padding: 1.5rem 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}

.step-card + .step-card {
  margin-left: -1.25rem;
}

.step-card:nth-child(1) { z-index: 3; transform: rotate(-2deg); }
.step-card:nth-child(2) { z-index: 2; transform: rotate(1deg); margin-top: 0.5rem; }
.step-card:nth-child(3) { z-index: 1; transform: rotate(-1deg); }

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  font-family: var(--en);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.step-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* 引语墙评价 */
.quote-wall {
  columns: 2;
  column-gap: 1.25rem;
}

.quote-pin {
  break-inside: avoid;
  margin: 0 0 1.25rem;
  padding: 1.15rem 1.2rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  box-shadow: 2px 4px 0 rgba(26, 26, 26, 0.06);
}

.quote-pin::before {
  content: "\201C";
  position: absolute;
  top: 0.35rem;
  right: 0.75rem;
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--orange-light);
  pointer-events: none;
}

.quote-pin--a { transform: rotate(-1.2deg); border-top: 3px solid var(--orange); }
.quote-pin--b { transform: rotate(0.8deg); }
.quote-pin--c { transform: rotate(-0.5deg); border-top: 3px solid var(--orange-deep); }
.quote-pin--d { transform: rotate(1deg); }
.quote-pin--e { transform: rotate(-0.7deg); }
.quote-pin--f { transform: rotate(0.6deg); border-top: 3px solid var(--orange); }

.quote-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.quote-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange-deep);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.quote-meta cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
}

.quote-meta time {
  display: block;
  font-family: var(--en);
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.quote-pin p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  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%);
  font-family: var(--en);
  font-size: 1rem;
  color: var(--orange-deep);
  font-weight: 700;
}

.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;
}

/* CTA */
.cta-band {
  padding: 2.5rem 0 3rem;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
}

.cta-inner .label-en { color: var(--orange); }

.cta-inner h2 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 900;
}

.cta-inner p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Footer */
.site-footer {
  padding: 1rem 0 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    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-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.75rem var(--pad);
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child { border-bottom: 0; }

  .menu-toggle { display: block; margin-left: auto; }

  .header-inner .btn-dl--sm { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-brand { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-tags { display: none; margin-inline: auto; }

  .hero-visual { margin-top: 0.5rem; }

  .split-item,
  .split-item--flip {
    grid-template-columns: 1fr;
  }

  .split-item--flip .split-text,
  .split-item--flip .split-img { order: unset; }

  .step-stack {
    flex-direction: column;
    align-items: center;
  }

  .step-card {
    max-width: 100%;
    width: 100%;
    margin-left: 0 !important;
    transform: none !important;
    margin-top: 0 !important;
  }

  .step-card + .step-card { margin-top: 0.75rem !important; }

  .quote-wall { columns: 1; }

  .quote-pin { transform: none !important; }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero { padding: 2rem 0 1.5rem; }
  .phone-duo img {
    max-height: min(240px, 36vh);
    max-width: min(105px, 26vw);
  }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-dl, .btn-ghost { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-dl:hover { transform: none; }
  .nav-links { transition: none; }
}

/* 右下角悬浮下载 */
.fab-dl {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.4);
  transition: transform 0.15s, background 0.15s;
}
.fab-dl:hover { background: var(--orange-deep); transform: translateY(-2px); color: #fff; }
.fab-dl svg { width: 17px; height: 17px; }
@media (max-width: 600px) {
  .fab-dl span { display: none; }
  .fab-dl { padding: 0.75rem; border-radius: 50%; }
}
