/* =================================================================
   LINKSOFT 2026 — LinkTradePro 煥新版落地頁
   独立文件，只在 /tc/linktradepro-launch.html 与 /en/… 加载。
   全部使用 .lp- 前缀，避免与 main.css 现有规则冲突。
   ================================================================= */

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  padding: 170px 0 110px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.lp-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 60% at 18% 12%, rgba(213, 48, 29, 0.40) 0%, transparent 62%),
    radial-gradient(ellipse 60% 55% at 88% 92%, rgba(213, 48, 29, 0.16) 0%, transparent 62%);
}
.lp-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}
.lp-hero-content {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 56px;
  align-items: center;
}
.lp-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(213, 48, 29, 0.15);
  border: 1px solid rgba(213, 48, 29, 0.40);
  color: #FF8A75; font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
}
.lp-hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red-500);
  animation: pulse 2s infinite;
}
.lp-hero-title {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 26px;
  /* 基础样式里 h1 是墨色；落地页 Hero 是黑底，必须显式改回白色。
     （main.css 的 .hero h1 只作用于首页首屏，不覆盖 .lp-hero） */
  color: var(--white);
}
.lp-hero-title .accent {
  background: linear-gradient(135deg, var(--red-500) 0%, #FF8A75 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-hero-lead {
  font-size: 22px; font-weight: 700; color: var(--white);
  margin-bottom: 10px; line-height: 1.5;
}
.lp-hero-sub {
  font-size: 17px; color: rgba(255, 255, 255, 0.72);
  margin-bottom: 40px; line-height: 1.7;
}
.lp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.lp-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.lp-pillar-t { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.lp-pillar-d { font-size: 13px; color: rgba(255, 255, 255, 0.55); line-height: 1.65; }

/* ---------- 手機樣機（扇形排布） ---------- */
.lp-fan { display: flex; align-items: center; justify-content: center; }
.lp-fan-item { transition: transform .45s var(--ease); }
.lp-fan-item-1 { width: 168px; margin-right: -38px; transform: translateY(30px) rotate(-7deg); opacity: 0.7; z-index: 1; }
.lp-fan-item-2 { width: 244px; z-index: 3; }
.lp-fan-item-3 { width: 168px; margin-left: -38px; transform: translateY(30px) rotate(7deg); opacity: 0.7; z-index: 2; }
.lp-shot {
  position: relative; width: 100%;
  border-radius: 32px; overflow: hidden;
  border: 8px solid #1A1A1A;
  background: #000;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.lp-shot img { display: block; width: 100%; height: auto; }
.lp-split-shot .lp-shot { max-width: 320px; margin: 0 auto; }

/* ---------- 通用区块 ---------- */
.lp-section { padding: 100px 0; }
.lp-head-center { text-align: center; margin-bottom: 56px; }
.lp-head-center .eyebrow { justify-content: center; }
.lp-head-center .section-title { margin-bottom: 18px; }
.lp-head-center .section-sub { margin-bottom: 0; }
.lp-h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.3;
  margin-bottom: 18px;
}
.lp-lead { font-size: 16.5px; color: var(--ink-500); line-height: 1.8; margin-bottom: 34px; }

/* ---------- 01 行業變局 ---------- */
.lp-press-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.lp-press-col {
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg); padding: 34px 32px;
}
.lp-press-label {
  display: inline-block; margin-bottom: 26px;
  padding: 7px 14px; border-radius: 6px;
  background: var(--red-50); color: var(--red-500);
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em;
}
.lp-press-items { display: grid; gap: 20px; }
.lp-press-item { padding-left: 20px; border-left: 3px solid var(--red-200); }
.lp-press-t { font-size: 17px; font-weight: 800; margin-bottom: 5px; }
.lp-press-d { font-size: 14px; color: var(--ink-500); line-height: 1.7; }

/* ---------- 02 產品總覽 ---------- */
.lp-journey { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 56px; }
.lp-journey-step {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--ink-200);
  font-size: 15px; font-weight: 700; color: var(--ink-700);
}
.lp-journey-n {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red-500); color: var(--white);
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.lp-ov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-ov-card {
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg); padding: 32px 28px;
}
.lp-ov-n { font-size: 34px; font-weight: 800; color: var(--red-200); line-height: 1; margin-bottom: 14px; }
.lp-ov-t { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.lp-ov-d { font-size: 14px; color: var(--ink-500); line-height: 1.7; }

/* ---------- 圖文分欄 ---------- */
.lp-split-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 68px; align-items: center; }
.lp-split-rev .lp-split-grid { direction: rtl; }
.lp-split-rev .lp-split-grid > * { direction: ltr; }

