/* ==========================================================================
   EC-ORDER 行銷首頁樣式
   只套用在 body.mk，不影響後台與其他頁面
   ========================================================================== */

:root {
  --mk-ink: #0b1220;
  --mk-body: #334155;
  --mk-muted: #64748b;
  --mk-line: #e2e8f0;
  --mk-soft: #f6f8fc;
  --mk-white: #ffffff;
  --mk-brand: #f97316;
  --mk-brand-dark: #ea580c;
  --mk-brand-soft: #fff1e6;
  --mk-navy: #0f1b33;
  --mk-teal: #0d9488;
  --mk-teal-soft: #e6f7f5;
  --mk-blue: #2563eb;
  --mk-radius: 18px;
  --mk-shadow: 0 18px 50px rgba(15, 27, 51, 0.10);
  --mk-shadow-sm: 0 6px 20px rgba(15, 27, 51, 0.07);
  --mk-max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.mk {
  margin: 0;
  padding: 0;
  background: var(--mk-white);
  color: var(--mk-body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei",
    "Noto Sans TC", "PingFang TC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.mk h1, body.mk h2, body.mk h3, body.mk h4 {
  margin: 0;
  color: var(--mk-ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 800;
}

body.mk p { margin: 0; }
body.mk ul { margin: 0; padding: 0; list-style: none; }
body.mk a { color: inherit; text-decoration: none; }
body.mk img { max-width: 100%; display: block; }
body.mk button { font: inherit; }

.mk-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--mk-ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 10px 0;
}
.mk-skip:focus { left: 0; }

.mk-wrap {
  width: 100%;
  max-width: var(--mk-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 按鈕 ---------- */

.mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.mk-btn:active { transform: translateY(1px); }
.mk-btn:focus-visible { outline: 3px solid rgba(249, 115, 22, .45); outline-offset: 2px; }

.mk-btn--primary {
  background: linear-gradient(135deg, #fb923c 0%, var(--mk-brand) 45%, var(--mk-brand-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, .28);
}
.mk-btn--primary:hover {
  color: #fff;
  box-shadow: 0 14px 30px rgba(249, 115, 22, .36);
  transform: translateY(-1px);
}

.mk-btn--ghost {
  background: #fff;
  color: var(--mk-ink);
  border-color: var(--mk-line);
  box-shadow: var(--mk-shadow-sm);
}
.mk-btn--ghost:hover { border-color: #cbd5e1; color: var(--mk-ink); transform: translateY(-1px); }

.mk-btn--light {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.mk-btn--light:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.mk-btn--sm { padding: 10px 16px; font-size: 14px; }

/* ---------- 頁首 ---------- */

.mk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mk-header.is-stuck {
  border-bottom-color: var(--mk-line);
  box-shadow: 0 6px 24px rgba(15, 27, 51, .06);
}
.mk-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.mk-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.mk-logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  box-shadow: 0 6px 14px rgba(234, 88, 12, .3);
  position: relative;
}
.mk-logo__mark::before,
.mk-logo__mark::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  opacity: .95;
}
.mk-logo__mark::before { top: 11px; }
.mk-logo__mark::after { top: 19px; right: 14px; }
.mk-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.mk-logo__name {
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .04em;
  color: var(--mk-ink);
}
.mk-logo__sub {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--mk-muted);
  font-weight: 600;
}

.mk-nav {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}
.mk-nav a {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #475569;
  transition: background .15s ease, color .15s ease;
}
.mk-nav a:hover { background: #f1f5f9; color: var(--mk-ink); }

.mk-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mk-header__login {
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14.5px;
  color: #334155;
  border-radius: 10px;
}
.mk-header__login:hover { background: #f1f5f9; color: var(--mk-ink); }

.mk-burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--mk-line);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mk-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--mk-ink);
  position: relative;
}
.mk-burger span::before,
.mk-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--mk-ink);
}
.mk-burger span::before { top: -6px; }
.mk-burger span::after { top: 6px; }

.mk-mobile-nav {
  display: none;
  border-top: 1px solid var(--mk-line);
  background: #fff;
  padding: 10px 0 18px;
}
.mk-mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-weight: 600;
  color: #334155;
}
.mk-mobile-nav a:hover { background: var(--mk-soft); }
body.mk.nav-open .mk-mobile-nav { display: block; }

