/* Insightfor 到達頁。沿用產品本身的色彩與字體設定，版面自成一份、不依賴後台樣式。 */
:root {
  /* 取自標誌：霧藍為主、暖橘點綴 */
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1b3248;
  --muted: #5d6b78;
  --line: #e2e5e6;
  --brand: #2a6592;
  --brand-deep: #17486d;
  --brand-tint: #e6f1f8;
  --accent: #c2552a;
  --accent-soft: #e9783f;
  --accent-tint: #fbeee6;
  --ok: #2f6b4f;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--brand);
  background: var(--brand); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn.large { padding: 13px 28px; font-size: 17px; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink); font-weight: 500; }
.btn.ghost:hover { color: var(--brand-deep); background: transparent; }
.btn.line { background: var(--surface); border-color: var(--line); color: var(--ink); font-weight: 500; }
.btn.line:hover { border-color: var(--brand); background: var(--surface); }
.btn.invert { background: #fff; border-color: #fff; color: var(--brand-deep); }
.btn.invert:hover { background: var(--brand-tint); border-color: var(--brand-tint); }
.btn.outline { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; font-weight: 500; }
.btn.outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- 導覽 ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(251, 250, 247, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; }
.logo img, .footer img { display: block; height: auto; }
.nav-links { display: flex; gap: 24px; margin-left: 12px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }

/* ---------- 主視覺 ---------- */
.hero { padding: 72px 0 88px; background: radial-gradient(60% 70% at 88% 10%, rgba(94, 172, 215, 0.20), transparent 70%), radial-gradient(40% 50% at 100% 90%, rgba(233, 120, 63, 0.12), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.3vw, 48px); line-height: 1.25; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 14px; }
.nowrap { white-space: nowrap; }
h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.18; letter-spacing: -0.01em; }
.lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 24px 60px rgba(34, 54, 74, 0.12); font-size: 14px; line-height: 1.6; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mock-title { font-weight: 700; font-size: 16px; }
.mock-tag { font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 2px 10px; }
.mock-summary { font-size: 15px; margin-bottom: 16px; }
.mock-fit { display: flex; gap: 18px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--bg); margin-bottom: 14px; }
.mock-score { font-size: 44px; font-weight: 800; line-height: 1; color: var(--ok); font-variant-numeric: tabular-nums; }
.mock-score small { font-size: 15px; font-weight: 400; color: var(--muted); }
.mock-fit-body { flex: 1; }
.mock-fit-label { font-weight: 600; color: var(--ok); }
.mock-track { height: 8px; background: var(--line); border-radius: 6px; overflow: hidden; margin: 6px 0; }
.mock-track i { display: block; height: 100%; background: var(--ok); border-radius: 6px; }
.mock-fit-note { font-size: 12px; color: var(--muted); }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.mock-box.key { border-color: var(--brand); background: var(--brand-tint); }
.mock-box h3 { font-size: 13px; margin-bottom: 4px; }
.mock-box ul { padding-left: 16px; list-style: disc; font-size: 13px; }