/* ---------- 數據 / 流程 ---------- */
.lp-stat-row { display: flex; gap: 56px; margin-bottom: 36px; }
.lp-stat-v {
  font-size: clamp(30px, 3.4vw, 44px); font-weight: 800;
  color: var(--red-500); letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px;
}
.lp-stat-l { font-size: 13px; color: var(--ink-400); letter-spacing: 0.05em; }
.lp-flow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.lp-flow-step {
  position: relative; padding: 9px 16px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--ink-200);
  font-size: 13.5px; font-weight: 600; color: var(--ink-700);
}
.lp-flow-step::after {
  content: ''; position: absolute; right: -8px; top: 50%;
  transform: translateY(-50%); width: 8px; height: 1px; background: var(--red-300);
}
.lp-flow-step:last-child::after { display: none; }
.lp-note { border-left: 3px solid var(--red-500); padding: 4px 0 4px 18px; }
.lp-note-t { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.lp-note-d { font-size: 14px; color: var(--ink-500); line-height: 1.7; }

/* ---------- 模塊清單 ---------- */
.lp-modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px; }
.lp-module { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-700); }
.lp-module-dot {
  flex-shrink: 0; width: 8px; height: 8px; border-radius: 2px;
  background: var(--red-500); transform: rotate(45deg);
}

