/* ============================================================
   升中選校雷達 着陆页样式
   设计令牌与公司限期易对齐，确保博思品牌一致性
   ============================================================ */

:root {
  --primary: #003d5c;
  --harbour: #0b5f78;
  --harbour-deep: #052f46;
  --harbour-mist: #dff4f8;
  --info: #006a8e;
  --info-soft: #eef8fb;
  --jade: #62d6a7;
  --jade-soft: #e8fbf3;
  --gold: #f6c84c;
  --gold-soft: #fff8de;
  --ops: #a65c25;
  --ops-soft: #fff3e8;
  --ink: #1a1a2e;
  --muted: #4a5568;
  --paper: #f5f8fb;
  --surface: #ffffff;
  --line: #e2e8f0;
  --shadow-card: 0 1px 3px rgba(5, 47, 70, .06), 0 4px 16px rgba(5, 47, 70, .05);

  --font-heading: -apple-system, "SF Pro Display", "Helvetica Neue", "PingFang HK", "Noto Sans HK", sans-serif;
  --font-body: -apple-system, "SF Pro Text", "Helvetica Neue", "PingFang HK", "Noto Sans HK", sans-serif;

  --sp-xs: 4px;  --sp-sm: 8px;  --sp-md: 12px;
  --sp-lg: 16px; --sp-xl: 24px; --sp-xxl: 32px;

  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--sp-lg); }
.container--narrow { max-width: 820px; }
.icon { width: 1.2em; height: 1.2em; vertical-align: -0.2em; }

/* Apple logo PNG（白底黑標） */
/* --dark：金色按鈕用，multiply 令白底融入背景，黑標保持深色 */
.apple-icon { display: block; }
.apple-icon--dark  { mix-blend-mode: multiply; }
/* --light：黑色按鈕用，invert 令白底變黑（與按鈕背景融合），黑標變白 */
.apple-icon--light { filter: invert(1); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-sm);
  font-family: var(--font-heading); font-weight: 800; font-size: 16px;
  line-height: 1; padding: 14px 24px;
  border-radius: var(--radius-lg); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .12s, box-shadow .12s, background .12s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--harbour-deep); box-shadow: 0 4px 14px rgba(246,200,76,.4); }
.btn--gold:hover { box-shadow: 0 6px 20px rgba(246,200,76,.55); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--harbour); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--primary); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.cta__sub { font-size: 13px; margin-top: var(--sp-sm); opacity: .7; }

/* ---------- Topbar ---------- */
.topbar { background: var(--harbour-deep); color: #cde7ef; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.topbar__link { color: var(--jade); text-decoration: none; font-weight: 700; }
.topbar__link:hover { text-decoration: underline; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.navbar__logo { display: flex; align-items: center; gap: var(--sp-sm); text-decoration: none; color: var(--ink); }
.navbar__icon-emoji { font-size: 22px; line-height: 1; }
.navbar__name { font-family: var(--font-heading); font-weight: 900; font-size: 18px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 480px at 90% -5%, rgba(98,214,167,.12), transparent 55%),
    var(--harbour-deep);
  color: #fff;
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: var(--sp-xxl); align-items: center; }
.hero__copy { max-width: 600px; }
.kicker { font-family: var(--font-heading); font-weight: 900; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--sp-md); }
.kicker--jade { color: var(--jade); }
.hero__title { font-family: var(--font-heading); font-weight: 900; font-size: 34px; line-height: 1.18; letter-spacing: -.01em; }
.hero__sub { color: #cde7ef; font-size: 16px; margin-top: var(--sp-lg); }
.hero__point { color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 20px; line-height: 1.4; margin-top: var(--sp-xl); }
.hero__cta { margin-top: var(--sp-xl); }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-lg); margin-top: var(--sp-xl); font-size: 14px; color: var(--jade); }
.hero__trust li::before { content: "✓ "; font-weight: 900; }
.hero__visual { display: flex; justify-content: center; align-items: flex-start; }
.hero__screenshot { width: 100%; max-width: 300px; border-radius: var(--radius-lg); box-shadow: 0 24px 64px rgba(0,0,0,.45); }

/* ---------- 通用 Section ---------- */
.section { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section__title { font-family: var(--font-heading); font-weight: 900; font-size: 28px; line-height: 1.3; letter-spacing: -.01em; }
.section__title--center { text-align: center; }
.section__lead { color: var(--muted); margin-top: var(--sp-md); font-size: 15px; line-height: 1.7; }
.section__after { text-align: center; margin-top: var(--sp-xl); padding-top: var(--sp-xl); border-top: 1px solid var(--line); }
.section__after p { color: var(--muted); margin-bottom: var(--sp-lg); }

/* ---------- 时间表 ---------- */
.tl-filter {
  display: flex; gap: var(--sp-sm);
  margin: var(--sp-xl) 0 var(--sp-lg);
  flex-wrap: wrap;
}
.tl-btn {
  padding: 8px 20px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  cursor: pointer; color: var(--muted);
  transition: all .12s;
}
.tl-btn:hover { border-color: var(--primary); color: var(--primary); }
.tl-btn--active { background: var(--harbour-deep); color: #fff; border-color: var(--harbour-deep); }

.tl-list { list-style: none; display: grid; gap: var(--sp-md); }
.tl-item { display: grid; grid-template-columns: 76px 1fr; gap: var(--sp-lg); align-items: start; }
.tl-item[hidden] { display: none; }

.tl-month {
  background: var(--harbour-deep); color: #fff;
  border-radius: var(--radius-md); padding: var(--sp-md) var(--sp-sm);
  text-align: center;
  font-family: var(--font-heading); font-weight: 900; font-size: 12px; line-height: 1.5;
}
.tl-month small { display: block; font-size: 11px; opacity: .65; font-weight: 500; margin-top: 2px; }

.tl-body {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: var(--sp-lg);
  box-shadow: var(--shadow-card);
}
.tl-body h3 { font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: var(--ink); margin: var(--sp-sm) 0 var(--sp-sm); }
.tl-body p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.tl-tag {
  display: inline-block; padding: 2px 9px;
  border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: .03em;
}
.tl-tag--dss { background: var(--gold-soft); color: var(--ops); }
.tl-tag--gov { background: var(--info-soft); color: var(--info); }
.tl-tag--all { background: var(--jade-soft); color: var(--harbour); }

/* ---------- 痛点共情 ---------- */
.empathy { list-style: none; margin-top: var(--sp-xl); display: grid; gap: var(--sp-md); }
.empathy li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--sp-lg); padding-left: 48px; font-size: 16px;
  position: relative;
}
.empathy li::before {
  content: ""; position: absolute; left: var(--sp-lg); top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%; background: var(--harbour-mist);
}
.empathy__close {
  margin-top: var(--sp-xl); font-family: var(--font-heading); font-weight: 800; font-size: 18px;
  color: var(--harbour-deep); text-align: center; line-height: 1.6;
}

