/* ─────────────────────────────────────────────
   LumiBox 拾光匣 · 官网样式
   设计语言与 App 一致:奶油底 / 蜜桃粉 / 金色点缀 / 圆角卡片 / die-cut 贴纸
   ───────────────────────────────────────────── */
:root {
  --cream: #faf6ef;
  --cream-deep: #f2efe9;
  --card: #fffdf8;
  --ink: #2a2320;
  --ink-soft: #57493f;
  --secondary: #9a8f86;
  --separator: #e5ded5;
  --pink: #f5a8d1;
  --pink-deep: #f06a92;
  --pink-soft: #fdeef4;
  --gold: #f5c044;
  --gold-soft: #fdf3d8;
  --radius: 24px;
  --shadow-card: 0 10px 30px rgba(87, 60, 40, 0.08);
  --shadow-pop: 0 18px 44px rgba(240, 106, 146, 0.22);
  --font: ui-rounded, "SF Pro Rounded", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", -apple-system, "Helvetica Neue", sans-serif;
}

* { 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.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.site-shell { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── 顶栏 ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  background: rgba(250, 246, 239, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 222, 213, 0.7);
}
.site-shell:has(.topbar) { }
.topbar-spacer {
  position: absolute; left: 0; right: 0; top: 0; height: 100%;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; }
.brand img {
  width: 42px; height: 42px; border-radius: 11px;
  border: 1.5px solid var(--ink);
  box-shadow: 0 4px 10px rgba(87, 60, 40, 0.15);
}
.brand small { display: block; font-size: 12px; color: var(--secondary); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 15px;
  color: var(--ink-soft); transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: var(--pink-soft); color: var(--ink); }
.nav a.active { background: var(--ink); color: #fff; }
.language-toggle {
  margin-left: 8px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: #fff; color: var(--ink);
  font-family: var(--font); font-weight: 800; font-size: 14px; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.language-toggle:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(87, 60, 40, 0.12); }

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-soft); color: #8a6512;
  font-weight: 800; font-size: 14px; letter-spacing: 0.04em;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 62px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-weight: 900;
}
.hero h1 .hl { color: var(--pink-deep); }
.hero-copy {
  margin-top: 20px; font-size: 19px; color: var(--ink-soft);
  max-width: 30em; font-weight: 600;
}
.actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 800; font-size: 16px; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  border: 1.5px solid var(--ink);
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: #fff; box-shadow: 0 12px 26px rgba(42, 35, 32, 0.25); }
.button.review { background: #fff; color: var(--ink); }
.button.pink { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; box-shadow: var(--shadow-pop); }
.button svg { width: 20px; height: 20px; }

/* Hero 右侧贴纸画 */
.hero-art { position: relative; min-height: 480px; }
.hero-art .art-icon {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(340px, 72%); border-radius: 26%;
  border: 3px solid var(--ink);
  box-shadow: 0 24px 60px rgba(87, 60, 40, 0.22);
}
.hero-art .float { position: absolute; filter: drop-shadow(0 10px 18px rgba(87, 60, 40, 0.18)); }
.hero-art .f1 { width: 27%; left: 2%; top: 6%; transform: rotate(-10deg); animation: bob 5s ease-in-out infinite; }
.hero-art .f2 { width: 24%; right: 4%; top: 2%; transform: rotate(9deg); animation: bob 6s ease-in-out infinite 0.6s; }
.hero-art .f3 { width: 22%; left: 8%; bottom: 10%; transform: rotate(8deg); animation: bob 5.4s ease-in-out infinite 1.1s; }
.hero-art .f4 { width: 25%; right: 0%; bottom: 4%; transform: rotate(-8deg); animation: bob 6.4s ease-in-out infinite 0.3s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ── 事实表 ── */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 8px 0 56px;
}
.facts article {
  background: var(--card); border: 1px solid var(--separator);
  border-radius: var(--radius); padding: 22px 22px 20px;
  box-shadow: var(--shadow-card);
}
.facts span { display: block; font-size: 13px; font-weight: 800; color: var(--secondary); letter-spacing: 0.06em; text-transform: uppercase; }
.facts strong { display: block; margin-top: 8px; font-size: 17px; font-weight: 800; line-height: 1.4; }

/* ── 通用 section ── */
.section { padding: 56px 0; }
.section-kicker {
  font-size: 14px; font-weight: 800; color: var(--pink-deep);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px;
}
.section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; line-height: 1.2; letter-spacing: -0.01em; }
.section-intro { margin-top: 14px; font-size: 17px; color: var(--ink-soft); font-weight: 600; max-width: 44em; }