/* ---------- 下單方式 ---------- */
.lp-ways { display: grid; gap: 14px; }
.lp-way {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius); padding: 18px 20px;
}
.lp-way-n {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 7px;
  background: var(--red-50); color: var(--red-500);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.lp-way-t { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.lp-way-d { font-size: 13.5px; color: var(--ink-500); line-height: 1.7; }

/* ---------- 卡片組 ---------- */
.lp-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lp-card {
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius); padding: 22px;
}
.lp-card-t { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.lp-card-d { font-size: 13.5px; color: var(--ink-500); line-height: 1.7; }

/* ---------- AI 能力 ---------- */
.lp-caps { display: grid; gap: 18px; }
.lp-cap { display: flex; gap: 14px; align-items: flex-start; }
.lp-cap-check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(213, 48, 29, 0.22); color: var(--red-400);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.lp-cap-t { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.lp-cap-d { font-size: 14px; color: rgba(255, 255, 255, 0.62); line-height: 1.7; }

/* ---------- 技術底座 ---------- */
.lp-tech-hero {
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap; justify-content: center;
  padding: 40px 44px; margin-bottom: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.lp-tech-count { display: flex; align-items: baseline; gap: 14px; }
.lp-tech-n {
  font-size: 76px; font-weight: 800; color: var(--red-500);
  letter-spacing: -0.04em; line-height: 1;
}
.lp-tech-l { font-size: 16px; font-weight: 700; color: rgba(255, 255, 255, 0.8); }
.lp-tech-promises { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-promise {
  padding: 9px 16px; border-radius: 100px;
  background: rgba(213, 48, 29, 0.16); border: 1px solid rgba(213, 48, 29, 0.42);
  font-size: 13.5px; font-weight: 700; color: var(--white);
}
.lp-tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-tech-card {
  padding: 26px 24px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
}
.lp-tech-t { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.lp-tech-d { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); line-height: 1.75; }

/* ---------- 商業價值 ---------- */
.lp-value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.lp-value-card {
  padding: 28px 24px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--ink-200);
}
.lp-value-t { font-size: 19px; font-weight: 800; color: var(--red-500); margin-bottom: 8px; }
.lp-value-d { font-size: 14px; color: var(--ink-500); line-height: 1.75; }
.lp-map { border: 1px solid var(--ink-200); border-radius: var(--radius-lg); overflow: hidden; }
.lp-map-row { display: grid; grid-template-columns: 1fr 1fr; }
.lp-map-row > div { padding: 18px 26px; font-size: 15px; border-bottom: 1px solid var(--ink-200); }
.lp-map-row:last-child > div { border-bottom: 0; }
.lp-map-head { background: var(--ink-900); }
.lp-map-head > div {
  color: var(--white); font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 0;
}
.lp-map-pain { color: var(--ink-500); background: var(--white); }
.lp-map-fix { color: var(--ink-900); font-weight: 700; background: var(--red-50); }

/* ---------- 合作模式 ---------- */
.lp-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 40px; }
.lp-step {
  padding: 26px 20px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--ink-200);
}
.lp-step-n {
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 14px;
  background: var(--red-500); color: var(--white);
  font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.lp-step-t { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.lp-step-d { font-size: 13px; color: var(--ink-500); line-height: 1.6; }
.lp-traits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-trait {
  padding: 26px 24px; border-radius: var(--radius-lg);
  /* 底色必須保持不透明：hover 若把不透明黑底換成半透明紅，白字就會落到
     頁面淺色底上而完全看不見（用戶已確認此問題）。
     hover 的紅染改用 background-image 漸疊加層，background-color 不動。 */
  background-color: var(--black); color: var(--white);
  background-image: linear-gradient(135deg, rgba(213, 48, 29, 0) 0%, rgba(213, 48, 29, 0) 100%);
}
.lp-trait-t { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.lp-trait-d { font-size: 13.5px; color: rgba(255, 255, 255, 0.62); line-height: 1.75; }

/* ---------- 結尾 CTA ---------- */
.lp-final {
  position: relative; padding: 110px 0; overflow: hidden;
  background: var(--black); color: var(--white); text-align: center;
}
.lp-final-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(213, 48, 29, 0.34) 0%, transparent 65%);
}
.lp-final-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.lp-final h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 18px; color: var(--white); }
.lp-final p { font-size: 17px; color: rgba(255, 255, 255, 0.72); line-height: 1.8; margin-bottom: 38px; }
.lp-final-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 深色區塊覆蓋 ---------- */
.bg-dark .lp-lead { color: rgba(255, 255, 255, 0.7); }
.bg-dark .lp-note-t { color: var(--white); }
.bg-dark .lp-note-d { color: rgba(255, 255, 255, 0.6); }
.bg-dark .lp-stat-l { color: rgba(255, 255, 255, 0.5); }
.bg-dark .lp-split-shot .lp-shot { border-color: #2A2A2A; }

/* ---------- 英文排版檔（拉丁字形比中文窄，字號降一檔） ---------- */
html[lang="en"] .lp-hero-lead { font-size: 20px; }
html[lang="en"] .lp-hero-sub { font-size: 16px; }
html[lang="en"] .lp-h2 { font-size: clamp(24px, 2.9vw, 36px); }
html[lang="en"] .lp-lead { font-size: 15.5px; }
html[lang="en"] .lp-press-t { font-size: 15.5px; }
html[lang="en"] .lp-tech-t { font-size: 14.5px; }
html[lang="en"] .lp-step-t { font-size: 15px; }
html[lang="en"] .lp-way-t { font-size: 14.5px; }
html[lang="en"] .lp-card-t { font-size: 14.5px; }
html[lang="en"] .lp-cap-t { font-size: 15px; }
html[lang="en"] .lp-traits .lp-trait-t { font-size: 16px; }
html[lang="en"] .lp-value-t { font-size: 17px; }
html[lang="en"] .lp-map-row > div { font-size: 14px; }
html[lang="en"] .lp-journey-step { font-size: 14px; }
html[lang="en"] .lp-module { font-size: 14px; }
/* 英文章節名比中文長 2~3 倍，12 項在 1280px 下排不下（末項被切一半）。
   拉丁字形本來就窄，單獨降一檔字號 + 收緊水平內距即可讓 12 項完整一屏。 */
html[lang="en"] .lp-chapter { font-size: 12.5px; padding: 15px 10px; }
html[lang="en"] .lp-chapter::after { left: 10px; right: 10px; }

/* ---------- 響應式 ---------- */
@media (max-width: 1024px) {
  .lp-hero { padding: 140px 0 80px; }
  .lp-hero-content { grid-template-columns: 1fr; gap: 48px; }
  .lp-pillars { grid-template-columns: 1fr; gap: 16px; }
  .lp-split-grid { grid-template-columns: 1fr; gap: 44px; }
  .lp-split-rev .lp-split-grid { direction: ltr; }
  .lp-press-grid, .lp-ov-grid, .lp-tech-grid, .lp-traits, .lp-steps { grid-template-columns: 1fr; }
  .lp-value-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-modules { grid-template-columns: 1fr; }
  .lp-split-shot .lp-shot { max-width: 290px; }
}
@media (max-width: 640px) {
  .lp-section { padding: 68px 0; }
  .lp-cards { grid-template-columns: 1fr; }
  .lp-value-grid { grid-template-columns: 1fr; }
  .lp-map-head { display: none; }
  .lp-map-row { grid-template-columns: 1fr; }
  .lp-map-row > div { border-bottom: 1px solid var(--ink-200); }
  .lp-map-row:last-child > div { border-bottom: 0; }
  .lp-stat-row { gap: 32px; }
  .lp-tech-hero { padding: 28px 24px; gap: 24px; }
  .lp-tech-n { font-size: 56px; }
  .lp-fan-item-1, .lp-fan-item-3 { display: none; }
  .lp-fan-item-2 { width: 240px; }
}

/* =================================================================
   互動體驗層：進度條 / 章節導覽 / 滾動進場 / 選中與懸停反饋
   ================================================================= */

/* ---------- 閱讀進度條 ---------- */
.lp-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 120;
  pointer-events: none;
  background: rgba(10, 10, 10, 0.06);
}
.lp-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--red-500), #FF8A75);
  box-shadow: 0 0 12px rgba(213, 48, 29, 0.65);
  transition: width .12s linear;
}

