:root {
  --navy: #102a43;
  --navy2: #173f5f;
  --blue: #146c94;
  --cyan: #16a6b6;
  --pale: #eaf7fa;
  --ink: #172b3a;
  --muted: #5c6d7a;
  --line: #d9e4eb;
  --bg: #f6f9fb;
  --white: #fff;
  --green: #16806a;
  --shadow: 0 12px 34px rgba(16, 42, 67, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.7;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.banner{
    /*background-image: url(../image/banner-30.jpg);
    background-color: rgb(0 0 0 / 37%);*/
    background: linear-gradient(115deg, #102a43, #164d69);
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-position: 50% 50% !important;
    background-size: cover;
    height: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner h1{
    color: #fff;
    font-weight: 600;
    font-size: 36px;
}

.banner-content {
    position: absolute;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

.topbar {
  background: var(--navy);
  color: #dce9f1;
  font-size: 13px;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.navbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 5;
}

.navinner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: #102a43;
  font-size: 19px;
  letter-spacing: 0.2px;
}

.brandmark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1.2;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #405768;
}

.navlinks a:hover {
  color: var(--blue);
}

.navbtn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 16px;
  border: 1px solid transparent;
  transition: 0.15s ease;
}

.navbtn,
.btn-primary {
  background: #1b7cef;
  color: #fff;
  box-shadow: 0 6px 16px rgba(22, 166, 182, 0.18);
}

.navbtn:hover,
.btn-primary:hover {
  background: #5da6ff;
  transform: translateY(-1px);
}

.btn-primary span {
    color: #fff;
}

.btn-secondary {
  border-color: #b9d3df;
  color: #102a43;
  background: #fff;
}

.btn-secondary:hover {
  border-color: var(--cyan);
  background: #f3fbfc;
}

.hero {
  /*background: linear-gradient(115deg, #f3fafc 0%, #fff 60%, #e7f5f8 100%);*/
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  overflow: hidden;
  position: relative;
}

.hero:after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(20, 108, 148, 0.12);
  right: -145px;
  top: -180px;
  box-shadow: 0 0 0 45px rgba(20, 108, 148, 0.035), 0 0 0 95px rgba(20, 108, 148, 0.025);
}

.hero-grid {
 /* display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;*/
  align-items: center;
  padding: 78px 0 74px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  /*display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;*/
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  padding: 6px 20px;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid rgba(59, 130, 246, 0.3);
  letter-spacing: 1px;
}

.eyedot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(22, 166, 182, 0.12);
}

h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.28;
  letter-spacing: -1.2px;
  color: #ffffff;
  margin: 18px 0 20px;
  font-weight: bold;
}

h1 em {
  font-style: normal;
  color: #60a5fa;
}

.lead {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 12px;
  color: #748390;
  margin-top: 17px;
}

.hero-visual {
  background: #fff;
  border: 1px solid #d6e7ed;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.visual-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 17px;
  border-bottom: 1px solid #e5edf1;
  margin-bottom: 19px;
}

.visual-head strong {
  color: #102a43;
  font-size: 15px;
}

.status {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  background: #e7f7f0;
  border-radius: 99px;
  padding: 4px 9px;
}

.flowbox {
  border: 1px solid #cfe2e9;
  background: #f8fbfc;
  border-radius: 11px;
  text-align: center;
  padding: 12px 14px;
  margin: 0 auto;
  width: 78%;
}

.flowbox b {
  display: block;
  font-size: 14px;
  color: #102a43;
}

.flowbox span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.flowarrow {
  text-align: center;
  color: #3e9caf;
  font-size: 22px;
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-flow {
  border-radius: 10px;
  padding: 13px 10px;
  text-align: center;
  font-size: 12px;
}

.mini-flow b {
  display: block;
  font-size: 14px;
}

.da {
  background: #eef3f7;
  border: 1px solid #d8e2e9;
}

.ua {
  background: #e7f8fa;
  border: 1px solid #a9dfe5;
}

/* 1. 捲動淡入動畫 (Scroll Reveal) 初始與完成狀態 */
.reveal-item {
    opacity: 0;
    transform: translateY(30px); /* 初始位置稍微往下 */
    transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0); /* 回到原本位置 */
}

