/* ======================================================
   ROOT & GLOBAL
====================================================== */
:root{
  --hp-bg: #e9eeff;
  --hp-bg-soft: #f5f7ff;
  --hp-shell: #fdfdff;
  --hp-accent: #4d6bff;
  --hp-accent-soft: #9fb4ff;
  --hp-accent-neon: #6ff3ff;
  --hp-text-main: #1a2340;
  --hp-text-sub: #5d6685;
  --hp-pill-bg: #ffffff;
  --hp-pill-border: rgba(150,170,230,.55);
  --hp-radius-xl: 32px; 
  --hp-card-bg: rgba(255,255,255,0.22);
  --hp-card-border: rgba(255,255,255,0.38);
  --hp-glow: rgba(120,150,255,0.36);
  --hp-radius: 24px; 
  --hp-shadow-soft: 0 28px 60px rgba(15,35,95,.25);
  --muted: #5c6482;
  --glass-bg: rgba(255,255,255,.82);
  --glass-bg-strong: rgba(255,255,255,.92);
  --glass-blur: blur(22px);
  --glass-border: rgba(255,255,255,.55);
  --ink-main:#0f172a;
  --ink-muted:#64748b;
  --accent:#4f7cff;
}
/* ======================================================
   RESET & BASE
====================================================== */
*, *::before, *::after{
  box-sizing: border-box;
}

html, body{
  margin: 0;
  padding: 0;
}

body{
  font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top,#f2f4ff,#e1e7ff 48%,#dae2ff 100%);
  color: var(--hp-text-main);
}

/* 通用區塊 */
.section{
  padding: 80px 20px;
}

.section-title{
  text-align: center;
  margin: 0 auto 40px;
  max-width: 720px;
}

.section-title h2{
  font-size: 1.9rem;
  margin: 0 0 10px;
}

.section-title p{
  color: var(--hp-text-sub);
  margin: 0;
}

/* ======================================================
   TOPBAR
====================================================== */
.topbar{
  position: relative;
  z-index: 10000;
  background: #050f3a;
  color: #e3e8ff;
  font-size: 12px;
}

