/* ============================
   BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; }
html { scroll-behavior: smooth; overflow-anchor: none; overflow-x: hidden; }
.mobile-br { display: none; }
.mobile-hide { display: inline; }

body {
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  background-color: #0a1628;
  color: #333;
  min-width: 320px;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ============================
   CSS CUSTOM PROPERTIES
   ============================ */
:root {
  --teal: #2ec0c4;
  --teal-glow: rgba(46,192,196,0.4);
  --teal-dark: #1a9aac;
}

/* ============================
   KEYFRAMES
   ============================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { transform: translateX(-40px); }
  to   { transform: translateX(0); }
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(46,192,196,0.5), 0 0 20px rgba(46,192,196,0.2); }
  50%       { box-shadow: 0 0 20px rgba(46,192,196,0.8), 0 0 40px rgba(46,192,196,0.4); }
}
@keyframes rotateSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes perspectiveIn {
  from { opacity: 0; transform: perspective(800px) rotateX(8deg); }
  to   { opacity: 1; transform: perspective(800px) rotateX(0deg); }
}
@keyframes borderShimmer {
  0%   { border-color: rgba(46,192,196,0.4); }
  50%  { border-color: rgba(46,192,196,1); }
  100% { border-color: rgba(46,192,196,0.4); }
}
@keyframes slideFromTop {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
@keyframes slideFromTopFixed {
  from { transform: translateY(-60px); }
  to   { transform: translateY(0); }
}
@keyframes slideFromBottom {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* ============================
   FIXED RIGHT PANEL
   ============================ */
.fixed-panel {
  position: fixed;
  right: -100px;
  top: 68%;
  transform: translateY(-50%);
  z-index: 100;
  transition: right 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fixed-panel.fp-visible {
  right: 8px;
}
.fp-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 11px;
}

/* Download zone modal */
.dl-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.dl-modal.open { display: flex; }
.dl-modal-box {
  position: relative;
  width: 530px;
  max-width: 90vw;
  background: url('assets/new/header/download-zone/download-zone_bg.png') center/cover no-repeat;
  aspect-ratio: 633 / 526;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dl-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}
.dl-modal-close:hover { opacity: 1; }
.dl-modal-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  padding-top: 48px;
}
.dl-modal-links a { display: block; }
.dl-modal-links img { width: 255px; height: auto; margin: 0 auto; display: block; }

.fp-btn { display: block; background: rgba(0, 0, 0, 0.08); backdrop-filter: blur(12px) saturate(1.8) brightness(0.55); -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(0.55); border: 1px solid rgba(255, 255, 255, 0.12); padding: 0; cursor: pointer; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.08); transition: background 0.4s ease, box-shadow 0.2s; }
.fp-btn:hover { box-shadow: 0 6px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.12); }
.fp-btn img { width: 64px; height: auto; display: block; }

/* ============================
   FIXED BOTTOM NEVI BAR
   ============================ */
.nevi-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: stretch;
  transform: translateY(0);
  transition: transform 0.3s ease;
  animation: slideFromBottom 0.6s ease-out 1.1s both;
}
.nevi-bar.nevi-hidden {
  transform: translateY(100%);
}

/* ============================
   HAMBURGER MENU (mobile only)
   ============================ */
.ham-btn { display: none; }
.ham-overlay { display: none; }
.ham-menu { display: none; }

.ham-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

/* ============================
   SECTION 01 – HEADER
   ============================ */
.s01 {
  position: relative;
  min-height: 100vh;
  background: url('assets/new/bg/fubon_bg-blue-grid.png') top center / 100% auto repeat-y,
              #0a1628;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Full-bleed background video */
.s01-video-bg {
  position: absolute;
  top: -6%;
  left: -4%;
  width: 108%;
  height: 112%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 300ms ease;
  will-change: transform;
}

/* Top bar */
.s01-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 15px 0 30px;
  animation: slideFromTop 0.6s ease-out 1.1s both;
}
.s01-logo { height: 38px; width: auto; }
.s01-social { display: flex; gap: 8px; align-items: center; }
.s01-social a { display: block; line-height: 0; flex-shrink: 0; }
.s01-social img { width: auto; height: 40px; display: block; }