/* ---------- 三步流程 ---------- */
.steps { list-style: none; display: grid; grid-template-columns: 1fr; gap: var(--sp-lg); margin-top: var(--sp-xxl); }
.step { background: var(--harbour-mist); border-radius: var(--radius-md); padding: var(--sp-xl); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); color: var(--primary);
  font-family: var(--font-heading); font-weight: 900; font-size: 18px;
  margin-bottom: var(--sp-md);
}
.step__title { font-family: var(--font-heading); font-weight: 800; font-size: 17px; }
.step__desc { color: var(--muted); font-size: 15px; margin-top: var(--sp-sm); }

/* ---------- App 功能列表 ---------- */
.features { list-style: none; display: grid; gap: var(--sp-md); margin-top: var(--sp-xl); }
.feature {
  display: flex; gap: var(--sp-lg); align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: var(--sp-lg);
}
.feature__icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.feature__title { font-family: var(--font-heading); font-weight: 800; font-size: 16px; color: var(--primary); }
.feature__desc { color: var(--muted); font-size: 14px; margin-top: var(--sp-xs); line-height: 1.6; }

@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 信任区 ---------- */
.trust { display: grid; grid-template-columns: 1fr; gap: var(--sp-lg); margin-top: var(--sp-xxl); }
.trust__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--sp-xl); }
.trust__icon { font-size: 28px; display: block; margin-bottom: var(--sp-md); }
.trust__title { font-family: var(--font-heading); font-weight: 800; font-size: 17px; color: var(--primary); }
.trust__desc { color: var(--muted); font-size: 15px; margin-top: var(--sp-sm); }

.trust__shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); margin-top: var(--sp-xxl); }
.trust__shot-img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }

/* ---------- FAQ ---------- */
.faq { margin-top: var(--sp-xxl); display: grid; gap: var(--sp-md); }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.faq__q {
  cursor: pointer; list-style: none;
  padding: var(--sp-lg) var(--sp-xl);
  font-family: var(--font-heading); font-weight: 800; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-md);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--info); flex-shrink: 0; }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a { padding: 0 var(--sp-xl) var(--sp-lg); background: var(--paper); }
.faq__a p { color: var(--muted); font-size: 14px; padding-top: var(--sp-md); }
.faq__src { font-size: 12px !important; color: var(--info) !important; font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: var(--harbour-deep); color: #fff; padding: 56px 0 40px; }
.footer__cta { text-align: center; }
.footer__tagline { font-family: var(--font-heading); font-weight: 900; font-size: 22px; margin-bottom: var(--sp-xl); }
.store-buttons { display: flex; flex-wrap: wrap; gap: var(--sp-md); justify-content: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.2);
  transition: background .12s;
}
.store-btn:hover { background: #1a1a1a; }
.store-btn__icon { width: 24px; height: 24px; fill: currentColor; }
.store-btn span { display: flex; flex-direction: column; font-family: var(--font-heading); font-weight: 800; font-size: 16px; line-height: 1.15; }
.store-btn span small { font-weight: 500; font-size: 11px; opacity: .8; }

.footer__info { text-align: center; margin-top: var(--sp-xxl); padding-top: var(--sp-xl); border-top: 1px solid rgba(255,255,255,.12); color: #9fc4d2; font-size: 13px; }
.footer__info p { margin-bottom: 4px; }
.footer__info a { color: #9fc4d2; text-decoration: none; }
.footer__info a:hover { color: #fff; text-decoration: underline; }
.footer__home { display: inline-block; margin-bottom: var(--sp-md); color: var(--jade) !important; font-family: var(--font-heading); font-weight: 800; font-size: 14px; }
.footer__legal { margin-top: var(--sp-md) !important; font-size: 12px; opacity: .8; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .hero { padding: 88px 0 96px; }
  .hero__inner { grid-template-columns: 1.1fr .9fr; }
  .hero__title { font-size: 40px; }
  .hero__screenshot { max-width: 340px; }
  .section { padding: 80px 0; }
  .section__title { font-size: 30px; }
  .tl-item { grid-template-columns: 88px 1fr; }
  .tl-month { font-size: 13px; }
}
