/* ======================================================
   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;
  --hp-text:#141933;
  --hp-muted:#7b82a6;
  --hp-accent:#3f63ff;
  --hp-accent-soft:#b4c6ff;
  --hp-gold-soft:#ffe7bf;
  --hp-radius-xl:28px;
  --hp-shadow-soft:0 26px 60px rgba(120,130,180,.22);
  --hp-transition-fast:220ms cubic-bezier(.22,.61,.36,1);
}

/* ======================================================
   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);
}

.page-shell{
      max-width:1280px;
      margin:0 auto;
      padding:0 24px;
    }

/* 通用區塊 */
.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 
====================================================== */
.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: 32px;
  margin: 0 0 4px;
  text-align: center;
}

.section-header p{
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 1000;
}

/* ======================================================
   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; }

/* ==================================================
   ITS Deep Space Background
================================================== */

.its-bg-deepspace {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(70,40,255,0.32) 0%, rgba(10,10,40,0) 60%),
    radial-gradient(circle at 80% 20%, rgba(0,180,255,0.20) 0%, rgba(0,0,0,0) 55%),
    radial-gradient(circle at 20% 80%, rgba(150,80,255,0.18) 0%, rgba(0,0,0,0) 60%),
    radial-gradient(circle at top, #05071A 0%, #070B24 45%, #020614 80%, #00030C 100%);
}
 /* ------------------------------
       Global fog 
    -------------------------------*/
    .its-bg-layer{
      position:fixed;
      inset:0;
      z-index:-1;
      pointer-events:none;
      overflow:hidden;
    }
    .its-bg-fog{
      position:absolute;
      inset:-20%;
      background:
        radial-gradient(900px 600px at 10% 10%, rgba(255,231,191,.45), transparent 70%),
        radial-gradient(900px 600px at 80% 80%, rgba(188,203,255,.55), transparent 70%);
      filter:blur(40px);
      opacity:.65;
      animation:fogDrift 40s ease-in-out infinite alternate;
    }
    .its-bg-dots span{
      position:absolute;
      width:3px;height:3px;
      background:radial-gradient(circle,rgba(255,255,255,.95),rgba(255,255,255,0));
      border-radius:50%;
      opacity:.65;
      animation:dotFloat 18s linear infinite;
    }
    /* ------------------------------
       HERO 區
    -------------------------------*/
    .its-hero{
      padding:32px 0 60px;
    }
    /* 外層全寬 */
    .its-hero,
    .its-hero-inner,
    .page-shell {
      max-width: none !important;
      width: 100% !important;
    }
    .its-hero-inner{
      background: radial-gradient(circle at 0 0, rgba(255,231,191,.23) 0, transparent 55%),
                  radial-gradient(circle at 100% 100%, rgba(180,196,255,.23) 0, transparent 55%),
                  #f9faff;
      border-radius:40px;
      box-shadow: var(--hp-shadow-soft);
      padding:48px 56px;         
      display:grid;
      grid-template-columns:minmax(0,1.2fr) minmax(0,1.1fr);
      gap:40px;
      position:relative;
      overflow:hidden;
    }

    .its-hero-inner::before{
      content:"";
      position:absolute;
      inset:-40%;
      background:radial-gradient(circle at 10% 0,rgba(255,255,255,.6),transparent 52%);
      opacity:.7;
      pointer-events:none;
    }
     /*  左側白色卡片 */
    .its-hero-copy{
      position:relative;
      z-index:2;
      /* background: rgba(255,255,255,.88); */
      backdrop-filter: blur(12px);
      border-radius: 24px;
      padding:52px 42px;
      /* box-shadow: 0 20px 60px rgba(0,0,0,.15); */
    }
     /*  左右雙欄 */
    .its-eyebrow{
      font-size:.8rem;
      letter-spacing:.18em;
      text-transform:uppercase;
      color:var(--hp-muted);
      margin-bottom:10px;
    }
    .its-title{
      font-size:2.4rem;
      line-height:1.25;
      margin:0 0 14px;
      font-weight:750;
    }
    .its-subtitle{
      font-size:1.35rem;
      font-weight:640;
      color:#304fff;
      margin-bottom:16px;
    }
    .its-lead{
      font-size:.95rem;
      line-height:1.8;
      color:var(--hp-muted);
      max-width:560px;
      margin-bottom:20px;
    }

    .hero-tags{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      margin-bottom:22px;
    }
    .hero-tag{
      padding:6px 14px;
      border-radius:999px;
      background:rgba(255,255,255,.9);
      border:1px solid rgba(189,199,255,.7);
      font-size:.8rem;
      color:#47518b;
      display:inline-flex;
      align-items:center;
      gap:6px;
      cursor:pointer;
      transition:background var(--hp-transition-fast),
                 transform var(--hp-transition-fast),
                 box-shadow var(--hp-transition-fast),
                 color var(--hp-transition-fast);
      box-shadow:0 10px 26px rgba(150,170,230,.25);
    }
    .hero-tag i{
      font-size:.85rem;
    }
    .hero-tag.active,
    .hero-tag:hover{
      background:linear-gradient(135deg,#c7efff,#a0b9ff);
      color:#0e004b;
      box-shadow:0 14px 30px rgba(98, 96, 203, 0.4);
      transform:translateY(-1px);
    }

    .hero-tag.active{background:#cfe0ff;}   
    .its-hero-right{
      width:auto;
      display:flex;
      justify-content:flex-end; 
      align-items:stretch;
    }    
    /* 右側 iframe 區塊 */
    .its-hero-right {
      width: 100% !important;
      min-width: 0 !important;
      max-width: none !important;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: visible !important;
      position: relative;
      z-index: 1;
    }

    .its-hero-right 
    .huborbit-section{
      margin:0;
      padding:0;
      width:100%;
      width:auto !important;        
      display:flex;
      justify-content:flex-end;        
      align-items:stretch;
    }   
    
    .huborbit-right{
      width: 100%;
      max-width: 520px;     
      margin:0;
      padding:0;
    }
        
    .its-hero-right 
    .huborbit-canvas{
      position:relative;
      flex:1 1 auto;
      min-height:460px;
      border-radius:18px;
      overflow:hidden;
    }

    .its-hero-right {
      width:100%;
      padding:18px 18px 16px;      
    }

    .its-kpi-row{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:14px;
      margin-top:18px;
    }

     /* ==============================
            VBS SVG  RWD 
          ============================== */
          .vbs-topology-wrap{
            margin: 80px auto 0;
            max-width: 1280px;   
            width: 100%;
            padding: 0 12px;
          }

          .vbs-topology-svg{
            width: 100%;
            height: auto;
            display: block;
            background: transparent;
          }

          /* 平板 */
          @media (max-width: 1024px){
            .vbs-topology-wrap{
              max-width: 960px;
            }
          }

          /* 手機 */
          @media (max-width: 768px){
            .vbs-topology-wrap{
              max-width: 100%;
              margin-top: 40px;
            }
          }
          /* ===============================
            單色 ICON
          =============================== */
          .icon{
            fill: none;
            stroke: #eaf1ff;
            stroke-width: 2.2;
            stroke-linecap: round;
            stroke-linejoin: round;
          }
          /* ===============================
            911 紅色警報模式
          =============================== */
          /* .alert-box{
            stroke:#ff2c2c;
            animation:alertFlash 1s infinite;
          }

          .alert-pulse{
            fill:none;
            stroke:#ff2c2c;
            stroke-width:3;
            animation:alertPulse 1.2s infinite;
          } */

          @keyframes alertFlash{
            0%{opacity:1;}
            50%{opacity:.45;}
            100%{opacity:1;}
          }

          @keyframes alertPulse{
            0%{r:12;opacity:.85;}
            100%{r:46;opacity:0;}
          }
    /* ------------------------------
       動畫 KEYFRAMES
    -------------------------------*/
    @keyframes fogDrift{
      0%{transform:translate3d(-5%,0,0);}
      50%{transform:translate3d(6%,4%,0);}
      100%{transform:translate3d(-4%,-2%,0);}
    }
    @keyframes dotFloat{
      0%{transform:translate3d(0,0,0);}
      100%{transform:translate3d(10px,-40px,0);}
    }
    @keyframes gridMove{
      0%{background-position:0 0;}
      100%{background-position:40px 40px;}
    }
    @keyframes beamFlow{
      0%{transform:translateX(-60%); opacity:0;}
      25%{opacity:1;}
      100%{transform:translateX(140%); opacity:0;}
    }
    @keyframes pulseGlow{
      0%{transform:scale(1); opacity:.55;}
      50%{transform:scale(1.45); opacity:1;}
      100%{transform:scale(1); opacity:.55;}
    }
    @keyframes cardBreath{
      0%{box-shadow:0 18px 32px rgba(15,20,60,.72);}
      50%{box-shadow:0 26px 48px rgba(20,26,75,.92);}
      100%{box-shadow:0 18px 32px rgba(15,20,60,.72);}
    }
    @keyframes cloudDrift{
      0%{transform:translateX(-12%);}
      100%{transform:translateX(18%);}
    }
    @keyframes floatBar{
      0%{transform:translateY(0);}
      50%{transform:translateY(-8px);}
      100%{transform:translateY(0);}
    }
    @keyframes badgeSweep{
      0%{transform:translate3d(-40%,0,0);}
      100%{transform:translate3d(40%,0,0);}
    }
    @keyframes fogMove{
      0%{transform:translate3d(-4%,0,0);}
      50%{transform:translate3d(5%,5%,0);}
      100%{transform:translate3d(-4%,0,0);}
    }
    /* ------------------------------
       RWD
    -------------------------------*/
    @media (max-width:1024px){
      .its-hero-inner{
        grid-template-columns:1fr;
        padding:28px 22px 24px;
      }     
      .vida-grid{
        grid-template-columns:1fr;
      }
    }
    @media (max-width:768px){
      main{padding:32px 0 60px;}
      .its-hero-inner{border-radius:28px;}
      .its-kpi-row{grid-template-columns:1fr;}
      .module-grid{grid-template-columns:1fr;}
      .vida-kpi-grid{grid-template-columns:1fr;}
    }

    /* =========================
        HERO 主結構
    ========================= */
     
    .huborbit-glass{
      padding: 18px 18px 16px; 
      border-radius: 30px;
    }

    .its-hero-right {
      aspect-ratio:4 / 5;  
      min-height:auto;
    }
    
    .huborbit-canvas{
      border-radius: 26px;
    }
 
    .its-hero-right .huborbit-rings span:nth-child(1){
      width:190px;
      height:190px;
    }
    .its-hero-right .huborbit-rings span:nth-child(2){
      width:320px;
      height:320px;
    }
    .its-hero-right .huborbit-rings span:nth-child(3){
      width:660px;
      height:460px;
    }

    .its-hero-right .huborbit-core-glow{
      width:230px;
      height:230px;
    }
    .its-hero-right .huborbit-core-circle{
      width:140px;
      height:140px;
    }

    /* ===== 軌道縮一圈 ===== */

    .its-hero-right .huborbit-rings span:nth-child(1){
      width:190px;
      height:190px;
    }
    .its-hero-right .huborbit-rings span:nth-child(2){
      width:320px;
      height:320px;
    }
    .its-hero-right .huborbit-rings span:nth-child(3){
      width:440px;
      height:440px;
    }

    /* 核心圈縮小 */
    .its-hero-right .huborbit-core-glow{
      width:220px;
      height:220px;
    }
    .its-hero-right .huborbit-core-circle{
      width:140px;
      height:140px;
    }

    /* 外圈軌道尺寸 */
    .its-hero-right .huborbit-orbit--outer{
      width:420px;
      height:420px;
    }
    .its-hero-right .huborbit-orbit--mid{
      width:300px;
      height:275px;
    }
    .its-hero-right .huborbit-orbit--inner{
      width:200px;
      height:140px;
    }

    /* 卡片本身縮小 */
    .its-hero-right .huborbit-card{
      padding:7px 12px 8px;
      font-size:.78rem;
      transform:translate(-50%,0) rotate(-4deg);
    }
    .its-hero-right .huborbit-card:hover,
    .its-hero-right .huborbit-card.is-active{
      transform:translate(-50%,0) rotate(-2deg) scale(1.03);
    }

    /* RWD：窄螢幕時上下排、右圖置中 */
    @media (max-width:1024px){
      .its-hero-inner{
        grid-template-columns:1fr;
        padding:32px 28px;
        gap:32px;
      }
      .its-hero-right{
        justify-content:center;
      }
    }

    @media (max-width:768px){
      .its-hero-right .huborbit-right{
        max-width:360px;
      }
    }
    /* =========================================
    VBS HERO 
    ========================================= */

    /* iframe 容器 */
    .vbs-topology-wrap {
      width: 100%; 
      aspect-ratio: 16 / 9;
      position: relative;
    }

    /* iframe 本體 */
    .vbs-topology-wrap iframe,
    .vbs-topology-wrap svg {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
      border-radius: 18px;
      box-shadow: 0 20px 60px rgba(0,0,0,.35);
    }
    
    .vbs-topology-wrap-hero{
      width:100%;
      max-width:1080px;
      height:660px;                     
      margin:0 auto;
      position:relative;
    }

    .vbs-topology-wrap-hero iframe{
      width:100%;
      height:100%;
      border:none;
      border-radius:18px;
      box-shadow:0 20px 30px rgba(0,0,0,.35);
    }   

    .kpi-card{
      position:relative;
      border-radius:22px;
      padding:16px 18px 14px;
      background:linear-gradient(145deg,rgba(13,17,40,.96),rgba(12,23,64,.98));
      color:#f4f5ff;
      box-shadow:0 20px 35px rgba(19,30,84,.5);
      overflow:hidden;
      cursor:pointer;
      transition:transform var(--hp-transition-fast),
                 box-shadow var(--hp-transition-fast),
                 background var(--hp-transition-fast);
      animation:cardBreath 6s ease-in-out infinite;
    }
    .kpi-card::before{
      content:"";
      position:absolute;
      inset:-40%;
      background:radial-gradient(circle at 0 0,rgba(132,174,255,.9),transparent 55%);
      opacity:.55;
      pointer-events:none;
    }
    .kpi-label{
      font-size:.78rem;
      opacity:.84;
    }
    .kpi-value{
      font-size:1.4rem;
      font-weight:700;
      margin-top:4px;
    }
    .kpi-meta{
      margin-top:6px;
      font-size:.78rem;
      color:#8dd6ff;
    }
    .kpi-card:hover,
    .kpi-card.active{
      transform:translateY(-4px);
      box-shadow:0 26px 46px rgba(15,30,90,.8);
      background:linear-gradient(145deg,#171d46,#182559);
    }

    /* HERO 4-way */
    .its-hero-visual{
      position:relative;
      z-index:2;
      border-radius:32px;
      padding:16px;
      background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(248,250,255,.98));
      box-shadow:0 24px 60px rgba(140,150,210,.35);
    }
    .hero-visual-inner{
      position:relative;
      border-radius:24px;
      overflow:hidden;
      background:#050713;
    }

    .hero-grid{
      position:absolute;
      inset:0;
      background-size:70px 70px;
      background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
      opacity:.7;
      animation:gridMove 18s linear infinite;
    }

    .hero-cross{
      position:absolute;
      inset:0;
    }
    .hero-cross .horiz,
    .hero-cross .vert{
      position:absolute;
      background:radial-gradient(circle at 50% 50%,rgba(0,0,0,.4) 0,rgba(0,0,0,1) 60%);
    }
    .hero-cross .horiz{
      left:0;right:0;
      top:50%;
      height:26%;
      transform:translateY(-50%);
    }
    .hero-cross .vert{
      top:0;bottom:0;
      left:50%;
      width:26%;
      transform:translateX(-50%);
    }

    .hero-beam-line{
      position:absolute;
      left:12%;
      right:12%;
      top:50%;
      height:2px;
      transform:translateY(-50%);
      overflow:hidden;
    }
    .hero-beam-line::after{
      content:"";
      position:absolute;
      left:-30%;
      top:0;
      width:60%;
      height:100%;
      background:linear-gradient(90deg,
        rgba(255,255,255,0),
        rgba(155,199,255,1),
        rgba(255,255,255,0)
      );
      box-shadow:0 0 12px rgba(188,216,255,.9);
      animation:beamFlow 4s ease-out infinite;
    }
    .hero-dot{
      position:absolute;
      width:14px;
      height:14px;
      border-radius:50%;
      background:radial-gradient(circle,#f7fbff 0,#a7d2ff 45%,rgba(0,0,0,0) 70%);
      filter:drop-shadow(0 0 10px rgba(160,204,255,.9));
      animation:pulseGlow 3s ease-in-out infinite;
    }
    .hero-dot.dot-tl{ top:39%; left:36%; }
    .hero-dot.dot-tr{ top:39%; right:36%; animation-delay:.5s; }
    .hero-dot.dot-bl{ bottom:30%; left:36%; animation-delay:.9s; }
    .hero-dot.dot-br{ bottom:30%; right:36%; animation-delay:1.3s; }

    .hero-glow-fog{
      position:absolute;
      inset:-20%;
      background:
        radial-gradient(circle at 50% 80%,rgba(255,255,255,.12),transparent 55%),
        radial-gradient(circle at 10% 10%,rgba(145,170,255,.25),transparent 65%);
      mix-blend-mode:screen;
      opacity:.9;
      animation:fogMove 26s ease-in-out infinite alternate;
    }

    .hero-bottom-fade{
      position:absolute;
      left:0;right:0;bottom:0;
      height:100px;
      background:linear-gradient(to top,#050713,transparent);
    }

    .hero-visual-size{
      padding-top:56%;
    }

    /* ------------------------------
       ITS Modules 
    -------------------------------*/
    .its-modules{
      margin-top:40px;
    }
    .section-eyebrow{
      font-size:.78rem;
      letter-spacing:.2em;
      text-transform:uppercase;
      color:var(--hp-muted);
      margin-bottom:10px;
    }
    .section-title{
      font-size:1.8rem;
      font-weight:720;
      margin:0 0 6px;
    }
    .section-sub{
      color:var(--hp-text);
      font-size:.92rem;
      margin-bottom:20px;
      margin-left:20px;
      max-width:760px;
    }

    .module-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:18px;
    }

    .module-card{
      position:relative;
      background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(248,249,255,.98));
      border-radius:26px;
      padding:20px 22px 20px;
      box-shadow:0 20px 42px rgba(150,170,210,.26);
      overflow:hidden;
      display:flex;
      flex-direction:column;
      gap:10px;
      transition:transform var(--hp-transition-fast),
                 box-shadow var(--hp-transition-fast),
                 background var(--hp-transition-fast);
      cursor:pointer;
    }
    .module-card::before{
      content:"";
      position:absolute;
      inset:-40%;
      background:radial-gradient(circle at 0 0,rgba(255,231,191,.6),transparent 60%);
      opacity:.5;
      pointer-events:none;
    }
    .module-card::after{
      content:"";
      position:absolute;
      inset:0;
      background:radial-gradient(circle at 100% 100%,rgba(188,208,255,.4),transparent 60%);
      opacity:.4;
      mix-blend-mode:screen;
      pointer-events:none;
    }
    .module-card:hover,
    .module-card.active{
      transform:translateY(-6px);
      box-shadow:0 26px 50px rgba(145,160,222,.4);
      background:linear-gradient(145deg,rgba(255,255,255,1),rgba(250,252,255,1));
    }

    .module-header{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
    }
    .module-title-wrap{
      display:flex;
      flex-direction:column;
      gap:4px;
    }
    .module-title{
      font-weight:700;
      font-size:1.02rem;
    }
    .module-tag{
      font-size:.76rem;
      color:var(--hp-text);
    }

    .icon-badge{
      width:42px;
      height:42px;
      border-radius:18px;
      background:radial-gradient(circle at 30% 20%,#ffffff, #c3d2ff);
      display:flex;
      align-items:center;
      justify-content:center;
      box-shadow:
        0 0 0 1px rgba(255,255,255,.8),
        0 12px 26px rgba(120,140,210,.6),
        0 0 22px rgba(180,210,255,.9);
      color:#243064;
      position:relative;
      overflow:hidden;
    }
    .icon-badge::after{
      content:"";
      position:absolute;
      inset:-40%;
      background:radial-gradient(circle at 0 0,rgba(255,255,255,.9),transparent 60%);
      opacity:.8;
      mix-blend-mode:screen;
      animation:badgeSweep 3.5s linear infinite;
    }
    .icon-badge i{
      position:relative;
      z-index:1;
      font-size:1.15rem;
    }

    .module-body{
      font-size:.9rem;
      color:var(--hp-muted);
      line-height:1.8;
    }
    .module-list{
      margin:8px 0 0;
      padding-left:18px;
      font-size:.86rem;
      color:#5d6486;
    }
    .module-list li+li{margin-top:2px;}

     /* ------------------------------
       ITS 架構
    -------------------------------*/
    .its-architecture{
      margin-top:68px;
    }
    .arch-title{
      font-size:1.45rem;
      font-weight:700;
      margin:0 0 6px;
    }
    .arch-sub{
      font-size:.9rem;
      color:var(--hp-muted);
      margin-bottom:16px;
    }
    .its-hud-wrap{
      background:linear-gradient(145deg,#ffffff,#f3f5ff);
      border-radius:20px;
      padding:0px 0px 0px;
      box-shadow:0 24px 52px rgba(145,160,210,.35);
    }
    .its-hud-container iframe{
      border-radius:8px;
      background:#000;
    }

    .info-panel{
      margin-top:14px;
      border-radius:10px;
      padding:12px 14px;
      background:rgba(10,15,40,.95);
      color:#ecf3ff;
      font-size:.86rem;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
    }
    .info-panel h3{
      margin:0 0 2px;
      font-size:.92rem;
    }
    .info-panel p{
      margin:0;
      opacity:.8;
    }

    /* ------------------------------
       動畫 KEYFRAMES
    -------------------------------*/
    @keyframes fogDrift{
      0%{transform:translate3d(-5%,0,0);}
      50%{transform:translate3d(6%,4%,0);}
      100%{transform:translate3d(-4%,-2%,0);}
    }
    @keyframes dotFloat{
      0%{transform:translate3d(0,0,0);}
      100%{transform:translate3d(10px,-40px,0);}
    }
    @keyframes gridMove{
      0%{background-position:0 0;}
      100%{background-position:40px 40px;}
    }
    @keyframes beamFlow{
      0%{transform:translateX(-60%); opacity:0;}
      25%{opacity:1;}
      100%{transform:translateX(140%); opacity:0;}
    }
    @keyframes pulseGlow{
      0%{transform:scale(1); opacity:.55;}
      50%{transform:scale(1.45); opacity:1;}
      100%{transform:scale(1); opacity:.55;}
    }
    @keyframes cardBreath{
      0%{box-shadow:0 18px 32px rgba(15,20,60,.72);}
      50%{box-shadow:0 26px 48px rgba(20,26,75,.92);}
      100%{box-shadow:0 18px 32px rgba(15,20,60,.72);}
    }
    @keyframes cloudDrift{
      0%{transform:translateX(-12%);}
      100%{transform:translateX(18%);}
    }
    @keyframes floatBar{
      0%{transform:translateY(0);}
      50%{transform:translateY(-8px);}
      100%{transform:translateY(0);}
    }
    @keyframes badgeSweep{
      0%{transform:translate3d(-40%,0,0);}
      100%{transform:translate3d(40%,0,0);}
    }
    @keyframes fogMove{
      0%{transform:translate3d(-4%,0,0);}
      50%{transform:translate3d(5%,5%,0);}
      100%{transform:translate3d(-4%,0,0);}
    }

    /* -----       RWD    ----------------*/
    @media (max-width:1024px){
      .its-hero-inner{
        grid-template-columns:1fr;
        padding:28px 22px 24px;
      }
      .its-hero-visual{order:-1;}
      .vida-grid{
        grid-template-columns:1fr;
      }
    }
    @media (max-width:768px){
      main{padding:32px 0 60px;}
      .its-hero-inner{border-radius:28px;}
      .its-kpi-row{grid-template-columns:1fr;}
      .module-grid{grid-template-columns:1fr;}
      .vida-kpi-grid{grid-template-columns:1fr;}
    }

/* ======================================================
   FOOTER
====================================================== */
.footer{
  background: #05001c;
  color: #e9edff;
  padding: 26px 20px 20px;
  position: relative !important;
  z-index: 1;
}

.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;
  }
}

@media (max-width: 1024px) {

      .its-hero-copy {
        order: 1;
      }

      .its-hero-right {
        order: 2;
        margin-top: 48px;
      }

      .vbs-topology-wrap {
        max-width: 100%;
        aspect-ratio: 16 / 10;
      }
    }

/* ======================================================
   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%;
  }
}
/* ==================================================
   ITS Deep Space Background
================================================== */
/* 
.its-bg-deepspace {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(70,40,255,0.32) 0%, rgba(10,10,40,0) 60%),
    radial-gradient(circle at 80% 20%, rgba(0,180,255,0.20) 0%, rgba(0,0,0,0) 55%),
    radial-gradient(circle at 20% 80%, rgba(150,80,255,0.18) 0%, rgba(0,0,0,0) 60%),
    radial-gradient(circle at top, #05071A 0%, #070B24 45%, #020614 80%, #00030C 100%);
} */



    /* =========================================
      hpvbsArch – VBS 三層架構玻璃板
    ========================================= */
    .hpvbs-arch{
      margin:72px auto 40px;
      max-width:1180px;
      position:relative;
    }

    .hpvbs-bg{
      position:absolute;
      inset:-30px -60px;
      border-radius:36px;
      background:
        radial-gradient(900px 600px at 0 0,rgba(255,231,191,.55),transparent 70%),
        radial-gradient(900px 600px at 100% 100%,rgba(188,203,255,.7),transparent 70%);
      opacity:.45;
      filter:blur(24px);
      pointer-events:none;
    }

    /* 大板本體 */
    .hpvbs-board{
      position:relative;
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      column-gap:22px;
      row-gap:22px;
      padding:26px 34px 30px;
      border-radius:30px;
      background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(245,248,255,.99));
      border:1px solid rgba(199,210,254,1);
      box-shadow:0 26px 60px rgba(148,163,184,.45);
      overflow:hidden;
    }

    .hpvbs-board::before{
      /* 內部細點格紋 */
      content:"";
      position:absolute;
      inset:0;
      background-image:
        radial-gradient(circle at 1px 1px,rgba(148,163,184,.28) 1px,transparent 0);
      background-size:18px 18px;
      opacity:.28;
      pointer-events:none;
    }

    /* 頂端玻璃 header bar：來源層 / 核心 / 分發層 */
    .hpvbs-board-head{
      grid-column:1 / -1;
      position:relative;
      z-index:2;
      border-radius:999px;
      padding:5px;
      background:rgba(248,250,252,.92);
      border:1px solid rgba(209,213,255,.9);
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:4px;
      font-size:.78rem;
      margin-bottom:6px;
    }

    .hpvbs-bh{
      text-align:center;
      padding:6px 6px;
      border-radius:999px;
      color:#4b5563;
    }
    .hpvbs-bh.bh-mid{
      background:linear-gradient(135deg,#3b82f6,#22c55e);
      color:#f9fafb;
      box-shadow:
        0 0 0 1px rgba(255,255,255,.4),
        0 10px 26px rgba(56,189,248,.7);
    }

    /* 三欄本體 */
    .hpvbs-col{
      position:relative;
      z-index:2;
      display:flex;
      flex-direction:column;
      gap:16px;
    }

    .hpvbs-node{
      border:none;
      padding:0;
      background:none;
    }

    /* 一般卡片：白色半透玻璃 */
    .hpvbs-card,
    .hpvbs-core{
      width:100%;
      border-radius:22px;
      padding:14px 16px 14px;
      background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(242,245,255,.98));
      border:1px solid rgba(199,210,254,1);
      box-shadow:0 18px 32px rgba(148,163,184,.35);
      display:flex;
      align-items:center;
      gap:12px;
      cursor:pointer;
      position:relative;
      overflow:hidden;
      transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease;
    }

    /* 中間 VBS 核心卡片放大 */
    .hpvbs-core{
      min-height:150px;
      flex-direction:column;
      align-items:flex-start;
      padding:18px 18px 16px;
      background:linear-gradient(145deg,rgba(239,246,255,1),rgba(219,234,254,1));
    }

    .hpvbs-core-top{
      display:flex;
      align-items:center;
      gap:10px;
      margin-bottom:10px;
    }
    .hpvbs-core-ico{
      width:40px;height:40px;
      border-radius:16px;
      background:radial-gradient(circle at 30% 10%,#ffffff,#c4d7ff);
      display:flex;
      align-items:center;
      justify-content:center;
      box-shadow:0 12px 24px rgba(129,140,248,.6);
    }
    .hpvbs-core-ico svg{
      width:22px;height:22px;
      fill:none;
      stroke:#1d284b;
      stroke-width:1.6;
    }
    .hpvbs-core-kicker{
      font-size:.8rem;
      font-weight:700;
      letter-spacing:.08em;
      text-transform:uppercase;
      color:#4b5563;
    }
    .hpvbs-core-body{
      font-size:.85rem;
      color:#4b5563;
    }
    .hpvbs-bullets{
      margin:4px 0 0;
      padding-left:0;
      list-style:none;
    }
    .hpvbs-bullets li{
      display:flex;
      align-items:center;
      gap:6px;
      margin-top:4px;
    }
    .hpvbs-dot{
      width:6px;height:6px;
      border-radius:999px;
      background:#22c55e;
    }

    /* 卡片 icon + 文字 */
    .hpvbs-ico{
      width:42px;
      height:42px;
      border-radius:16px;
      background:radial-gradient(circle at 30% 15%,#ffffff,#dde5ff);
      display:flex;
      align-items:center;
      justify-content:center;
      flex-shrink:0;
      box-shadow:0 10px 22px rgba(148,163,184,.5);
    }
    .hpvbs-ico svg{
      width:22px;height:22px;
      fill:#111827;
    }
    .hpvbs-txt{
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      gap:2px;
    }
    .hpvbs-title{
      font-size:.9rem;
      font-weight:650;
      color:#111827;
    }
    .hpvbs-sub{
      font-size:.78rem;
      color:#6b7280;
    }

    /* hover / active 效果 */
    .hpvbs-node.is-active .hpvbs-card,
    .hpvbs-node.is-active.hpvbs-core,
    .hpvbs-node:hover .hpvbs-card,
    .hpvbs-node:hover.hpvbs-core{
      transform:translateY(-4px);
      border-color:#3b82f6;
      box-shadow:0 22px 40px rgba(56,189,248,.65);
    }
    .hpvbs-node.is-active .hpvbs-title{
      color:#1d4ed8;
    }

    /* 連線SVG 畫布 */
    .hpvbs-links{
      position:absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index:21;
      overflow:visible;
      pointer-events:none;
    }
    .hpvbs-link{
      fill:none;
      stroke:rgba(129,140,248,.55);
      stroke-width:10;
      stroke-linecap:round;
      stroke-linejoin:round;
    }
    .hpvbs-link-src{
      stroke-dasharray:6 6;
    }
    .hpvbs-link-dst{
      stroke-dasharray:0;
      opacity:.9;
    }
    
    /* 虛線感 */
    .hpvbs-link.is-src {
      stroke-dasharray: 4 8;
    }

    .hpvbs-link.is-dst {
      stroke-dasharray: 6 10;
    }

    .hpvbs-link.is-active{
      stroke:rgba(80, 120, 255, 0.9);
      stroke-width:2.5;
      filter:drop-shadow(0 0 10px rgba(59,130,246,.95));
    }

    /* Modal背景先保留*/
    .hpvbs-modal-backdrop{
      position:fixed;
      inset:0;
      background:rgba(15,23,42,.45);
      backdrop-filter:blur(4px);
      opacity:0;
      visibility:hidden;
      transition:opacity .18s ease, visibility .18s ease;
      z-index:40;
    }
    .hpvbs-modal-backdrop.is-open{
      opacity:1;
      visibility:visible;
    }
  
    @media (max-width: 900px){
      .hpvbs-board{
        padding:22px 18px 24px;
        grid-template-columns:1fr;
      }
      .hpvbs-links{display:none;}
    }

    /* ===============================
      MOBILE VERTICAL MODE
    ================================ */
    @media (max-width: 768px) {
      .hpvbs-board {
        display: flex;
        flex-direction: column;
        gap: 24px;
      }

      .hpvbs-col-left,
      .hpvbs-col-mid,
      .hpvbs-col-right {
        width: 100%;
      }

      .hpvbs-board-head {
        display: none;
      }
    }
