/* Pocket Joy Studio 工作室首頁：純靜態，沒有外部字型、沒有追蹤碼。牛仔藍＋白色布章＋黃色縫線 */
:root {
  --denim: #2f5fa8;
  --denim-2: #234b8a;
  --denim-3: #18366a;
  --royal: #1f4fd6;
  --patch: #fffdf8;
  --paper: #f4f1ea;
  --ink: #1c2a44;
  --ink-2: #55617a;
  --line: #e2ddd2;
  --stitch: #f5b82e;
  --radius: 24px;
  --shadow: 0 14px 34px rgba(16, 38, 84, 0.16);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); line-height: 1.65; 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: 10; background: rgba(244, 241, 234, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; white-space: nowrap; color: var(--denim-3); }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.langs { display: flex; gap: 4px; }
.langs a { text-decoration: none; font-size: 14px; padding: 6px 12px; border-radius: 999px; color: var(--ink-2); }
.langs a[aria-current="page"] { background: var(--denim-3); color: #fff; }

/* 首屏：牛仔布章橫幅 */
.hero { position: relative; color: #fff; background: var(--denim-2) url(img/hero.jpg) center / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 33, 70, 0.55), rgba(14, 33, 70, 0.82)); }
.hero .wrap { position: relative; padding: 120px 0 76px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .logo { width: 132px; height: 132px; border-radius: 50%; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.hero h1 { margin: 22px 0 6px; font-size: clamp(34px, 6vw, 58px); line-height: 1.12; letter-spacing: 0.5px; text-shadow: 0 3px 14px rgba(0, 0, 0, 0.3); }
.hero p { margin: 0; max-width: 640px; font-size: clamp(16px, 2.2vw, 20px); font-weight: 600; opacity: 0.96; }
.stitch { display: block; width: min(420px, 80%); height: 0; margin: 26px auto 0; border-top: 5px dashed var(--stitch); border-radius: 4px; }

/* 區塊 */
section { padding: 72px 0; }
h2 { margin: 0 0 8px; text-align: center; font-size: clamp(26px, 4vw, 36px); color: var(--denim-3); }
.lead { margin: 0 auto 36px; max-width: 640px; text-align: center; color: var(--ink-2); }

/* App 卡片：白色布章，邊上一圈黃色縫線 */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.app { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--patch); border-radius: var(--radius); box-shadow: var(--shadow); }
.app::after { content: ""; position: absolute; inset: 9px; border: 2px dashed rgba(245, 184, 46, 0.75); border-radius: 17px; pointer-events: none; }
.app .head { display: flex; align-items: center; gap: 16px; }
.app .icon { width: 76px; height: 76px; border-radius: 18px; flex: none; box-shadow: 0 6px 16px rgba(16, 38, 84, 0.18); }
.app h3 { margin: 0; font-size: 21px; line-height: 1.3; }
.app .en { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.app .desc { margin: 0; color: var(--ink-2); font-size: 15.5px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #e9eefb; color: var(--denim-2); }
.tag.soon { background: #fff1cc; color: #8a5a00; }
.links { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 14px; font-weight: 700; padding: 9px 14px; border-radius: 12px; background: var(--denim-3); color: #fff; }
.btn.ghost { background: transparent; color: var(--denim-2); box-shadow: inset 0 0 0 2px #c9d5f0; }
.btn[aria-disabled="true"] { background: #d9dde6; color: #6b7487; pointer-events: none; }

/* 關於 */
.about { background: var(--denim-3); color: #eaf0ff; }
.about h2 { color: #fff; }
.about .lead { color: #c9d6f5; margin-bottom: 0; }

/* 頁尾 */
footer { padding: 34px 0 44px; color: var(--ink-2); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { text-decoration: none; font-weight: 700; color: var(--denim-2); }

@media (max-width: 560px) {
  .hero .wrap { padding: 92px 0 56px; }
  .hero .logo { width: 104px; height: 104px; }
  section { padding: 56px 0; }
  .apps { grid-template-columns: 1fr; }
  .app { padding: 22px; }
}
