/* 價格頁、政策頁、聯絡頁、英文首頁共用樣式（2026-11） */

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 6px auto 4px;
  max-width: 720px;
  font-size: 0.85rem;
}
.site-footer-links a { color: #888; }
.site-footer-links a:hover { color: #444; text-decoration: underline; }

/* 內頁容器（不用 <section>，因為 layout 對 section 設了 min-height: 100vh） */
.site-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  color: #191714;
  font-family: "Helvetica Neue", "PingFang TC", "Noto Sans TC", Helvetica, Arial, sans-serif;
}
.site-page h1 { font-size: 2rem; font-weight: 700; margin: 0 0 10px; line-height: 1.25; }
.site-page h2 { font-size: 1.35rem; font-weight: 700; margin: 40px 0 8px; }
.site-page .site-lead { color: #5f5952; font-size: 1.05rem; line-height: 1.7; max-width: 720px; margin: 0 0 8px; }
.site-page .site-note { color: #736d65; font-size: 0.9rem; line-height: 1.6; margin: 14px 0 0; }
.site-page a { color: #8f4222; text-decoration: underline; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid #e3dbd2;
  border-radius: 16px;
  background: #fff;
}
.price-card--best { border: 2px solid #b85d32; }
.price-card--trial { background: #f6e7de; border-color: #e8c9b6; }
.price-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price-card__name { font-size: 1.05rem; font-weight: 700; margin: 0; }
.price-card__tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: #f6e7de;
  color: #8f4222;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.price-card--trial .price-card__tag { background: #fff; }
.price-card__price { font-size: 2rem; font-weight: 700; letter-spacing: -0.5px; line-height: 1.1; }
.price-card__per { color: #5f5952; font-size: 0.92rem; }

.site-checklist { margin: 12px 0 0; padding-left: 1.2em; color: #3d3833; line-height: 1.9; }

.site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #b85d32;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
}
.site-cta:hover { background: #8f4222; }
.site-cta--line { background: #06c755; }
.site-cta--line:hover { background: #05a647; }
.site-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* 政策頁 */
.legal-doc { max-width: 760px; margin: 0 auto; padding: 24px 20px 64px; color: #3d3833; line-height: 1.75; }
.legal-doc h1 { font-size: 1.8rem; font-weight: 700; color: #191714; margin: 0 0 6px; }
.legal-doc .legal-updated { color: #736d65; font-size: 0.9rem; margin: 0 0 24px; }
.legal-doc h2 { font-size: 1.15rem; font-weight: 700; color: #191714; margin: 30px 0 8px; }
.legal-doc p, .legal-doc li { font-size: 1rem; }
.legal-doc ul { padding-left: 1.3em; }
.legal-doc a { color: #8f4222; text-decoration: underline; }
.legal-doc .legal-box { background: #f6f1eb; border: 1px solid #e3dbd2; border-radius: 12px; padding: 16px 18px; margin: 16px 0; }

/* 英文首頁補充 */
.en-region-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; font-size: 0.92rem; }
.en-region { padding: 5px 14px; border-radius: 999px; border: 1px solid #e3dbd2; background: #fff; color: #736d65; }
.en-region--live { border-color: #b85d32; color: #191714; font-weight: 700; }
.en-alert-card {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e3dbd2;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(40, 32, 24, 0.08);
  overflow: hidden;
  text-align: left;
}
.en-alert-card__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #efe8e0; }
.en-alert-card__avatar { width: 34px; height: 34px; border-radius: 50%; background: #b85d32; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.en-alert-card__body { display: flex; gap: 16px; align-items: center; padding: 18px; }
.en-alert-card__img { width: 96px; height: 90px; border-radius: 12px; background: #f3eee8; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.en-alert-card__badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #e7f4ec; color: #1d6b3a; font-size: 0.75rem; font-weight: 700; margin-bottom: 6px; }
.en-alert-card__btn { display: block; margin: 0 18px 18px; padding: 12px; border-radius: 10px; background: #191714; color: #fff !important; text-align: center; font-weight: 700; text-decoration: none !important; }
.en-small { color: #736d65; font-size: 0.85rem; }

/* 語言切換按鈕：首頁導覽列 + 內頁右上角；手機版也保持顯示 */
.landing-nav a.landing-nav-lang,
.site-lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 44px;
  padding: 4px 12px;
  border: 1px solid #d8cec3;
  border-radius: 999px;
  background: #fff;
  color: #5f5952;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.landing-nav a.landing-nav-lang:hover,
.site-lang-toggle:hover { border-color: #b85d32; color: #8f4222; }
.site-lang-toggle { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 420px) {
  .landing-nav a.landing-nav-lang { display: inline-flex; }
  .site-lang-toggle { right: 12px; }
}

/* 英文網站帳號頁（/en/join、/en/login、/en/dashboard） */
.acct-wrap { max-width: 440px; margin: 24px auto 64px; padding: 0 20px; color: #191714;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.acct-card { background: #fff; border: 1px solid #e3dbd2; border-radius: 18px; padding: 32px 28px; box-shadow: 0 12px 34px rgba(143,66,34,.06); }
.acct-card h1 { font-size: 1.6rem; font-weight: 700; margin: 0 0 8px; }
.acct-card p { color: #5f5952; line-height: 1.6; margin: 0 0 14px; }
.acct-card label { display: block; font-weight: 700; font-size: .9rem; margin: 16px 0 6px; }
.acct-card input[type=email] { width: 100%; box-sizing: border-box; height: 48px; padding: 0 14px; border: 1.5px solid #d8cec3; border-radius: 10px; font-size: 1rem; }
.acct-card input[type=email]:focus { outline: none; border-color: #b85d32; }
.acct-btn { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 48px; margin-top: 18px; border: 0;
  border-radius: 999px; background: #b85d32; color: #fff !important; font-size: 1rem; font-weight: 700; cursor: pointer; text-decoration: none !important; }
.acct-btn:hover { background: #8f4222; }
.acct-error { background: #fdecec; color: #a32020; border-radius: 10px; padding: 10px 12px; font-size: .92rem; margin: 0 0 6px; }
.acct-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid #efe8e0; font-size: .92rem; color: #5f5952; }
.acct-foot a, .acct-card a.link { color: #8f4222; font-weight: 700; }
.dash { max-width: 880px; margin: 24px auto 64px; padding: 0 20px; color: #191714; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.dash h1 { font-size: 1.8rem; font-weight: 700; margin: 0 0 4px; }
.dash-box { background: #fff; border: 1px solid #e3dbd2; border-radius: 14px; padding: 20px 22px; margin-top: 16px; }
.dash-box h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 6px; }
.dash-box p { color: #5f5952; margin: 0 0 10px; line-height: 1.6; }
.dash-status { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.dash-status--on { background: #e7f4ec; color: #1d6b3a; }
.dash-status--off { background: #f3eee8; color: #736d65; }
.dash-paid { background: #e7f4ec; border: 1px solid #b9dcc6; color: #1d5a33; border-radius: 12px; padding: 14px 18px; margin-top: 16px; }
.plan-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.plan-btn { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid #d8cec3; border-radius: 12px;
  background: #fff; color: #191714 !important; text-decoration: none !important; }
.plan-btn:hover { border-color: #b85d32; }
.plan-btn--best { border: 2px solid #b85d32; }
.plan-btn--trial { background: #f6e7de; border-color: #e8c9b6; }
.plan-btn strong { font-size: 1.05rem; }
.plan-btn span { color: #5f5952; font-size: .88rem; }
.bag-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; }
.bag-card { border: 1px solid #e3dbd2; border-radius: 12px; padding: 14px; background: #fff; }
.bag-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 700; }
.bag-card__head img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.opt { min-height: 36px; padding: 4px 14px; margin: 0 6px 6px 0; border: 1px solid #d8cec3; border-radius: 999px; background: #fff; color: #5f5952; cursor: pointer; font-size: .9rem; }
.opt.active { background: #b85d32; border-color: #b85d32; color: #fff; }
.dash section, section.dash-box { min-height: 0; }   /* layout 對所有 section 設了 min-height:100vh */
