

/* =================================
   動態效果｜HENGS EVENT MOTION
================================= */

/* 滾動淡入 */
.motion-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 卡片依序浮現 */
.motion-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.motion-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 講師照片放大 */
.speaker-photo img {
  transition: transform 0.45s ease;
}

.speaker-card:hover .speaker-photo img {
  transform: scale(1.05);
}

/* 報名按鈕 */
.register-button {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.register-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 135, 200, 0.22);
}

/* 尊重使用者的減少動態偏好 */
@media (prefers-reduced-motion: reduce) {
  .motion-reveal,
  .motion-item,
  .speaker-photo img,
  .register-button {
    transition: none !important;
    transform: none !important;
  }
}

/* 聚恆科技 Landing Page 通用模板｜V5
   可在此調整品牌色、字體、區塊間距與版面樣式。 */
:root {
  --blue: #174b78;
  --blue-dark: #123653;
  --blue-mid: #2588bd;
  --pale: #edf7fb;
  --text: #26394b;
  --muted: #65798a;
  --line: #d7e7ef;
  --space-section: 88px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.85;
}
img { display: block; max-width: 100%; }

/* 主視覺 */
.hero { width: 100%; background: #d9f0f7; }
.hero img { width: 100%; height: auto; }

/* 活動資訊：三欄等高、標籤與主要資訊水平對齊 */
.event-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  align-items: stretch;
  gap: 0;
  max-width: 1240px;
  margin: 42px auto 0;
  padding: 30px 24px;
  border: 1px solid #dcecf4;
  border-radius: 18px;
  background: linear-gradient(120deg, #f5fbfe, #e8f5fb);
  box-shadow: 0 10px 28px rgba(23,75,120,.07);
}
.info-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  min-height: 128px;
  padding: 8px 28px;
  border-right: 1px solid #c9dce8;
}
.info-item:last-child { border-right: 0; }
.info-label {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
}
.info-item strong {
  display: block;
  min-height: 42px;
  color: var(--blue);
  font-size: clamp(21px, 2.1vw, 29px);
  line-height: 1.45;
  white-space: nowrap;
}
.info-item span:not(.info-label), .info-item small { color: var(--blue-dark); }
.info-item small { margin-top: 3px; font-size: 13px; line-height: 1.5; }
.info-item:last-child strong { font-size: clamp(19px, 1.8vw, 25px); white-space: normal; }
/* 共用直式區塊 */
.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: var(--space-section) 0;
}
.section-title { text-align: center; margin-bottom: 34px; }
.eyebrow {
  margin: 0 0 7px;
  color: var(--blue-mid);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}
h1, h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(29px, 3vw, 39px);
  line-height: 1.4;
}
.section-subtitle { margin: 9px 0 0; color: var(--muted); }

