/* =====================================================================
   iXensor · Shared Stylesheet
   Levels-inspired Data Dashboard Redesign
   遵循 iXensor Brand Identity Guidelines 2022.01

   Primary:  #FF6720  Pantone 165 C
   Ink:      #3F4443  Pantone 446 C
   Deep:     #2C3130  (用於對比區塊,非純黑)
   Fonts:    Helvetica Neue + Noto Sans TC + JetBrains Mono (技術標籤)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500&family=Noto+Sans+TC:wght@300;400;500;700&display=swap');

:root {
  --orange:       #FF6720;
  --orange-600:   #E85A16;
  --orange-tint:  #FFF1E8;
  --orange-glow:  rgba(255,103,32,0.14);

  --ink:          #3F4443;
  --deep:         #2C3130;

  --bg:           #F7F5F0;
  --bg-2:         #EFECE5;
  --paper:        #FFFFFF;

  --grey-line:    #E2DDD4;
  --grey-line-2:  #CFC8BE;
  --grey-text:    #948A82;
  --grey-100:     #F1F1F1;

  --ok:           #10A36B;

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 4px;
  --radius-lg: 10px;

  --sans: "Helvetica Neue","Noto Sans TC",Helvetica,Arial,sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
::selection { background: var(--orange); color: #fff; }

/* ============ Layout primitives ============ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.mono  { font-family: var(--mono); font-feature-settings: "tnum" on; letter-spacing: 0; }
.tnum  { font-feature-settings: "tnum" on; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-text);
  font-weight: 500;
}

.dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  vertical-align: middle;
}

.live::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 8px;
  vertical-align: middle;
  animation: live 1.6s infinite var(--ease);
}
@keyframes live {
  0%   { box-shadow: 0 0 0 0 rgba(255,103,32,0.45); }
  100% { box-shadow: 0 0 0 10px rgba(255,103,32,0); }
}

/* ============ Navigation ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(247,245,240,0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--grey-line); }
.nav__logo img {
  height: 28px; width: auto;
  display: block;
}
.nav__menu {
  display: flex; gap: 32px;
  font-size: 14px;
}
.nav__menu a {
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}
.nav__menu a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width .3s var(--ease);
}
.nav__menu a:not(.nav__cta):hover,
.nav__menu a:not(.nav__cta)[aria-current="page"] {
  color: var(--orange);
}
.nav__menu a:not(.nav__cta):hover::after,
.nav__menu a:not(.nav__cta)[aria-current="page"]::after { width: 100%; }
.nav__cta {
  position: relative;
  padding: 4px 0;
  font-size: 14px;
  color: var(--ink);
  background: none;
  border: 0;
  text-decoration: none;
  transition: color .25s;
}
.nav__cta::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width .3s var(--ease);
}
.nav__cta:hover,
.nav__cta[aria-current="page"] { color: var(--orange); background: none; }
.nav__cta:hover::after,
.nav__cta[aria-current="page"]::after { width: 100%; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all .25s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--orange); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--grey-line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ============ Page Hero (subpages) ============ */
.page-hero {
  position: relative;
  padding: 150px var(--gutter) 80px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 35% at 85% 20%, var(--orange-glow), transparent 60%),
    linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  pointer-events: none;
  z-index: 0;
}
.page-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative; z-index: 1;
}
.page-hero__crumb {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  background: var(--paper);
  border: 1px solid var(--grey-line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 36px;
  text-transform: uppercase;
}
.page-hero__crumb a { color: var(--grey-text); transition: color .2s; }
.page-hero__crumb a:hover { color: var(--orange); }
.page-hero__crumb .sep { color: var(--grey-line-2); }
.page-hero__crumb .current { color: var(--orange); font-weight: 500; }

.page-hero h1 {
  font-size: clamp(40px, 5.4vw, 84px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: 28px;
}
.page-hero h1 em { font-style: normal; color: var(--orange); font-weight: 500; }

/* ============ Page Hero 視覺版(文字 + 圖片並列)============ */
.page-hero--media .page-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 940px) {
  .page-hero--media .page-hero__inner { grid-template-columns: 1fr; gap: 36px; }
}
.page-hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--grey-line);
  aspect-ratio: 4/3;
}
.page-hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.page-hero__visual--contain img { object-fit: contain; padding: 24px; }
@media (max-width: 940px) {
  .page-hero__visual { aspect-ratio: 16/10; }
}

