/* 喵的，又要上班了 Meowshift 官網：純靜態，沒有外部字型、沒有追蹤碼 */
:root {
  --cream: #faf4e8;
  --cream-2: #f3e7d4;
  --paper: #fffaf2;
  --card: #fffdf8;
  --ink: #302a29;
  --muted: #796b63;
  --line: #e9ddcb;
  --accent: #db563c;
  --accent-2: #f08a5d;
  --brown: #8b4e2d;
  --brown-2: #5b3a2a;
  --radius: 22px;
  --shadow: 0 12px 28px rgba(101, 70, 40, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* 頂端列 */
.top { position: sticky; top: 0; z-index: 20; background: rgba(250, 244, 232, 0.93); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 17px; min-width: 0; }
.brand img { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.langs { position: relative; flex: none; }
.langs summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700;
  border: 1px solid #d8c7b2; background: var(--paper); border-radius: 999px; padding: 7px 14px; white-space: nowrap; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary svg { width: 16px; height: 16px; }
.langs[open] summary { background: var(--brown); color: #fff; border-color: var(--brown); }
.langs .menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 8px; display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 2px; width: max-content; max-width: calc(100vw - 32px); }
.langs .menu a { text-decoration: none; padding: 7px 12px; border-radius: 10px; font-size: 14px; white-space: nowrap; }
.langs .menu a:hover { background: var(--cream-2); }
.langs .menu a[aria-current="page"] { background: var(--accent); color: #fff; font-weight: 700; }

/* 首屏 */
.hero { position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 18%, #ffd9b4 0, transparent 46%), linear-gradient(135deg, #fff7ea 0%, #f6e6cf 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; padding: 56px 0 64px; }
.eyebrow { display: inline-block; font-weight: 800; color: var(--brown); font-size: 15px; letter-spacing: 0.04em; }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.16; margin: 12px 0 18px; letter-spacing: -0.02em; font-weight: 900; text-wrap: balance; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: 15px; color: var(--brown-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #231815; color: #fff; text-decoration: none; border-radius: 14px;
  padding: 9px 18px 9px 14px; min-height: 56px; }
.store:hover { background: #3d2a22; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; opacity: 0.85; line-height: 1.2; }
.store b { display: block; font-size: 18px; line-height: 1.2; }
.gift { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; background: #fff1e3; border: 2px dashed #e7a184; color: #a4472f;
  font-weight: 800; border-radius: 14px; padding: 8px 14px; font-size: 15px; }
.stage { position: relative; justify-self: center; width: min(400px, 100%); display: flex; justify-content: center; }
.stage::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: #f6d4a9; top: 12%; }
.stage .poster { position: relative; width: 66%; border-radius: 26px; box-shadow: 18px 26px 44px rgba(68, 51, 41, 0.24); transform: rotate(-4deg); border: 6px solid #fff; }
.stage .cat { position: absolute; width: 48%; right: -4%; bottom: -6%; filter: drop-shadow(3px 12px 10px rgba(128, 96, 68, 0.25)); }

/* 區塊 */
section.block { padding: 76px 0; }
section.block.alt { background: var(--cream-2); }
.block h2 { font-size: clamp(26px, 3.8vw, 40px); line-height: 1.3; margin: 0 0 12px; text-align: center; font-weight: 900; letter-spacing: -0.01em; }
.block .sub { text-align: center; color: var(--muted); margin: 0 auto 36px; max-width: 42em; font-size: 17px; }

.what { display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: center; background: var(--card); border-radius: var(--radius);
  padding: 26px 30px; box-shadow: var(--shadow); max-width: 880px; margin: 22px auto 0; }
.what p { margin: 0; font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card .body { padding: 16px 18px 20px; }
.card h3 { margin: 0 0 10px; font-size: 14px; letter-spacing: 0.08em; color: var(--accent); font-weight: 900; }
.card ul, .plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.card li { position: relative; padding-left: 18px; font-size: 15px; color: #4d423e; line-height: 1.6; }
.card li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.card li b, .plan li b { color: var(--ink); }
.os { display: inline-block; font-size: 11px; font-weight: 800; color: var(--muted); border: 1px solid var(--line); border-radius: 6px;
  padding: 0 6px; margin-left: 6px; vertical-align: 1px; line-height: 1.6; }

/* 截圖橫向捲動 */
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 20px; margin: 26px -16px 0;
  -webkit-overflow-scrolling: touch; }
.shots img { flex: none; width: 230px; height: auto; aspect-ratio: 540 / 1173; border-radius: 20px; scroll-snap-align: center; box-shadow: var(--shadow); background: #eadcc7; }

/* 方案 */
.giftbox { max-width: 820px; margin: 0 auto 22px; background: #fff1e3; border: 2px dashed #e7a184; border-radius: var(--radius); padding: 16px 22px; color: #6d4a3b; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 820px; margin: 0 auto; align-items: start; }
.plan { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 3px solid transparent; position: relative; }
.plan.pro { border-color: var(--accent); }
.plan h3 { margin: 0 0 4px; font-size: 18px; font-weight: 900; letter-spacing: 0.02em; }
.plan .price { font-size: 30px; font-weight: 900; color: var(--accent); line-height: 1.25; margin: 6px 0 2px; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 700; }
.plan .note { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.plan ul { margin-top: 12px; }
.plan li { padding-left: 26px; position: relative; font-size: 15px; line-height: 1.6; }
.plan li::before { content: "✓"; position: absolute; left: 3px; color: var(--accent); font-weight: 900; }
.plan .jump { position: absolute; width: 92px; right: 10px; top: -58px; }
.plan.pro h3 { padding-right: 84px; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin: 20px auto 0; max-width: 820px; }

/* 隱私 */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.trust div { background: var(--card); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); font-weight: 700; }
.trust div span { display: block; font-size: 26px; margin-bottom: 6px; }

/* 下載 */
.end { position: relative; overflow: hidden; color: #fff8ec; text-align: center;
  background: linear-gradient(rgba(36, 30, 58, 0.55), rgba(36, 30, 58, 0.78)), url("img/plate-night.jpg") center / cover, #2e2a44; }
.end .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 12px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); }
.end h2 { color: #fff; }
.end .sub { color: #f1e4d6; }
.end .cta { justify-content: center; }
.end .cat { position: absolute; width: 170px; right: 4%; bottom: -10px; }

footer { background: #2e2623; color: #d9c6b8; padding: 28px 0 36px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: #fff; }

a:focus-visible, summary:focus-visible { outline: 3px solid #3594d0; outline-offset: 3px; }

/* 平板 */
@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
}
/* 手機 */
@media (max-width: 720px) {
  .top .wrap { height: 58px; }
  .brand { font-size: 15px; }
  .brand img { width: 34px; height: 34px; }
  .langs summary { padding: 6px 11px; font-size: 13px; }
  .langs .menu { grid-template-columns: 1fr 1fr; }
  .langs .menu a { padding: 6px 9px; font-size: 13px; }
  .hero .wrap { grid-template-columns: 1fr; padding: 34px 0 44px; text-align: center; gap: 30px; }
  .chips, .cta { justify-content: center; }
  .stage { width: min(300px, 86%); }
  section.block { padding: 54px 0; }
  .what { grid-template-columns: 1fr; text-align: center; padding: 22px; }
  .what img { width: 140px; margin: 0 auto; }
  .what p { font-size: 16px; }
  .grid, .plans, .trust { grid-template-columns: 1fr; }
  .plans { gap: 70px; margin-top: 70px; }
  .shots img { width: 190px; }
  .end .cat { position: static; width: 120px; margin: 24px auto -54px; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* 各語言用自己的字型優先 */
html:lang(zh-Hans) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
html:lang(ja) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif; }
html:lang(ko) { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; word-break: keep-all; }
html:lang(th) { font-family: -apple-system, BlinkMacSystemFont, "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif; }
html:lang(hi) { font-family: -apple-system, BlinkMacSystemFont, "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", sans-serif; }
html:lang(en), html:lang(vi), html:lang(da), html:lang(ru), html:lang(id), html:lang(tr), html:lang(de), html:lang(fr), html:lang(pl),
html:lang(it), html:lang(nl), html:lang(pt-BR), html:lang(es) { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