/* ---------- 章節導覽（粘性 + 滾動選中） ---------- */
.lp-chapters {
  /* 吸頂偏移必須等於頂欄「實測」高度：頂欄是 fixed，內距會隨滾動狀態收合
     （.nav 16px → .nav.scrolled 10px），各斷點高度也不同。
     寫死 top:58px 會讓頂欄蓋住導航條上方 15px 的內距 —— 文字緊貼頂欄底邊、
     上下留白嚴重不對稱。--lp-header-h 由 launch.js 實測寫入；
     這裡的數值只是 JS 失效時的兜底。 */
  position: sticky; top: var(--lp-header-h, 74px); z-index: 45;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-200);
}
.lp-chapters-inner {
  position: relative;
  display: flex; align-items: stretch;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.lp-chapters-inner::-webkit-scrollbar { display: none; }

/* 原生錨點跳轉（首屏「查看 11 項技術升級 ↓」→ #lp-tech）會把目標頂部送到
   視口頂端，標題隨即被「頂欄 + 章節條」這層吸頂 UI 蓋住。
   scroll-padding-top 把原生跳轉的落點整體下移一個吸頂層的高度。 */
html { scroll-padding-top: calc(var(--lp-header-h, 74px) + var(--lp-chapters-h, 52px)); }

/* 導航條正下方的那一屏：上內距收緊，避免「導航條 + 一大片空白」把內容壓得很遠 */
.lp-chapters + .lp-section { padding-top: 56px; }
.lp-chapter {
  position: relative; flex-shrink: 0;
  padding: 15px 14px;
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-500);
  white-space: nowrap;
  transition: color .22s var(--ease);
}
.lp-chapter::after {
  content: '';
  position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px; background: var(--red-500);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .32s var(--ease);
}
.lp-chapter:hover { color: var(--ink-900); }
.lp-chapter.active { color: var(--red-500); font-weight: 700; }
.lp-chapter.active::after { transform: scaleX(1); }
.lp-chapter-no {
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  color: var(--red-300); margin-right: 6px;
  transition: color .22s var(--ease);
}
.lp-chapter:hover .lp-chapter-no { color: var(--red-400); }
.lp-chapter.active .lp-chapter-no { color: var(--red-500); }