/* ============ Page Hero 影片橫幅版(全幅背景影片)============ */
.page-hero--video {
  padding: 0;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
}
.page-hero--video .page-hero__bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.page-hero--video .page-hero__bg video,
.page-hero--video .page-hero__bg img {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}
.page-hero--video .page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44,49,48,0.45) 0%, rgba(44,49,48,0.30) 40%, rgba(44,49,48,0.75) 100%);
}
.page-hero--video .page-hero__inner {
  position: relative; z-index: 1;
  padding: 0 var(--gutter) 56px;
  width: 100%;
}
.page-hero--video.page-hero::before { display: none; }
.page-hero--video h1 { color: var(--bg); }
.page-hero--video .page-hero__lead { color: rgba(247,245,240,0.86); }
.page-hero--video .page-hero__crumb {
  background: rgba(247,245,240,0.12);
  border-color: rgba(247,245,240,0.25);
  color: var(--bg);
  backdrop-filter: blur(8px);
}
.page-hero--video .page-hero__crumb a { color: rgba(247,245,240,0.7); }
.page-hero--video .page-hero__crumb .current { color: var(--orange); }
.page-hero--video .page-hero__stats .k { color: var(--bg); }
.page-hero--video .page-hero__stats .k b { color: var(--orange); }

.page-hero h1 b { font-weight: 500; color: var(--ink); }
.page-hero__lead {
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--ink);
  opacity: 0.78;
  max-width: 56ch;
  line-height: 1.65;
  margin-bottom: 40px;
}

/* small stats strip under page-hero */
.page-hero__stats {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--grey-line);
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.page-hero__stats .s {
  border-left: 1px solid var(--grey-line-2);
  padding-left: 16px;
}
.page-hero__stats .s .k {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.page-hero__stats .s .k b { color: var(--orange); font-weight: 400; }
.page-hero__stats .s .l {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
}

/* ============ Section rhythm ============ */
section { position: relative; z-index: 1; }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--deep); color: var(--bg); }
.section--dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 100%);
  pointer-events: none;
}
.section--dark .wrap { position: relative; z-index: 1; }

.section__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
@media (max-width: 860px) {
  .section__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}
.section__head .lbl {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.section__head .lbl .id {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 4px 9px;
  border-radius: 3px;
}
.section--dark .section__head .lbl .id { color: var(--orange); border-color: var(--orange); }
.section__head h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.section__head h2 em { font-style: normal; color: var(--orange); font-weight: 500; }
.section__head h2 b { font-weight: 500; }
.section--dark .section__head h2 { color: var(--bg); }
.section__head .lead {
  font-size: 16px;
  color: var(--ink);
  opacity: 0.74;
  line-height: 1.65;
  max-width: 44ch;
}
.section--dark .section__head .lead { color: rgba(247,245,240,0.72); opacity: 1; }

/* ============ Ticker ============ */
.ticker {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ticker__track {
  display: flex; gap: 56px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: ticker 46s linear infinite;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 10px; color: rgba(247,245,240,0.85); }
.ticker__track span b { color: var(--orange); font-weight: 500; }
.ticker__track .sep { color: rgba(255,255,255,0.2); }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ Card base ============ */
.card {
  background: var(--paper);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s var(--ease);
}
.card:hover { border-color: var(--ink); }

/* ============ Chip / Pill ============ */
.chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--orange-tint);
  color: var(--orange-600);
  font-weight: 500;
}
.chip--dark { background: var(--ink); color: var(--bg); }
.chip--outline { background: transparent; border: 1px solid var(--orange); color: var(--orange); }

/* ============ CTA Closing Band ============ */
.closing {
  padding: clamp(120px, 14vw, 180px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute; inset: auto -10% -30% auto;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, var(--orange-glow), transparent 60%);
  pointer-events: none; z-index: 0;
}
.closing .wrap { position: relative; z-index: 1; }
.closing .id {
  display: inline-block;
  font-family: var(--mono); font-size: 11px;
  color: var(--orange); letter-spacing: 0.14em;
  padding: 4px 9px; border: 1px solid var(--orange);
  border-radius: 3px; margin-bottom: 24px;
}
.closing h2 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  max-width: 18ch;
  margin-inline: auto;
}
.closing h2 em { font-style: normal; color: var(--orange); font-weight: 500; }
.closing__ctas {
  display: inline-flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
}

