/* landing.css — 對外分流首頁。陌生人第一次看到的那一頁：先知道這是什麼，再選自己要走哪條路。 */

.lp-hero {
  position: relative; overflow: hidden;
  margin: 18px 0 0; padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 52px);
  border-radius: var(--radius-l); background: #1e1b4b; color: #fff;
}
.lp-hero::after {
  content: ''; position: absolute; inset: auto -120px -220px auto; width: 460px; height: 460px;
  border-radius: 50%; background: radial-gradient(circle, rgb(134 168 255 / 45%), transparent 68%);
}
.lp-hero > * { position: relative; z-index: 1; }
.lp-hero .eyebrow { color: #fbbf24; }
.lp-hero h1 { font-size: var(--text-hero); line-height: 1.12; letter-spacing: -.02em; margin: 10px 0 16px; max-width: 16ch; }
.lp-hero h1 em { font-style: normal; color: #b0c6ff; }
.lp-hero p { max-width: 54ch; color: #dbe0ff; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); margin: 0; }
.lp-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.lp-badges span { font-size: .88rem; font-weight: 700; color: #eef0ff; } /* 只是重點，不是按鈕：不用膠囊底色 */
.lp-badges span::before { content: "✓ "; color: #fbbf24; }

.lp-paths { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.lp-path {
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit;
  padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius-l); background: var(--card);
  border: 1.5px solid var(--line); box-shadow: var(--shadow); transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.lp-path:hover, .lp-path:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--brand); }
.lp-path .lp-icon { font-size: 2.6rem; line-height: 1; }
.lp-path h2 { margin: 0; font-size: clamp(1.35rem, 1.1rem + .7vw, 1.75rem); letter-spacing: -.01em; }
.lp-path .lp-who { font-weight: 700; color: var(--brand-ink); font-size: .95rem; }
.lp-path ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 5px; }
.lp-path .lp-go { margin-top: auto; font-weight: 800; color: var(--brand); }
.lp-path--security { background: linear-gradient(180deg, var(--card), var(--warn-soft)); }
.lp-path--security .lp-who, .lp-path--security .lp-go { color: #8c5208; }
.lp-path--security:hover { border-color: var(--warn); }

.lp-back {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 22px; padding: 18px 22px; border-radius: var(--radius-m);
  background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line));
}
.lp-back b { display: block; }
.lp-back p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }

.lp-proof { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.lp-proof div { padding: 20px; border-radius: var(--radius-m); background: var(--card); border: 1px solid var(--line); }
.lp-proof b { display: block; font-size: 2rem; letter-spacing: -.02em; color: var(--brand); }
.lp-proof span { color: var(--muted); font-size: .92rem; }

/* 講師登入後才出現：把「今天要做什麼」的入口放在最前面 */
.lp-teacher .section-num { background: var(--teacher-soft); color: var(--teacher); }
.lp-tools { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.lp-tool {
  display: grid; gap: 4px; padding: 20px 22px; text-decoration: none; color: inherit;
  border-radius: var(--radius-m); background: var(--card); border: 1.5px solid var(--teacher-soft);
  box-shadow: var(--shadow); transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.lp-tool:hover, .lp-tool:focus-visible { transform: translateY(-2px); border-color: var(--teacher); box-shadow: var(--shadow-lift); }
.lp-tool .lp-icon { font-size: 1.9rem; line-height: 1; }
.lp-tool b { font-size: 1.15rem; letter-spacing: -.01em; }
.lp-tool span:last-child { color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* 公益講座入口：和付費的兩條路分開，一眼看得出「這個免費、誰都可以看」 */
.lp-free {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center;
  margin-top: 18px; padding: 22px 24px; border-radius: var(--radius-l); text-decoration: none; color: inherit;
  background: linear-gradient(120deg, var(--ok-soft), var(--card) 70%); border: 1.5px solid #b7e2cd;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.lp-free:hover, .lp-free:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: var(--ok); }
.lp-free-tag {
  position: absolute; top: -11px; left: 22px; background: var(--ok-fill); color: #fff;
  font-size: .75rem; font-weight: 800; letter-spacing: .06em; padding: 4px 12px; border-radius: 999px;
}
.lp-free-icon { font-size: 2.4rem; line-height: 1; }
.lp-free-text b { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.lp-free-text span { color: var(--muted); font-size: .94rem; line-height: 1.6; }
.lp-free-go { font-weight: 800; color: var(--ok); white-space: nowrap; }
/* ---------- 招牌作品：LINE AI 小秘書 ---------- */
.lb-feature { display: grid; gap: 28px; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: center; }
.lb-phone { display: grid; gap: 10px; padding: 18px 16px; border-radius: 24px; background: var(--paper-2); border: 1px solid var(--line); }
.lb-phone p { margin: 0; max-width: 85%; padding: 9px 13px; border-radius: 16px; font-size: .92rem; line-height: 1.55; }
.lb-me { justify-self: end; background: #03863b; color: #fff; border-bottom-right-radius: 4px; } /* LINE 綠加深，白字才看得清楚 */
.lb-bot { justify-self: start; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.lb-push { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.lb-points { display: grid; gap: 12px; padding-left: 1.2em; margin: 0 0 18px; }
@media (max-width: 760px) { .lb-feature { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .lp-free { grid-template-columns: auto minmax(0, 1fr); }
  .lp-free-go { grid-column: 1 / -1; }
}

/* 白板改版（2026-09）：兩條路與公益講座不用漸層底；數字用手寫 */
:root .lp-path--security { background: var(--warn-soft); }
:root .lp-free { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
:root .lp-proof b { font-family: var(--hand); font-weight: 700; }
:root .lp-path--security .lp-who, :root .lp-path--security .lp-go { color: var(--warn); }
:root .lp-free-icon .ico { width: 1em; height: 1em; color: var(--ok); }