/* Center text block */
.s01-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 28px;
  gap: 8px;
}
.s01-cert-group {
  position: relative;
  display: inline-block;
  opacity: 0;
  animation: slideUp 0.7s ease 0.3s forwards;
}
.s01-cert  { width: 320px; display: block; }
.s01-flag  { position: absolute; top: 50%; left: calc(100% + 12px); transform: translateY(-50%); height: 44px; width: auto; }
.s01-title     { width: min(768px, 88vw); opacity: 0; animation: slideUp 0.7s ease 0.55s forwards; }
.s01-fund-btn  { width: clamp(150px, 50vw, 300px); opacity: 0; animation: slideUp 0.7s ease 0.8s forwards; cursor: pointer; }
.s01-countdown {
  width: min(720px, 82vw);
  opacity: 0;
  animation: slideUp 0.7s ease 0.8s forwards;
  font-size: clamp(16px, 1.95vw, 26px);
  letter-spacing: 0.22em;
  text-align: center;
  font-weight: 700;
  background: linear-gradient(90deg, #c8d8e8 0%, #f5e4a8 35%, #fff8e0 55%, #f5e4a8 75%, #c8d8e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.5));
}
.cd-num {
  display: inline-block;
  width: 1.6em;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}



/* ============================
   SHARED SECTION TITLE
   ============================ */
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.1em;
  padding: 0 0 40px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

/* ============================
   SECTION 02 – 全球版圖・台股定位
   ============================ */
.s02 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 60px) 0;
  background: url('assets/new/bg/fubon_bg-blue-grid.png') top center / 100% auto repeat-y,
              url('assets/new/bg/fubon_bg-blue-green.png') top center / cover no-repeat;
}

.s02-main-title {
  display: block;
  margin: 0 auto 28px;
  height: 6.2vw;
  max-height: 89px;
  width: auto;
}

.s02-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 1440px;
  padding: 0 83px;
  margin: 0 auto;
}