/* ============ Footer ============ */
footer {
  background: var(--deep);
  color: rgba(247,245,240,0.72);
  padding: 80px 0 36px;
  font-size: 13px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-logo img {
  height: 30px;
  filter: brightness(0) invert(1);
}
.foot-tag {
  margin-top: 16px; font-size: 13px; max-width: 32ch;
  color: rgba(247,245,240,0.52);
}
.foot-col h5 {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,245,240,0.48);
  margin-bottom: 18px; font-weight: 500;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a:hover { color: var(--orange); }
.foot-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 11px;
  color: rgba(247,245,240,0.4);
  letter-spacing: 0.06em;
}

/* ============ Reveal animations ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .06s; }
[data-delay="2"] { transition-delay: .12s; }
[data-delay="3"] { transition-delay: .18s; }
[data-delay="4"] { transition-delay: .24s; }


/* =====================================================================
   導覽列 + 頁尾改版(回合 1)· 新增 7 項導覽、產品下拉、手機選單
   後定義覆蓋前面舊的 .nav / footer 規則
   ===================================================================== */

/* ============ Navigation ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(247,245,240,0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--grey-line); }

/* 深色 Hero 上的透明導覽(首頁影片 Hero 用)*/
.nav.on-dark:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
}
.nav.on-dark:not(.scrolled) .nav__menu > a,
.nav.on-dark:not(.scrolled) .nav__menu > .nav__group > a {
  color: var(--bg);
}
.nav.on-dark:not(.scrolled) .nav__cta { color: var(--bg); background: none; }
.nav.on-dark:not(.scrolled) .nav__cta:hover { color: var(--orange); background: none; }
.nav.on-dark:not(.scrolled) .nav__logo img { filter: brightness(0) invert(1); }
.nav.on-dark:not(.scrolled) .nav__burger span { background: var(--bg); }

.nav__logo img { height: 26px; width: auto; display: block; }

.nav__menu {
  display: flex; align-items: center; gap: 30px;
  font-size: 14px;
}
.nav__menu > a,
.nav__group > a {
  position: relative;
  padding: 4px 0;
  color: var(--ink);
  transition: color .25s;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav__menu > a::after,
.nav__group > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width .3s var(--ease);
}
.nav__menu > a:hover,
.nav__menu > a[aria-current="page"],
.nav__group > a:hover,
.nav__group.is-active > a {
  color: var(--orange);
}
.nav__menu > a:hover::after,
.nav__menu > a[aria-current="page"]::after,
.nav__group:hover > a::after,
.nav__group.is-active > a::after { width: 100%; }

/* 產品下拉箭頭 */
.nav__group > a .caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .25s var(--ease);
  margin-left: 2px;
}
.nav__group:hover > a .caret { transform: rotate(225deg) translateY(-1px); }

/* 下拉選單面板 */
.nav__group { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: var(--paper);
  border: 1px solid var(--grey-line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 24px 48px -20px rgba(63,68,67,0.18);
  opacity: 0; visibility: hidden;
  transition: all .28s var(--ease);
}
.nav__group:hover .nav__dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* 連接間隙,避免滑鼠移動時關閉 */
.nav__group::after {
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 18px;
}
.nav__dropdown a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 14px;
  border-radius: 10px;
  color: var(--ink);
  transition: background .2s var(--ease);
}
.nav__dropdown a:hover { background: var(--bg); }
.nav__dropdown a:hover .nav__dd-title { color: var(--orange); }
.nav__dd-ico {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--orange-tint);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav__dd-ico svg { width: 18px; height: 18px; stroke: var(--orange); fill: none; stroke-width: 1.7; }
.nav__dd-title {
  font-size: 14px; font-weight: 500; color: var(--ink);
  transition: color .2s; line-height: 1.3;
}
.nav__dd-desc {
  font-size: 11.5px; color: var(--grey-text);
  margin-top: 3px; line-height: 1.4;
}

.nav__cta {
  position: relative;
  padding: 4px 0;
  font-size: 14px;
  color: var(--ink);
  background: none;
  border: 0;
  text-decoration: none;
  transition: color .25s;
}
.nav__cta::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width .3s var(--ease);
}
.nav__cta:hover,
.nav__cta[aria-current="page"] { color: var(--orange); background: none; }
.nav__cta:hover::after,
.nav__cta[aria-current="page"]::after { width: 100%; }