.topbar-inner{
  max-width: 1440px;
  margin: 0 auto;
  padding: 6px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-tagline strong{
  color: #4fe2ff;
}

.topbar-left{
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-right{
  display: flex;
  align-items: center;
  gap: 12px;
}
/* ======================================================
   NAV – GLOBAL (DESKTOP + MOBILE)
====================================================== */
.nav{
  position: sticky;
  top: 0;
  z-index: 9000;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom,rgba(239,244,255,.96),rgba(239,244,255,.72));
  border-bottom: 1px solid rgba(120,140,255,.18);
}

.nav-inner{
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ======================================================
   MENU – DESKTOP
====================================================== */
.nav-menu{
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a,
.nav-link-btn{
  border: 0;
  background: none;
  font: inherit;
  color: #4a5070;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background .25s,color .25s,transform .25s;
}

.nav-menu a:hover,
.nav-link-btn:hover{
  background: rgba(82,113,255,.10);
  color: #5271ff;
  transform: translateY(-1px);
}

/* ======================================================
   SUB MENU – CLICK ONLY (NO HOVER)
====================================================== */
.has-sub{
  position: relative;
}

.nav-sub{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  list-style: none;
  box-shadow: 0 18px 40px rgba(7,13,42,.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}

/*  ONLY click (.open) can open */
.has-sub.open > .nav-sub{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ======================================================
   2nd LEVEL
====================================================== */
.nav-sub-2{
  margin: 6px 0;
  padding: 0;
}

.nav-sub-2 li{
  list-style: none;
}

.nav-sub-2 a{
  display: block;
  padding: 6px 10px;
  border-radius: 10px;
}

.nav-sub-2 a:hover{
  background: rgba(82,113,255,.08);
}

/* ======================================================
   TOGGLE (HAMBURGER)
====================================================== */
.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 4px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span{
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: #303552;
}

/* ======================================================
   MOBILE
====================================================== */
@media (max-width:900px){

  .nav-toggle{ display: flex; }

  .nav-menu{
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    margin-top: 10px;
    background: #fff;
    border-radius: 18px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: 0 18px 40px rgba(7,13,42,.35);

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .3s ease, opacity .3s ease;
    z-index: 99999;
  }

  .nav-menu.open{
    max-height: 2000px;
    opacity: 1;
    overflow: visible;
  }

  /* mobile sub menu */
  .nav-sub{
    position: static;
    box-shadow: none;
    opacity: 1;
    transform: none;
    display: none;
    margin-left: 14px;
    padding: 6px 0;
  }

  .has-sub.open > .nav-sub{
    display: block;
  }

  /* mobile language entry */
  .nav-lang-mobile{
    display: block;
    margin-bottom: 6px;
  }
}

/* ======================================================
   LANGUAGE SWITCH
====================================================== */
.lang-switch{
  position: relative;
}

.lang-btn{
  border: 1px solid rgba(255,255,255,.25);
  background: #0d1238;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-menu{
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  background: #0e133f;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  min-width: 160px;
  z-index: 999999;
}

.lang-menu.open{
  display: block;
}

.lang-menu button{
  width: 100%;
  border: 0;
  background: none;
  color: #d3d9ff;
  text-align: left;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.lang-menu button:hover{
  background: rgba(255,255,255,.10);
  color: #fff;
}

/* ======================================================
   MAIN & SECTION HEADER
====================================================== */
main{
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 32px 80px;
}

.section-header h2{
  font-size: 22px;
  margin: 0 0 4px;
}

.section-header p{
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ======================================================
   GLOBAL REVEAL
====================================================== */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease-out, transform 480ms ease-out;
  will-change: opacity, transform;
}

.reveal.visible{
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1{ transition-delay: 120ms; }
.reveal-delay-2{ transition-delay: 220ms; }
.reveal-delay-3{ transition-delay: 320ms; }




/* ======================================================
   GLASS CARD – GENERIC
====================================================== */
.glass-card{
  padding: 28px 24px;
  border-radius: var(--hp-radius);
  background: var(--hp-card-bg);
  border: 1px solid var(--hp-card-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 22px 60px var(--hp-glow),
    inset 0 0 28px rgba(255,255,255,0.45);
  transition: 0.35s ease;
  animation: cardFloat 8s ease-in-out infinite;
}

.glass-card:hover{
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 32px 75px rgba(120,130,255,0.38),
    inset 0 0 34px rgba(255,255,255,0.62);
}

@keyframes cardFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}

.card-icon{
  font-size: 2rem;
  margin-bottom: 16px;
  color: #6e7ff5;
}

/* ======================================================
   HERO – VISION PRO GLASS
====================================================== */
.hero-smart{
  position: relative;
  overflow: hidden;
  padding: 72px clamp(20px,6vw,80px) 88px;
}

.hero-bg{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-cloud{
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 0 0,rgba(255,255,255,.85) 0,transparent 55%),
    radial-gradient(circle at 80% 0,rgba(171,188,255,.6) 0,transparent 60%),
    radial-gradient(circle at 0 100%,rgba(205,222,255,.65) 0,transparent 65%);
  opacity: .9;
}

.hero-cloud.cloud-2{
  inset: -10%;
  filter: blur(18px);
  opacity: .6;
}

.hero-beam{
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
}

.hero-shell{
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1.05fr);
  gap: 40px;
  align-items: center;
}

.hero-left{
  position: relative;
  z-index: 2;
}

.hero-kicker{
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hp-text-sub);
  margin: 0 0 10px;
}

.hero-title{
  font-size: clamp(2.4rem,3vw,3rem);
  line-height: 1.15;
  margin: 0 0 14px;
}

.hero-title-accent{
  color: var(--hp-accent);
}

.hero-desc{
  margin: 0 0 22px;
  font-size: .95rem;
  color: var(--hp-text-sub);
}

.hero-cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.pill{
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .88rem;
  border: 1px solid var(--hp-pill-border);
  background: var(--hp-pill-bg);
  box-shadow: 0 8px 24px rgba(90,110,190,.18);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition:
    transform .18s ease-out,
    box-shadow .18s ease-out,
    background .18s ease-out,
    color .18s ease-out;
}

.pill.primary{
  background: linear-gradient(135deg,#4f7dff,#6ed5ff);
  color: #fff;
  border-color: transparent;
}

.pill:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(40,70,160,.26);
}

.hero-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .8rem;
  color: #717aa2;
}

.hero-tags .tag{
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(248,250,255,.95);
  border: 1px solid rgba(200,210,250,.55);
}

/* HERO 右側卡 */
.hero-right{
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.orbit-card{
  position: relative;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 4/5;
  border-radius: var(--hp-radius-xl);
  background: radial-gradient(circle at 20% 0,#fefeff 0,#edf2ff 50%,#dde6ff 100%);
  box-shadow:
    0 26px 80px rgba(40,60,130,.35),
    0 0 0 1px rgba(255,255,255,.8);
  overflow: hidden;
}

.orbit-bg-grid{
  position: absolute;
  inset: -60px;
  background-image:
    radial-gradient(circle at 10% 0,rgba(255,255,255,.9) 0,transparent 55%),
    radial-gradient(circle at 80% 100%,rgba(159,180,255,.4) 0,transparent 70%),
    repeating-linear-gradient(
      135deg,
      rgba(165,183,255,.15) 0,
      rgba(165,183,255,.15) 1px,
      transparent 1px,
      transparent 10px
    );
  opacity: .9;
  mix-blend-mode: screen;
}

.orbit-beam{
  position: absolute;
  inset: 8%;
  border-radius: 32px;
  pointer-events: none;
  background:
    conic-gradient(from 210deg,
      transparent 0,
      rgba(133,187,255,.13) 4%,
      rgba(111,243,255,.45) 9%,
      rgba(133,187,255,.08) 16%,
      transparent 25%,
      transparent 100%);
  mix-blend-mode: screen;
  opacity: .8;
  animation: orbitBeamSweep 22s linear infinite;
}

.orbit-beam-2{
  inset: 18%;
  filter: blur(4px);
  opacity: .5;
  animation-duration: 32s;
  animation-direction: reverse;
}

@keyframes orbitBeamSweep{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

.orbit-stage{
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
}

.orbit-stage:active{
  cursor: grabbing;
}

.orbit-sphere{
  position: relative;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 18%,#ffffff 0,#f7f9ff 35%,#bccbff 70%,#8e9fff 100%);
  box-shadow:
    0 28px 80px rgba(40,60,140,.45),
    inset 0 0 28px rgba(255,255,255,1);
}

.orbit-sphere-inner{
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 15%,#ffffff 0,#f4f7ff 40%,#c2d0ff 100%);
  box-shadow:
    0 18px 40px rgba(45,70,150,.35),
    inset 0 0 22px rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-core-label{
  text-align: center;
  z-index: 2;
}

.core-title{
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .02em;
  margin-bottom: 4px;
}

.core-sub{
  font-size: .8rem;
  color: var(--hp-text-sub);
}

/* 水波紋 */
.wave{
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(159,180,255,.6);
  box-shadow: 0 0 18px rgba(159,180,255,.9);
  opacity: 0;
  mix-blend-mode: screen;
  animation: wavePulse 5.5s ease-out infinite;
}
.wave-2{ animation-delay: 1.4s; }
.wave-3{ animation-delay: 2.8s; }

@keyframes wavePulse{
  0%{ transform: scale(.7); opacity: .6; }
  70%{ transform: scale(1.25); opacity: 0; }
  100%{ transform: scale(1.5); opacity: 0; }
}

/* 節點 pill */
.orbit-layer{
  position: absolute;
  inset: 0;
}

.orbit-node{
  position: absolute;
  border: none;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .8rem;
  background: radial-gradient(circle at 30% 10%,#ffffff 0,#f8fbff 40%,#cfe0ff 100%);
  color: var(--hp-text-main);
  box-shadow:
    0 12px 32px rgba(70,100,180,.35),
    0 0 0 1px rgba(255,255,255,.9);
  transform: translate(-50%,-50%);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition:
    box-shadow .18s ease-out,
    transform .18s ease-out,
    background .18s ease-out;
}

.orbit-node:hover{
  box-shadow:
    0 16px 38px rgba(40,70,150,.4),
    0 0 0 1px rgba(127,196,255,.9);
}

/* 粒子場 */
.particle-field{
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle{
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 0 12px rgba(255,255,255,.9);
  opacity: 0;
  animation: particleRise linear infinite;
}

@keyframes particleRise{
  0%{ transform: translate3d(0,12px,0); opacity: 0; }
  10%{ opacity: .7; }
  80%{ opacity: .7; }
  100%{ transform: translate3d(0,-42px,0); opacity: 0; }
}

/* ======================================================
   ViDA BLOCK / 右側滑動軸
====================================================== */
.vida-right{
  width: 72%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.vida-row{
  display: flex;
  gap: 26px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 10px;
}

.vida-row::-webkit-scrollbar{
  display: none;
}

.vida-scroll{
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 6px 6px 16px 6px;
  scrollbar-width: none;
}

.vida-scroll::-webkit-scrollbar{
  display: none;
}

/* 下方流動軌道 */
.vida-scroll-track{
  width: 100%;
  height: 4px;
  background: #ced6ff55;
  border-radius: 30px;
  margin-top: 22px;
  position: relative;
  overflow: hidden;
}

.vida-scroll-track::after{
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg,#8ea4ff 0%,#d7dfff 100%);
  animation: pipeline 3s linear infinite;
}

@keyframes pipeline{
  0%{ left: -30%; }
  100%{ left: 100%; }
}

/* ViDA 卡片 */
.vida-block{
  position: relative;
  min-width: 280px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(18px) saturate(140%);
  padding: 26px;
  border-radius: 20px;
  box-shadow:
    0 14px 34px rgba(50,70,150,.15),
    inset 0 1px 1px rgba(255,255,255,.55),
    inset 0 -2px 4px rgba(50,70,140,.2);
  transition: .3s;
}

.vida-block:hover{
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(80,110,200,.25),
    0 0 20px rgba(120,160,255,.42);
}

/* 底部光條 */
.vida-block::after{
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg,#8fa8ff 0%,#d6ddff 60%,transparent 100%);
  border-radius: 4px;
  opacity: .6;
}

.vida-block h4{
  margin-bottom: 12px;
  color: #1c2f68;
  font-size: 18px;
  font-weight: 700;
}

.vida-block ul{
  padding-left: 16px;
  margin: 0;
  line-height: 1.7;
  font-size: 14px;
}

.vida-block ul li{
  margin: 4px 0;
  position: relative;
}

.vida-block ul li::before{
  content: "•";
  color: #5d76ff;
  font-weight: 700;
  margin-right: 6px;
}

/* ViDA Scroll Reveal */
.reveal-tech{
  opacity: 0;
  transform: translateY(30px);
  transition: .9s cubic-bezier(.17,.8,.3,1);
}

.reveal-tech.visible{
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================
   NEWS FILTER TABS
====================================================== */
.insights-glass-hub{
  padding: clamp(60px, 8vw, 120px) 6vw;
  background: linear-gradient(180deg,#f7f9fc,#ffffff);
}

/* Header */
.insights-glass-header{
  max-width: 880px;
  margin-bottom: 48px;
}
.insights-eyebrow{
  font-size:.8rem;
  letter-spacing:.12em;
  color:#6b8cff;
}
.insights-title{
  font-size:clamp(32px,4vw,48px);
  margin:10px 0;
}
.insights-desc{
  color:#8b95a7;
}

/* Filter Bar */
.insights-glass-filter{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:18px 22px;
  border-radius:18px;
  background:rgba(255,255,255,.7);
  backdrop-filter: blur(18px);
  box-shadow:0 20px 50px rgba(0,0,0,.06);
  margin-bottom:48px;
}

.insights-tabs{
  display:flex;
  gap:10px;
}
.insights-tabs .tab{
  padding:10px 18px;
  border-radius:999px;
  border:0;
  background:transparent;
  cursor:pointer;
  color:#6b7280;
}
.insights-tabs .tab.is-active{
  background:#4f7cff;
  color:#fff;
}

/* Search */
.insights-search input{
  border:0;
  padding:10px 14px;
  border-radius:999px;
  background:#f1f4f9;
}

/* Grid */
.insights-glass-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:36px;
}

/* Card */
.insights-card{
  background:rgba(255,255,255,.85);
  border-radius:22px;
  padding:16px;
  box-shadow:0 25px 60px rgba(0,0,0,.08);
  opacity:0;
  transform: translateY(24px) scale(.98);
  transition: 
    opacity .8s ease,
    transform .8s cubic-bezier(.2,.8,.2,1);
}

.insights-card:hover{
  transform:translateY(-6px);
  box-shadow:0 35px 80px rgba(0,0,0,.12);
}

/* 進場 */
.insights-card.is-visible{
  opacity:1;
  transform: translateY(0) scale(1);
}

.insights-thumb{
  position:relative;
  border-radius:18px;
  overflow:hidden;
}
.insights-thumb img{
  width:100%;
  height:400px;
  object-fit:cover;
}
.badge{
  position:absolute;
  top:12px;
  left:12px;
  padding:6px 12px;
  font-size:.75rem;
  border-radius:999px;
  backdrop-filter:blur(10px);
}
.badge.tech{background:rgba(110,168,255,.85)}
.badge.event{background:rgba(96,206,180,.85)}
.badge.honor{background:rgba(255,190,110,.9)}

.insights-card time{
  font-size:.8rem;
  color:#9aa3b2;
}
.insights-card h3{
  margin:8px 0;
}
.insights-card p{
  color:#7b8496;
  font-size:.8rem;
}
.insights-card .more{
  color:#4f7cff;
  font-weight:500;
}

.insights-drawer{
  position:fixed;
  inset:0;
  z-index:999;
  pointer-events:none;
}

.insights-drawer.active{
  pointer-events:auto;
}

/* 背景遮罩 */
.drawer-mask{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.18);
  opacity:0;
  transition:.4s;
}
.insights-drawer.active .drawer-mask{
  opacity:1;
}

/* Drawer 主體 */
.drawer-panel{
  position:absolute;
  right:0;
  top:0;
  height:100%;
  width:min(520px,100%);
  background:rgba(255,255,255,.88);
  backdrop-filter: blur(22px);
  transform:translateX(100%);
  transition:.5s cubic-bezier(.2,.8,.2,1);
  box-shadow:-40px 0 80px rgba(0,0,0,.15);
  border-radius:24px 0 0 24px;
}

/* 手機：底部抽屜 */
@media(max-width:768px){
  .drawer-panel{
    width:100%;
    height:90%;
    bottom:0;
    top:auto;
    transform:translateY(100%);
    border-radius:24px 24px 0 0;
  }
}

.insights-drawer.active .drawer-panel{
  transform:none;
}

/* 內容 */
.drawer-content{
  padding:32px;
  overflow:auto;
}
.drawer-close{
  position:absolute;
  top:18px;
  right:18px;
  border:0;
  background:rgba(0,0,0,.05);
  border-radius:50%;
  width:36px;
  height:36px;
  cursor:pointer;
}

.insights-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  margin-top:60px;
}

.page-btn,
.page-numbers button{
  border:0;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(12px);
  border-radius:999px;
  padding:10px 18px;
  cursor:pointer;
}

.page-numbers .active{
  background:#4f7cff;
  color:#fff;
}

.ios-glass-newsdeck{
  padding: clamp(72px,9vw,140px) 6vw;
  background:
    radial-gradient(1200px 600px at 20% -10%, #eef3ff, transparent 60%),
    linear-gradient(#f9fbff,#ffffff);
}

.ios-glass-newsdeck__card{
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-radius: 22px;
  padding: 16px;
  border: 1px solid var(--glass-border);
  box-shadow:
    0 20px 50px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.6);
  transition:
    transform .6s cubic-bezier(.2,.8,.2,1),
    box-shadow .6s,
    background .4s;
  opacity:0;
  transform: translateY(18px) scale(.985);
}

.ios-glass-newsdeck__card:hover{
  transform: translateY(-6px);
  background: var(--glass-bg-strong);
  box-shadow:
    0 30px 80px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.7);
}

.ios-glass-newsdeck__card.is-visible{
  opacity:1;
  transform:none;
}

.ios-glass-newsdeck__drawer-panel{
  background: var(--glass-bg-strong);
  backdrop-filter: blur(28px);
  border-radius: 28px 0 0 28px;
  box-shadow: -40px 0 80px rgba(0,0,0,.18);
}

@media(max-width:768px){
  .ios-glass-newsdeck__drawer-panel{
    border-radius:28px 28px 0 0;
    height:90%;
  }
}

.ios-glass-newsdeck__grid{
  display:grid;
  gap: clamp(28px, 3vw, 44px);
  grid-template-columns:
    repeat(auto-fit, minmax(280px,1fr));
}

@media(max-width:768px){
  .ios-glass-newsdeck__grid{
    gap:24px;
  }
}

@media(max-width:480px){
  .ios-glass-newsdeck__grid{
    gap:22px;
  }
}

.ios-glass-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top: clamp(64px, 8vw, 96px);
}

.pg-pages{
  display:flex;
  gap:10px;
  padding:6px;
  border-radius:999px;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(14px);
  box-shadow:
    0 10px 30px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.6);
}

.pg-page{
  width:38px;
  height:38px;
  border-radius:50%;
  border:0;
  background: transparent;
  color:#475569;
  font-weight:500;
  cursor:pointer;
  transition:.25s;

  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
}

.pg-page:hover{
  background: rgba(0,0,0,.04);
}

.pg-page.is-active{
  background: rgba(79,124,255,.9);
  color:#fff;
  box-shadow:
    0 6px 18px rgba(79,124,255,.45),
    inset 0 1px 0 rgba(255,255,255,.6);
}

.pg-arrow{
  width:40px;
  height:40px;
  border-radius:50%;
  border:0;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  cursor:pointer;
  color:#64748b;    
  transition:.25s;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
}

.pg-arrow:hover{
  background: rgba(255,255,255,.8);
  color:#0f172a;
}

.pg-arrow:active{
  transform: scale(.92);
}

@media(max-width:480px){
  .ios-glass-pagination{
    gap:10px;
  }

  .pg-page{
    width:34px;
    height:34px;
  }

  .pg-arrow{
    width:34px;
    height:34px;
  }
}

.pg-dots{
  padding:0 6px;
  color:#94a3b8;
  font-weight:600;
  user-select:none;
}


/* ======================================================
   FOOTER
====================================================== */
.footer{
  background: #05001c;
  color: #e9edff;
  padding: 26px 20px 20px;
}

.footer-shell{
  max-width: 1440px;
  margin: 0 auto 10px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  font-size: 14px;
}

/* Footer links color */
.footer a,
.footer-meta a,
.footer-links a{
  color: #a69bf7 !important;
  text-decoration: none;
}

.footer a:hover,
.footer-meta a:hover,
.footer-links a:hover{
  color: #a69bf7 !important;
  text-decoration: underline;
}

/* Company */
.footer-company .footer-title{
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
}

.footer-logo-wrap{
  display: inline-block;
  margin: 4px 0 10px;
}

.footer-logo{
  width: 150px;
  height: auto;
  display: block;
}

.footer-tagline{
  font-size: 12px;
  color: #9da5f5;
  margin-top: 0;
}

/* Contact */
.footer-contact p{
  margin: 1px 0;
  line-height: 1.3;
}

/* Social */
.footer-social{
  display: flex;
  gap: 12px;
}

.footer-social a{
  width: 28px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Meta */
.footer-meta{
  max-width: 1440px;
  margin: 0 auto;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9da5f5;
}

.footer-links{
  display: flex;
  gap: 11px;
}

/* 平板 */
@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  }
}

/* 手機 */
@media (max-width: 640px) {
  .page-title { font-size: 26px; }
  .news-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}

/* ======================================================
   RWD – LAYOUT
====================================================== */
@media (max-width: 1100px){
  .vida-layout{
    flex-direction: column;
  }

  .vida-left{
    width: 100%;
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 12px;
  }

  .vida-right{
    width: 100%;
  }
}

@media (max-width: 900px){
  main{
    padding: 24px 16px 60px;
  }

  .hero-smart{
    padding: 52px 18px 60px;
  }

  .hero-shell{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-right{
    order: -1;
  }

  .orbit-card{
    max-width: 360px;
    margin: 0 auto;
  }

  .footer-shell{
    grid-template-columns: 1fr;
    text-align: left;
    gap: 20px;
  }

  .footer-meta{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
  }
}

@media (max-width: 700px){
  .vida-left{
    grid-template-columns: 1fr 1fr;
  }

  .vida-block{
    min-width: 90%;
  }
}

@media (max-width: 640px){
  .section{
    padding: 60px 16px;
  }

  .hero-title{
    font-size: 2.1rem;
  }

  .orbit-sphere{
    width: 190px;
    height: 190px;
  }

  .orbit-sphere-inner{
    inset: 14%;
  }
}

/* ======================================================
   HiPower Motion System (HMS) – Global Animations
   放在整份 CSS 最後
====================================================== */

:root{
  --hm-ease: cubic-bezier(.16, 1, .3, 1);
}

/* 基本動畫狀態 */
.hm-animate{
  opacity:0;
  transform:translate3d(0, 18px, 0);
  transition:
    opacity .72s var(--hm-ease),
    transform .72s var(--hm-ease),
    filter .72s var(--hm-ease);
  will-change:opacity, transform, filter;
}

/* 進場後狀態 */
.hm-animate.hm-in{
  opacity:1;
  transform:translate3d(0, 0, 0);
  filter:none;
}

/* ========= 方向變化（data-motion） ========= */

/* 往上淡入 */
[data-motion="fade-up"]{
  transform:translate3d(0, 24px, 0);
}
[data-motion="fade-up"].hm-in{
  transform:translate3d(0, 0, 0);
}

/* 往下淡入 */
[data-motion="fade-down"]{
  transform:translate3d(0, -24px, 0);
}
[data-motion="fade-down"].hm-in{
  transform:translate3d(0, 0, 0);
}

/* 往左淡入（從右側滑入） */
[data-motion="fade-left"]{
  transform:translate3d(24px, 0, 0);
}
[data-motion="fade-left"].hm-in{
  transform:translate3d(0, 0, 0);
}

/* 往右淡入（從左側滑入） */
[data-motion="fade-right"]{
  transform:translate3d(-24px, 0, 0);
}
[data-motion="fade-right"].hm-in{
  transform:translate3d(0, 0, 0);
}

/* 縮放 + 淡入（適合卡片 / 圓形物件） */
[data-motion="scale-fade"]{
  transform:scale(.94);
}
[data-motion="scale-fade"].hm-in{
  transform:scale(1);
}

/* y 軸位移 + 微縮放 */
[data-motion="lift-soft"]{
  transform:translate3d(0, 26px, 0) scale(.98);
}
[data-motion="lift-soft"].hm-in{
  transform:translate3d(0, 0, 0) scale(1);
}

/* ===============================
   卡片類型細緻調整
================================ */

/* HERO 左文案 & 右球體 */
.hero-smart .hero-left.hm-animate,
.hero-smart .hero-right.hm-animate{
  transition-duration:.80s;
}

/* Solutions Map 卡片 / Node */
.section-solutions .solutions-node.hm-animate{
  transition-duration:.78s;
}

/* ViDA / Tech 卡片 */
.vida-block.hm-animate{
  transition-duration:.85s;
}

/* 地區卡 + 聯絡卡 */
.cl-card.hm-animate,
.contact-card.hm-animate{
  transition-duration:.9s;
}

/* Timeline / 歷程軸項目 */
.timeline-item.hm-animate{
  transition-duration:.8s;
}

/* Footer 整塊淡入 */
.footer.hm-animate{
  transition-duration:.8s;
}

/* ===============================
   Hover 不受進場動畫影響
================================ */
.hm-animate:hover{
  
}

/* ===============================
   小螢幕
================================ */
@media (max-width: 640px){
  .hm-animate{
    transform:translate3d(0, 14px, 0);
  }
  [data-motion="fade-left"],
  [data-motion="fade-right"]{
    transform:translate3d(0, 14px, 0);
  }
}