.s02-panel {
  width: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(140,210,230,0.12) 100%);
  border-radius: 3px;
  padding: 48px 30px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.s02-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background:
    linear-gradient(to bottom, #7ca2b7, #16a8ca) left / 3px 100% no-repeat,
    linear-gradient(to bottom, #16a8ca, #83c6d2) right / 3px 100% no-repeat,
    linear-gradient(to right, #7ca2b7, #16a8ca) top / 100% 2px no-repeat,
    linear-gradient(to right, #16a8ca, #83c6d2) bottom / 100% 2px no-repeat;
  pointer-events: none;
}

.s02-no1-label {
  position: absolute;
  top: -5px;
  right: 18px;
  width: 7.5%;
  pointer-events: none;
  z-index: 2;
}

.s02-slide-title {
  color: #fff;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.s02-slide-img   { width: 100%; padding: 50px; box-sizing: border-box; }
.s02-trillion-imgs {
  display: flex;
  gap: 12px;
  width: 80%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.s02-trillion-imgs img { flex: 1; width: 0; height: auto; display: block; }
.s02-slide-disclaimer { width: 88%; max-width: 1076px; opacity: 0.9; }

/* Slide 2: trillion text block */
.s02-trillion-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
}
.s02-trillion-text {
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}
.s02-trillion-glow {
  width: 100%;
  height: auto;
  display: block;
}

/* Slide 3: guardian overlay */
.s02-guardian-content {
  position: relative;
  width: 88%;
  max-width: 1076px;
  overflow: visible;
}
.s02-guardian-img   { width: 100%; display: block; }
.s02-guardian-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* ============================
   SHARED UTILITIES
   ============================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}
.section-img-title {
  display: block;
  margin: 0 auto 40px;
  width: 100%;
}
.disclaimer-img {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0.85;
}

/* Generic slider slides hidden/shown */
.slider { position: relative; }
.slider-slides {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0s ease 0.5s;
}
.slider-slide.active {
  position: relative;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease, visibility 0s ease 0s;
}
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  width: 60px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* S02: 讓左右箭頭都落在背景框線內，並視覺置中 */
.s02-panel .slider-prev { left: 12px; }
.s02-panel .slider-next { right: 12px; }
.slider-arrow { height: 27px; width: auto; display: block; }
.slider-arrow-prev { transform: scaleX(-1); }

/* ============================
   SECTION 03 – 掌握關鍵核心
   ============================ */
.s03 {
  padding: clamp(20px, 4vw, 60px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url('assets/new/bg/fubon_bg-blue-grid.png') top center / 100% auto repeat-y,
              url('assets/new/bg/fubon_bg-white-grid.png') top center / cover no-repeat,
              url('assets/new/bg/fubon_bg-gray_e5e5e5.png') top center / cover no-repeat;
}

.s03-main-title {
  display: block;
  margin: 0 auto 28px;
  height: 4.4vw;
  max-height: 63px;
  width: auto;
}

/* Slider */
.s03-slider { position: relative; width: 100%; overflow: hidden; }
.s03-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0s ease 0.45s;
}
.s03-slide.active {
  position: relative;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.45s ease, visibility 0s ease 0s;
}

/* Slide 1: SBM */
.s03-slide-subtitle {
  display: block;
  width: 70%;
  padding: 5px 0;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(41, 166, 205, 0.9) 15%,
    rgba(20, 141, 171, 1) 50%,
    rgba(41, 166, 205, 0.9) 85%,
    transparent 100%
  );
  color: #ffffff;
  font-size: clamp(22px, 1.9vw, 26px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1em;
  margin: 0 auto 24px;
}
.s03-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
}
.s03-cards img { flex: 1 1 0; min-width: 0; max-width: 342px; height: auto; }

/* Slide 2 & 3: SMART */
.s03-smart-title {
  color: #254f70;
  font-size: clamp(22px, 1.9vw, 26px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08em;
  margin: 0 0 45px;
}
.smart-hl { color: #0096af; }
.s03-smart-img {
  width: 100%;
  height: auto;
  display: block;
}
.s03-smart-disclaimer {
  max-width: 600px;
}

/* Navigation */
.s03-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.s03-nav-prev,
.s03-nav-next {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}
.s03-nav-prev img,
.s03-nav-next img {
  height: 20px;
  width: auto;
  filter: brightness(68%);
}
.s03-arrow-prev { transform: scaleX(-1); }

.s03-nav-dot {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: rgba(0, 150, 175, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s;
}
.s03-nav-dot.active {
  background: rgba(0, 150, 175, 0.9);
}

/* ============================
   SECTION 04 – ETF全解析
   ============================ */
.s04 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 60px) 0;
  background: url('assets/new/bg/fubon_bg-blue-grid.png') top center / 100% auto repeat-y,
              linear-gradient(to right, #0a7777 0%, #0f9bb5 100%);
}
.s04 .section-img-title { margin-top: 0; margin-bottom: 20px; height: 6.0vw; max-height: 86px; width: auto; }
.s04-slider { width: 100%; }
.s04-slider .slider-slide { display: flex; flex-direction: column; }
.s04-slider .slider-slide .slide-note { margin-top: auto; }
.s04-slide-title {
  color: #fff;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08em;
  margin: 0 0 24px;
}
/* Slide 1: two charts side by side */
.s04-charts {
  display: flex;
  gap: 40px;
  justify-content: center;
  width: 100%;
}
.s04-charts img { flex: 1 1 0; min-width: 0; max-width: 587px; height: auto; }

/* Slide 2: two-column layout */
.s04-slide2-content {
  display: flex;
  gap: 36px;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.s04-slide2-left {
  flex: 0 0 48%;
}
.s04-slide2-left img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}
.s04-slide2-right {
  flex: 0 1 40%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.s04-slide2-right img { width: 100%; max-width: 100%; height: auto; }

/* Tech-style info boxes */
.s04-tech-box {
  position: relative;
  background: linear-gradient(145deg, rgba(0, 60, 80, 0.78), rgba(0, 35, 55, 0.68));
  border: 1.5px solid rgba(70, 210, 205, 0.6);
  border-radius: 6px;
  padding: 22px 22px 20px 22px;
  box-shadow: inset 0 0 16px rgba(70, 210, 205, 0.08), 0 0 12px rgba(70, 210, 205, 0.1);
}
/* Corner bracket accents */
.s04-tech-box::before,
.s04-tech-box::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(70, 210, 205, 0.9);
  border-style: solid;
}
.s04-tech-box::before {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
  border-radius: 0 0 0 4px;
}
.s04-tech-box::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 4px 0;
}

.s04-box-label {
  position: absolute;
  top: -1px;
  right: -1px;
  background: linear-gradient(135deg, #2ec0c4, #1a9aac);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 18px 5px 16px;
  border-radius: 0 6px 0 8px;
  letter-spacing: 3px;
}
.s04-box-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
.s04-box-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: -4px;
}
.s04-box-main-text {
  color: #d0f4f4;
  font-size: 14px;
  line-height: 1.65;
}
.s04-box-main-text strong {
  color: #5de8e2;
  font-weight: 800;
}
.s04-box-featured strong {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}
.s04-box-points {
  color: #5de8e2;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.s04-box-points strong {
  color: #fff;
}
.s04-arrow {
  color: #4dd4ce;
  font-weight: 900;
}

/* Nav indicator */
.s04-nav-bar {
  position: relative;
  margin: 24px auto 0;
  width: 100%;
  max-width: 510px;
  height: 15px;
  border-radius: 7px;
  border: 2px solid #11b2f2;
  cursor: pointer;
}
.s04-nav-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  border-radius: 7px;
  background: #6cBCC3;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.s04-nav-thumb.right {
  transform: translateX(100%);
}
.s04-nav-seg {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.s04-nav-seg[data-slide="0"] { left: 0; }
.s04-nav-seg[data-slide="1"] { left: 50%; }

/* ============================
   SECTION 05 – 龍耀影音
   ============================ */
.s05 {
  background: url('assets/new/bg/fubon_bg-blue-grid.png') top center / 100% auto repeat-y,
              url('assets/new/bg/fubon_bg-white-grid.png') top center / cover no-repeat,
              url('assets/new/bg/fubon_bg-gray_e5e5e5.png') top center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 60px) 0 clamp(15px, 3vw, 30px);
}
.s05 .section-img-title {
  height: 4.7vw;
  max-height: 68px;
  width: auto;
  margin-bottom: 40px;
}
.s05-frame-wrap {
  position: relative;
  width: 100%;
  max-width: 1149px;
  margin: 0 auto;
}
.s05-frame {
  display: block;
  width: 100%;
  height: auto;
}
.s05-video-list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.s05-video-item {
  position: absolute;
  left: calc(68% + 5px);
  width: 29%;
  background: none;
  border: none;
  padding: 0 0 0 14%;
  cursor: pointer;
  text-align: left;
  pointer-events: auto;
  box-sizing: border-box;
}
.s05-video-item:nth-child(1) { top: 28%; height: 18%; }
.s05-video-item:nth-child(2) { top: 46%; height: 17%; }
.s05-video-item:nth-child(3) { top: 63%; height: 15%; }
.s05-vi-title {
  position: absolute;
  top: 25%;
  transform: translateY(-50%);
  left: calc(33% + 18px);
  right: 2%;
  color: #1a8fa0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  word-break: break-all;
  transition: color 0.2s;
  overflow: hidden;
  text-indent: 0;
  padding-left: 0;
}
.s05-video-item:nth-child(2) .s05-vi-title { top: 30%; }
.s05-video-item:nth-child(3) .s05-vi-title { top: 45%; }
.s05-video-item:hover .s05-vi-title { color: #1a8fa0; text-decoration: underline; }
.s05-video-item.active .s05-vi-title { color: #1a8fa0; font-weight: 700; }
.s05-video-embed {
  position: absolute;
  top: 20%;
  left: 7.5%;
  width: 58%;
  height: 61%;
  background: #676768;
  border: none;
}

/* ============================
   SECTION 06 – 模擬版境與產業配置
   ============================ */
.s06 {
  background: url('assets/new/bg/fubon_bg-blue-grid.png') top center / 100% auto repeat-y,
              url('assets/new/bg/fubon_bg-gray_e5e5e5.png') top center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 60px) 0;
}
.s06-main-title {
  display: block;
  height: 4.4vw;
  max-height: 63px;
  width: auto;
  margin: 0 auto 32px;
}
.s06-layout {
  display: flex;
  gap: 56px;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}
.s06-col {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s06-col:first-child { flex: 0 1 calc(50% - 103px); }
.s06-col:last-child  { flex: 0 1 calc(50% + 79px); }
/* 圓餅 + 緞帶垂直排列置中 */
.s06-pie-ribbon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.s06-pie-ribbon img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
.s06-col:first-child .s06-pie-ribbon img:first-child,
.s06-col:last-child  .s06-pie-ribbon img:first-child { max-width: 440px; }
.s06-col:first-child .s06-pie-ribbon img:first-child { transform: scale(0.975); transform-origin: bottom center; }
.s06-col:first-child .s06-pie-ribbon img:last-child,
.s06-col:last-child  .s06-pie-ribbon img:last-child { max-width: 342px; }
/* 右：圓餅+緞帶 與 caption 水平排列 */
.s06-right-group {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.s06-caption {
  width: auto;
  max-width: 166px;
  height: auto;
  transform: translateY(-86px) scale(0.8);
  transform-origin: center bottom;
  display: block;
  flex-shrink: 0;
}
.s06-ribbon-mb { display: none; }

/* ============================
   SECTION 07 – 基金小檔案
   ============================ */
.s07 {
  background: url('assets/new/bg/fubon_bg-blue-grid.png') top center / 100% auto repeat-y,
              url('assets/new/bg/fubon_bg-white-grid.png') top center / cover no-repeat,
              url('assets/new/bg/fubon_bg-gray_e5e5e5.png') top center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 60px) 0;
}
.s07 .section-img-title {
  height: 4.2vw;
  max-height: 61px;
  width: auto;
}
.s07-table {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  height: auto;
}

/* ============================
   SECTION 08 – 即刻啟動
   ============================ */
.s08 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(20px, 4vw, 60px) 0;
  background: url('assets/new/bg/fubon_bg-blue-grid.png') top center / 100% auto repeat-y,
              url('assets/new/bg/fubon_bg-white-grid.png') top center / cover no-repeat,
              url('assets/new/bg/fubon_bg-gray_e5e5e5.png') top center / cover no-repeat;
}
.s08 .section-img-title { margin-bottom: 40px; height: 7.2vw; max-height: 104px; width: auto; }
.s08-block { margin-bottom: 48px; text-align: center; }
.s08-block-title {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto 24px;
  padding: 3px 0;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(50, 178, 222, 0.9) 18%,
    rgb(3, 127, 153) 50%,
    rgba(50, 178, 222, 0.9) 82%,
    transparent 100%
  );
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.15em;
}
.s08-block-content {
  display: block;
  width: 100%;
  margin: 0 auto;
  height: auto;
}
.s08-campaign {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0 40px;
}
.s08-campaign-card {
  position: relative;
  flex: 1;
  max-width: 374px;
}
.s08-campaign-card > img:first-child { width: 100%; height: auto; display: block; }
.s08-campaign-link {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 55%;
}
.s08-campaign-btn {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================
   SECTION 09 – 警語 + Footer
   ============================ */
.s09 {
  background: url('assets/new/bg/fubon_bg-blue-grid.png') top center / 100% auto repeat-y,
              url('assets/new/bg/fubon_bg-white-grid.png') top center / cover no-repeat,
              url('assets/new/bg/fubon_bg-gray_e5e5e5.png') top center / cover no-repeat;
  padding-bottom: 0;
}
.s09-disclaimer-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 32px 40px 56px;
}
.s09-disclaimer-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.s09-scroll-box {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 6px;
  padding: 16px 20px;
  background: #e4e5e5;
}
.s09-scroll-box::-webkit-scrollbar { width: 6px; }
.s09-scroll-box::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 3px; }
.s09-scroll-box::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.25); border-radius: 3px; }
.s09-disclaimer-text {
  font-size: 16px;
  color: #333;
  line-height: 1.9;
  font-weight: 700;
  text-align: justify;
}
.disclaimer-red  { color: #DB1B1B; }
.disclaimer-navy { color: #104ba4; }
/* ── Welcome Popup Modal ── */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100% !important;
}
.wp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-overlay.hidden { display: none; }
.wp-modal {
  background: #fff;
  border-radius: 4px;
  width: 90%;
  max-width: 880px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.wp-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #999;
  color: #555;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  line-height: 1;
}
.wp-close:hover { background: #eee; }
.wp-header {
  background: #3ab5c6;
  padding: 20px 56px 20px 28px;
  flex-shrink: 0;
}
.wp-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.05em;
}
.wp-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}
.wp-body::-webkit-scrollbar { width: 6px; }
.wp-body::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 3px; }
.wp-body::-webkit-scrollbar-thumb { background: #aaa; border-radius: 3px; }
.wp-text {
  font-size: 16px;
  line-height: 2;
  color: #333;
  text-align: justify;
  margin: 0;
  font-weight: 700;
}
.wp-text .wp-red { color: #e02020; }
.wp-text .wp-navy { color: #1a3a7a; }
.wp-footer {
  flex-shrink: 0;
  padding: 16px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #e0e0e0;
}
.wp-footer-note {
  font-size: 13px;
  color: #555;
  margin: 0;
}
.wp-btn {
  background: #3ab5c6;
  color: #fff;
  border: none;
  padding: 14px 60px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.1em;
}
.wp-btn:hover { background: #2e9db0; }

.site-footer {
  width: 100%;
}
.footer-browser {
  background: #0096af;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 10px 40px;
  line-height: 1.4;
}
.footer-info {
  background: #08acc7;
  color: #fff;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  padding: 20px 48px 120px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-left { text-align: left; }
.footer-right { text-align: right; }
.footer-company { font-weight: 700; }

/* ============================
   TEXT REPLACEMENT CLASSES
   ============================ */

/* 11px 白字備註（S02/S03/S04 slide disclaimers） */
.slide-note {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  text-align: center;
  width: 100%;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
  max-width: none;
  margin: 0 auto;
}
/* S03、S06 淺色背景，保文改深色 */
.s03 .slide-note,
.s06-note {
  color: rgba(40, 40, 40, 0.72);
}
.s06-note {
  margin-top: 16px;
  width: 100%;
  max-width: none;
}
.s03-note {
  width: 100%;
  max-width: none;
}
/* 各 section 備註紅色文字 */
.note-red {
  color: #DB1B1B;
}
.note-source {
  color: #1a3a6b;
}
/* S07 footnote */
.s07-note {
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  width: 100%;
  max-width: 100%;
  margin: 12px 0 0;
}

/* S08 body text */
.s08-body-text {
  color: #717171;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
.s08-etf-text { font-size: 18px; line-height: 1.5; }
.s08-broker-list {
  text-align: left;
  max-width: 640px;
  margin: 0 auto 24px;
}
.s08-locations {
  display: flex;
  gap: 8px;
  justify-content: center;
  max-width: 768px;
  margin: 0 auto;
  transform: translateX(60px);
}
.s08-location-item {
  flex: 1;
  text-align: left;
  color: #717171;
  font-size: 13px;
  line-height: 1.5;
}
.s04 .slider-slides { overflow: visible; }
.s04 .slide-note { width: calc(100% + 80px); margin-left: -40px; max-width: none; }
.s08-body-text strong {
  font-weight: 700;
  display: block;
  margin-top: 8px;
  margin-bottom: 8px;
}
.s08-locations-table {
  border-collapse: collapse;
}
.s08-locations-table td {
  padding: 6px 20px;
  border: 1px solid rgba(26, 58, 74, 0.2);
  color: #717171;
}


/* ============================
   ANIMATIONS
   ============================ */

/* Scroll reveal */
[data-animate] { opacity: 0; }
[data-animate].in-view { animation: slideUp 0.7s ease-out forwards; }
[data-animate].in-view[data-delay="1"] { animation-delay: 0.1s; }
[data-animate].in-view[data-delay="2"] { animation-delay: 0.2s; }
[data-animate].in-view[data-delay="3"] { animation-delay: 0.3s; }
[data-animate].in-view[data-delay="4"] { animation-delay: 0.4s; }

/* S02: override generic opacity transition — fade children instead.
   Reason: opacity on container creates stacking context, breaking mix-blend-mode: screen
   on guardian images. Fading individual children avoids this isolation. */
.s02-panel .slider-slide {
  transition: visibility 0s ease 0.5s;
}
.s02-panel .slider-slide.active {
  transition: visibility 0s ease 0s;
}
.s02-panel .slider-slide .s02-slide-title,
.s02-panel .slider-slide .s02-slide-img,
.s02-panel .slider-slide .s02-trillion-imgs,
.s02-panel .slider-slide .s02-trillion-text,
.s02-panel .slider-slide .slide-note,
.s02-panel .slider-slide .s02-guardian-img,
.s02-panel .slider-slide .s02-guardian-circle {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.s02-panel .slider-slide.active .s02-slide-title,
.s02-panel .slider-slide.active .s02-slide-img,
.s02-panel .slider-slide.active .s02-trillion-imgs,
.s02-panel .slider-slide.active .s02-trillion-text,
.s02-panel .slider-slide.active .slide-note,
.s02-panel .slider-slide.active .s02-guardian-img,
.s02-panel .slider-slide.active .s02-guardian-circle {
  opacity: 1;
}

/* Section-level scroll reveal */
.sec-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.sec-reveal.revealed {
  opacity: 1;
  transform: none;
}
.sec-reveal.reveal-delay-1 { transition-delay: 0.22s; }
.sec-reveal.reveal-delay-2 { transition-delay: 0.44s; }

/* S03: staggered card entrance on slide 1 */
.s03-slide.active .s03-cards img:nth-child(1) { animation: slideUp 0.6s ease-out 0.05s both; }
.s03-slide.active .s03-cards img:nth-child(2) { animation: slideUp 0.6s ease-out 0.18s both; }
.s03-slide.active .s03-cards img:nth-child(3) { animation: slideUp 0.6s ease-out 0.31s both; }

/* ============================
   SECTION 05 – DOT NAVIGATION
   ============================ */
.s05-dots {
  position: absolute;
  bottom: 5.5%;
  left: 15%;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 2;
}
.s05-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(46, 192, 196, 0.3);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.s05-dot.active {
  background: rgba(46, 192, 196, 0.85);
  transform: scale(1.35);
}
.s05-dot:hover {
  background: rgba(46, 192, 196, 0.65);
}

/* ── S04 slide content animations ── */
.slider-slide.active .s04-slide-title {
  animation: fadeIn 0.55s ease both;
}
.slider-slide.active .s04-charts {
  animation: slideInLeft 0.65s ease 0.1s both;
}
.slider-slide.active .s04-slide2-left {
  animation: slideInLeft 0.65s ease 0.1s both;
}
.slider-slide.active .s04-slide2-right {
  animation: slideInRight 0.65s ease 0.25s both;
}


/* S04 section title entrance handled by container sec-reveal */

/* ── S05 frame: scroll-triggered perspectiveIn ── */
.js-io .s05-frame-wrap {
  opacity: 0;
  transform-origin: center bottom;
}
.s05-frame-wrap.animate-in {
  animation: perspectiveIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ============================
   RESPONSIVE
   ============================ */
/* ============================
   RESPONSIVE – 1024px
   ============================ */
@media (max-width: 1090px) {
  .s05-vi-title br { display: none; }
  .s05-vi-title {
    font-size: 14px;
    top: 35%;
  }
  .s05-video-item:nth-child(2) .s05-vi-title { top: 40%; }
  .s05-video-item:nth-child(3) .s05-vi-title { top: 50%; }
}

@media (max-width: 1024px) {
  .container { padding: 0 40px; }

  /* S01 */
  .s01-cert      { width: 260px; }
  .s01-flag      { height: 42px; left: calc(100% + 10px); }
  .s01-title     { width: min(640px, 88vw); }
  .s01-countdown { width: min(580px, 82vw); }

  /* S02 */
  .s02-slider-wrap { padding: 0 20px; }
  .s02-panel { padding: 40px 30px 32px; background-size: cover; }

  /* S08 */
  .s08-campaign { gap: 28px; }
}

/* ============================
   RESPONSIVE – 768px
   ============================ */
@media (max-width: 768px) {
  .mobile-br { display: block; }
  .mobile-hide { display: none; }

  /* Nevi bar → hamburger */
  .nevi-bar { display: none !important; }
  .ham-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: fixed;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 6px;
    gap: 4px;
    z-index: 270;
    animation: slideFromTopFixed 0.6s ease-out 1.1s both;
  }
  .ham-btn.is-open .ham-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .ham-btn.is-open .ham-line:nth-child(2) { opacity: 0; }
  .ham-btn.is-open .ham-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .ham-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 250;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .ham-overlay.is-open { opacity: 1; pointer-events: auto; }

  .ham-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 255px;
    height: 100%;
    background: var(--teal);
    z-index: 260;
    padding: 72px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .ham-menu.is-open { transform: translateX(0); }

  .ham-item {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  .ham-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.3); }

  .ham-social {
    display: flex;
    gap: 12px;
    margin-top: 28px;
  }
  .ham-social a { display: block; line-height: 0; }
  .ham-social img { height: 36px; width: auto; }

  /* 全 section 背景修正：格線層 480px auto repeat，其餘層 cover */
  .s02, .s04, .s06 {
    background-size: 720px auto, cover;
    background-repeat: repeat, no-repeat;
    background-position: top center;
  }
  .s03, .s05, .s07, .s08, .s09 {
    background-size: 720px auto, cover, cover;
    background-repeat: repeat, no-repeat, no-repeat;
    background-position: top center;
  }
  .s02, .s03, .s04, .s05, .s06, .s07, .s08 { min-height: unset; padding: 60px 0; }

  .container { padding: 0 20px; }

  /* Mobile title images: height-based */
  .s02-main-title,
  .s03-main-title,
  .s04 .section-img-title,
  .s05 .section-img-title,
  .s06-main-title,
  .s08 .section-img-title  { height: 24vw; max-height: 160px; width: auto; max-width: none; }
  .s07 .section-img-title  { width: 80vw; max-width: 280px; height: auto; max-height: none; }

  /* Fixed panel */
  .fixed-panel { top: auto; bottom: 120px; transform: none; right: -100px; }
  .fixed-panel.fp-visible { right: 4px; }
  .fp-btn img  { width: 48px; }

  /* Download modal */
  .dl-modal-box { max-width: calc(100vw - 16px); aspect-ratio: 633 / 526; }
  .dl-modal-close { font-size: 17px; }
  .dl-modal-links { gap: 0; padding-top: 13%; padding-bottom: 6%; align-items: center; }
  .dl-modal-links img { width: 83%; }
  .fp-btn { border-radius: 13px; }

  /* S01 */
  .s01-topbar    { padding: 16px 50px 0 20px; }
  .s01-logo      { height: 28px; }
  .s01-social img { height: 27px; }
  .s01-center    { padding-top: 80px; }
  .s01-cert      { width: 200px; }
  .s01-cert-group { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .s01-flag      { position: static; transform: none; height: 28px; }
  .s01-title     { width: min(480px, 88vw); }
  .s01-countdown { width: min(440px, 82vw); }

  /* S02 */
  .s02-trillion-imgs { flex-direction: column; width: 90%; gap: 16px; }
  .s02-trillion-imgs img { flex: none; width: 100%; }
  .s02-panel { padding: 28px 40px 24px; min-height: unset; }
  .s02-slide-img,
  .s02-slide-disclaimer { width: 100%; }
  .s02-slide-img { padding: 0; }
  .s02-guardian-content { width: 100%; }
  .s02-guardian-content { overflow: visible; }
  .s02-guardian-img { mix-blend-mode: unset; margin-top: 0; }
  .s02-guardian-circle { display: none; }
  .s02-no1-label { width: 13%; }
  .s02-panel .slider-arrow { height: 22px; }
  .s02-panel .slider-prev { top: auto; bottom: 14px; left: calc(50% - 40px); right: auto; transform: none; }
  .s02-panel .slider-next { top: auto; bottom: 14px; left: calc(50% + 8px); right: auto; transform: none; }
  .s02-panel .slider-slides { padding-top: 70px; padding-bottom: 44px; }

  /* S03 */
  .s03-cards { flex-direction: column; align-items: center; }
  .s03-cards img { max-width: 88vw; }

  /* S04 */
  .s04 .slide-note { width: 100%; margin-left: 0; }
  .slide-note { word-break: normal; overflow-wrap: anywhere; line-break: auto; }
  .s04-charts { flex-wrap: wrap; justify-content: center; }
  .s04-charts img { flex: unset; width: 90%; max-width: 500px; }
  .s04-slide2-content { flex-direction: column; align-items: center; gap: 16px; }
  .s04-slide2-left  { flex: none; width: 100%; }
  .s04-slide2-right { flex: none; width: 100%; }
  .s04-slide2-right img { width: 100%; height: auto; display: block; }

  /* S05 */
  .s05-video-embed { top: 7.1%; left: 5.2%; width: 89.6%; height: 37.9%; }
  .s05-video-item { left: 5%; width: 90%; }
  .s05-video-item:nth-child(1) { top: 47%; height: 15%; }
  .s05-video-item:nth-child(2) { top: 62%; height: 15%; }
  .s05-video-item:nth-child(3) { top: 77%; height: 14%; }
  .s05-vi-title { left: calc(32% - 40px); width: 75%; font-size: 14px; top: 64%; transform: translateY(-50%); overflow: hidden; }
  .s05-video-item:nth-child(2) .s05-vi-title { top: 56%; }
  .s05-video-item:nth-child(3) .s05-vi-title { top: 43%; }

  /* S06 */
  .s06-layout { flex-direction: column; align-items: center; gap: 24px; }
  .s06-col { width: 100%; justify-content: center; }
  .s06-right-group { justify-content: center; }
  .s06-col:last-child { flex-direction: column; }
  .s06-col:first-child .s06-pie-ribbon img:first-child,
  .s06-col:last-child  .s06-pie-ribbon img:first-child { max-width: min(55vw, 300px); }
  .s06-caption { max-width: min(22vw, 120px); transform: translateY(-7px); }
  .s06-ribbon-dt { display: none !important; }
  .s06-ribbon-mb { display: block; width: 100%; max-width: 342px; height: auto; margin-top: 20px; }

  /* S07 */
  .s07-table { max-width: 100%; }

  /* S08 */
  .s08-block-title { width: min(80vw, 400px); font-size: 16px; }
  .s08-campaign { flex-direction: column; align-items: center; padding: 0 20px; gap: 24px; }
  .s08-campaign-card { max-width: 374px; width: 100%; }
  .s08-locations { flex-direction: column; gap: 16px; transform: none; }
  .s08-location-item { text-align: center; }
  .s08-campaign-link { bottom: 60px; }
  .s08-body-text { font-size: 14px; }

  /* S09 */
  .s09-disclaimer-wrap { padding: 24px 20px 40px; }
  .s09-disclaimer-text { font-size: 16px; }

  /* Footer */
  .footer-info { flex-direction: column; align-items: center; gap: 16px; padding: 20px 24px 60px; }
  .footer-left, .footer-right { text-align: center; }

  /* Shared */
}

/* ============================
   RESPONSIVE – 480px
   ============================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .s02, .s03, .s04, .s05, .s06, .s07, .s08 { padding: 48px 0; }

  /* Fixed panel */
  .fixed-panel { top: auto; bottom: 50px; transform: none; right: -100px; }
  .fixed-panel.fp-visible { right: 4px; }
  .fp-btn img  { width: 40px; }

  /* Download modal */
  .dl-modal-box { max-width: calc(100vw - 16px); }
  .dl-modal-close { font-size: 16px; }
  .dl-modal-links { gap: 0; padding-top: 13%; padding-bottom: 6%; align-items: center; }
  .dl-modal-links img { width: 83%; }
  .fp-btn { border-radius: 11px; }

  /* S01 */
  .s01-cert      { width: 160px; }
  .s01-flag      { height: 22px; }
  .s01-title     { width: min(340px, 88vw); }
  .s01-countdown { width: min(310px, 82vw); }

  /* S02 */
  .s02-panel { padding: 20px 16px 16px; }
  .s02-no1-label { width: 16%; }
  .s02-panel .slider-arrow { height: 18px; }
  .s02-panel .slider-prev { width: 32px; left: calc(50% - 36px); bottom: 12px; }
  .s02-panel .slider-next { width: 32px; left: calc(50% + 4px); bottom: 12px; }

  /* S03 */
  .s03-cards { flex-direction: column; align-items: center; }
  .s03-cards img { max-width: 88vw; }

  /* S04 */
  .s04-charts { flex-direction: column; align-items: center; }
  .s04-charts img { width: 90vw; max-width: 100%; }

  /* Title images: height-based */
  .s02-main-title,
  .s03-main-title,
  .s04 .section-img-title,
  .s05 .section-img-title,
  .s06-main-title,
  .s08 .section-img-title  { height: 24vw; max-height: 160px; width: auto; max-width: none; }
  .s07 .section-img-title  { width: 80vw; max-width: 280px; height: auto; max-height: none; }

  /* S08 */
  .s08-block-title { width: 90vw; font-size: 14px; }
  .s08-campaign-link { bottom: 40px; }

  /* S09 */
  .s09-disclaimer-wrap { padding: 20px 16px 32px; }
}

/* Scroll-triggered animation */
.anim-target {
  opacity: 0;
  transform: translateY(28px);
}
.anim-target.is-visible {
  animation: slideUp 0.7s ease forwards;
}
.anim-target.delay-1 { animation-delay: 0.12s; }
.anim-target.delay-2 { animation-delay: 0.24s; }
.anim-target.delay-3 { animation-delay: 0.36s; }
.anim-target.delay-4 { animation-delay: 0.48s; }

/* Nevi active state */
.nevi-link {
  position: relative;
  flex-basis: 0;
  display: block;
}
/* 各自按設計寬度比例佔位（總計 1440px） */
.nevi-link:nth-child(1) { flex-grow: 285; } /* global-map */
.nevi-link:nth-child(2) { flex-grow: 293; } /* key-core */
.nevi-link:nth-child(3) { flex-grow: 290; } /* ETF-analysis */
.nevi-link:nth-child(4) { flex-grow: 293; } /* tech-insights */
.nevi-link img {
  width: 100%;
  height: auto;
  display: block;
}
/* CSS sparkle: 柔和水平光暈，無邊界 */
.nevi-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: radial-gradient(
    ellipse 62% 38% at 50% 100%,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(160, 228, 255, 0.45) 32%,
    rgba(80, 185, 230, 0.12) 62%,
    transparent 80%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.nevi-link.active::after,
.nevi-link:hover::after {
  opacity: 1;
}
.nevi-link.active img,
.nevi-link:hover img {
  filter: brightness(1.15);
}

