/* Zi Simple Bot 智簡單 — design v3：常規乾淨 SaaS 風格（設計一概念）。
   保留全部既有 class 名稱（前台 / wizard / track / admin），僅換視覺。 */
:root {
  --bg:#FBF9F6; --surface:#FFFFFF; --ink:#292018; --ink-soft:#55483B; --muted:#7C6F61;
  --line:#EEE3D8; --primary:#F2740B; --primary-dark:#C75705; --primary-soft:#FEF0E3; --indigo:#FB923C;
  --ok:#15803D; --warn:#B45309; --bad:#DC2626;
  --radius:14px; --shadow:0 12px 32px rgba(41,32,24,.10); --shadow-sm:0 2px 10px rgba(41,32,24,.06);
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang TC","Microsoft JhengHei",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Courier New",monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.main { padding-top: 26px; padding-bottom: 60px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.lead { font-size: 17.5px; color: var(--muted); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; }
.brand-word { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 13px; border-radius: 999px; color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 14px; }
.nav-links a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { background: var(--primary-dark); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 11px 20px; font: 700 15px/1.2 var(--sans); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(242,116,11,.30); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: #fff; color: var(--ink-soft); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-success { background: var(--ok); color: #fff; }
.btn-success:hover { filter: brightness(.95); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-xs { padding: 5px 9px; font-size: 12px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { margin-top: 8px; padding: 56px 28px; text-align: center; background: linear-gradient(180deg, #FEF0E3 0%, #FFFDFA 100%); border: 1px solid #F8DFC4; border-radius: 22px; }
.hero-text { max-width: 780px; margin: 0 auto; }
.eyebrow { display: inline-block; background: #fff; border: 1px solid #F6D3AE; color: var(--primary-dark); border-radius: 999px; padding: 6px 15px; font-size: 13px; font-weight: 700; }
.hero h1 { margin: 18px 0 14px; font-size: 44px; line-height: 1.22; font-weight: 800; letter-spacing: -0.02em; }
.hero h1 .accent, .hero h1 em.accent { font-style: normal; background: linear-gradient(92deg, var(--primary), var(--indigo)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero .lead { max-width: 660px; margin: 0 auto; }
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero-points { list-style: none; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0; padding: 0; }
.hero-points li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.hero-art { max-width: 520px; margin: 34px auto 0; }
.hero-art img { width: 100%; }
.brand-lockup { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 28px 24px 22px; background: #fff; border: 1px solid #F8DFC4; border-radius: 22px; box-shadow: var(--shadow-sm); }
.brand-lockup img { width: 168px; height: auto; }
.lockup-en { font-weight: 800; font-size: 28px; letter-spacing: .12em; color: var(--primary); }
.lockup-zh { font-size: 15px; font-weight: 700; color: var(--ink-soft); letter-spacing: .2em; }

/* ---------- sections ---------- */
.section { padding: 52px 0 0; text-align: center; }
.section-label { display: inline-block; color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section-title { margin: 6px 0 10px; font-size: 32px; font-weight: 800; letter-spacing: -0.01em; }
.section-sub { max-width: 640px; margin: 0 auto; color: var(--muted); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; text-align: left; }
.how-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.how-num { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-dark); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.how-step h3 { margin: 0 0 8px; font-size: 18px; }
.how-step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.how-banner { margin-top: 26px; }
.how-banner img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-sm); }

/* ---------- 示範影片 showcase ---------- */
.showcase-section { padding-top: 46px; scroll-margin-top: 84px; }
.showcase { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 34px; max-width: 880px; margin: 26px auto 0; padding: 28px 30px; text-align: left; background: linear-gradient(135deg, #FFF4E8 0%, #FFFDFA 55%, #F1F7FF 100%); border: 1px solid #F6D9BC; border-radius: 24px; box-shadow: var(--shadow-sm); }
.showcase-copy h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.01em; }
.showcase-points { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.showcase-points li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-soft); font-weight: 600; }
.showcase-points li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 999px; background: var(--ok); color: #fff; font-size: 11px; font-weight: 900; display: grid; place-items: center; }
.showcase-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.showcase-media { display: flex; justify-content: center; }

/* 9:16 短片框（電話比例），點擊才載入 YouTube，載入快又吸睛 */
.short-frame { position: relative; width: clamp(230px, 62vw, 288px); aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #292018; box-shadow: 0 18px 40px rgba(41,32,24,.24), 0 0 0 8px #fff, 0 0 0 9px #F1E4D7; }
.short-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.short-play { position: absolute; inset: 0; display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.short-play img { width: 100%; height: 100%; object-fit: cover; }
.short-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%); }
.short-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 62px; height: 62px; border-radius: 999px; background: rgba(242,116,11,.95); box-shadow: 0 10px 26px rgba(242,116,11,.45); z-index: 2; display: grid; place-items: center; transition: transform .15s, background .15s; }
.short-play-btn::after { content: ""; width: 0; height: 0; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.short-play:hover .short-play-btn { transform: translate(-50%, -50%) scale(1.08); background: var(--primary-dark); }
.short-play-label { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; text-align: center; text-shadow: 0 2px 8px rgba(0,0,0,.5); }

@media (max-width: 720px) {
  .showcase { grid-template-columns: 1fr; gap: 22px; padding: 24px 20px; text-align: center; }
  .showcase-points { text-align: left; }
  .short-frame { width: min(66vw, 260px); }
}

/* ---------- plans / billing panels ---------- */
.pricing { max-width: 460px; margin: 28px auto 0; text-align: left; }
.pricing-panels { max-width: 660px; }

/* 月繳 / 年繳：兩個並列 Panel，靠顏色與版面一眼分辨 */
.plan-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
/* 兩個 Panel 統一顏色：未選 = 灰色；已選 = 橙色 Highlight */
.plan-opt {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 18px 18px 16px; border-radius: 18px; cursor: pointer;
  background: linear-gradient(180deg, #F8F6F3 0%, #FFFFFF 78%);
  border: 2px solid #E7DFD6; box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s, background .15s;
}
.plan-opt:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(41,32,24,.10); border-color: #D6CCBF; }
.plan-opt:focus-within { outline: 3px solid rgba(242,116,11,.35); outline-offset: 2px; }
.plan-opt-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.plan-opt .plan-opt-name { color: var(--muted); }
.plan-opt .plan-opt-price strong { color: var(--ink-soft); }

.plan-opt.selected {
  background: linear-gradient(180deg, #FFF3E6 0%, #FFFFFF 82%);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(242,116,11,.16), 0 12px 26px rgba(242,116,11,.18);
}
.plan-opt.selected .plan-opt-name { color: var(--primary-dark); }
.plan-opt.selected .plan-opt-price strong { color: var(--primary-dark); }
.plan-opt.selected .plan-opt-equiv { color: var(--primary-dark); }
.plan-opt.selected .plan-opt-mark { background: var(--primary); border-color: var(--primary); }
.plan-opt.selected .plan-opt-mark::after { opacity: 1; }

.plan-opt-badge { position: absolute; top: -11px; right: 14px; background: #F0FDF4; color: var(--ok); border: 1px solid #BBF7D0; border-radius: 999px; padding: 3px 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .01em; }
.plan-opt-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-opt-name { font-size: 14px; font-weight: 800; }
.plan-opt-mark { width: 20px; height: 20px; border-radius: 999px; border: 2px solid #D6CCBF; background: #fff; position: relative; flex: none; }
.plan-opt-mark::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #fff; opacity: 0; transition: opacity .12s; }
.plan-opt-list { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.plan-opt-list s { text-decoration: line-through; }
.plan-opt-price { display: flex; align-items: baseline; gap: 3px; margin-top: 2px; }
.plan-opt-price strong { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.plan-opt-per { font-size: 13px; font-weight: 700; color: var(--muted); }
.plan-opt-equiv { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.plan-opt-note { font-size: 12px; color: var(--muted); line-height: 1.5; }
.pricing-note--center { text-align: center; margin: 0 0 16px; }
.pricing-chosen { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }

@media (max-width: 520px) {
  .plan-options { grid-template-columns: 1fr; gap: 12px; }
  .plan-opt-price strong { font-size: 27px; }
}
.pricing-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px 24px; box-shadow: var(--shadow); }
.pricing-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.pricing-head h3 { margin: 0 0 4px; font-size: 24px; }
.plan-tagline { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.pricing-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 8px; }
.pricing-list { width: 100%; font-size: 15px; font-weight: 600; color: var(--muted); }
.pricing-list s { text-decoration: line-through; }
.pricing-promo-kicker { display: inline-block; background: #F0FDF4; color: var(--ok); border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 800; }
.pricing-figure { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.pricing-per { font-size: 16px; font-weight: 700; color: var(--muted); }
.pricing-equiv { width: 100%; font-size: 13.5px; color: var(--primary-dark); font-weight: 700; }
.pricing-limit { width: 100%; margin-top: 2px; font-size: 14.5px; font-weight: 700; color: var(--ink-soft); }
.pricing-note { margin: 0 0 16px; font-size: 13.5px; color: var(--ok); font-weight: 700; }
.plan-features { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.plan-features li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-soft); }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.plan-footnote { margin: 0 0 20px; font-size: 12.5px; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 30px; text-align: left; }
.plan { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.plan-main h3 { margin: 0 0 4px; font-size: 20px; }
.plan-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; border-top: 1px dashed var(--line); padding-top: 16px; }
.plan-price { font-size: 24px; font-weight: 800; color: var(--primary-dark); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; text-align: left; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.faq-item h4 { margin: 0 0 8px; font-size: 16px; }
.faq-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- cards & primitives ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin: 0 0 20px; }
.card h3 { margin: 0 0 14px; font-size: 18px; }
.card h4 { margin: 18px 0 6px; font-size: 15px; }
.lookup-form { display: flex; gap: 10px; justify-content: center; margin: 18px 0 0; }
.lookup-form input { flex: 1; max-width: 360px; }
.track { max-width: 860px; margin: 0 auto; }
.track-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.track-ref { font: 800 20px/1.3 var(--mono); margin: 2px 0; }
.track-status { display: grid; gap: 6px; justify-items: end; text-align: right; }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 12px 10px; border-bottom: 1px solid var(--line); }
td { padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
.table-card { padding: 6px 18px; overflow-x: auto; }
.small-table td, .small-table th { padding: 7px 10px; font-size: 13px; }
.kv td { border: none; padding: 8px 0; }
.kv td:first-child { color: var(--muted); width: 38%; }
.small-kv td { padding: 6px 0; font-size: 13px; }

.status-pill { display: inline-block; background: var(--muted); color: #fff; border-radius: 8px; padding: 4px 11px; font-size: 12.5px; font-weight: 700; }
.status-pill.big { font-size: 14px; padding: 6px 14px; }
.badge { display: inline-block; background: var(--primary-soft); color: var(--primary-dark); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 700; }
.badge-gray { background: #F3EDE6; color: var(--muted); }
.progress { height: 10px; background: #F0E7DD; border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--indigo)); border-radius: 999px; }
.progress.mini { display: inline-block; vertical-align: middle; width: 70px; height: 6px; margin: 0 6px 0 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.timeline li:last-child { border-bottom: none; }
.t-time { flex: none; width: 130px; color: var(--muted); font-size: 12.5px; }
.t-msg { font-size: 14px; }
.small-timeline li { padding: 6px 0; }
.notice { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 12px; padding: 12px 16px; margin: 14px 0; font-size: 14.5px; }
.notice.ok { border-left-color: var(--ok); border-color: #BBF7D0; background: #F0FDF4; }
.notice.warn { border-left-color: var(--warn); border-color: #FDE68A; background: #FFFBEB; }
.notice.info { border-left-color: #229ED9; border-color: #BEE3FA; background: #EAF6FF; }
.error-box { background: #FEF2F2; border: 1px solid #FECACA; color: var(--bad); border-radius: 10px; padding: 10px 14px; font-size: 14px; }

/* ---------- forms ---------- */
.field { margin: 0 0 14px; text-align: left; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
input, select, textarea { width: 100%; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(242,116,11,.16); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--primary); }
.hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.req { color: var(--bad); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; text-align: left; }
.check { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14.5px; cursor: pointer; }
.check.inline { display: inline-flex; background: none; border: none; padding: 0; }

/* ---------- wizard ---------- */
.wizard { max-width: 880px; margin: 26px auto 0; }
.wizard-progress { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.wstep { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.wstep span { width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: var(--ink-soft); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.wstep.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.wstep.active span { background: rgba(255,255,255,.28); color: #fff; }
.wpanel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.wpanel h2 { margin: 0 0 18px; font-size: 22px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.plan-radio { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.plan-radio.selected { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 3px rgba(242,116,11,.13); }
.pr-main { flex: 1; }
.pr-main h3 { margin: 0 0 2px; font-size: 17px; }
.pr-price { font-weight: 800; color: var(--primary-dark); }
.summary { background: var(--bg); border: 1px dashed var(--line); border-radius: 12px; padding: 16px 18px; margin: 18px 0; text-align: left; }
.srow { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14.5px; }
.secure { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.gift-card { background: linear-gradient(180deg, #F0FDF4, #fff); border: 1px solid #BBF7D0; border-radius: 16px; padding: 22px 22px 18px; text-align: left; }
.gift-badge { display: inline-block; background: var(--ok); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.gift-card h3 { margin: 12px 0 8px; font-size: 20px; }
.gift-card p { margin: 0 0 14px; color: var(--ink-soft); }
.gift-check { background: #fff; border-color: #86EFAC; font-weight: 700; }
.agree-check { margin-top: 8px; font-weight: 700; }
.terms-scroll { max-height: 420px; overflow: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; text-align: left; font-size: 14.5px; }
.terms-scroll h3 { margin: 16px 0 6px; font-size: 15.5px; }
.terms-scroll h3:first-child { margin-top: 0; }
.terms-scroll p, .terms-scroll ul { margin: 0 0 10px; color: var(--ink-soft); }
.terms-scroll ul { padding-left: 20px; }
.terms-confirm-title { margin: 22px 0 8px; font-size: 18px; }
.terms-agree { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; text-align: left; font-size: 14.5px; margin: 0 0 12px; }
.terms-agree ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.terms-agree li { margin: 0 0 8px; }
.terms-agree li:last-child { margin-bottom: 0; }
.terms-meta { font-size: 13px; color: var(--muted); }
.terms-page h1 { margin: 0 0 16px; font-size: 26px; }
.terms-page h2 { margin: 28px 0 10px; font-size: 20px; }
.terms-body { text-align: left; }
.terms-body h3 { margin: 20px 0 6px; font-size: 16px; }
.terms-record { font-size: 13.5px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.toggle-row:last-child { border-bottom: none; }
.toggle-row form { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: #292018; color: #D8CDC2; margin-top: 60px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px 0 8px; }
.footer-brand { color: #fff; font-size: 18px; font-weight: 800; }
.site-footer a { color: #FB923C; }
.footer-meta { text-align: right; }
.fine-print { margin: 14px 0 0; padding: 14px 0 26px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; color: #A89B8C; }

/* ---------- admin ---------- */
body.admin { background: var(--bg); }
.admin-topbar { background: #292018; }
.admin-topbar .container { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.admin-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; text-decoration: none; }
.admin-brand img { width: 30px; height: 30px; border-radius: 8px; }
.admin-nav { display: flex; align-items: center; gap: 14px; }
.admin-nav a { color: #D8CDC2; font-size: 14px; font-weight: 600; text-decoration: none; }
.admin-nav a:hover { color: #fff; }
.admin-user { font-size: 12.5px; color: #A89B8C; }
.admin-main { padding: 30px 0 70px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 6px 0 22px; }
.admin-head h1 { margin: 0; font-size: 26px; }
.inline-form { display: inline-flex; align-items: center; gap: 8px; }
.head-status { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.stat-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { display: block; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--line); border-radius: 12px; padding: 16px 18px; text-decoration: none; box-shadow: var(--shadow-sm); }
.stat:hover { border-color: var(--primary); }
.stat-n { font-size: 24px; font-weight: 800; }
.stat-l { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.stat-warn { border-top-color: var(--warn); }
.stat-info { border-top-color: var(--primary); }
.stat-purple { border-top-color: #7C3AED; }
.stat-ok { border-top-color: var(--ok); }
.stat-due { border-top-color: #ea580c; }
.days-left { font-weight: 700; }
.days-left.warn { color: #c2410c; }
.days-left.danger { color: #b91c1c; }
.admin-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.admin-col-main, .admin-col-side { display: grid; gap: 20px; }
.stack { display: grid; gap: 12px; }
.stack textarea, .stack select { width: 100%; }
.stack label { display: grid; gap: 4px; }
.branding-form textarea, .branding-form input[type="text"], .branding-path { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.branding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.branding-slot { display: grid; gap: 8px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; background: var(--bg); }
.branding-preview { max-height: 88px; width: auto; max-width: 100%; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
.branding-preview.stamp { max-height: 110px; }
.branding-empty { font-size: 13px; color: var(--muted); padding: 18px 8px; text-align: center; background: #fff; border-radius: 8px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row select { width: auto; min-width: 160px; }
.checklist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.chk { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 10px; }
.chk-form { display: flex; justify-content: space-between; gap: 14px; padding: 12px 14px; }
.chk-body { min-width: 0; }
.chk-cat { display: inline-block; background: var(--primary-soft); color: var(--primary-dark); border-radius: 6px; padding: 2px 8px; margin-bottom: 6px; font-size: 11px; font-weight: 700; }
.chk-body strong { display: block; font-size: 14.5px; }
.chk-detail { margin: 8px 0 0; padding: 10px 12px; max-height: 220px; overflow: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; font: 12px/1.6 var(--mono); white-space: pre-wrap; word-break: break-word; }
.chk-actions { display: flex; gap: 6px; align-items: flex-start; flex: none; }
.chk-done { border-left-color: var(--ok); background: #F0FDF4; }
.chk-skipped { border-left-color: var(--line); opacity: .7; }
.chk-pending { border-left-color: var(--primary); }
.accounts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.accounts li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.code-block { margin: 10px 0; padding: 12px 14px; overflow-x: auto; background: #292018; color: #EFE7DE; border-radius: 10px; font: 12px/1.6 var(--mono); white-space: pre-wrap; word-break: break-word; }
.note-box { margin-top: 12px; padding: 10px 14px; background: var(--bg); border: 1px dashed var(--line); border-radius: 10px; font-size: 14px; }
.login-body { min-height: 100vh; display: grid; place-items: center; background: var(--bg); }
.login-card { width: min(400px, 92vw); padding: 32px; text-align: center; }
.login-logo { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 12px; }
.login-card h1 { font-size: 22px; }
.login-card form { display: grid; gap: 14px; margin-top: 18px; text-align: left; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { height: auto; flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .hero { padding: 40px 20px; }
  .hero h1 { font-size: 33px; }
  .how, .plans, .faq-grid, .grid2, .checks, .radio-row { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .branding-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .head-status { align-items: flex-start; }
  .footer-grid { flex-direction: column; }
  .footer-meta { text-align: left; }
  .track-head { flex-direction: column; }
  .track-status { text-align: left; justify-items: start; }
  .t-time { width: 96px; }
}

/* ---------- 信任元素 / 樣本 / 試用 ---------- */
.trust-row { list-style: none; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; padding: 0; }
.trust-row li { background: #F0FDF4; border: 1px solid #BBF7D0; color: var(--ok); border-radius: 999px; padding: 5px 13px; font-size: 12.5px; font-weight: 700; }
.trust-row li::before { content: "✓ "; }
.hero-sample { margin: 14px 0 0; font-size: 14px; font-weight: 700; }
.hero-sample a { text-decoration: underline; text-underline-offset: 3px; }

.trial-cta { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.trial-qr { width: 84px; height: 84px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.trial-qr img, .trial-qr canvas { width: 100%; height: 100%; display: block; }

.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; padding: 11px 16px 11px 13px; border-radius: 999px; font-weight: 800; font-size: 14px; text-decoration: none; box-shadow: 0 10px 24px rgba(37,211,102,.35); }
.wa-fab:hover { filter: brightness(.95); color: #fff; }
@media (max-width: 520px) { .wa-fab span { display: none; } .wa-fab { padding: 13px; } }
.guarantee { margin: 10px 0 0; font-size: 13.5px; font-weight: 700; color: var(--ok); background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 10px; padding: 9px 12px; }
/* ---------- 首頁免費試用 Banner（搶眼） ---------- */
.trial-banner-wrap { max-width: 1120px; margin: 18px auto 0; padding: 0 24px; }
.trial-banner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 26px; border-radius: 18px; text-decoration: none; overflow: hidden; background: linear-gradient(100deg, #0B7DC0 0%, #229ED9 45%, #2EC4F2 100%); box-shadow: 0 14px 34px rgba(34,158,217,.34); transition: transform .15s, box-shadow .15s; }
.trial-banner:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(34,158,217,.42); }
.trial-banner-glow { position: absolute; top: -60%; right: -8%; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,255,255,.4), rgba(255,255,255,0) 68%); animation: trialpulse 3.2s ease-in-out infinite; }
@keyframes trialpulse { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.18); opacity: 1; } }
.trial-banner-left { display: flex; flex-direction: column; gap: 3px; z-index: 1; }
.trial-banner-tag { align-self: flex-start; background: rgba(255,255,255,.22); color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 2px 10px; font-size: 11.5px; font-weight: 800; margin-bottom: 4px; }
.trial-banner-left strong { color: #fff; font-size: 25px; font-weight: 800; letter-spacing: -0.01em; }
.trial-banner-desc { color: rgba(255,255,255,.92); font-size: 14px; }
.trial-banner-btn { z-index: 1; flex: none; background: #fff; color: #0B7DC0; padding: 14px 26px; border-radius: 12px; font-weight: 800; font-size: 16px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.15); transition: transform .12s; }
.trial-banner:hover .trial-banner-btn { transform: scale(1.04); }
@media (max-width: 720px) {
  .trial-banner { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .trial-banner-btn { width: 100%; text-align: center; }
  .trial-banner-left strong { font-size: 22px; }
}

/* 示範區內的試用 pill */
.trial-cta { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.trial-pill { display: inline-flex; align-items: center; background: #EAF6FF; color: #0B7DC0; border: 2px solid #BEE3FA; border-radius: 999px; padding: 10px 20px; font-weight: 800; font-size: 15px; text-decoration: none; transition: background .15s, transform .12s; }
.trial-pill:hover { background: #D6ECFB; transform: translateY(-1px); color: #0B7DC0; }
.trial-cta-note { font-size: 13px; color: var(--muted); font-weight: 600; }.trial-upgrade { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 14px 16px; background: #FAFAF8; border: 1px solid var(--line); border-radius: 14px; }
.trial-upgrade div { display: flex; flex-direction: column; gap: 2px; }
.trial-upgrade strong { font-size: 14.5px; }
.trial-upgrade span { font-size: 12.5px; color: var(--muted); }
.trial-upgrade .btn { flex: none; }
.modal-upgrade { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: #4f46e5; text-decoration: none; }
.modal-upgrade:hover { text-decoration: underline; }
@media (max-width: 520px) { .trial-upgrade { flex-direction: column; align-items: stretch; text-align: center; } }

/* ---------- 付款完成頁按鈕：Stripe 紫 #635BFF ---------- */
.btn-stripe { background: #635BFF; border-color: #635BFF; color: #fff; box-shadow: 0 10px 24px rgba(99,91,255,.35); }
.btn-stripe:hover { background: #5148e6; border-color: #5148e6; color: #fff; }
.btn-stripe:active { background: #473fd1; border-color: #473fd1; }

/* ---------- 固定「Try me！」浮動按鈕（AI 花圖案 ↔ 文字 潮變互換） ---------- */
.try-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 80;
  height: 54px; min-width: 138px; padding: 0 6px;
  border-radius: 999px; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(120deg, #635BFF 0%, #8B7BFF 45%, #22D3EE 100%);
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 12px 28px rgba(99,91,255,.5);
  transition: transform .16s ease, box-shadow .16s ease;
}
.try-fab:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 34px rgba(99,91,255,.6); color: #fff; }
.try-fab::before {
  content: ""; position: absolute; inset: -60%; z-index: -1;
  background: conic-gradient(from 0deg, #635BFF, #22D3EE, #f472b6, #8B7BFF, #635BFF);
  filter: blur(10px); opacity: .65;
  animation: tryspin 4.5s linear infinite;
}
@keyframes tryspin { to { transform: rotate(360deg); } }
.try-part {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 0 18px; pointer-events: none;
  opacity: 0; transform: translateY(12px) scale(.6) rotate(-10deg);
  transition: opacity .42s ease, transform .5s cubic-bezier(.2,1.4,.4,1);
  white-space: nowrap;
}
.try-part.on { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
.try-part svg { width: 26px; height: 31px; display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.22)); }
.try-ico svg { animation: tryico 3.2s ease-in-out infinite; }
@keyframes tryico { 0%,100% { transform: rotate(0) scale(1); } 50% { transform: rotate(18deg) scale(1.12); } }
@media (max-width: 520px) {
  .try-fab { height: 50px; min-width: 124px; font-size: 14px; left: 12px; bottom: 12px; }
  .try-part svg { width: 22px; height: 26px; }
}