/* ---------- Hero ---------- */

.mk-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
  background:
    radial-gradient(900px 420px at 82% -8%, rgba(249, 115, 22, .16), transparent 62%),
    radial-gradient(680px 380px at 8% 8%, rgba(13, 148, 136, .12), transparent 58%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 72%);
}
.mk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 27, 51, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 27, 51, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 72%);
  pointer-events: none;
}
.mk-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 56px;
  align-items: center;
}

.mk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #fed7aa;
  color: #b45309;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 4px 14px rgba(249, 115, 22, .10);
}
.mk-eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mk-brand);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .16);
}

.mk-hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.mk-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--mk-brand) 0%, #f43f5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mk-hero__lead {
  font-size: 17px;
  color: #475569;
  max-width: 33em;
}
.mk-hero__lead strong { color: var(--mk-ink); font-weight: 700; }

.mk-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.mk-hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--mk-muted);
}
.mk-hero__note span { display: inline-flex; align-items: center; gap: 6px; }
.mk-hero__note svg { flex: 0 0 auto; }

/* ---------- 假儀表板 ---------- */

.mk-app {
  position: relative;
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(15, 27, 51, .14);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}
.mk-app__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--mk-line);
  border-radius: 22px 22px 0 0;
}
.mk-app__dot { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.mk-app__dot:nth-child(1) { background: #fda4af; }
.mk-app__dot:nth-child(2) { background: #fcd34d; }
.mk-app__dot:nth-child(3) { background: #86efac; }
.mk-app__title {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: .04em;
}
.mk-app__body { padding: 16px; background: linear-gradient(180deg, #ffffff, #fbfdff); }

.mk-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.mk-kpi {
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}
.mk-kpi b { display: block; font-size: 20px; color: var(--mk-ink); line-height: 1.2; }
.mk-kpi span { font-size: 11px; color: var(--mk-muted); font-weight: 600; }
.mk-kpi--warn b { color: var(--mk-brand-dark); }

.mk-orders { margin-top: 14px; border-top: 1px solid var(--mk-line); }
.mk-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  padding: 10px 2px;
  border-bottom: 1px dashed #eef2f7;
  font-size: 12px;
}
.mk-order:last-child { border-bottom: 0; }
.mk-order__no { font-weight: 800; color: var(--mk-ink); letter-spacing: .01em; }
.mk-order__meta { color: var(--mk-muted); font-size: 11px; }
.mk-pill {
  align-self: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.mk-pill--ok { background: #dcfce7; color: #15803d; }
.mk-pill--wait { background: var(--mk-brand-soft); color: #c2410c; }
.mk-pill--info { background: #e0e7ff; color: #3730a3; }

.mk-lowstock {
  margin-top: 12px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 11.5px;
  color: #92400e;
}
.mk-lowstock b { color: #78350f; }

.mk-badge-float {
  position: absolute;
  right: -14px;
  bottom: -16px;
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 14px;
  box-shadow: var(--mk-shadow);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mk-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mk-badge-float i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}

/* ---------- 平台跑馬燈 ---------- */

.mk-logos {
  padding: 26px 0 10px;
  border-top: 1px solid var(--mk-line);
  background: #fff;
}
.mk-logos__label {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.mk-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.mk-chip {
  padding: 9px 16px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--mk-line);
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.mk-chip:hover { transform: translateY(-1px); border-color: #cbd5e1; color: var(--mk-ink); }

/* ---------- 區段 ---------- */

.mk-section { padding: 84px 0; }
.mk-section--soft { background: var(--mk-soft); border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); }
.mk-section--dark { background: var(--mk-navy); color: #cbd5e1; }
.mk-section--dark h2, .mk-section--dark h3 { color: #fff; }
/* 提高權重，蓋過 body.mk h1~h4 的預設深色 */
body.mk .mk-section--dark h2,
body.mk .mk-section--dark h3,
body.mk .mk-section--dark h4 { color: #fff; }

.mk-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.mk-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c2410c;
  margin-bottom: 10px;
}
.mk-head h1 { font-size: clamp(26px, 3.1vw, 38px); }
.mk-head h2 { font-size: clamp(26px, 3.1vw, 38px); }
.mk-head p { margin-top: 12px; color: #475569; font-size: 16px; }

/* ---------- 痛點 ---------- */

.mk-pains {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.mk-pain {
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--mk-shadow-sm);
}
.mk-pain__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #fff7ed;
  color: var(--mk-brand-dark);
  margin-bottom: 12px;
}
.mk-pain h3 { font-size: 15.5px; margin-bottom: 6px; }
.mk-pain p { font-size: 13.5px; color: var(--mk-muted); line-height: 1.65; }

/* ---------- 三大支柱 ---------- */

.mk-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.mk-pillar {
  position: relative;
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  padding: 28px 26px 26px;
  box-shadow: var(--mk-shadow-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mk-pillar:hover { transform: translateY(-3px); box-shadow: var(--mk-shadow); }
.mk-pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #fb923c, #f97316);
}
.mk-pillar--teal::before { background: linear-gradient(90deg, #2dd4bf, #0d9488); }
.mk-pillar--blue::before { background: linear-gradient(90deg, #60a5fa, #2563eb); }
.mk-pillar__no {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  color: #64748b;
}
.mk-pillar h3 { margin: 10px 0 8px; font-size: 20px; }
.mk-pillar p { color: var(--mk-muted); font-size: 14.5px; }
.mk-pillar ul { margin-top: 16px; display: grid; gap: 8px; }
.mk-pillar li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: #475569;
}
.mk-pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--mk-teal);
  border-bottom: 2px solid var(--mk-teal);
  transform: rotate(-45deg);
}

/* ---------- 功能格 ---------- */

.mk-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mk-feature {
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 16px;
  padding: 22px;
  transition: border-color .15s ease, box-shadow .2s ease, transform .15s ease;
}
.mk-feature:hover { border-color: #fdba74; box-shadow: var(--mk-shadow-sm); transform: translateY(-2px); }
.mk-feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--mk-brand-soft);
  color: var(--mk-brand-dark);
  margin-bottom: 14px;
}
.mk-feature:nth-child(3n+2) .mk-feature__icon { background: var(--mk-teal-soft); color: var(--mk-teal); }
.mk-feature:nth-child(3n+3) .mk-feature__icon { background: #eef2ff; color: #4338ca; }
.mk-feature h3 { font-size: 16.5px; margin-bottom: 6px; }
.mk-feature p { font-size: 13.5px; color: var(--mk-muted); line-height: 1.7; }

/* ---------- 流程 ---------- */

.mk-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.mk-step {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--mk-radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.mk-step__no {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mk-brand);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px rgba(249, 115, 22, .35);
}
.mk-step h3 { font-size: 17px; margin-bottom: 6px; }
.mk-step p { font-size: 14px; color: #94a3b8; }

/* ---------- ERP ---------- */

.mk-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.mk-split h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.mk-split__lead { color: var(--mk-muted); font-size: 16px; }
.mk-checks { margin-top: 22px; display: grid; gap: 14px; }
.mk-check { display: flex; gap: 12px; align-items: flex-start; }
.mk-check__tick {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mk-teal-soft);
  color: var(--mk-teal);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.mk-check b { display: block; color: var(--mk-ink); font-size: 15px; }
.mk-check span { font-size: 13.5px; color: var(--mk-muted); }

.mk-report {
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 20px;
  box-shadow: var(--mk-shadow);
  overflow: hidden;
}
.mk-report__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--mk-line);
  background: #fbfdff;
}
.mk-report__head b { font-size: 14px; color: var(--mk-ink); }
.mk-report__head span { font-size: 11.5px; color: var(--mk-muted); font-weight: 700; }
.mk-report table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mk-report th, .mk-report td { padding: 10px 18px; text-align: left; border-bottom: 1px solid #f1f5f9; }
.mk-report th { font-size: 11px; letter-spacing: .06em; color: #64748b; text-transform: uppercase; background: #fff; }
.mk-report td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--mk-ink); }
.mk-report tr:last-child td { border-bottom: 0; }
.mk-report__sum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #f0fdfa;
  font-size: 13px;
  font-weight: 800;
  color: #0f766e;
}

/* ---------- FAQ ---------- */

.mk-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.mk-faq details {
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 14px;
  padding: 0 20px;
  transition: border-color .15s ease, box-shadow .2s ease;
}
.mk-faq details[open] { border-color: #fdba74; box-shadow: var(--mk-shadow-sm); }
.mk-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 34px 18px 0;
  font-weight: 800;
  font-size: 15.5px;
  color: var(--mk-ink);
  position: relative;
}
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s ease;
}
.mk-faq details[open] summary::after { transform: translateY(-35%) rotate(-135deg); }
.mk-faq p { padding: 0 0 18px; color: var(--mk-muted); font-size: 14px; }

/* ---------- 最後 CTA ---------- */

.mk-cta {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(249, 115, 22, .45), transparent 60%),
    radial-gradient(600px 320px at 90% 100%, rgba(13, 148, 136, .4), transparent 60%),
    linear-gradient(135deg, #101c36, #1e293b);
  box-shadow: 0 30px 70px rgba(15, 27, 51, .28);
}
.mk-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
body.mk .mk-cta h2 { color: #fff; }
.mk-cta p { margin: 12px auto 0; max-width: 36em; color: #cbd5e1; }
.mk-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Footer ---------- */

.mk-footer {
  background: #0b1220;
  color: #94a3b8;
  padding: 56px 0 28px;
  font-size: 14px;
}
.mk-footer__grid {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.mk-footer .mk-logo__name { color: #fff; }
.mk-footer .mk-logo__sub { color: #94a3b8; }
.mk-footer p { margin-top: 14px; color: #94a3b8; font-size: 13.5px; max-width: 26em; }
.mk-footer h2 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
body.mk .mk-footer h2 { color: #fff; }
.mk-footer li { margin-bottom: 9px; }
.mk-footer a:hover { color: #fff; }
.mk-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  font-size: 12.5px;
  color: #94a3b8;
}

/* ---------- 響應式 ---------- */

@media (max-width: 1080px) {
  .mk-hero__grid { gap: 36px; }
  .mk-pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-footer__grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}

@media (max-width: 920px) {
  .mk-nav { display: none; }
  .mk-header__actions { display: none; }
  .mk-burger { display: inline-flex; }
  .mk-hero { padding: 48px 0 40px; }
  .mk-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .mk-app { transform: none; max-width: 560px; margin: 8px auto 0; }
  .mk-badge-float { right: -8px; bottom: -14px; }
  .mk-pillars, .mk-features, .mk-steps { grid-template-columns: minmax(0, 1fr); }
  .mk-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mk-section { padding: 60px 0; }
}

@media (max-width: 640px) {
  .mk-wrap { padding: 0 18px; }
  .mk-header__inner { height: 64px; }
  .mk-hero h1 { font-size: 32px; }
  .mk-hero__lead { font-size: 15.5px; }
  .mk-hero__cta .mk-btn { width: 100%; }
  .mk-pains { grid-template-columns: minmax(0, 1fr); }
  .mk-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk-kpi { padding: 8px 9px; }
  .mk-kpi b { font-size: 17px; }
  .mk-cta { padding: 40px 22px; border-radius: 20px; }
  .mk-footer__grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .mk-footer__bottom { flex-direction: column; }
  .mk-report th, .mk-report td { padding: 9px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* anchor 定位時保留 sticky header 空間 */
.mk-section[id], .mk-hero[id] { scroll-margin-top: 84px; }

/* 列印時只留內容 */
@media print {
  .mk-header, .mk-mobile-nav, .mk-cta, .mk-footer, .mk-burger { display: none !important; }
  body.mk { font-size: 12pt; }
  .mk-section { padding: 18pt 0; }
}

/* ==========================================================================
   登入／註冊頁
   ========================================================================== */

.mk-auth {
  padding: 60px 0 80px;
  background:
    radial-gradient(800px 380px at 88% -10%, rgba(249, 115, 22, .10), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 70%);
}
.mk-auth__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 56px;
  align-items: start;
}
.mk-auth__intro { padding-top: 10px; }
.mk-auth__intro h1 { margin: 14px 0; font-size: clamp(28px, 3.6vw, 44px); }
.mk-auth__intro > p { color: #475569; font-size: 16px; }
.mk-auth__points { margin-top: 26px; display: grid; gap: 12px; }
.mk-auth__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #334155; }
.mk-auth__points .mk-check__tick { margin-top: 1px; }
.mk-auth__alt { margin-top: 28px; font-size: 14px; color: #64748b; }
.mk-auth__alt a { color: #c2410c; font-weight: 800; }
.mk-auth__alt--center { text-align: center; margin-top: 22px; }
.mk-auth--wide .mk-head { margin-bottom: 28px; }

.mk-card {
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 20px;
  box-shadow: var(--mk-shadow);
  padding: 30px 28px;
}
.mk-card--wide { max-width: 820px; margin: 0 auto; }
.mk-card h2 { font-size: 22px; }
.mk-card__sub { margin-top: 6px; color: #64748b; font-size: 13.5px; }

.mk-form { margin-top: 20px; display: grid; gap: 16px; }
.mk-field { display: grid; gap: 6px; }
.mk-field > label { font-size: 13px; font-weight: 800; color: #334155; }
.mk-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--mk-line);
  border-radius: 10px;
  background: #fff;
  color: var(--mk-ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mk-input:focus { outline: none; border-color: #fb923c; box-shadow: 0 0 0 4px rgba(249, 115, 22, .15); }
.mk-form__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.mk-link { color: #c2410c; font-weight: 700; }
.mk-link:hover { color: #9a3412; }
.mk-hint { font-size: 12px; color: #64748b; }
.mk-captcha { display: flex; align-items: center; gap: 10px; }
.mk-captcha .mk-input { max-width: 160px; }
.mk-captcha img { height: 44px; border: 1px solid var(--mk-line); border-radius: 8px; cursor: pointer; }
.mk-btn--block { width: 100%; }

.mk-forget { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--mk-line); }
.mk-forget h2 { font-size: 18px; }
.mk-forget .mk-form { margin-top: 14px; }
.mk-signedin__name { margin-top: 4px; font-size: 20px; font-weight: 800; color: var(--mk-ink); }
.mk-signedin__actions { display: flex; gap: 10px; margin-top: 18px; }

/* Symfony 表單錯誤 */
.error_list { margin: 6px 0 0; padding: 0; list-style: none; color: #dc2626; font-size: 12.5px; line-height: 1.5; }
.error_list li { margin: 2px 0; }

/* 註冊表單 */
.mk-form-table { width: 100%; border-collapse: collapse; }
.mk-form-table tr { border-bottom: 1px solid #f1f5f9; }
.mk-form-table tr:last-child { border-bottom: 0; }
.mk-form-table th {
  width: 150px;
  text-align: left;
  vertical-align: top;
  padding: 14px 16px 14px 0;
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}
.mk-form-table td { padding: 10px 0; }
.mk-form-table td input[type="text"],
.mk-form-table td input[type="password"] {
  width: 100%;
  max-width: 420px;
  padding: 11px 14px;
  border: 1px solid var(--mk-line);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: var(--mk-ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mk-form-table td input[type="text"]:focus,
.mk-form-table td input[type="password"]:focus {
  outline: none;
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .15);
}
.mk-form-table .help { display: block; margin-top: 6px; font-size: 12px; color: #64748b; line-height: 1.65; max-width: 560px; }
.mk-form-table ul.radio_list { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 10px; }
.mk-form-table ul.radio_list li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--mk-line);
  border-radius: 999px;
  font-size: 13.5px;
  cursor: pointer;
}
.mk-form-table ul.radio_list li:hover { border-color: #fdba74; }
.mk-form-table ul.radio_list input { margin: 0; }
.mk-note {
  margin: 8px 0 4px;
  padding: 10px 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  font-size: 12.5px;
  color: #9a3412;
  line-height: 1.7;
}
.mk-form__actions { margin-top: 24px; display: grid; gap: 10px; }
.mk-form-table span[id$="add_message"] { display: block; margin-top: 5px; font-size: 12px; }

@media (max-width: 920px) {
  .mk-auth { padding: 40px 0 56px; }
  .mk-auth__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mk-auth__intro h1 br { display: none; }
  .mk-head h1 { font-size: 27px; }
}
@media (max-width: 640px) {
  .mk-card { padding: 22px 18px; border-radius: 16px; }
  .mk-form-table,
  .mk-form-table tbody,
  .mk-form-table tr,
  .mk-form-table th,
  .mk-form-table td { display: block; width: auto; }
  .mk-form-table th { padding: 14px 0 4px; }
  .mk-form-table td { padding: 0 0 12px; }
  .mk-form-table td input[type="text"],
  .mk-form-table td input[type="password"] { max-width: none; }
}
/* ==========================================================================
   費用方案
   ========================================================================== */

.mk-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mk-price-hero {
  padding: 64px 0 44px;
  background:
    radial-gradient(820px 380px at 85% -12%, rgba(249, 115, 22, .13), transparent 62%),
    radial-gradient(680px 360px at 5% 6%, rgba(13, 148, 136, .09), transparent 58%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 72%);
}

.mk-plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.mk-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: var(--mk-shadow-sm);
}
.mk-plan--featured {
  border-color: #fdba74;
  box-shadow: 0 24px 60px rgba(249, 115, 22, .14);
}
.mk-plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(234, 88, 12, .3);
}
.mk-plan h2 { font-size: 22px; }
.mk-plan__sub { margin-top: 8px; color: #64748b; font-size: 13.5px; min-height: 44px; }
.mk-plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}
.mk-plan__amount {
  font-size: 46px;
  font-weight: 900;
  color: var(--mk-ink);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.mk-plan__unit { font-size: 14px; font-weight: 700; color: #64748b; }
.mk-plan__list { margin: 18px 0 24px; display: grid; gap: 10px; }
.mk-plan__list li { position: relative; padding-left: 26px; font-size: 14.5px; color: #334155; }
.mk-plan__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .42em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--mk-teal);
  border-bottom: 2px solid var(--mk-teal);
  transform: rotate(-45deg);
}
.mk-plan .mk-btn { margin-top: auto; }

.mk-compare {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--mk-shadow-sm);
}
.mk-compare table { width: 100%; border-collapse: collapse; }
.mk-compare th, .mk-compare td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14.5px;
}
.mk-compare thead th:first-child { text-align: left; }
.mk-compare thead th {
  background: #f8fafc;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
}
.mk-compare thead th.is-featured { background: #fff7ed; color: #c2410c; }
.mk-compare tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--mk-ink);
  width: 46%;
}
.mk-compare tbody tr:last-child th,
.mk-compare tbody tr:last-child td { border-bottom: 0; }
.mk-compare td.is-featured { background: #fffaf5; }
.mk-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 13px;
  font-weight: 900;
}
.mk-no { display: inline-block; color: #cbd5e1; font-weight: 800; }
.mk-price-note {
  max-width: 900px;
  margin: 18px auto 0;
  font-size: 12.5px;
  line-height: 1.9;
  color: #64748b;
}

.mk-price-support {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px;
  align-items: start;
}
.mk-service-list { margin-top: 22px; display: grid; gap: 14px; counter-reset: svc; list-style: none; padding: 0; }
.mk-service-list li {
  counter-increment: svc;
  position: relative;
  padding-left: 40px;
  font-size: 15px;
  color: #334155;
}
.mk-service-list li::before {
  content: counter(svc);
  position: absolute;
  left: 0;
  top: -1px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff1e6;
  color: #c2410c;
  font-size: 13px;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.mk-contact {
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: var(--mk-shadow-sm);
}
.mk-contact h3 { font-size: 18px; }
.mk-contact dl { margin-top: 16px; display: grid; gap: 14px; }
.mk-contact dl > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.mk-contact dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.mk-contact dt { font-size: 13px; font-weight: 800; color: #64748b; }
.mk-contact dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--mk-ink); }
.mk-contact a { color: #c2410c; }
.mk-contact a:hover { color: #9a3412; }

@media (max-width: 920px) {
  .mk-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; gap: 30px; }
  .mk-price-support { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 640px) {
  .mk-price-hero { padding: 44px 0 30px; }
  .mk-plan { padding: 24px 20px; }
  .mk-plan__amount { font-size: 38px; }
  .mk-plan__sub { min-height: 0; }
  .mk-compare th, .mk-compare td { padding: 11px 10px; font-size: 13.5px; }
  .mk-compare thead th { font-size: 11.5px; letter-spacing: .03em; }
  .mk-compare tbody th { width: 44%; }
  .mk-contact { padding: 20px; }
  .mk-contact dl > div { grid-template-columns: 72px minmax(0, 1fr); }
}
.mk-plan__excluded {
  margin: 0 0 20px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.7;
}