:root {
  --bg: #FFF8F1;
  --card: #FFFFFF;
  --ink: #3B2A20;
  --body: #5E4A3E;
  --muted: #8C7B70;
  --line: #F1E3D6;
  --brand: #FF6B35;
  --brand-dark: #E2531F;
  --sun: #FFC145;
  --soft: #FFEFE3;
  --radius: 18px;
  --shadow: 0 2px 12px rgba(120, 70, 30, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-dark); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0 8px; scroll-margin-top: 10px; }
h2 { font-size: 26px; margin: 0 0 6px; letter-spacing: .5px; }
.lead { color: var(--body); margin: 0 0 24px; }

/* 頁首 */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #FFE3CC 0%, #FFF1E2 45%, var(--bg) 100%);
  padding: 64px 0 56px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before { width: 340px; height: 340px; right: -90px; top: -120px; background: radial-gradient(circle, rgba(255,193,69,.55), rgba(255,193,69,0) 70%); }
.hero::after { width: 260px; height: 260px; left: -100px; bottom: -140px; background: radial-gradient(circle, rgba(255,107,53,.25), rgba(255,107,53,0) 70%); }
.hero .wrap { position: relative; display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.35fr 1fr; } }
.scorecard {
  background: #fff; border-radius: 22px; box-shadow: 0 12px 34px rgba(120, 60, 20, .14); padding: 20px 22px; max-width: 380px;
}
.scorecard .head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.scorecard .head b { font-size: 16px; }
.scorecard .head span { color: var(--muted); font-size: 12.5px; }
.scorecard .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.scorecard .row:last-of-type { border-bottom: 0; }
.scorecard .row .k { color: var(--body); font-size: 14.5px; }
.scorecard .row .k small { display: block; color: var(--muted); font-size: 12.5px; }
.scorecard .row .v { font-size: 26px; font-weight: 800; white-space: nowrap; }
.scorecard .note { margin-top: 6px; background: #FFF6D6; border-radius: 12px; padding: 8px 12px; font-size: 13.5px; color: var(--body); }
.eyebrow {
  display: inline-block; background: #fff; color: var(--brand-dark); font-weight: 700; font-size: 14px;
  border-radius: 999px; padding: 3px 14px; box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(30px, 6.4vw, 48px); line-height: 1.25; margin: 18px 0 16px; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: var(--brand-dark); }
.hero p { max-width: 640px; color: var(--body); font-size: 17px; margin: 0 0 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 12px; padding: 11px 20px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer;
}
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 4px 0 var(--brand-dark); }
.btn.primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--brand-dark); }
.btn.ghost { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: var(--body); font-size: 14.5px; }
.facts span::before { content: "✓"; color: var(--brand-dark); font-weight: 800; margin-right: 6px; }

/* 作品 */
.work {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  display: grid;
}
@media (min-width: 900px) { .work { grid-template-columns: 1.05fr 1fr; } }
.work .shots {
  background: linear-gradient(160deg, #FFE7D4, #FFF4EA);
  display: flex; align-items: center; justify-content: center; gap: 18px; padding: 28px 20px;
  min-height: 300px;
}
.frame { position: relative; flex: none; overflow: hidden; background: #fff; pointer-events: none; }
.frame iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; }
.frame.phone {
  width: 168px; height: 340px; border-radius: 26px; border: 7px solid #3B2A20; box-shadow: 0 10px 24px rgba(80, 40, 10, .18);
}
.frame.phone iframe { width: 375px; height: 812px; transform: scale(.4107); }
.frame.laptop {
  width: 300px; height: 200px; border-radius: 12px; border: 7px solid #3B2A20; box-shadow: 0 10px 24px rgba(80, 40, 10, .18);
}
.frame.laptop iframe { width: 1280px; height: 880px; transform: scale(.2234); }
@media (max-width: 520px) {
  .work .shots { gap: 10px; padding: 22px 10px; min-height: 0; }
  .frame.phone { width: 120px; height: 240px; border-width: 5px; border-radius: 20px; }
  .frame.phone iframe { transform: scale(.2933); }
  .frame.laptop { width: 170px; height: 115px; border-width: 5px; border-radius: 10px; }
  .frame.laptop iframe { transform: scale(.125); }
}
.work .body { padding: 26px 26px 28px; }
.tag { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 1px 12px; }
.work h3 { font-size: 23px; margin: 10px 0 8px; }
.work p { color: var(--body); margin: 0 0 14px; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.ticks li { display: flex; gap: 8px; font-size: 15px; }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--brand); }
.work .cta .btn { padding: 9px 16px; font-size: 15px; }
.small-note { color: var(--muted); font-size: 13px; margin: 14px 0 0; }

/* 服務 */
.services { display: grid; gap: 14px; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 20px 18px; }
.service .icon {
  width: 40px; height: 40px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; font-size: 20px;
}
.service h3 { margin: 12px 0 4px; font-size: 18px; }
.service p { margin: 0; color: var(--body); font-size: 15px; }
.service .fit { margin-top: 10px; color: var(--muted); font-size: 13.5px; }

/* 看成效的方式 */
.ways { display: grid; gap: 14px; counter-reset: way; }
@media (min-width: 860px) { .ways { grid-template-columns: repeat(3, 1fr); } }
.way { background: #fff; border-radius: var(--radius); padding: 20px; border-top: 5px solid var(--brand); box-shadow: var(--shadow); }
.way h3 { margin: 0 0 6px; font-size: 18px; }
.way p { margin: 0; color: var(--body); font-size: 15px; }

/* 合作方式 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 8px;
}
.steps b { display: block; font-size: 17px; }
.steps span { color: var(--body); font-size: 15px; }
.promises { margin: 18px 0 0; padding: 18px 22px; background: #FFF6D6; border: 1px solid #FFE08A; border-radius: var(--radius); display: grid; gap: 6px 24px; }
@media (min-width: 700px) { .promises { grid-template-columns: 1fr 1fr; } }
.promises div::before { content: "✓"; color: var(--brand-dark); font-weight: 800; margin-right: 8px; }

/* 結尾 */
.end { text-align: center; padding: 64px 0 40px; }
.end .box { background: var(--ink); color: #FFF3E8; border-radius: 24px; padding: 34px 22px; }
.end h2 { color: #fff; }
.end p { margin: 0; color: #F5DCC8; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 0 20px 32px; }