/* ── 功能卡 ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.feature-card {
  background: var(--card); border: 1px solid var(--separator);
  border-radius: 28px; padding: 30px 26px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(87, 60, 40, 0.13); }
.feature-card img { width: 96px; height: 96px; object-fit: contain; margin-bottom: 18px; filter: drop-shadow(0 8px 14px rgba(87, 60, 40, 0.15)); }
.feature-card h3 { font-size: 21px; font-weight: 900; margin-bottom: 8px; }
.feature-card p { font-size: 15.5px; color: var(--ink-soft); font-weight: 600; }
.feature-card .tag {
  display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 800;
  background: var(--pink-soft); color: var(--pink-deep);
  padding: 5px 12px; border-radius: 999px;
}
.feature-card:nth-child(2) .tag { background: var(--gold-soft); color: #8a6512; }

/* ── 截图 ── */
.shot-set { margin-top: 34px; }
.shot-set-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.shot-set-head h3 { font-size: 19px; font-weight: 900; }
.shot-set-head span { font-size: 14px; color: var(--secondary); font-weight: 700; }
.shot-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(240px, 62vw);
  gap: 18px; overflow-x: auto; padding: 6px 4px 22px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shot-rail::-webkit-scrollbar { height: 8px; }
.shot-rail::-webkit-scrollbar-thumb { background: var(--separator); border-radius: 4px; }
.shot-rail img {
  border-radius: 26px; border: 1px solid var(--separator);
  box-shadow: var(--shadow-card); scroll-snap-align: start;
}

/* ── 贴纸墙 ── */
.sticker-wall {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  background: linear-gradient(160deg, #fffdf8, #fdf0f5);
  border: 1px solid var(--separator); border-radius: 32px;
  padding: 30px;
  box-shadow: var(--shadow-card);
}
.sticker-wall figure { text-align: center; }
.sticker-wall img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform 0.2s; }
.sticker-wall figure:hover img { transform: scale(1.08) rotate(-3deg); }
.sticker-wall figcaption { margin-top: 6px; font-size: 13px; font-weight: 800; color: var(--ink-soft); }

/* ── 隐私横幅 / 联系 ── */
.band {
  margin: 56px 0;
  background: linear-gradient(135deg, #2a2320, #4a3b33);
  color: #fdf8f0;
  border-radius: 36px; padding: 52px 48px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center;
  box-shadow: 0 24px 60px rgba(42, 35, 32, 0.3);
}
.band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.25; }
.band p { margin-top: 14px; color: #d9cec2; font-weight: 600; font-size: 16px; }
.band .band-art { display: flex; justify-content: center; }
.band .band-art img { width: min(240px, 60%); filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.35)); }
.band .actions { margin-top: 26px; }
.band .button { border-color: transparent; }

/* ── 法律页正文 ── */
.legal { padding: 48px 0 72px; max-width: 860px; }
.legal h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 900; line-height: 1.2; }
.legal .updated { margin-top: 12px; color: var(--secondary); font-weight: 700; font-size: 14px; }
.legal h2 { margin-top: 40px; font-size: 23px; font-weight: 900; }
.legal h3 { margin-top: 26px; font-size: 18px; font-weight: 800; }
.legal p, .legal li { margin-top: 12px; color: var(--ink-soft); font-weight: 600; font-size: 16px; }
.legal ul, .legal ol { padding-left: 24px; }
.legal li { margin-top: 8px; }
.legal .callout {
  margin-top: 28px; background: var(--pink-soft);
  border: 1px solid #f6cfdf; border-radius: 20px; padding: 20px 24px;
  color: var(--ink-soft); font-weight: 700;
}
.legal .callout.gold { background: var(--gold-soft); border-color: #f0dfa8; }
.legal table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--separator); font-weight: 600; color: var(--ink-soft); }
.legal th { color: var(--ink); font-weight: 800; background: var(--cream-deep); }
.legal a { color: var(--pink-deep); font-weight: 800; text-decoration: underline; }

/* ── FAQ ── */
.faq { margin-top: 32px; display: grid; gap: 14px; max-width: 860px; }
.faq details {
  background: var(--card); border: 1px solid var(--separator);
  border-radius: 20px; padding: 20px 24px;
  box-shadow: var(--shadow-card);
}
.faq summary { font-weight: 800; font-size: 17px; cursor: pointer; list-style: none; position: relative; padding-right: 32px; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  font-size: 22px; font-weight: 900; color: var(--pink-deep); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-soft); font-weight: 600; }

/* ── 页脚 ── */
.footer {
  margin-top: 48px; padding: 36px 0 44px;
  border-top: 1px solid var(--separator);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  color: var(--secondary); font-weight: 700; font-size: 14px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); }

/* ── 响应式 ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-art { min-height: 380px; order: -1; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 40px 30px; }
  .topbar { align-items: flex-start; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .nav a { padding: 7px 10px; font-size: 14px; }
}