/* 為了讓同區塊的元素有層次感，設定不同的延遲時間 (選項) */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

.visual-foot {
  font-size: 11px;
  color: #7c8b96;
  text-align: center;
  margin-top: 15px;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: #f8fafc;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.kicker {
  color: #2956A5;
  font-size: 12px;
  letter-spacing: 1.4px;
  font-weight: 800;
}

.section h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.35;
  margin: 9px 0 12px;
  color: #000000;
  letter-spacing: -0.5px;
  font-weight: 900;
}

.section-head p {
  margin: 0;
  color: #1e293b;
  font-size: 1.15rem;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 23px 21px;
  min-height: 210px;
}

/* 2. 區塊卡片的 Hover 懸浮微互動 */
.feature, .step, .client, .faqitem, .trustitem {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* 若原本沒有圓角，微調增加柔和感 */
}

/* 游標移過時，卡片微微浮起並帶有淡淡的陰影 */
.feature:hover, .step:hover, .client:hover, .faqitem:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 40, 80, 0.08); /* 適合工業科技感偏冷色調的淡陰影 */
    border-color: #2563eb;
}

.ficon {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #deefff;
    color: #06c;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 15px;

}

.feature h3 {
  font-size: 1.25rem;
  color: #102a43;
  margin: 0 0 8px;
  font-weight: 600;
}

.feature p {
  font-size: 16px;
  color: #1e293b;
  margin: 0;
}

.architecture {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  align-items: center;
}

.arch-copy h2 {
  margin-top: 8px;
}

.arch-copy p {
  color: #1e293b;
  font-size: 1.15rem;
}

.arch-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.arch-list li {
  display: flex;
  gap: 10px;
  margin: 11px 0;
  color: #1e293b;
  font-size: 16px;
}

.arch-list li:before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.arch-list span {
  color: #1e293b;
}