/* ---------- 滾動進場動效 ---------- */
/* .lp-reveal 由 JS 動態添加 —— JS 失效時頁面不會有內容缺失 */
.lp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .72s var(--ease-out), transform .72s var(--ease-out);
}
.lp-reveal.lp-in { opacity: 1; transform: none; }

/* 章節標題下的紅線：進入視野時劃出 */
.lp-h2::after {
  content: '';
  display: block; width: 54px; height: 3px; border-radius: 2px;
  background: var(--red-500); margin-top: 18px;
  transform: scaleX(1); transform-origin: left center;
}
.lp-motion .lp-h2::after {
  transform: scaleX(0);
  transition: transform .7s var(--ease-out);
}
.lp-motion .lp-h2.lp-in::after { transform: scaleX(1); }

/* ---------- 首屏入場 ---------- */
.lp-motion .lp-hero-eyebrow { animation: lpIn .8s var(--ease-out) both; }
.lp-motion .lp-hero-title   { animation: lpIn .8s var(--ease-out) .08s both; }
.lp-motion .lp-hero-lead    { animation: lpIn .8s var(--ease-out) .16s both; }
.lp-motion .lp-hero-sub     { animation: lpIn .8s var(--ease-out) .22s both; }
.lp-motion .lp-hero-actions { animation: lpIn .8s var(--ease-out) .28s both; }
.lp-motion .lp-pillars      { animation: lpIn .8s var(--ease-out) .36s both; }
.lp-motion .lp-fan-item-1   { animation: lpFanLeft  .95s var(--ease-out) .12s both; }
.lp-motion .lp-fan-item-2   { animation: lpFanMain  .95s var(--ease-out) .04s both; }
.lp-motion .lp-fan-item-3   { animation: lpFanRight .95s var(--ease-out) .18s both; }
@keyframes lpIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes lpFanMain {
  from { opacity: 0; transform: translateY(54px) scale(.94); }
  to   { opacity: 1; transform: none; }
}
@keyframes lpFanLeft {
  from { opacity: 0; transform: translateY(64px) rotate(-7deg); }
  to   { opacity: .7; transform: translateY(30px) rotate(-7deg); }
}
@keyframes lpFanRight {
  from { opacity: 0; transform: translateY(64px) rotate(7deg); }
  to   { opacity: .7; transform: translateY(30px) rotate(7deg); }
}

/* ---------- 懸停 / 選中反饋 ---------- */
/* 首屏第二個 CTA 指向頁內錨點，加個下箭頭提示 */
.lp-hero-jump::after { content: '↓'; font-size: 15px; opacity: .85; }

.lp-press-item {
  transition: border-color .28s var(--ease), transform .28s var(--ease), background .28s var(--ease);
  padding-top: 2px; padding-bottom: 2px;
}
.lp-press-item:hover {
  border-left-color: var(--red-500);
  transform: translateX(4px);
}