/* 論壇緣起 */
.origin-copy { max-width: 900px; margin: 0 auto; }
.origin-copy p { margin: 0 0 20px; font-size: 17px; }
.invitation {
  max-width: 1000px;
  margin: 42px auto 0;
  padding: 34px 42px;
  border-radius: 16px;
  background: linear-gradient(120deg, #f0f8fc, #e4f3fb);
}
.invitation-message { color: var(--blue); font-size: 19px; font-weight: 700; }
.invitation-message p { margin: 0 0 12px; }
.signature {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 24px;
  color: var(--blue-dark);
}
.signature strong { font-size: 18px; }

/* 論壇亮點 */
.highlights { width: 100%; max-width: none; padding-left: max(24px, calc((100% - 1120px)/2)); padding-right: max(24px, calc((100% - 1120px)/2)); background: #f4f9fc; }
.highlight-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.highlight-card {
  padding: 28px 22px;
  border: 1px solid #e0edf4;
  border-radius: 14px;
  background: white;
  text-align: center;
  box-shadow: 0 6px 18px rgba(23,75,120,.045);
}
.highlight-no { color: #55a8d2; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.highlight-card h3 { margin: 8px 0 0; color: var(--blue); font-size: 19px; }
.highlight-card p { margin: 0; color: var(--blue); }

/* 議程 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; background: white; font-size: 15px; }
th, td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { background: #e6f3f9; color: var(--blue); }
td:first-child { width: 160px; white-space: nowrap; color: var(--blue); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* 交通資訊：上下排列，地圖放在交通路線之後 */
.transportation { padding-top: 35px; }
.transport-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.transport-list article { padding: 22px 24px; border-radius: 12px; background: var(--pale); }
.transport-list h3 { margin: 0 0 7px; color: var(--blue); font-size: 17px; }
.transport-list p { margin: 0; font-size: 14px; }
.map-panel { margin-top: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #f5fafc; }
.map-placeholder { padding: 50px 24px; text-align: center; color: var(--muted); }
.map-placeholder strong { color: var(--blue); font-size: 19px; }
.map-placeholder p { margin: 7px 0 0; }
.map-panel iframe { display: block; width: 100%; min-height: 380px; border: 0; }
.parking-note { margin: 15px 0 0; color: var(--muted); }

/* 頁尾報名 */
.registration {
  padding: 78px 24px 86px;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, #258fc1, #174b78);
}
.registration .eyebrow { color: #cdefff; }
.registration h2 { color: white; font-size: clamp(26px, 3vw, 36px); }
.registration > p:not(.eyebrow) { margin: 12px 0 28px; color: #e5f5fc; }
.register-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 250px;
  padding: 16px 36px;
  border-radius: 999px;
  color: var(--blue);
  background: white;
  text-decoration: none;
  font-size: 23px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.register-button:hover { transform: translateY(-2px); }
.register-button span { font-size: 28px; }
.footer { padding: 28px 20px; text-align: center; color: white; background: #102f49; font-size: 13px; }
.footer p { margin: 4px 0 0; opacity: .82; }

@media (max-width: 800px) {
  :root { --space-section: 60px; }
  .event-info { grid-template-columns: 1fr; margin: 20px 16px 0; padding: 12px 20px; }
  .info-item { padding: 15px 8px; border-right: 0; border-bottom: 1px solid #c9dce8; }
  .info-item:last-child { border-bottom: 0; }
  .section { width: calc(100% - 36px); }
  .invitation { padding: 25px 22px; }
  .invitation-message { font-size: 17px; }
  .signature { flex-wrap: wrap; gap: 8px 14px; }
  .highlights { width: 100%; padding-left: 18px; padding-right: 18px; }
  .highlight-list, .transport-list { grid-template-columns: 1fr; }
  table { min-width: 760px; }
  .transportation { padding-top: 20px; }
  .registration { padding: 60px 20px 68px; }
}


/* V5.1 ICON 補回：使用內嵌 SVG，不需外部圖示網站 */
.ui-icon {
  display: inline-block;
  width: 21px;
  height: 21px;
  margin-right: 9px;
  vertical-align: -5px;
  fill: none;
  stroke: var(--blue-mid);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-label {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
}
.feature-icon {
  display: block;
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  fill: none;
  stroke: #1697c8;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.transport-list h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.transport-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--blue-mid);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.signature-image-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 46px;
}
.signature-image-slot img {
  display: block;
  max-width: 150px;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}


/* V5.2｜ICON 顯示修正：所有圖示使用內嵌 SVG，不依賴外部字型或圖示庫 */
.ui-icon,
.feature-icon,
.transport-icon {
  display: inline-block;
  flex-shrink: 0;
  overflow: visible;
  fill: none;
  stroke: #168fc2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ui-icon { width: 22px; height: 22px; stroke-width: 1.9; }
.feature-icon { width: 46px; height: 46px; stroke-width: 2.35; }
.transport-icon { width: 30px; height: 30px; stroke-width: 2; }
.transport-list h3 { display: flex; align-items: center; gap: 11px; }
.transport-list h3 .transport-icon { color: var(--blue-mid); }

@media (max-width: 800px) {
  .info-item { min-height: auto; }
  .info-item strong { min-height: 0; white-space: normal; }
  .info-item:last-child strong { font-size: 23px; }
}


/* V5.3 修正｜論壇亮點三張卡片的圖示、編號與文字統一置中 */
.highlight-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
.highlight-card .feature-icon {
  display: block;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
}
.highlight-card .highlight-no {
  display: block;
  width: 100%;
  margin: 0 auto 8px;
  text-align: center;
  line-height: 1.4;
}
.highlight-card h3,
.highlight-card p {
  width: 100%;
  text-align: center;
}

/* V5.3 修正｜總經理姓名可替換成親筆簽名圖片 */
.signature {
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.signature-company { white-space: nowrap; }
.signature-title {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.signature-title strong { white-space: nowrap; }
.signature-name-text { color: var(--blue-dark); font-weight: 700; }
.manager-signature {
  display: inline-block;
  width: auto;
  max-width: 220px;
  max-height: 90px;
  object-fit: contain;
  vertical-align: middle;
}
@media (max-width: 800px) {
  .signature { justify-content: flex-end; }
  .signature-title { gap: 7px; }
  .manager-signature { max-width: 135px; max-height: 52px; }
}


/* =========================================================
   V5.4 視覺美化版
   保留 V5 原本區塊順序、上下閱讀與內容，只增加視覺層次
   ========================================================= */

:root {
  --blue: #124f86;
  --blue-dark: #0e3d68;
  --blue-mid: #159bd0;
  --pale: #eef8fd;
  --line: #cfe6f2;
  --accent: #36b8df;
  --shadow-soft: 0 10px 26px rgba(24, 103, 151, .10);
}

/* 全頁增加淡藍科技氛圍，避免大面積純白過於單調 */
body {
  background:
    radial-gradient(ellipse at 8% 18%, rgba(90, 194, 229, .09), transparent 28%),
    radial-gradient(ellipse at 92% 43%, rgba(90, 194, 229, .08), transparent 30%),
    #fbfdff;
}

/* 主視覺下緣銜接淡藍光暈 */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #d9f3fb 0%, #f5fbfe 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -30px;
  height: 58px;
  border-radius: 50% 50% 0 0;
  background: rgba(255,255,255,.55);
  pointer-events: none;
}

/* 活動三大資訊：更清楚的卡片質感與圖示底座 */
.event-info {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding: 27px 22px;
  border: 1px solid rgba(185, 220, 239, .9);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px rgba(29, 111, 160, .12);
}
.info-item {
  position: relative;
  min-height: 132px;
  padding: 8px 26px;
}
.info-label {
  gap: 9px;
  margin-bottom: 12px;
  color: #66849b;
  font-weight: 700;
}
.ui-icon {
  width: 27px;
  height: 27px;
  padding: 4px;
  margin: 0;
  border-radius: 8px;
  background: #e5f5fc;
  stroke: #138fc3;
  stroke-width: 1.9;
}
.info-item strong {
  color: #124f86;
  letter-spacing: -.025em;
}
.info-item small { color: #617d92; }

/* 區塊標題：英文眉標、中文標題與斜切科技裝飾 */
.section-title {
  position: relative;
  margin-bottom: 38px;
}
.section-title .eyebrow {
  margin-bottom: 3px;
  color: #159bd0;
  font-size: 11px;
  letter-spacing: .2em;
}
.section-title h1,
.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}
.section-title h1::after,
.section-title h2::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 19px;
  margin-left: 15px;
  vertical-align: 3px;
  background: linear-gradient(115deg, transparent 0 17%, #7dd5ef 18% 43%, transparent 44% 54%, #25a9d8 55% 80%, transparent 81%);
}

/* 論壇緣起：文字行距與邀請卡片更有層次 */
.origin-copy {
  max-width: 930px;
}
.origin-copy p {
  color: #314b60;
  font-size: 17px;
  line-height: 2;
  margin-bottom: 21px;
}
.invitation {
  position: relative;
  max-width: 1000px;
  padding: 38px 46px 32px;
  border: 1px solid #d6edf8;
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 10%, rgba(89, 194, 230, .16) 0 45px, transparent 46px),
    linear-gradient(125deg, #f2faff 0%, #e7f5fc 100%);
  box-shadow: var(--shadow-soft);
}
.invitation::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 22px;
  color: #71c8e9;
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
  opacity: .8;
}
.invitation-message {
  position: relative;
  padding-left: 18px;
  color: #15558d;
  font-size: 19px;
  line-height: 1.9;
}
.signature {
  padding-top: 20px;
  border-top: 1px solid rgba(92, 164, 199, .24);
}
.signature-company,
.signature-title strong {
  color: #164d7c;
}
.signature-image-slot {
  min-width: 150px;
  min-height: 54px;
  padding: 4px 10px;
  border: 1px dashed #9bcde3;
  border-radius: 8px;
  background: rgba(255,255,255,.6);
}

/* 論壇亮點：卡片增加柔和漸層、底部弧形裝飾 */
.highlights {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(76, 184, 222, .10), transparent 55%),
    linear-gradient(180deg, #f2f9fd 0%, #f8fcfe 100%);
}
.highlight-list { gap: 22px; }
.highlight-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 27px 22px 25px;
  border: 1px solid #d8ebf5;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff 0%, #f7fcff 100%);
  box-shadow: 0 9px 22px rgba(27, 113, 160, .09);
  transition: transform .2s ease, box-shadow .2s ease;
}
.highlight-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -43px;
  width: 125px;
  height: 82px;
  border-radius: 60% 0 0 0;
  background: linear-gradient(135deg, rgba(96, 205, 237, .04), rgba(48, 177, 220, .24));
  transform: rotate(-8deg);
  pointer-events: none;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(27, 113, 160, .14);
}
.highlight-card .feature-icon {
  width: 49px;
  height: 49px;
  margin-bottom: 9px;
  padding: 5px;
  border-radius: 13px;
  background: #e8f7fc;
  stroke: #1299cc;
  stroke-width: 2;
}
.highlight-card .highlight-no {
  color: #37a9d7;
  font-size: 15px;
  font-weight: 800;
}
.highlight-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  font-size: 19px;
}
.highlight-card p {
  position: relative;
  z-index: 1;
  color: #55758e;
}

/* 議程：更清楚的表頭、斑馬紋與圓角外框 */
.agenda .section-title { margin-bottom: 28px; }
.table-wrap {
  border: 1px solid #c9e4f1;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
table {
  font-size: 14px;
  line-height: 1.65;
}
th {
  padding-top: 16px;
  padding-bottom: 16px;
  color: #fff;
  background: linear-gradient(90deg, #1596c9, #1769a4);
  font-size: 15px;
  letter-spacing: .04em;
}
td {
  padding-top: 13px;
  padding-bottom: 13px;
  border-color: #e0edf4;
}
tbody tr:nth-child(even) { background: #f3f9fc; }
tbody tr:hover { background: #e8f6fc; }
td:first-child { color: #15588b; }

/* 交通：圖示加上獨立圓角底座，飛機圖示保持明確 */
.transport-list { gap: 14px; }
.transport-list article {
  position: relative;
  min-height: 112px;
  padding: 20px 22px 20px 66px;
  border: 1px solid #dceef6;
  border-radius: 15px;
  background: linear-gradient(115deg, #fff, #f0f9fd);
  box-shadow: 0 6px 16px rgba(26, 111, 157, .06);
}
.transport-list h3 {
  position: relative;
  display: block;
  margin: 0 0 5px;
  color: #15558a;
  font-size: 16px;
}
.transport-list h3 .transport-icon {
  position: absolute;
  left: -48px;
  top: 0;
  width: 34px;
  height: 34px;
  padding: 5px;
  border-radius: 10px;
  background: #e3f5fc;
  stroke: #159bd0;
  stroke-width: 1.9;
}
.transport-list p {
  color: #506b80;
  font-size: 13px;
  line-height: 1.75;
}
.map-panel {
  border: 1px solid #d3e9f4;
  border-radius: 17px;
  box-shadow: var(--shadow-soft);
}
.map-placeholder {
  min-height: 270px;
  background:
    linear-gradient(135deg, rgba(224,244,251,.92), rgba(246,251,253,.96));
}
.map-placeholder strong { color: #15558a; }
.parking-note {
  padding: 13px 17px;
  border-radius: 10px;
  color: #46657d;
  background: #eef7fb;
}

/* 頁尾報名：加強主 CTA 的視覺層次 */
.registration {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 8% 100%, rgba(118, 221, 239, .25), transparent 30%),
    radial-gradient(ellipse at 92% 0%, rgba(118, 221, 239, .2), transparent 28%),
    linear-gradient(125deg, #1ba6d4 0%, #176ba7 52%, #124a7d 100%);
}
.registration::before,
.registration::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 120px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  pointer-events: none;
}
.registration::before { left: -110px; bottom: -70px; }
.registration::after { right: -110px; top: -70px; }
.registration h2 { letter-spacing: .02em; }
.register-button {
  min-width: 270px;
  border: 1px solid rgba(255,255,255,.75);
  background: linear-gradient(180deg, #fff, #e8f7fd);
  box-shadow: 0 10px 24px rgba(4, 48, 82, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.register-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 28px rgba(4, 48, 82, .26);
}

/* 小螢幕：保留卡片層次並避免資訊擁擠 */
@media (max-width: 800px) {
  .event-info {
    margin: 20px 16px 0;
    border-radius: 15px;
    padding: 10px 18px;
  }
  .info-item {
    min-height: auto;
    padding: 16px 8px;
  }
  .info-label { margin-bottom: 6px; }
  .info-item strong { min-height: 0; }
  .section-title { margin-bottom: 28px; }
  .origin-copy p { font-size: 16px; line-height: 1.9; }
  .invitation { padding: 31px 24px 25px; }
  .invitation::before { left: 12px; top: 4px; }
  .highlight-card { min-height: 165px; }
  .transport-list article { min-height: 0; }
  .map-placeholder { min-height: 220px; padding: 38px 20px; }
}

/* =================================
   07｜講師陣容 SPEAKERS
================================= */

.speakers {
  padding-top: 65px;
  padding-bottom: 65px;
}

.speakers .section-title {
  margin-bottom: 30px;
}

.speaker-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.speaker-card {
  min-width: 0;
  text-align: center;
}

.speaker-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  background: #edf5fa;
  margin-bottom: 13px;
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.speaker-card h3 {
  color: #15558a;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 7px;
}

.speaker-card p {
  color: #627c93;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

/* 第五張團體照：調整裁切焦點 */
.speaker-card:last-child img {
  object-position: 31% center;
}

/* 平板 */
@media (max-width: 960px) {
  .speaker-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* 手機 */
@media (max-width: 600px) {
  .speakers {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .speaker-list {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 12px;
  }

  .speaker-card {
    flex: 0 0 42%;
  }

  .speaker-card h3 {
    font-size: 14px;
  }

  .speaker-card p {
    font-size: 11px;
  }
}