/* 手機漢堡按鈕 */
.nav__burger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 26px; height: 20px;
  justify-content: center;
  cursor: pointer;
  background: none; border: 0;
  padding: 0;
}
.nav__burger span {
  display: block; height: 2px; width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 手機版選單(滑出式抽屜)*/
@media (max-width: 920px) {
  .nav__burger { display: flex; }
  .nav__right-actions { display: none; }

  .nav__menu {
    position: fixed;
    top: 0; right: 0;
    width: min(82vw, 360px);
    height: 100vh; height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 88px 28px 40px;
    box-shadow: -20px 0 60px -20px rgba(63,68,67,0.25);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    overflow-y: auto;
    font-size: 16px;
  }
  .nav__menu.is-open { transform: translateX(0); }

  .nav__menu > a,
  .nav__group > a {
    color: var(--ink) !important;
    padding: 16px 0;
    border-bottom: 1px solid var(--grey-line);
    width: 100%;
  }
  .nav__menu > a::after, .nav__group > a::after { display: none; }

  /* 手機版下拉直接展開為子項 */
  .nav__group { position: static; }
  .nav__group > a .caret { margin-left: auto; }
  .nav__dropdown {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    box-shadow: none; border: 0;
    background: var(--bg);
    border-radius: 10px;
    min-width: 0;
    padding: 6px;
    margin: 8px 0 12px;
    display: none;
  }
  .nav__group.is-open .nav__dropdown { display: block; }
  .nav__group.is-open > a .caret { transform: rotate(225deg) translateY(-1px); }
  .nav__group::after { display: none; }

  .nav__cta {
    color: var(--ink) !important;
    padding: 16px 0;
    border-bottom: 1px solid var(--grey-line);
    width: 100%;
    background: none;
    border-radius: 0;
  }
  .nav__cta:hover { color: var(--orange) !important; background: none; }
}

/* 手機選單開啟時的背景遮罩 */
.nav__overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(44,49,48,0.4);
  backdrop-filter: blur(2px);
  z-index: 99;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.nav__overlay.is-open { display: block; opacity: 1; }


/* ============ Footer(四欄 + 法規揭露)============ */
footer {
  background: var(--deep);
  color: rgba(247,245,240,0.72);
  padding: 72px 0 32px;
  font-size: 13px;
}
.foot-grid {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) 44px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-logo img { height: 28px; filter: brightness(0) invert(1); }
.foot-tag {
  margin-top: 16px;
  font-size: 13px; color: rgba(247,245,240,0.6);
  max-width: 34ch; line-height: 1.65;
}
.foot-corp {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(247,245,240,0.46);
  letter-spacing: 0.04em;
  line-height: 1.8;
}
.foot-corp b { color: rgba(247,245,240,0.7); font-weight: 500; }

.foot-col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.5);
  margin-bottom: 18px;
  font-weight: 500;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 11px; }
.foot-col a { color: rgba(247,245,240,0.72); transition: color .2s; }
.foot-col a:hover { color: var(--orange); }

.foot-bottom {
  max-width: var(--max); margin: 0 auto;
  padding: 26px var(--gutter) 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono); font-size: 11px;
  color: rgba(247,245,240,0.4); letter-spacing: 0.04em;
}
.foot-bottom a { color: rgba(247,245,240,0.4); }
.foot-bottom a:hover { color: var(--orange); }


/* ============ 循環飛輪圖(Proactive Health Flywheel)============ */
.cycle { max-width: 880px; margin: 0 auto; position: relative; }
.cycle__svg { width: 100%; height: auto; display: block; }
.cycle__center { font-family: var(--mono); }
.cycle-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; align-items: stretch; }
@media (max-width: 760px) { .cycle-steps { grid-template-columns: 1fr; } }
.cycle-step { position: relative; background: var(--paper); border: 1px solid var(--grey-line); border-radius: var(--radius-lg); padding: 32px 26px 28px; transition: all .3s var(--ease); overflow: hidden; }
.cycle-step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.cycle-step:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(255,103,32,0.28); }
.cycle-step:hover::before { transform: scaleX(1); }
.cycle-step__num { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cycle-step__num .badge { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(160deg, #FF7E38, #E85A16); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 20px; box-shadow: 0 8px 20px -8px rgba(232,90,22,0.6); }
.cycle-step__num .step-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--orange); text-transform: uppercase; line-height: 1.4; }
.cycle-step__num .step-kicker b { display: block; font-size: 15px; letter-spacing: 0; color: var(--ink); font-weight: 600; }
.cycle-step h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.cycle-step p { font-size: 13.5px; line-height: 1.65; color: var(--ink); opacity: 0.74; }
