/* ============================================================
   GOOGLE FONTS
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&family=Noto+Serif+TC:wght@600&display=swap');

/* ============================================================
   BASE RESET
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-deep:     #03000e;
  --blue:        #3b5bdb;
  --purple:      #7c3aed;
  --violet:      #8b5cf6;
  --pink:        #db2777;
  --cyan:        #06b6d4;
  --white-80:    rgba(255,255,255,.8);
  --white-60:    rgba(255,255,255,.6);
  --white-40:    rgba(255,255,255,.4);
  --white-20:    rgba(255,255,255,.2);
  --white-10:    rgba(255,255,255,.1);
  --white-08:    rgba(255,255,255,.08);
  --white-05:    rgba(255,255,255,.05);
  --card-border: rgba(255,255,255,.1);
  --r-lg: 20px;
  --r-md: 12px;
}

html { scroll-behavior: smooth; overflow-x: clip; }
/* 行動版／平板：錨點捲動預留固定 nav 高度 + 間距，標題不被 nav 蓋住 */
@media (max-width: 960px) {
  html { scroll-padding-top: 78px; }
}

body {
  background-color: var(--bg-deep);
  position: relative;
  color: #fff;
  font-family: 'Microsoft JhengHei', 'PingFang TC', 'Noto Sans TC', sans-serif;
  overflow-x: clip;   /* clip 而非 hidden：不讓 body 變成捲動容器，避免固定背景與內容寬度差出右側一條 */
  line-height: 1.6;
}
/* 主背景 bg3：用 position:fixed 圖層鋪滿視窗。
   （iOS Safari 對 background-attachment:fixed 會以「整頁高度」縮放 → 背景被放大走樣；
     改用 position:fixed 元素才會正確鎖在視窗、各裝置一致） */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url('../images/bg3-figma.jpg') center center / cover no-repeat;
  z-index: -3;                   /* 最底層：bg2(-2)、浮動球(-1)、內容之下 */
  pointer-events: none;
}
/* bg2 側光暈：疊在頁面上半部，底部漸隱融入 bg3（消除硬邊界） */
body::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 191vw;                 /* 對應 bg2 比例 3672/1920，滿版自然高度 */
  background: url('../images/bg2.png') top center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  z-index: -2;                   /* bg3 之上、浮動球(-1)與內容之下 */
  pointer-events: none;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul  { list-style: none; }

/* ============================================================
   TYPOGRAPHY HELPERS
============================================================ */
.gradient-text {
  background: linear-gradient(135deg, #fff 20%, #c4b5fd 60%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  text-align: center;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--violet);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-title {
  text-align: center;
  font-size: clamp(24px, 3.8vw, 36px);
  font-weight: 800;
  margin-bottom: 48px;
  line-height: 1.2;
}

/* ── 滾動進場動畫（捲到才淡入上浮） ── */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.in {
  opacity: 1;
  /* 用 animation + backwards：延遲期間維持隱藏，結束後不殘留 transform（不影響 hover 位移） */
  animation: revealUp 1.1s ease backwards;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; }
  .reveal.in { animation: none; }
}

/* ============================================================
   LOADING 動畫
============================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  /* 紫藍光暈深色底，呼應主視覺，不再是死黑 */
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(124,58,237,.28), transparent 72%),
    radial-gradient(ellipse 60% 50% at 50% 62%, rgba(59,91,219,.22), transparent 70%),
    #03000e;
  transition: opacity .8s ease, visibility .8s ease;
}
#loader.hide { opacity: 0; visibility: hidden; }

/* ── 流星環繞軌道 ── */
.loader-orbit {
  position: relative;
  width: 104px;
  height: 104px;
}
/* 拖尾：漸層環旋轉（透明 → 紫 → 金 → 白頭） */
.loader-orbit::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
      transparent 0%,
      transparent 52%,
      rgba(150,7,246,.45) 80%,
      #F0C47D 96%,
      #fff 100%);
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, #0000 calc(100% - 3px), #000 calc(100% - 3px));
  filter: drop-shadow(0 0 6px rgba(150,7,246,.5));
  animation: loaderSpin 1.4s linear infinite;
}
/* 彗星頭部亮點：跟拖尾同步旋轉，停在軌道頂點 */
.loader-comet {
  position: absolute;
  inset: 0;
  animation: loaderSpin 1.4s linear infinite;
}
.loader-comet::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px #FAF4DC, 0 0 18px 5px rgba(150,7,246,.75);
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }

/* 中央 % 數字：漸層（白→紫→藍），置於軌道中心 */
.loader-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;   /* 數字等寬，計數時不晃動 */
  background: linear-gradient(135deg, #fff 15%, #c4b5fd 55%, #93c5fd 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .loader-orbit::before,
  .loader-comet { animation-duration: 3s; }
}