.lp-journey-step {
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.lp-journey-step:hover {
  background: var(--red-500); color: var(--white); border-color: var(--red-500);
  transform: translateY(-3px);
}
/* 序號圓點在紅底上會變成「紅底紅字」而消失，hover 時反轉為白底紅字 */
.lp-journey-step:hover .lp-journey-n { background: var(--white); color: var(--red-500); }

.lp-ov-card {
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.lp-ov-card:hover {
  transform: translateY(-5px);
  border-color: var(--red-200);
  box-shadow: var(--shadow-lg);
}

.lp-module { transition: transform .25s var(--ease), color .25s var(--ease); }
.lp-module:hover { transform: translateX(6px); color: var(--ink-900); }
.lp-module-dot { transition: transform .25s var(--ease), background .25s var(--ease); }
.lp-module:hover .lp-module-dot { background: var(--red-600); transform: rotate(45deg) scale(1.35); }

.lp-way {
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.lp-way:hover {
  transform: translateX(5px);
  border-color: var(--red-300);
  box-shadow: var(--shadow-sm);
}
.lp-way-n { transition: background .28s var(--ease), color .28s var(--ease); }
.lp-way:hover .lp-way-n { background: var(--red-500); color: var(--white); }

.lp-card {
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.lp-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-200);
  box-shadow: var(--shadow);
}

.lp-cap { transition: transform .28s var(--ease); }
.lp-cap:hover { transform: translateX(5px); }
.lp-cap-check { transition: background .28s var(--ease), color .28s var(--ease); }
.lp-cap:hover .lp-cap-check { background: var(--red-500); color: var(--white); }

.lp-flow-step {
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.lp-flow-step:hover {
  background: var(--red-50); border-color: var(--red-300); color: var(--red-600);
}

.lp-tech-card {
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.lp-tech-card:hover {
  transform: translateY(-5px);
  background: rgba(213, 48, 29, .12);
  border-color: rgba(213, 48, 29, .45);
}

.lp-value-card {
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.lp-value-card:hover {
  transform: translateY(-5px);
  border-color: var(--red-200);
  box-shadow: var(--shadow-lg);
}

.lp-map-row { transition: background .25s var(--ease); }
.lp-map-row:not(.lp-map-head):hover { background: var(--ink-50); }
.lp-map-row:not(.lp-map-head):hover .lp-map-fix { background: var(--red-100); }
.lp-map-fix { transition: background .25s var(--ease); }

.lp-step {
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.lp-step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red-500);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .38s var(--ease);
}
.lp-step:hover {
  transform: translateY(-5px);
  border-color: var(--red-200);
  box-shadow: var(--shadow-lg);
}
.lp-step:hover::before { transform: scaleX(1); }

.lp-trait {
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-image .3s var(--ease);
  border: 1px solid rgba(255, 255, 255, .1);
}
.lp-trait:hover {
  transform: translateY(-5px);
  border-color: rgba(213, 48, 29, .5);
  background-color: var(--black);
  background-image: linear-gradient(135deg, rgba(213, 48, 29, .32) 0%, rgba(213, 48, 29, .10) 100%);
}

.lp-final-inner { transition: transform .4s var(--ease); }

/* ---------- 章節條：響應式 ---------- */
@media (max-width: 1024px) {
  .lp-chapters { top: var(--lp-header-h, 72px); }
  .lp-chapter { padding: 13px 11px; font-size: 12.5px; }
  .lp-chapter::after { left: 11px; right: 11px; }
  html[lang="en"] .lp-chapter { padding: 13px 9px; font-size: 12px; }
  html[lang="en"] .lp-chapter::after { left: 9px; right: 9px; }
}
@media (max-width: 640px) {
  .lp-chapters { top: var(--lp-header-h, 72px); }
  .lp-chapter { padding: 11px 10px; font-size: 12px; }
  .lp-chapter::after { left: 10px; right: 10px; }
  .lp-chapter-no { margin-right: 4px; }
  html[lang="en"] .lp-chapter { padding: 11px 8px; font-size: 11.5px; }
  html[lang="en"] .lp-chapter::after { left: 8px; right: 8px; }
}