/* 後台的實際截圖：框起來，底下一行說明 */
.shot { margin: 0; }
.shot { max-width: 608px; justify-self: center; width: 100%; }
.shot img { display: block; width: 100%; height: auto; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); box-shadow: 0 24px 60px rgba(34, 54, 74, 0.12); }
.shot figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- 區塊 ---------- */
.section { padding: 88px 0; }
.section.tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.28; letter-spacing: -0.005em; }
.section-lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 40em; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.step-tag { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--brand-deep); background: var(--brand-tint); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
.panel h3 { font-size: 24px; }
.panel-lead { margin-top: 10px; color: var(--muted); }
.checks { margin-top: 20px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; font-size: 16px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-tint); border: 4px solid var(--brand); }
.checks strong { display: block; color: var(--ink); }
.outcome { margin-top: auto; padding-top: 22px; }
.outcome::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 18px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature.wide { grid-column: span 3; display: grid; grid-template-columns: 220px 1fr; column-gap: 24px; align-items: start; }
.feature.wide .feature-kicker { grid-column: 1; }
.feature.wide h3 { grid-column: 1; }
.feature.wide p { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; font-size: 17px; }
/* 附畫面的寬卡：右側放一張手機畫面 */
.feature.wide.pic { grid-template-columns: 220px 1fr 230px; align-items: center; }
.feature.wide.pic .feature-kicker { align-self: end; }
.feature.wide.pic h3 { align-self: start; }
.feature.wide.pic img { grid-column: 3; grid-row: 1 / span 2; display: block; width: 100%; height: 250px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 34px rgba(34, 54, 74, 0.10); }
.feature.span2 { grid-column: span 2; }
.feature-kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 6px; }
.feature h3 { font-size: 20px; line-height: 1.4; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 16px; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 44px; counter-reset: none; }
.flow li { position: relative; padding: 0 20px 0 0; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 48px; right: 8px; height: 2px; background: var(--line); }
.flow-n { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; }
.flow h3 { margin-top: 16px; font-size: 19px; }
.flow p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 44px; }
.trio article { border-top: 3px solid var(--brand); padding-top: 18px; }
.trio h3 { font-size: 20px; }
.trio p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.cta { background: radial-gradient(50% 90% at 92% 100%, rgba(233, 120, 63, 0.55), transparent 70%), linear-gradient(120deg, var(--brand-deep), var(--brand)); color: #fff; padding: 80px 0; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta p { margin-top: 14px; font-size: 18px; color: rgba(255, 255, 255, 0.82); }
.cta .hero-actions { justify-content: center; }
.cta .btn:focus-visible { outline-color: #fff; }

/* ---------- 故事與斷點 ---------- */
.story { max-width: 780px; }
.story > p:not(.eyebrow) { margin-top: 20px; font-size: 18px; color: var(--muted); }
.story-lines { margin-top: 20px; display: grid; gap: 10px; justify-items: start; }
.story-lines li { padding: 9px 16px; border-radius: 16px 16px 16px 4px; background: var(--brand-tint); color: var(--ink); font-size: 16px; }
.story > .story-point { margin-top: 36px; padding-left: 22px; border-left: 4px solid var(--accent-soft); font-size: clamp(21px, 2.4vw, 26px); font-weight: 700; line-height: 1.5; color: var(--ink); }

.gaps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.gap { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.gap { overflow: hidden; }
.gap-shot { display: block; width: calc(100% + 52px); max-width: none; height: auto; margin: -26px -26px 22px; border-bottom: 1px solid var(--line); }
.shots-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.gap h3 { font-size: 20px; line-height: 1.45; }
.gap p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.gap .gap-value { margin-top: auto; padding-top: 18px; color: var(--accent); font-weight: 600; }
.sub-head { margin-top: 72px; font-size: 24px; }
.sub-head + .duo { margin-top: 24px; }

/* ---------- Insightfor AI ---------- */
.says { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.say { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.say-q { display: inline-block; padding: 8px 14px; border-radius: 16px 16px 4px 16px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.5; }
.say-a { margin-top: 14px; color: var(--muted); font-size: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 72px; }
.split.top { margin-top: 0; align-items: start; }
.split h3 { font-size: 26px; line-height: 1.35; }
.split-lead { margin-top: 12px; color: var(--muted); font-size: 18px; }

.footer { padding: 28px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }

/* ---------- 窄螢幕 ---------- */
@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .duo { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature.wide { grid-column: span 2; display: block; }
  .feature.span2 { grid-column: auto; }
  .feature.last { grid-column: span 2; }
  .feature.wide p { margin-top: 10px; font-size: 16px; }
  .feature.wide.pic img { width: 100%; max-width: 280px; height: 260px; margin: 0 auto 20px; }
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .flow li { padding: 0 0 0 58px; min-height: 40px; }
  .flow li:not(:last-child)::after { top: 44px; bottom: -20px; left: 19px; right: auto; width: 2px; height: auto; }
  .flow-n { position: absolute; left: 0; top: 0; }
  .flow h3 { margin-top: 4px; }
  .trio { grid-template-columns: 1fr; gap: 28px; }
  .says { grid-template-columns: 1fr 1fr; }
  .gaps { grid-template-columns: 1fr; }
  .sub-head { margin-top: 56px; }
  .split { grid-template-columns: 1fr; gap: 36px; margin-top: 56px; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav-inner { gap: 8px; }
  .nav-actions .btn { padding: 8px 14px; }
  .features { grid-template-columns: 1fr; }
  .says { grid-template-columns: 1fr; }
  .feature.wide, .feature.last { grid-column: auto; }
  .mock { padding: 18px; }
  .mock-grid { grid-template-columns: 1fr; }
  .panel { padding: 24px; }
  .hero-actions .btn.large { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