/* ============================================================
   滾動浮動球（藍紫光暈，捲動時不時浮現）
============================================================ */
#orb-field {
  position: fixed;
  inset: 0;
  z-index: -1;              /* 內容之後、頁面背景之上 */
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);          /* 模糊（柔和色塊，但顏色更集中飽和） */
  opacity: 0;
  will-change: transform, opacity;
  animation: orbFloat var(--orb-dur, 9s) ease-in-out forwards;
}
@keyframes orbFloat {
  0%   { opacity: 0;                        transform: translate(0, 0) scale(.95); }
  14%  { opacity: var(--orb-opacity, .5); }
  86%  { opacity: var(--orb-opacity, .5); }
  100% { opacity: 0;                        transform: translate(var(--orb-dx, 240px), var(--orb-dy, -30px)) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  #orb-field { display: none; }
}

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(3,0,14,.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.nav-logo { font-size: 17px; font-weight: 700; letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 24px; margin-right: auto; }
.nav-links a { font-size: 14px; color: var(--white-60); transition: color .2s; }
.nav-links a:hover { color: #fff; }

.btn-nav {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 24px;
  font-weight: 700 !important;
  box-shadow: 0 0 20px rgba(124,58,237,.35);
  transition: box-shadow .3s, transform .3s !important;
}
.btn-nav:hover {
  box-shadow: 0 0 40px rgba(124,58,237,.65) !important;
  transform: translateY(-1px);
}

/* ── 倒數 + 價格 CTA（桌機 nav 右側 / 手機底部共用） ─────── */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.countdown {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.cd-label { font-size: 13px; color: rgba(255,255,255,.7); }
.cd-box {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}
.cd-box b {
  min-width: 28px;
  padding: 3px 5px;
  background: rgba(124,58,237,.30);
  border: 1px solid rgba(168,85,247,.55);
  border-radius: 5px;
  font-family: 'Open Sans', 'Noto Sans TC', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.cta-price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}
.price-orig {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  text-decoration: line-through;
}
.price-now {
  font-size: 13px;
  font-weight: 700;
  color: #9607F6;            /* 特價：粉紫色（桌機+手機共用） */
}
.price-now .pn-num {
  font-family: 'Open Sans', 'Noto Sans TC', sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 2px;
}
/* 手機底部 fixed CTA bar（桌機隱藏；窄畫面在 @media 內開啟） */
.mobile-cta { display: none; }
/* 手機 nav 立即購票鈕（桌機隱藏，≤960 顯示） */
.nav-buy-m { display: none; }

/* ── 窄畫面（≤1180px）：nav 放不下整組 CTA → 改用底部固定 bar ── */
@media (max-width: 1180px) {
  .nav-cta { display: none; }
  .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 9px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 290;
    padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
    background: rgba(7,2,20,.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(168,85,247,.5);
    box-shadow: 0 -8px 28px rgba(0,0,0,.45);
  }
  .mcta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
  }
  .mobile-cta .cta-price { text-align: center; }
  .mobile-cta .price-now .pn-num { font-size: 25px; letter-spacing: 2px;}
  .mobile-cta .btn-nav {
    padding: 7px 30px; white-space: nowrap; flex-shrink: 0;
    background: linear-gradient(135deg, var(--blue), #9607F6); /* 藍→粉紫漸層（如圖） */
    box-shadow: 0 0 22px rgba(150,7,246,.45);
  }
  .mobile-cta .countdown { justify-content: center; flex-wrap: wrap; }
  /* 底部 bar 不擋住內容（go-top 上移規則見基本 .go-top 之後，確保覆寫生效） */
  body { padding-bottom: 108px; }
}

/* 漢堡選單按鈕（手機才顯示） */
.nav-toggle {
  display: none;
  position: relative;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 320;
  padding: 0;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.nav-toggle-bar { top: 50%; transform: translateY(-50%); }
.nav-toggle-bar::before { top: -8px; }
.nav-toggle-bar::after  { top: 8px; }
/* 開啟時變 X */
.nav-toggle.open .nav-toggle-bar { background: transparent; }
.nav-toggle.open .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open .nav-toggle-bar::after  { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #03000e;   /* 底色；背景圖移到 ::before 做鼠標視差 */
}

/* 背景視差層：背景圖放大，隨鼠標位置微微平移（--hero-px/py 由 JS 設定） */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/bg.webp') center center / cover no-repeat;
  transform: translate3d(var(--hero-px, 0px), var(--hero-py, 0px), 0) scale(1.1);
  transition: transform .3s ease-out;
  z-index: 0;            /* 最底層：背景 */
  pointer-events: none;
  will-change: transform;
}

/* 彗星/星點背景 canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;            /* 背景圖之上、內容之下 */
  pointer-events: none;
}

/* ── Hero 進場動畫（由下往上淡入） ── */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* 按鈕：由下往上淡入，用 translate 屬性（與 hover 的 transform 互不干擾） */
@keyframes heroRiseBtn {
  from { opacity: 0; translate: 0 34px; }
  to   { opacity: 1; translate: 0 0; }
}
/* 人物淡入＋微微上移 */
@keyframes heroPersonUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Willy 專用：保留 translateX(-50%) 置中 */
@keyframes heroPersonUpC {
  from { opacity: 0; transform: translateX(-50%) translateY(26px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
/* 載入前先隱藏 hero 進場元素，等 loading 結束（body.loaded）才動畫進場 */
.hero-event-tag, .hero-title-frame, .hero-subtitle,
.hero-date-block, .hero-desc, .btn-gold,
.sc-dina, .sc-ignatius, .sc-willy, .sp-label {
  opacity: 0;
}
.hero-date-block{
  padding: 7px 0;
  border-top: solid 1px white;
  border-bottom: solid 1px white;
}

/* 左側文字逐一上浮淡入 */
.loaded .hero-event-tag   { animation: heroUp .8s ease .15s both; }
.loaded .hero-title-frame { animation: heroUp .9s ease .30s both; }
.loaded .hero-subtitle    { animation: heroUp .8s ease .48s both; }
.loaded .hero-date-block  { animation: heroUp .8s ease .66s both; }
.loaded .hero-desc        { animation: heroUp .8s ease .90s both; }
.loaded .btn-gold       { animation: heroRiseBtn 1s ease 1.05s both; }   /* 由下往上，hover 位移不受影響 */
/* 講者照片淡入＋上移 */
.loaded .sc-dina     { animation: heroPersonUp 1.1s ease .7s both; }
.loaded .sc-ignatius { animation: heroPersonUp 1.1s ease .9s both; }
.loaded .sc-willy    { animation: heroPersonUpC 1.1s ease 1.05s both; }   /* 保留置中 */
/* 講者標籤上浮淡入 */
.loaded .sp-label { animation: heroUp .7s ease both; }
.loaded .sp-label-dina     { animation-delay: 1.3s; }
.loaded .sp-label-ignatius { animation-delay: 1.45s; }
.loaded .sp-label-willy    { animation-delay: 1.6s; }

@media (prefers-reduced-motion: reduce) {
  .hero-event-tag, .hero-title-frame, .hero-subtitle,
  .hero-date-block, .hero-desc, .btn-gold,
  .sc-dina, .sc-ignatius, .sc-willy, .sp-label { opacity: 1; animation: none; }
}


/* 底部黑色漸層：對應 Figma Rectangle Y=881, H=205 (205/1080 ≈ 19%) */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;                 /* 滿版到視窗左右邊緣（不受 hero-inner max-width:1440 置中影響） */
  transform: translateX(-50%);  /* 置中對齊視窗；溢出由 .hero overflow:hidden + html/body overflow-x:clip 處理，不會露出右側一條 */
  height: 30vh;
  background: linear-gradient(to bottom, transparent 0%, #000 65%);
  z-index: 2;                   /* 講者照片(1)之上、文字(4)之下 */
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 62px clamp(24px, 5vw, 80px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 彈性比例，避免中等寬度擠破 */
  gap: 24px;
  align-items: flex-start;
  min-height: 100vh;
}

/* ── Left content ── */
.hero-left {
  position: relative;
  z-index: 4; 
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}

.hero-event-tag {
  font-size: 18px;
    letter-spacing: 2px;
    color: rgb(255 255 255);
    font-weight: 400;
}

.hero-title-frame {
  display: inline-block;
  padding: 14px 22px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Noto Serif TC', 'Microsoft JhengHei', serif;
  font-weight: 600;
  /* 流體字級：最小 48px、隨寬度 6vw 縮放、最大 85px */
  font-size: clamp(48px, 6vw, 85px);
  line-height: 1.15;
  letter-spacing: 0.1em;
  /* LINE gradient: #F0C47D → #FAF4DC → #F9C97D (金屬光澤) */
  background: linear-gradient(to bottom, #F0C47D 0%, #FAF4DC 50%, #F9C97D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;            /* 供光線 ::after 疊加定位 */
}

/* 標題光線閃過：白色斜向光帶掃過字面（金色底不變） */
.hero-title::after {
  content: "尋找新經典\A未來領導力";
  white-space: pre;
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(108deg,
      transparent 34%,
      rgba(255,255,255,.4) 44%,
      rgba(255,255,255,1) 50%,
      rgba(255,255,255,.4) 56%,
      transparent 66%);
  background-size: 240% 100%;
  background-position: -50% 0;   /* 平時光帶在畫面外（左側），不顯示 */
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  pointer-events: none;
}
/* 載入完成後才開始閃，並週期重複 */
.loaded .hero-title::after {
  animation: titleShine 4.5s cubic-bezier(.4, 0, .2, 1) 1.8s infinite;
}
@keyframes titleShine {
  0%   { background-position: -50% 0; }   /* 光帶在左外 */
  48%  { background-position: 150% 0; }   /* 由左往右掃過（約 2.2s，仍從容） */
  100% { background-position: 150% 0; }   /* 停在右外，短暫停留（約 2.3s）後再來 */
}
@media (prefers-reduced-motion: reduce) {
  .loaded .hero-title::after { animation: none; }
}

.hero-subtitle {
      font-family: 'Noto Serif TC', 'Microsoft JhengHei', serif;
    font-size: clamp(16px, 4vw, 25px);
    font-weight: 400;
    letter-spacing: 0;
    color: rgba(255, 255, 255);
    margin-top: 5px;
    text-align: justify;
    text-align-last: justify;
}

.hero-date-block {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 5px;
  color: #fff;
}
.hdb-date {
  font-family: '42dot Sans', 'Barlow Condensed', 'Open Sans', sans-serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
.hdb-sep {
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.hdb-info {
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.7;
  letter-spacing: 1px;
  text-align: left;
  color: rgba(255,255,255,0.9);
}

.hero-secondary {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.45;
  margin-top: 3vw;
}

.hero-desc {
  font-size: clamp(14px, 1.1vw, 16px);
  color: rgb(255, 255, 255);
  line-height: 1.95;
  margin-bottom: 36px;
  margin-top: 36px;
}

/* Gold CTA button */
.btn-gold {
  display: inline-block;
  background: linear-gradient(to bottom, #F0C47D 0%, #FAF4DC 50%, #F9C97D 100%);
  background-size: 100% 100%;
  color: #3a2000;
  padding: 10px 44px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  border: none;
  cursor: pointer;
  transition: all .35s;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(200,150,30,.35);
}
.btn-gold:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(200,150,30,.55);
}

/* ── Right: speaker composite ── */
.hero-right {
  position: relative;
  z-index: 1;  
  height: 100vh;
  min-height: 620px;
  /* overflow: hidden; */
}

.speakers-composite {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Willy: 後排正中（高度綁視窗寬度 vw，跟著縮放避免溢出） */
.sc-willy {
  position: absolute;
  top: 9vw;
  left: 15vw;
  transform: translateX(-50%);
  height: 31vw;
  object-fit: contain;
  object-position: bottom center;
  z-index: 1;
}

/* Dina: 前排左 */
.sc-dina {
  position: absolute;
  top: 20vw;
  left: -3.3vw;
  height: 27vw;
  object-fit: contain;
  object-position: bottom center;
  z-index: 2;
}

/* Ignatius: 前排右 */
.sc-ignatius {
  position: absolute;
  top: 19vw;
  left: 6vw;
  height: 30vw;
  object-fit: contain;
  object-position: bottom center;
  z-index: 3;
}

/* 人物底部漸隱遮罩：綁在圖片上，任何螢幕尺寸都自動蓋住裁切邊緣 */
.sc-willy, .sc-dina, .sc-ignatius {
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}

/* ── 平板／iPad 直向（769–1240px，含 iPad Air 820）：維持兩欄，但畫面較高，
      取消 hero 的 100vh 滿高（避免下半部一大片空白）；
      講者容器改成貼合人物（隨 vw 縮放）、縮小底部黑漸層 ── */
@media (min-width: 769px) and (max-width: 1240px) {
  .hero-left {padding-top: 20px;}
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; padding-bottom: 36px; }
  .hero-right { height: auto; min-height: 52vw; }
  .hero-bottom-fade { height: 180px; }
}

/* ── Speaker floating labels ── */
.sp-label {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-left: 10px;
  border-left: 2px solid transparent;
  border-image: linear-gradient(to bottom, #F0C47D 0%, #D4A843 50%, transparent 100%) 1;
}
.sp-label.label-right {
  padding-left: 0;
  padding-right: 10px;
  border-left: none;
  border-right: 2px solid transparent;
  align-items: flex-end;
  text-align: right;
}
.sp-label-title{
  font-family: 'Noto Serif TC', 'Microsoft JhengHei', serif;
  font-size: clamp(9px, 1vw, 15px);
  background: linear-gradient(to bottom, #F0C47D 0%, #FAF4DC 50%, #F9C97D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  white-space: nowrap;
  margin-bottom: 2px;
}
.sp-label-role {
  font-size: clamp(9px, 0.9vw, 13px);
  color: rgb(255, 255, 255);
  line-height: 1.3;
  margin-bottom: 5px;
}
.sp-label-name {
  font-family: 'Noto Serif TC', 'Microsoft JhengHei', serif;
  font-size: clamp(14px, 1.6vw, 24px);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  letter-spacing: 1px;
}
.sp-label-en {
  font-family: 'Noto Serif TC', 'Microsoft JhengHei', serif;
  font-size: clamp(9px, 1vw, 13px);
  color: rgb(255, 255, 255);
  letter-spacing: 1px;
}

/* Willy label: top-right of speaker area */
.sp-label-willy {
  top: 5vw;
  left: 18vw;
}

/* Dina label: middle-left of speaker area */
.sp-label-dina {
  top: 12vw;
  left: -2vw;
}

/* Ignatius label: middle-right */
.sp-label-ignatius {
  top: 18vw;
  left: 23vw;
}

/* Hero strip */
.hero-strip {
  position: relative; z-index: 2; width: 100%;
  background: rgba(124,58,237,.08);
  border-top: 1px solid rgba(124,58,237,.2);
  border-bottom: 1px solid rgba(124,58,237,.2);
  padding: 14px 48px;
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
}
.strip-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--white-60); }
.strip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); flex-shrink: 0; }

/* ============================================================
   VIDEO
============================================================ */
.video-section {
  padding: 80px 48px 0px 48px;
  /* 上緣黑→透明漸層：頂端接住 hero 底部黑色，再柔化淡入背景 */
  background: linear-gradient(to bottom, #000 0%, transparent 340px);
}
.video-inner { max-width: 860px; margin: 0 auto; }

.video-player {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 0 80px rgba(59,91,219,.2);
}
.video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================================
   ABOUT
============================================================ */
.about-section {
  padding: 100px 48px; text-align: center;
}
.about-inner { max-width: 801px; margin: 0 auto; }

/* 小標：Noto Sans TC Regular 20px, 字距10% */
.about-tag {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 16px;
}

/* 大標題：Noto Sans TC Bold 45px */
.about-title {
  font-size: 45px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}

/* WHY ATTEND：Noto Sans TC Regular 18px, 字距10% */
.about-why {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
}

/* 垂直金線 */
.about-vline {
  width: 1px;
  height: 56px;
  margin: 0 auto 40px;
  background: #d9d9d9;
}

/* 內文：Noto Sans TC Regular 20px, 行高30, 字距10%, 左右對齊 */
.about-desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.9);
  text-align: justify;
  margin-bottom: 30px;
}

/* CTA 粗體 */
.about-cta {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  margin-top: 48px;
}

/* ============================================================
   SECTION HEAD（講者介紹 / SPEAKERS + 直線）
============================================================ */
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 72px;
}
.sec-head-title {
  font-size: 45px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.sec-head-en {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,.65);
  margin-top: 6px;
}
.sec-head-line {
  width: 1px;
  height: 48px;
  margin-top: 22px;
  background: #d9d9d9;
}

/* ============================================================
   SPEAKERS
============================================================ */
.speakers-section {
  padding: 100px 48px;
}
.speakers-inner {max-width: 980px;margin: 0 auto;}

/* 左右交錯排列（左右靠近） */
.sp-row {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 90px;
}
.sp-row.rev { grid-template-columns: 1fr 400px; }
.sp-row.rev .sp-photo   { order: 2; }
.sp-row.rev .sp-content { order: 1; }

/* 講者照片（去背人像）+ 大漸層 pillar 文字 */
.sp-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.sp-photo img {
  width: 100%;
  height: auto;
  display: block;
}
/* Willy（反向列）照片放大並下移 */
.sp-row.rev .sp-photo img {
  transform: scale(1.3) translateY(42px);
  transform-origin: bottom center;
}
/* Dina 照片縮小、往上往右 */
.sp-photo img[src*="dina" i] {
  transform: scale(0.82) translate(70px, -60px);
  transform-origin: bottom center;
}

/* 大 pillar：思源黑體 Bold，白字 + 上下兩條「透明→紫→透明」色塊 */
.sp-pillar {
  position: absolute;
  left: 0;
  bottom: 12%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}
.sp-pillar span {
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  font-size: clamp(28px, 2.9vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #fff;
  padding: 6px 52px;
  /* Figma 漸層：透明 → #6505FF → 透明（兩側皆透明） */
  background: linear-gradient(90deg,
    rgba(126,47,255,0) 0%,
    #6505FF 50%,
    rgba(126,47,255,0) 100%);
}
/* 第二行往右錯位（對應 Figma 縮排，正常列與反向列皆套用） */
.sp-pillar span:nth-child(2) {
  margin-left: 44px;
}
/* 反向列（圖右）：pillar 往右移、疊在照片下緣 */
.sp-row.rev .sp-pillar {
  left: 22%;
  right: auto;
  align-items: flex-start;
}

/* 文字內容 */
.sp-content { display: flex; flex-direction: column; }

/* 標題+說明整段：左側漸層紫色裝飾線（紫 → 透明） */
.sp-intro {
  padding-left: 16px;
  border-left: 3px solid;
  border-image: linear-gradient(to bottom, #6505FF, rgba(101,5,255,0)) 1;
  margin-bottom: 28px;
}

/* 主題標題：Noto Sans TC Medium 28px */
.sp-theme {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
}

/* 價值訴求：18px, 行高30, 左右對齊 */
.sp-pitch {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.9);
  text-align: justify;
}

/* 姓名+介紹卡：黑底50% + 紫框 + 圓角36px（對應 Figma Rectangle 37） */
.sp-card {
  position: relative;
  z-index: 4;
  margin-left: -60px;   /* 往左疊上講者照片 */
  background: rgba(0,0,0,.5);
  border: 1.5px solid rgba(126,47,255,.55);
  border-radius: 36px;
  padding: 32px 38px;
  backdrop-filter: blur(4px);
}
/* 反向列：卡片改往右疊上照片 */
.sp-row.rev .sp-card {
  margin-left: 0;
  margin-right: -72px;
}

.sp-namecard {
  margin-bottom: 10px;
}
.sp-role {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
  margin-bottom: 4px;
}
/* 中文名：思源黑體 Bold（縮小） */
.sp-cname {
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.2;
}
/* 英文名：思源黑體 */
.sp-ename {
  font-family: 'Noto Serif TC', 'Microsoft JhengHei', sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
  margin-top: 2px;
}

/* 詳細介紹：15px, 左右對齊 */
.sp-bio {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,.62);
  text-align: justify;
}

/* ── 更多講者：預留三格（即將公佈）── */
.more-speakers {
  max-width: 980px;
  margin: 64px auto 0;
}
.ms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ms-card {
  position: relative;
  aspect-ratio: 29 / 38;
  border: 1.5px solid rgba(126,47,255,.5);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  transition: border-color .3s, box-shadow .3s;
}
.ms-card:hover {
  border-color: rgba(126,47,255,.8);
  box-shadow: 0 0 40px rgba(124,58,237,.2);
}
/* 即將公佈：文字置中 */
.ms-card.ms-tba { align-items: center; justify-content: center; }
.ms-tba span {
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.9);
}
/* 照片（之後填入） */
.ms-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
/* 姓名 / 職稱：靠左下，加深色漸層襯底確保可讀 */
.ms-info {
  align-self: flex-end;
  width: 100%;
  padding: 56px 26px 24px;
  background: linear-gradient(to top, rgba(0,0,0,.9) 12%, rgba(0,0,0,.45) 55%, transparent 100%);
  position: relative;
  z-index: 2;
}
.ms-name {
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.ms-title {
  font-size: clamp(12px, 1vw, 15px);
  color: rgba(255,255,255,.6);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* ============================================================
   SCHEDULE
============================================================ */
.schedule-section { padding: 90px 48px;}
.schedule-inner { max-width: 860px; margin: 0 auto; }

/* 日期 / 地點 */
.sched-date {
  text-align: center;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.7;
  margin: -40px 0 40px;
}

/* 分頁：Figma 漸層 #0E2DE0 → #9607F6，active 較亮 */
.sched-tabs { display: flex; gap: 14px; justify-content: center; margin-bottom: 40px; }
.sched-tab {
  padding: 11px 44px; border-radius: 0; font-size: 16px; font-weight: 700;
  cursor: pointer; border: 1px solid rgba(150,7,246,.55);
  background: rgba(14,45,224,.14); color: rgba(255,255,255,.72); transition: all .3s;
}
.sched-tab.active {
  background: linear-gradient(135deg, #0E2DE0, #9607F6);
  border-color: transparent; color: #fff; box-shadow: 0 0 26px rgba(150,7,246,.5);
}
.sched-tab:not(.active):hover { color: #fff; border-color: rgba(150,7,246,.9); }

/* 議程列：紫色上下線分隔、無圓角、半透明黑底（對應 Figma stroke 1px 0px） */
.sched-list { display: flex; flex-direction: column; }
.sched-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 24px 26px;
  background: rgba(0,0,0,.7);
  border-top: 1px solid #7E2FFF;
  align-items: start;
}
.sched-row:last-child { border-bottom: 1px solid #7E2FFF; }
.sched-time {
  font-size: 15px; font-weight: 600;
  color: rgba(255,255,255,.85);
  white-space: nowrap; padding-top: 2px; letter-spacing: .5px;
}
.sched-content { display: flex; flex-direction: column; }

/* 紫色標籤（Figma #9607F6） */
.sched-tag {
  align-self: flex-start;
  background: #9607F6;
  padding: 4px 14px; border-radius: 0;
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  margin-bottom: 10px;
}

/* 同時段多場：間隔 */
.sched-talk + .sched-talk { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(150,7,246,.55); }

/* talk 標頭：國際專講 tag + 出席方式徽章（現場出席 / 預錄影片） */
.talk-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.talk-head .sched-tag { margin-bottom: 0; }   /* tag 在 head 內，間距由 head 控制 */
.attend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #a855f7;
  letter-spacing: .5px;
}
.attend-ico {
  width: 23px; height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.talk-title { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.55; margin-bottom: 5px; }
.talk-sp { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.6; }   /* 人名同 talk-title */
.talk-sp span { color: rgba(255,255,255,.7); font-size: 14px; font-weight: 400; }   /* 職稱維持小灰字 */
.talk-role { font-size: 14px; color: var(--violet); font-weight: 600; margin-top: 8px; margin-bottom: 2px; }

/* ============================================================
   TICKETS
============================================================ */
.ticket-section {
  padding: 90px 48px;
  background: radial-gradient(ellipse 80% 55% at 50% 100%, rgba(124,58,237,.1) 0%, transparent 60%);
}
.ticket-inner { max-width: 940px; margin: 0 auto; }
.ticket-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 48px; align-items: stretch; }

/* 白色卡片 + 漸層標頭（Figma BAR: #9607F6 → #0E2DE0） */
.t-card {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.t-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.4); }

.t-head {
  background: linear-gradient(-90deg, #9607F6 7%, #0E2DE0 99%);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  padding: 16px 12px;
}
.t-body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }

/* 三欄 grid：標籤 | 數字 | 單位 → 數字固定中間欄，不論有無「三人團購」標籤都置中對齊 */
.t-price-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  column-gap: 5px;
}
.t-price-wrap > .t-group { grid-column: 1; justify-self: end; align-self: center; }
.t-price-wrap > .t-price { grid-column: 2; }
.t-price-wrap > .t-unit  { grid-column: 3; justify-self: start; }
.t-price {
  font-family: 'Open Sans', 'Noto Sans TC', sans-serif;
  font-size: 45px;
  font-weight: 700;
  line-height: 1;
  color: #7c2fe0;
  letter-spacing: 2px;
}
.t-unit { font-size: 15px; color: #7c2fe0; font-weight: 600; align-self: flex-end; }   /* 元 對齊數字底部 */

/* 價格區固定高度 → 三張卡按鈕對齊 */
.t-pricing {
  min-height: 180px; margin-bottom: 16px;
  display: flex; flex-direction: column; justify-content: flex-start;
  font-family: 'Open Sans', 'Noto Sans TC', sans-serif;   /* 數字 Open Sans、中文 fallback Noto */
}

.price-1line{height: 4.5em; margin-bottom: 1rem;}

.t-pricing:has(.price-1line) .t-adjust{
  margin-top: 15px;
}
.t-price-2 { margin-top: 2px; }                  /* 三人團購：第二行價格 */
.t-price-2 .t-unit { align-self: flex-end; }     /* 元/人 對齊數字底部 */
.t-group {
  align-self: center;
  font-size: 15px; font-weight: 800; color: #7c2fe0;
  line-height: 1.2; text-align: center;
}
.t-adjust { text-align: center; font-size: 13px; color: rgb(0, 0, 0);ine-height: 1.7; }
.t-subscribe-link { display: block; text-align: center; font-size: 13px; color: rgb(0, 0, 0); margin: 10px 0 0; text-underline-offset: 3px; text-decoration: underline;margin-bottom: 5px;}
.t-subscribe-link:hover { color: #0E2DE0;}
.t-orig  { text-align: center; font-size: 13px; color: #999; margin: 5px 0 0; }

@media (max-width: 960px) {
  .t-pricing{
    min-height: fit-content;
  }
}


/* 漸層膠囊按鈕 */
.btn-ticket {
  display: block; width: 100%; padding: 13px; border-radius: 26px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  border: none; color: #fff; text-align: center; text-decoration: none;
  background: linear-gradient(-90deg, #9607F6 7%, #0E2DE0 99%);
  box-shadow: 0 6px 18px rgba(124,58,237,.35);
  transition: transform .25s, box-shadow .25s;
  margin-bottom: 22px;
}
.btn-ticket:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(124,58,237,.5); }

/* 條列（・ 項目符號、深色），上方分隔線 */
.t-feats {
  text-align: left;
}
.t-feats li {
  font-size: 14px; color: #333;
  padding: 6px 0 6px 18px; position: relative; line-height: 1.6;
}
.t-feats li::before { content: '・'; position: absolute; left: 0; color: #333; }

/* 企業團體方案 */
.corp-package {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 12px;
}
.corp-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  padding-right: 28px;
  border-right: 1px solid rgba(255,255,255,.3);
}
.corp-title span {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  color: rgba(255,255,255,.55);
}
.corp-info { font-size: 14px; color: rgb(255, 255, 255); line-height: 1.5;letter-spacing: 2px;}
.corp-info a { color: #fff; }

/* ============================================================
   FAQ
============================================================ */
.faq-section { padding: 90px 48px; background: #fff; }
.faq-inner { max-width: 820px; margin: 0 auto; }

/* 白底區：標題紫色（Figma #9607F6）、英文與直線黑色 */
.faq-section .sec-head-title { color: #9607F6; }
.faq-section .sec-head-en { color: #000; }
.faq-section .sec-head-line { background: #000; }

.faq-item { margin-bottom: 22px; }

/* 問題列：漸層橫條（Figma BAR #9607F6 → #0E2DE0），無圓角 */
.faq-q {
  padding: 16px 24px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  user-select: none;
  background: linear-gradient(-90deg, #9607F6 7%, #0E2DE0 99%);
}
.faq-question { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: .5px; }

/* 右側 MORE / CLOSE 切換 */
.faq-toggle { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.faq-label { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 1px; color: #fff; }
.faq-label::before { content: 'MORE'; }
.faq-item.open .faq-label::before { content: 'CLOSE'; }
/* +/− 圖示 */
.faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: #fff; transition: opacity .3s;
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-icon::after  { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { opacity: 0; }   /* 開啟 → 變減號 */

/* 答案：白底、深色文字 */
.faq-a {
  font-size: 14px; color: #000000;
  line-height: 1.9; max-height: 0; overflow: hidden;
  transition: max-height .45s ease, padding .3s;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 500px; padding: 18px 24px 8px; }
.faq-a p { margin-bottom: 4px; }
.faq-a .faq-sub { padding-left: 16px; color: #000000; }
.faq-a a { color: var(--purple); }

/* ============================================================
   RELATED
============================================================ */
.related-section { padding: 90px 48px; }
.related-inner { max-width: 1180px; margin: 0 auto; }

/* 桌面 / 平板：把 Swiper wrapper 覆蓋成 3×2 網格（不啟用輪播） */
@media (min-width: 601px) {
  .related-swiper { overflow: visible; }   /* 不裁切 hover 上浮 */
  .related-swiper .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px 30px;
    transform: none !important;
  }
  .related-swiper .swiper-slide { width: auto !important; height: auto; }
  .related-pagination { display: none; }
}
@media (min-width: 601px) and (max-width: 960px) {
  .related-swiper .related-grid { grid-template-columns: repeat(2, 1fr); }
}
/* 手機：Swiper 輪播，留 pagination 空間 + 滑塊等高 */
@media (max-width: 600px) {
  .related-swiper { padding-bottom: 40px; }
  .related-swiper .swiper-wrapper { align-items: stretch; }
  .related-swiper .swiper-slide { height: auto; display: flex; }
  .related-swiper .swiper-slide > .r-card { width: 100%; }
}
.related-pagination .swiper-pagination-bullet {
  width: 9px; height: 9px; background: rgba(255,255,255,.35); opacity: 1;
  transition: width .3s, background .3s;
}
.related-pagination .swiper-pagination-bullet-active {
  width: 26px; border-radius: 5px; background: #9607F6;
}

/* 卡片：透明黑底 + 紫框（Figma fill_XO57DV + #7E2FFF） */
.r-card {
  display: flex;
  flex-direction: column;
  height: 100%;                 /* 撐滿格子，使同排等高 */
  cursor: pointer;
  background: rgba(0,0,0,.2);
  border: 1px solid #7E2FFF;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.r-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(124,58,237,.25);
  border-color: #9d6bff;
}
.r-img {
  aspect-ratio: 393 / 242;   /* Figma 縮圖比例 */
  overflow: hidden;
  background: linear-gradient(135deg, rgba(59,91,219,.2), rgba(124,58,237,.25));
}
.r-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s, filter .4s;
  filter: saturate(.92);
}
.r-card:hover .r-img img { transform: scale(1.05); filter: saturate(1); }
/* 標題：Noto Sans TC 20px 左對齊（Figma style_UCHXRW），卡片內留白 */
.r-title {
  flex: 1;                      /* 補滿剩餘高度，黑底延伸、同排等高 */
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 0;
  padding: 16px 18px 20px;
  transition: color .25s;
}
.r-card:hover .r-title { color: #c4b5fd; }

/* ============================================================
   PAST EVENTS
============================================================ */
.past-section {
  padding: 90px 48px;
  position: relative;
}
/* 背景 bg3 center top，頂端淡入：先露出與延伸閱讀相同的 body 背景（無縫銜接），再漸轉成 center top 切片 */
.past-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/bg3-figma.jpg') center top / cover fixed;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
  z-index: 1;
  pointer-events: none;
}
/* iOS：此 center-top 圖層用 background-attachment:fixed，手機會放大走樣 → 隱藏，改吃 body 的 fixed 主背景（無縫又不放大） */
@media (max-width: 960px) {
  .past-section::before { display: none; }
}
.past-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }

/* ── 輪播（Swiper） ── */
.carousel { position: relative; }
.past-swiper { overflow: hidden; padding-bottom: 44px; }   /* 留 pagination 空間 */

/* 手機：延伸閱讀／歷屆輪播向右延伸到螢幕邊，露出的下一張卡片到邊（左側維持內縮） */
@media (max-width: 600px) {
  .related-swiper, .past-swiper {
    margin-right: -24px;
    overflow: hidden;
  }
}

.p-slide {
  display: block;                       /* <a> 預設 inline，改 block 才是卡片 */
  cursor: pointer;
  border: 1px solid #7E2FFF;            /* 整張卡紫框 */
  overflow: hidden;
  height: 100%;
  color: inherit; text-decoration: none;
}
.p-thumb {
  position: relative;
  aspect-ratio: 443 / 290;             /* Figma 比例 */
  overflow: hidden;
  background: linear-gradient(135deg, rgba(59,91,219,.2), rgba(124,58,237,.25));
}
.p-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s, filter .4s;
  filter: saturate(.9);
}
.p-slide:hover .p-thumb img { transform: scale(1.05); filter: saturate(1); }
/* 年份：紫色標籤疊在圖片左下角 */
.p-year {
  position: absolute;
  left: 0; bottom: 0;
  background: #9607F6;
  color: #fff;
  font-size: 18px; font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 16px;
  z-index: 2;
}
/* 圖片下方：講者名 + 主題（透明黑底） */
.p-cap {
  background: rgba(0,0,0,.6);
  padding: 16px 18px 20px;
}
.p-name {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
  margin-bottom: 5px;
}
.p-caption { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.5; }

/* 箭頭：細線雪佛龍、無底（對齊圖片中央） */
.carousel-arrow {
  position: absolute; top: 34%;
  transform: translateY(-50%);
  border: none; background: none; padding: 14px;
  cursor: pointer; z-index: 5;
  font-size: 0;                 /* 隱藏文字符號 */
  opacity: .85;
  transition: opacity .25s, transform .25s;
}
.carousel-arrow::before {
  content: '';
  display: block;
  width: 22px; height: 22px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
}
.carousel-arrow.prev::before { transform: rotate(45deg); }    /* ‹ */
.carousel-arrow.next::before { transform: rotate(-135deg); }  /* › */
.carousel-arrow:hover { opacity: 1; transform: translateY(-50%) scale(1.12); }
.carousel-arrow.prev { left: -44px; }
.carousel-arrow.next { right: -44px; }
.carousel-arrow.swiper-button-disabled { opacity: .3; cursor: default; }

/* Pagination 圓點 */
.past-swiper .swiper-pagination { bottom: 6px; }
.past-swiper .swiper-pagination-bullet {
  width: 9px; height: 9px;
  background: rgba(255,255,255,.35);
  opacity: 1;
  transition: width .3s, background .3s;
}
.past-swiper .swiper-pagination-bullet-active {
  width: 26px; border-radius: 5px;
  background: #9607F6;
}

/* ============================================================
   PARTNERS（合作夥伴）— 白底
============================================================ */
.partners-section { padding: 64px 48px; background: #fff; }
.partners-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 28px;
}
/* 每列等高（min-height），讓三列上下距離視覺平均 */
.partner-row {
  display: flex; align-items: center; gap: 40px;
  min-height: 76px;
}
.partner-label {
  flex-shrink: 0;
  width: 84px;
  font-size: 16px; font-weight: 700;
  color: #222; letter-spacing: 3px;
  line-height: 1.4;
}
.partner-logos {
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
  flex: 1;
}
.partner-logos img {
  height: 42px;
  width: auto;
  object-fit: contain;
}
/* 各 logo 視覺均衡微調（含附屬文字者需放大） */
.partner-logos img[alt="哈佛商業評論"] { height: 40px; margin-top: 15px;}
.partner-logos img[alt="遠見"]       { height: 40px; }
.partner-logos img[alt="AWS"]        { height: 38px; }
.partner-logos img[alt="新北市政府"]   { width: 180px; height: auto; }
.partner-logos img[alt="政大 DBA"]    { height: 62px; }
.partner-logos img[alt="穆樂牙醫診所"]    { width: 180px; height: auto; }

/* ============================================================
   回到頂部按鈕
============================================================ */
.go-top {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 48px; height: 48px;
  border: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  cursor: pointer;
  z-index: 250;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, box-shadow .3s;
  box-shadow: 0 6px 20px rgba(124,58,237,.45);
}
.go-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.go-top:hover { box-shadow: 0 10px 28px rgba(124,58,237,.7); transform: translateY(-2px); }
/* 向上箭頭 */
.go-top::before {
  content: '';
  position: absolute; top: 54%; left: 50%;
  width: 12px; height: 12px;
  border-top: 2.5px solid #fff;
  border-left: 2.5px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
/* 底部固定 CTA bar 出現時（≤1240px）go-top 上移，避免被倒數 bar 擋住。
   放在基本 .go-top 之後，才能蓋過上面的 bottom:28px（同權重、後者勝） */
@media (max-width: 1240px) {
  .go-top { bottom: 120px; }
}

/* ── 平板／iPad（768–1240px）：底部 CTA bar 改成單排，
      倒數在左、價格＋按鈕在右（按鈕最右），跟桌機排法一致。
      置於最後 → 蓋過上面 ≤1240 的兩排設定與 body/go-top ── */
@media (min-width: 768px) and (max-width: 1240px) {
  .mobile-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .hdb-date{
    font-size: 30px;
  }

  .hero-subtitle{
    font-size: 18px;
  }

  .hero-desc{
    margin-top: 10px;
  }
  .mobile-cta .countdown { order: -1; flex-wrap: nowrap; }   /* 倒數移到最左、不換行 */
  .mobile-cta .cta-price { text-align: right; }              /* 價格靠右貼近按鈕 */
  body { padding-bottom: 66px; }                             /* 單排較矮，縮小底部留白 */
  .go-top { bottom: 92px; }     
  
  .sc-ignatius {top: 23vw;left: 7vw;}
  .sc-dina { top: 25vw;left: -3.3vw;}
  .sc-willy {top: 14vw;left: 15vw;}
  .sp-label-dina {top: 17vw;left: -3vw;}
  .sp-label-willy {top: 10vw;left: 18vw;}
  .sp-label-ignatius {top: 23vw;left: 23vw;}

}

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: #000;
  padding: 40px 24px 46px;
  text-align: center;
}
/* 版權 / 讀者服務（Figma：Noto Sans TC 15px、行高 28、字距10%、置中） */
.ft-copy {
  font-size: 15px;
  line-height: 28px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.85);
}

/* ============================================================
   RESPONSIVE — 平板 / 手機
============================================================ */

/* ── 講者區：≤768px 才單欄堆疊（iPad Air 820 以上維持左右排版，與 iPad Pro 一致） ── */
@media (max-width: 768px) {
  .sp-row, .sp-row.rev { grid-template-columns: 1fr; gap: 12px; margin-bottom: 52px; }
  .sp-row.rev .sp-photo   { order: 0; }
  .sp-row.rev .sp-content { order: 0; }
  /* 人物縮小，並裁掉下方空白（只留頭到腰）讓內容上移 */
  .sp-photo {
    max-width: 240px; margin: 0 auto;
    aspect-ratio: 3 / 3.3;
  }
  .sp-photo img,
  .sp-row.rev .sp-photo img,
  .sp-photo img[src*="dina" i] {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    transform: none;
  }
  .sp-card, .sp-row.rev .sp-card { margin-left: 0; margin-right: 0; }
  .sp-card { padding: 26px 24px; }
  /* slogan 偏左上、與人物錯開（不置中） */
  .sp-pillar, .sp-row.rev .sp-pillar {
    left: -22px; right: auto;
    transform: none;
    align-items: flex-start;
    top: auto; bottom: 20%;
  }
  .sp-pillar span { font-size: 26px; padding: 5px 22px; }
  .sp-pillar span:nth-child(2) { margin-left: 20px; }   /* 兩行錯位 */
  .sp-theme { font-size: 22px; }
  .sp-intro { margin-bottom: 22px; }

  /* Willy（反向列）：照片再放大並靠左、slogan 整體靠右加錯位 */
  .sp-row.rev .sp-photo {
    max-width: 320px;
    margin-left: 0; margin-right: auto;   /* 靠左 */
    aspect-ratio: 1 / 1.05;
    margin-bottom: -30px;
  }
  .sp-row.rev .sp-pillar {
    left: auto; right: -10px;             /* 整體靠右 */
    align-items: flex-end;
  }
  .sp-row.rev .sp-pillar span:nth-child(1) { margin-right: 28px; }  /* 第一行內縮，形成錯位 */
  .sp-row.rev .sp-pillar span:nth-child(2) { margin-left: 0; margin-right: 0; }

  /* Dina：照片靠右一些 */
  .sp-photo:has(img[src*="dina" i]) { transform: translateX(28px); }
  /* Dina：slogan 往左（覆蓋一般的 left:-22px） */
  .sp-photo:has(img[src*="dina" i]) .sp-pillar { left: -54px; }

  /* ── Hero 首屏：≤768 才單欄堆疊（iPad Air 820 以上維持兩欄，與 iPad Pro 一致） ── */
  .hero { min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 78px 24px 0;
    min-height: auto;
  }
  .hero-left { padding-top: 0; }
  .hero-event-tag { margin-bottom: 4px; font-size: 14px;}
  .hero-title-frame { margin-bottom: 10px; }
  .hero-subtitle { margin-bottom: 8px; font-size: 16px;}
  .hero-date-block { margin-bottom: 4px; gap: 10px;}
  .hero-desc { line-height: 1.7; margin-bottom: 16px; }
  .btn-gold { padding: 7px 30px; }
  /* 底部黑漸層：擋住講者腳部、融入下方區塊 */
  .hero-bottom-fade {
    display: block;
    height: 280px;
    background: linear-gradient(to bottom, transparent 0%, #000 77%);
  }
  /* 手機顯示三位講者合成圖 */
  .hero-right {
    display: block;
    position: relative;
    height: 46vh;
    min-height: 340px;
    max-height: 460px;
    margin-top: 8px;
    overflow: visible;
  }
  .sc-willy    {height: 50vw;left: 50vw;top: 0vw;}
  .sc-dina     {top: 15vw;height: 40vw;left: 20vw;}
  .sc-ignatius {top: 15vw;height: 45vw;left: 43vw;}
  .sp-label-willy    {top: -2vw;left: 55vw;}
  .sp-label-dina     {top: 2vw;left: 20vw;}
  .sp-label-ignatius {top: 12vw;left: 68vw;}
}

/* ── 平板以下（≤ 960px）── */
@media (max-width: 960px) {
  .nav { padding: 0 20px; justify-content: flex-start; }

  /* 手機 nav：左＝完整 logo、右＝漢堡 */
  .nav-logo img {
    height: 85px !important;
    width: auto !important;
    object-fit: unset;
    object-position: unset;
    margin-left: -10px;
  }
  .nav-buy-m { display: none; }

  /* 漢堡選單 + 右側滑入面板 */
  .nav-toggle { display: block; margin-left: auto; }   /* 漢堡推到最右 */
  .nav-links {
    position: fixed;
    margin: 0;                 /* 桌機的 margin-left/right 在手機面板歸零 */
    top: 62px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 62px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 32px;
    background: #0a0420;
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
    overflow-y: auto;
    transition: right .4s ease;
  }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 18px 28px;
    font-size: 16px;
    color: rgba(255,255,255,.85);
    border-bottom: 1px solid rgba(255,255,255,.18);
  }
  .nav-links .btn-nav {
    margin: 24px 28px 0;
    text-align: center;
    border-radius: 26px;
    border-bottom: none;
    padding: 15px 22px;
  }

  /* Hero 單欄堆疊規則已移到下方獨立的 @media (max-width:768px)，
     讓 iPad Air(820px) 首屏維持兩欄（與 iPad Pro 一致）；
     標籤陰影保留在此（各尺寸都需要） */
  
  .sp-label-name,
  .sp-label-role,
  .sp-label-en { text-shadow: 0 1px 3px rgba(0,0,0,.5); }

  /* 區塊標題 */
  .about-title, .sec-head-title { font-size: 34px; }
  .about-section, .speakers-section { padding: 70px 24px; }

  /* 講者單欄堆疊規則已移到下方獨立的 @media (max-width:768px)，
     讓 iPad Air(820px) 等平板維持左右排版（與 iPad Pro 一致） */

  /* 票券 / 卡片網格 */
  .ticket-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  /* 企業團體方案改直向、移除中間直線 */
  .corp-package { flex-direction: column; gap: 14px; text-align: center; }
  .corp-title { padding-right: 0; border-right: none; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.25); align-items: center; }
  .corp-info { text-align: center; }
  /* 輪播箭頭移到卡片內側、縮小 */
  /* 箭頭加半透明深色圓底，疊在圖片上更明顯 */
  .carousel-arrow {
    width: 40px; height: 40px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(84, 79, 226, 0.904);
    border-radius: 50%;
  }
  .carousel-arrow.prev { left: 6px; }
  .carousel-arrow.next { right: 6px; }
  .carousel-arrow::before { width: 12px; height: 12px; border-width: 0 0 2px 2px; }

  /* FAQ 答案放寬避免裁切 */
  .faq-item.open .faq-a { max-height: 600px; }

  /* 合作夥伴：標題置中、取消等高讓間距平均 */
  .partners-inner { gap: 40px; }
  .partner-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;                /* 各列標題與 logo 群距離一致 */
    min-height: 0;            /* 取消桌面等高，避免直排時空白不均 */
  }
  .partner-label { width: auto; }
  .partner-logos { gap: 26px; justify-content: center; align-items: center; }
  /* 手機統一縮小各 logo（覆蓋桌面專屬尺寸） */
  .partner-logos img[alt="哈佛商業評論"] { height: 28px; }
  .partner-logos img[alt="遠見"]       { height: 30px; }
  .partner-logos img[alt="AWS"]        { height: 30px; }
  .partner-logos img[alt="新北市政府"]   { width: 130px; height: auto; }
  .partner-logos img[alt="政大 DBA"]    { height: 46px; }
  .partner-logos img[alt="穆樂牙醫診所"]    { width: 140px; height: auto; }

  /* 各區塊左右留白 */
  .video-section, .schedule-section, .ticket-section,
  .faq-section, .related-section, .past-section,
  .partners-section, footer {
    padding-left: 24px; padding-right: 24px;
  }
}

/* ── 手機（≤ 600px）── */
@media (max-width: 600px) {
  .hero-subtitle { letter-spacing: 0.2em; }   /* 字級交給 clamp，僅收緊字距 */

  /* 首屏精簡：隱藏內文段落與購票鈕（購票改用底部固定 bar） */
  .hero-desc, .hero .btn-gold { display: none; }

  .about-title, .sec-head-title { font-size: 27px; }
  .about-desc, .sp-pitch { font-size: 15px; }
  .about-cta { font-size: 19px; }
  .sec-head {margin-bottom: 40px;}

  /* 議程：時間獨立一行 */
  .sched-row { grid-template-columns: 1fr; gap: 10px; padding: 18px 20px; }
  /* .sched-time { color: var(--violet); } */
  .sched-tab { padding: 10px 30px; font-size: 15px; }

  /* 更多講者：手機單欄置中 */
  .ms-grid { grid-template-columns: 1fr; gap: 18px; max-width: 300px; margin: 0 auto; }
  .more-speakers { margin-top: 48px; }

  .ft-links { gap: 14px 18px; }

  /* 區塊上下間距收斂 */
  .video-section, .about-section, .speakers-section,
  .schedule-section, .ticket-section, .faq-section,
  .related-section, .past-section { padding-top: 56px; padding-bottom: 56px; }

  /* 影片：占滿螢幕寬、去圓角 */
  .video-section { padding-left: 0; padding-right: 0; padding-bottom: 0;}
  .video-inner { max-width: none; }
  .video-player { border-radius: 0; }

  /* 回到頂部按鈕縮小、貼邊 */
  .go-top { right: 16px; bottom: 150px; width: 42px; height: 42px; }

  .sc-willy    {height: 65vw;left: 45vw;top: 0vw;}
  .sc-dina     {top: 18vw;height: 50vw;left: 10vw;}
  .sc-ignatius {top: 15vw;/* width: 90%; */height: 60vw;left: 30vw;/* right: 70vw; */}

  /* 首屏縮短：講者容器貼合人物高度（隨 vw 縮放）、縮小底部黑漸層 → 減少下方空白 */
  .hero-right { height: 78vw; min-height: 0; max-height: none; }
  .hero-bottom-fade { height: 130px; }

  /* 手機改用 top 定位，須清掉桌面的 bottom，避免上下撐開使裝飾線過長 */
  .sp-label-willy    {top: -3vw;left: 53vw;/* bottom: auto; *//* right: 15%; */}
  .sp-label-dina     {top: 4vw;/* bottom: auto; */left: 5vw;}
  .sp-label-ignatius {top: 20vw;left: 63vw;/* bottom: auto; *//* right: 0; */}
  /* 名字標籤縮小字級、收緊行距，整體更精簡（保留所有文字，不刪角色說明） */
  .sp-label { gap: 0; padding-left: 7px; }
  .sp-label-role { font-size: 8px; line-height: 1.3; }
  .sp-label-name { font-size: 13px; line-height: 1.15; }
  .sp-label-en   { font-size: 8.5px; }
  .ft-copy {font-size: 13px;line-height: 1.8;}
}

/* ── 小手機（≤ 380px）── */
@media (max-width: 380px) {
  .carousel-arrow.prev { left: 0; }
  .carousel-arrow.next { right: 0; }
}