.arch-diagram {
  padding: 23px;
  /*background: #fff;*/
  background: #0f172a;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.arch-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* 修改頂部 Row，容納中間的向右箭頭 */
.arch-row.arch-row-top {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* 水平向右箭頭的樣式 */
.arch-arrow-hz {
    color: #44a7ff;
    font-size: 24px;
    text-align: center;
}

/* 靠右的向下箭頭容器，利用與 arch-row 相同的雙欄網格對齊上方方塊 */
.arch-line-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.arch-node {
  padding: 16px;
  /*border: 1px solid #d6e3e9;
  background: #f8fbfc;*/
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #fff;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.arch-node:hover, 
.arch-bridge:hover, 
.ua-branch:hover {
    transform: translateY(-5px);
    background: rgba(37, 99, 235, 0.25);
    border-color: #60a5fa;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    cursor: pointer; /* 建議加上這個，讓滑鼠移過去時會變成手指圖示，增加互動提示 */
}

.arch-node .symbol {
  font-size: 23px;
  color: var(--blue);
  color: #1b7cef;
}

.arch-node strong {
  display: block;
  color: #102a43;
  color: #fff;
  font-size: 18px;
}

.arch-node small {
  display: block;
  font-size: 16px;
  /*color: #5c6d7a;*/
  color: #94a3b8;
  margin-top: 2px;
}

.arch-line {
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #44a7ff;
  font-size: 22px;
}

.arch-bridge {
  /*background: #eef8fa;
  border: 1px solid #bde3e8;*/
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #fff;
  transition: all 0.3s ease;
}

.arch-bridge strong {
 /* color: #11677e;*/
 color: #fff;
  font-size: 18px;
}

.arch-bridge small {
  display: block;
  /*color: #526e7c;*/
  color: #94a3b8;
  font-size: 16px;
}



.ua-branch {
  /*border: 1px solid #9fdce3;
  background: #eafbfc;*/
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #fff;
  transition: all 0.3s ease;
}


.ua-branch strong {
  /*color: #075d73;*/
  color: #1b7cef;
  font-size: 18px;
}

.arch-bridge small {
  display: block;
  color: #526e7c;
  font-size: 18px;
}

.clientgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.client {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.client .symbol {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: #deefff;
  color: #06c;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 15px;
}

.client h3 {
  font-size: 18px;
  margin: 8px 0 6px;
  color: #102a43;
  font-weight: 700;
}

.client p {
  font-size: 16px;
  color: #1e293b;
  margin: 0;
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

/* 1. 左側標題 (第一個 td)：固定底色，不受滑鼠懸浮影響 */
.compare-wrap tbody td:first-child {
    background-color: #f4f7fa; /* 固定的淺灰藍色 */
    color: #4a5568; /* 字體微深，增加辨識度 */
    font-weight: 500;
    border-right: 1px solid #e2e8f0; /* 加上右側框線，讓左右區塊更分明 */
}

/* 2. 右側內容 (非第一個 td)：預設為白色底 */
.compare-wrap tbody td:not(:first-child) {
    background-color: #ffffff;
    transition: background-color 0.2s ease-in-out;
}

/* 3. 滑鼠懸浮互動：當游標移過整行時，只有「右側內容」會變色 */
.compare-wrap tbody tr:hover td:not(:first-child) {
    background-color: #f1f5f9; /* 懸浮時的科技藍底色 */
    cursor: pointer;
}

/* (可選) 4. 單獨格子聚焦：游標具體停在哪個內容格，該格顏色再稍微加深 */
.compare-wrap tbody td:not(:first-child):hover {
    background-color: #f1f5f9; 
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 700px;
  font-size: 16px;
}

th,
td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid #e4ebef;
  vertical-align: top;
}

th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 800;
}

th:first-child {
  width: 22%;
}

td:first-child {
  font-weight: 700;
  color: #1e3a8a;
  background: #f8fafc;
}

tr:last-child td {
  border-bottom: 0;
}

.pill {
  display: inline-block;
  font-size: 11px;
  border-radius: 5px;
  padding: 2px 7px;
  background: #e7f7f8;
  color: #126b7c;
  font-weight: 800;
  margin-left: 5px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 19px;
  counter-increment: step;
}

.step:before {
  content: "0" counter(step);
  display: block;
  color:#1b7cef;
  font-size: 25px;
  font-weight: 900;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 7px;
  color: #102a43;
  font-size: 18px;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: #1e293b;
  font-size: 16px;
}

.faq {
    /*max-width: 900px;*/
    margin: 0 auto;
    gap: 14px;
    display: flex;
    flex-direction: column;
    /* display: grid;
    grid-template-columns: 1fr 1fr;*/
}

.faqitem {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.faqitem h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: #102a43;
  font-weight: 700;
}

.faqitem p {
  font-size: 16px;
  color: #102a43;
  margin: 0;
}

.publish-note {
  font-size: 12px;
  color: #c2d7e1;
  margin-top: 13px;
}

.backtop {
  color: #d7e7ef;
}

.muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .navlinks {
    gap: 12px;
  }

  .navlinks a:not(.navbtn) {
    display: none;
  }

  .hero-grid {
   /* grid-template-columns: 1fr;
    gap: 32px;*/
    padding: 56px 0;
  }

  .hero-visual {
    max-width: 620px;
  }

  .grid4,
  .clientgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .architecture {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 27px;
  }

  .wrap {
    width: min(100% - 28px, 1160px);
  }

  .topbar .wrap {
    font-size: 11px;
  }

  .section h2 {
    font-size: 20px;
  }

  .section-head p {
    font-size: 16px;
  }

  .navinner {
    min-height: 65px;
  }

  .brand {
    font-size: 16px;
  }

  .brandmark {
    width: 34px;
    height: 34px;
  }

  .navbtn {
    font-size: 12px;
    padding: 10px 12px;
  }

  .hero-grid {
    padding: 42px 0;
  }

  .lead {
    font-size: 16px;
  }

  .hero-visual {
    padding: 16px;
  }

  .trustgrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section {
    padding: 54px 0;
  }

  .grid4,
  .clientgrid,
  .steps,
  .faq {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: auto;
  }

  .arch-diagram {
    padding: 14px;
  }

  .arch-row {
    gap: 8px;
  }
  .arch-copy p {
    font-size: 16px;
  }

  .arch-node {
    padding: 12px 7px;
  }

  .wrap {
    flex-direction: column;
    gap: 8px;
  }
}