/* 全站基礎設計 tokens，後面的區塊會重複使用這些顏色、陰影與背景值。 */
:root {
  --ink: #132033;
  --muted: #607084;
  --line: #dbe4ee;
  --blue: #1454b8;
  --blue-dark: #08214a;
  --cyan: #17a2b8;
  --green: #2f8f6f;
  --amber: #d99224;
  --soft: #f4f8fc;
  --panel: #ffffff;
  --shadow-sm: 0 12px 30px rgba(12, 36, 70, .10);
  --shadow-lg: 0 28px 70px rgba(8, 33, 74, .18);
}

/* 全站 HTML 元素預設值，建立字型、背景、連結與圖片的基本行為。 */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #ffffff 100%);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: #0b3f90;
}

img {
  max-width: 100%;
}

/* 共用按鈕與主導覽列樣式。 */
.btn {
  border-radius: 8px;
  font-weight: 700;
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: #0d459b;
  border-color: #0d459b;
}

.btn-outline-primary {
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.navbar {
  min-height: 72px;
  box-shadow: 0 8px 28px rgba(8, 33, 74, .06);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  white-space: normal;
  color: var(--blue-dark);
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(8, 33, 74, .14));
}

.nav-link {
  font-weight: 700;
}

.nav-link.active {
  color: var(--blue) !important;
}

/* 首頁 Hero 與通用段落標題樣式。 */
.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 96px 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero__bg-image,
.page-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
  z-index: -1;
}

.hero__content {
  max-width: 760px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.18;
  font-weight: 800;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.hero p {
  font-size: 1.15rem;
  max-width: 660px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.eyebrow {
  color: var(--cyan);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: .65rem;
  text-transform: uppercase;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, #f5f9fd 0%, #ffffff 100%);
}

.section-dark {
  background: var(--blue-dark);
  color: #fff;
}

.section-dark .section-title,
.section-dark p {
  color: #fff;
}

.section-title {
  color: var(--blue-dark);
  font-size: 2rem;
  line-height: 1.28;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rounded-media {
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  height: auto;
  box-shadow: var(--shadow-lg);
}

/* picture 是響應式圖片的版面容器；設為 block 可避免 inline 基線留白。 */
.responsive-image {
  display: block;
}

/* 首頁效益 tabs、內容卡片與表單面板的共用外觀。 */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.benefit-grid button,
.feature-tile,
.contact-panel,
.form-surface,
.detail-panel,
.metric-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.benefit-grid button {
  padding: 1rem;
  text-align: left;
  appearance: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.benefit-grid button.active,
.benefit-grid button:hover {
  border-color: rgba(20, 84, 184, .32);
  background: #f8fbff;
  transform: translateY(-2px);
}

.benefit-grid strong {
  display: block;
  color: var(--blue-dark);
  margin-bottom: .35rem;
}

.benefit-grid span,
.feature-tile p,
.solution-card p,
.news-card p {
  color: var(--muted);
}

.benefit-panel {
  display: grid;
  gap: .35rem;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--cyan);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  min-height: 96px;
}

.benefit-panel strong {
  color: var(--blue-dark);
}

/* 解決方案與最新消息卡片，共用 hover、圖片與文字排列規則。 */
.solution-card,
.news-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 28px rgba(13, 42, 77, .07);
  position: relative;
  isolation: isolate;
}

.solution-card::after,
.news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 162, 184, .16), transparent 34%, rgba(217, 146, 36, .10));
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: -1;
}

.solution-card:hover,
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(13, 42, 77, .16);
}

.solution-card:hover::after,
.news-card:hover::after {
  opacity: 1;
}

.solution-card__image,
.news-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.solution-card:hover .solution-card__image,
.news-card:hover .news-card__image {
  transform: scale(1.045);
}

.solution-card__body,
.news-card__body {
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), #fff 44%);
}

.solution-card h2,
.solution-card h3,
.news-card h2,
.news-card h3 {
  color: var(--blue-dark);
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 800;
  margin: .65rem 0;
}

.pill-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: .2rem .65rem;
  border-radius: 999px;
  color: var(--green);
  background: #e9f6f1;
  font-size: .82rem;
  font-weight: 800;
}

/* 首頁效益清單、CTA、Footer 與浮動聯絡按鈕。 */
.impact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.impact-list button {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  color: inherit;
  background: transparent;
  text-align: left;
  appearance: none;
  transition: transform .2s ease, background .2s ease;
}

.impact-list button.active,
.impact-list button:hover {
  transform: translateX(6px);
}

.impact-list span {
  color: #8ee4d6;
  font-weight: 800;
}

.cta-band {
  padding: 64px 0;
  background:
    linear-gradient(135deg, #eaf5fb 0%, #f8fbff 55%, #eef8f4 100%);
}

.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid rgba(20,84,184,.12);
  border-radius: 8px;
  padding: 2rem;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-sm);
}

.cta-band h2 {
  color: var(--blue-dark);
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
}

.site-footer {
  color: #dbe7f3;
  background: #071a34;
  padding: 56px 0 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: .75rem;
}

.footer-brand__logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .24));
}

.footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: .75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .4rem;
}

.footer-links a,
.footer-bottom a {
  color: #dbe7f3;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 2rem;
  padding-top: 1.25rem;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: .5rem;
  z-index: 1040;
}

.floating-contact__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-dark);
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(3, 15, 33, .22);
}

.floating-contact__item:hover {
  color: #fff;
  background: var(--blue);
}

/* 內頁 Banner、麵包屑、列表篩選與文章詳細頁樣式。 */
.page-banner {
  min-height: 310px;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-banner__image {
  filter: saturate(1.08) contrast(1.02);
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 96px);
  z-index: -1;
}

.page-banner__content {
  max-width: 760px;
}

.page-banner h1 {
  font-size: 2.45rem;
  line-height: 1.22;
  font-weight: 800;
  text-wrap: balance;
}

.page-banner p {
  font-size: 1.08rem;
  margin-bottom: 0;
}

.breadcrumb-wrap {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: .85rem 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}

.filter-bar .btn {
  transition: transform .18s ease, box-shadow .18s ease;
}

.filter-bar .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.solution-grid-item {
  transition: transform .25s ease, opacity .25s ease;
}

.solution-grid-item.is-hidden {
  display: none;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 2rem;
  color: var(--muted);
  text-align: center;
  background: var(--soft);
}

.article-layout {
  max-width: 920px;
  margin: 0 auto;
}

.article-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.article-meta {
  margin-bottom: 1rem;
  color: var(--muted);
}

.article-content {
  font-size: 1.05rem;
}

.article-content h2,
.article-content h3 {
  color: var(--blue-dark);
  font-weight: 800;
  margin-top: 1.75rem;
}

.article-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.solution-gallery {
  margin-top: 2.5rem;
}

.solution-gallery h2 {
  color: var(--blue-dark);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.solution-gallery__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.solution-gallery__item {
  display: block;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.solution-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
}

.related-section {
  margin-top: 4rem;
}

/* 聯絡頁資訊面板、地圖嵌入、表單與捲動淡入狀態。 */
.contact-panel {
  padding: 1.5rem;
  height: 100%;
  overflow: hidden;
}

.contact-panel__image {
  width: calc(100% + 3rem);
  max-width: none;
  height: auto;
  margin: -1.5rem -1.5rem 1.5rem;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  display: block;
}

.contact-panel ul {
  display: grid;
  gap: .7rem;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.contact-panel li {
  display: grid;
  grid-template-columns: 1fr;
  gap: .35rem;
  align-items: start;
  border: 1px solid rgba(37, 99, 235, .12);
  border-radius: 8px;
  padding: .8rem .95rem;
  background: rgba(248, 252, 255, .86);
}

.contact-panel li strong {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  min-height: 30px;
  border: 1px solid rgba(20, 184, 212, .24);
  border-radius: 999px;
  padding: .18rem .65rem;
  color: #0f4f66;
  background: #e5f7fb;
  font-size: .9rem;
  line-height: 1.35;
  white-space: nowrap;
}

.contact-panel li span {
  min-width: 0;
  color: var(--ink);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.map-embed iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}

.form-surface {
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,251,255,.96));
}

.form-control,
.form-select {
  border-color: #d7e2ee;
  border-radius: 8px;
  min-height: 46px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(20, 84, 184, .55);
  box-shadow: 0 0 0 .2rem rgba(20, 84, 184, .12);
  background: #fbfdff;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .45s ease, transform .45s ease;
}

.feature-tile {
  height: 100%;
  padding: 1.25rem;
}

.feature-tile h2,
.feature-tile h3 {
  color: var(--blue-dark);
  font-size: 1.1rem;
  font-weight: 800;
}

.contact-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.contact-summary div {
  border-left: 4px solid var(--cyan);
  background: var(--soft);
  padding: 1rem;
}

.contact-summary strong,
.contact-summary span {
  display: block;
}

/* 後台版面、表格、表單、圖片預覽與操作列。 */
.admin-shell {
  background: #f3f6fa;
}

.admin-navbar {
  background: var(--blue-dark);
}

.admin-main {
  padding: 28px 0 56px;
}

.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-heading h1 {
  color: var(--blue-dark);
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0;
}

.admin-heading p {
  color: var(--muted);
  margin: .25rem 0 0;
}

.admin-table-wrap,
.detail-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .75rem;
}

.admin-actions {
  display: flex;
  justify-content: flex-end;
  gap: .4rem;
  flex-wrap: wrap;
}

.admin-actions form {
  display: inline;
}

.admin-form {
  max-width: 1040px;
}

.admin-form-section {
  padding: 0 0 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.admin-form-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
}

.admin-form-section-title {
  color: var(--blue-dark);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.admin-guidance,
.form-note {
  display: grid;
  gap: .25rem;
  border-left: 4px solid var(--cyan);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  background: #f8fbff;
}

.admin-guidance strong,
.form-note strong {
  color: var(--blue-dark);
}

.admin-guidance span,
.form-note span {
  color: var(--muted);
}

.captcha-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
}

.captcha-row__question {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--blue-dark);
  font-weight: 800;
  white-space: nowrap;
}

.privacy-consent {
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: #f8fbff;
}

.privacy-consent .form-check-label {
  color: #1c2d43;
  line-height: 1.7;
}

.privacy-consent__help {
  margin: .55rem 0 0 1.5rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

.privacy-policy__updated {
  color: var(--muted);
  font-size: .9rem;
}

.category-preview {
  height: 100%;
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: .35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: var(--soft);
}

.category-preview span {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.category-preview strong {
  color: var(--blue-dark);
  overflow-wrap: anywhere;
}

.category-switch {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1rem 1rem 3rem;
  background: #fff;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.advanced-settings {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-top: 1.25rem;
  background: #fff;
}

.advanced-settings summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 800;
}

.advanced-settings summary::marker {
  color: var(--cyan);
}

.code-field {
  font-family: Consolas, "Courier New", monospace;
}

.flow-edit-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
}

.flow-edit-card > span {
  display: inline-flex;
  color: var(--cyan);
  font-weight: 800;
  margin-bottom: .75rem;
}

.admin-image-preview {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: .75rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .65rem;
  background: #fff;
}

.admin-image-preview img {
  width: 92px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
}

.admin-image-preview span {
  color: var(--muted);
  font-size: .86rem;
  overflow-wrap: anywhere;
}

.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}

.admin-gallery-item {
  display: grid;
  gap: .5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .75rem;
  background: #fff;
}

.admin-gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
}

.admin-gallery-item span {
  color: var(--muted);
  font-size: .8rem;
  overflow-wrap: anywhere;
}

.admin-gallery-item small {
  color: var(--blue);
  font-weight: 700;
}

.metric-tile {
  padding: 1.25rem;
}

.metric-tile span {
  display: block;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 800;
}

.metric-tile p {
  margin: .25rem 0 0;
  color: var(--muted);
}

.admin-dashboard-section {
  margin-bottom: 2rem;
}

.admin-dashboard-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-dashboard-section__heading h2,
.traffic-panel h3 {
  color: var(--blue-dark);
  font-weight: 800;
  margin: 0;
}

.admin-dashboard-section__heading h2 {
  font-size: 1.25rem;
}

.admin-dashboard-section__heading p {
  color: var(--muted);
  margin: .3rem 0 0;
}

.traffic-metric {
  height: 100%;
  border-top: 3px solid var(--cyan);
}

.traffic-panel,
.traffic-empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.traffic-panel {
  height: 100%;
  padding: 1.25rem;
}

.traffic-panel h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.traffic-empty-state {
  color: var(--muted);
  margin-top: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.daily-traffic-chart {
  display: grid;
  gap: .48rem;
  max-height: 430px;
  overflow-y: auto;
  padding-right: .35rem;
}

.daily-traffic-row {
  display: grid;
  grid-template-columns: 3.4rem minmax(80px, 1fr) 3.5rem;
  align-items: center;
  gap: .65rem;
  font-size: .86rem;
}

.daily-traffic-row time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.daily-traffic-row strong {
  color: var(--blue-dark);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.daily-traffic-track {
  height: .7rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef7;
}

.daily-traffic-track span {
  display: block;
  min-width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.traffic-page-table {
  margin-bottom: 0;
  font-size: .88rem;
}

.traffic-page-table a {
  display: inline-block;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-textarea {
  font-family: Consolas, "Courier New", monospace;
  line-height: 1.55;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #071a34, #1454b8 62%, #17a2b8);
}

.login-panel {
  width: min(100%, 460px);
  border-radius: 8px;
  background: #fff;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
}

.login-panel__brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: .75rem;
  filter: drop-shadow(0 16px 28px rgba(8, 33, 74, .18));
}

.admin-brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-right: .45rem;
}

.login-panel h1 {
  color: var(--blue-dark);
  font-size: 1.6rem;
  font-weight: 800;
  margin: .9rem 0 .25rem;
}

.login-hint {
  color: var(--muted);
  font-size: .9rem;
  margin: 1rem 0 0;
  text-align: center;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  width: min(100%, 760px);
  margin-top: 2rem;
}

.hero-metrics div {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  padding: .9rem 1rem;
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.1;
}

.hero-metrics span {
  display: block;
  color: rgba(255, 255, 255, .82);
  font-size: .86rem;
  margin-top: .25rem;
}

.section-copy {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 0;
}

.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .4rem .85rem;
  border: 1px solid rgba(20, 84, 184, .18);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 800;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.section-link:hover {
  border-color: rgba(20, 84, 184, .36);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.media-stack {
  position: relative;
}

.status-strip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  width: min(88%, 430px);
}

.status-strip div {
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 8px;
  padding: .7rem;
  color: #fff;
  background: rgba(8, 33, 74, .82);
  box-shadow: 0 14px 34px rgba(4, 18, 42, .24);
}

.status-strip span {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #7ae4be;
  margin-right: .35rem;
}

.status-strip strong,
.status-strip small {
  display: block;
}

.status-strip small {
  color: rgba(255, 255, 255, .72);
}

.product-lab {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.module-shell {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 1rem;
  align-items: stretch;
}

.module-tabs {
  display: grid;
  gap: .75rem;
}

.module-tabs button,
.road-step,
.seo-grid article,
.faq-list details,
.catalog-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.module-tabs button {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: .1rem .75rem;
  align-items: start;
  padding: 1rem;
  text-align: left;
  color: var(--ink);
  appearance: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.module-tabs button:hover,
.module-tabs button.active {
  border-color: rgba(20, 84, 184, .32);
  background: #f8fbff;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(13, 42, 77, .12);
}

.module-tabs span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 800;
}

.module-tabs strong {
  color: var(--blue-dark);
  font-size: 1.02rem;
}

.module-tabs small {
  color: var(--muted);
}

.module-preview {
  min-height: 100%;
  border-radius: 8px;
  padding: 2rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 33, 74, .96), rgba(20, 84, 184, .88)),
    linear-gradient(45deg, rgba(23, 162, 184, .35), transparent);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.module-preview::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  pointer-events: none;
}

.module-preview .eyebrow {
  color: #8ee4d6;
}

.module-preview h3 {
  position: relative;
  z-index: 1;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.module-preview p {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: rgba(255, 255, 255, .84);
}

.module-checks {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}

.module-checks span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: .25rem .75rem;
  color: #fff;
  background: rgba(255, 255, 255, .10);
  font-weight: 700;
}

.solution-card__media {
  position: relative;
  overflow: hidden;
}

.solution-card p,
.news-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.solution-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1rem 0;
}

.solution-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: .18rem .62rem;
  border-radius: 999px;
  color: #31556b;
  background: #edf5fb;
  font-size: .78rem;
  font-weight: 800;
}

.solution-card__link {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-weight: 800;
}

.solution-card__link::after {
  content: "→";
  margin-left: .35rem;
  transition: transform .18s ease;
}

.solution-card:hover .solution-card__link::after {
  transform: translateX(4px);
}

.delivery-road {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.road-step {
  height: 100%;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.road-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--amber));
}

.road-step span,
.seo-grid span {
  display: inline-flex;
  color: var(--cyan);
  font-weight: 800;
  margin-bottom: .65rem;
}

.road-step h3,
.seo-grid h3 {
  color: var(--blue-dark);
  font-size: 1.12rem;
  font-weight: 800;
}

.road-step p,
.seo-grid p,
.faq-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.catalog-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 52%, #ffffff 100%);
}

.catalog-panel {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px);
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.catalog-panel__intro h2 {
  color: var(--blue-dark);
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: .75rem;
}

.catalog-panel__intro p {
  color: var(--muted);
  margin-bottom: 0;
}

.catalog-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.catalog-panel__stats div {
  border-radius: 8px;
  padding: .9rem;
  text-align: center;
  background: var(--soft);
}

.catalog-panel__stats strong {
  display: block;
  color: var(--blue);
  font-size: 1.45rem;
  line-height: 1.1;
}

.catalog-panel__stats span {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  margin-top: .25rem;
}

.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-toolbar > div:first-child {
  flex: 0 0 190px;
}

.filter-toolbar .filter-bar {
  justify-content: flex-end;
  margin-bottom: 0;
}

.filter-toolbar__label {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

.filter-toolbar strong {
  display: block;
  color: var(--blue-dark);
  font-size: 1.2rem;
  word-break: keep-all;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.seo-grid article {
  height: 100%;
  padding: 1.25rem;
}

.faq-list {
  display: grid;
  gap: .85rem;
  max-width: 980px;
}

.faq-list details {
  padding: 1rem 1.15rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 800;
}

.faq-list summary::marker {
  color: var(--cyan);
}

.faq-list p {
  margin-top: .75rem;
}

.faq-intro,
.not-found-panel {
  max-width: 980px;
}

.service-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.service-links h2 {
  color: var(--blue-dark);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.service-links__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.service-links__grid a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 8px;
  padding: .75rem 1rem;
  color: var(--blue);
  background: #fff;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-links__grid a:hover {
  border-color: rgba(20, 184, 212, .46);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
}

.case-cta {
  color: #eaf6ff;
}

.case-cta p {
  color: rgba(226, 238, 251, .82);
  margin: .5rem 0 0;
}

/* 平板尺寸以下的主要版面調整。 */
@media (max-width: 991.98px) {
  .hero {
    min-height: 520px;
    padding: 76px 0;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .benefit-grid,
  .contact-summary,
  .module-shell,
  .catalog-panel {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .delivery-road,
  .seo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 手機尺寸以下的按鈕、格線與後台表單調整。 */
@media (max-width: 767.98px) {
  html {
    font-size: 15px;
  }

  .navbar {
    min-height: 64px;
  }

  .hero {
    min-height: auto;
    padding: 64px 0;
  }

  .hero h1,
  .page-banner h1 {
    font-size: 2rem;
  }

  .hero__actions .btn,
  .cta-band .btn {
    width: 100%;
  }

  .hero-metrics,
  .catalog-panel__stats,
  .delivery-road,
  .seo-grid,
  .service-links__grid,
  .solution-gallery__grid,
  .captcha-row,
  .admin-gallery-grid {
    grid-template-columns: 1fr;
  }

  .captcha-row__question {
    width: 100%;
  }

  .status-strip {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: .75rem;
  }

  .module-preview {
    padding: 1.5rem;
  }

  .module-preview h3 {
    font-size: 1.45rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-toolbar > div:first-child {
    flex-basis: auto;
  }

  .filter-toolbar .filter-bar {
    justify-content: flex-start;
  }

  .floating-contact {
    right: 10px;
    bottom: 10px;
  }

  .floating-contact__item {
    width: 48px;
    min-height: 38px;
    font-size: .72rem;
  }

  .contact-panel li {
    grid-template-columns: 1fr;
    gap: .45rem;
  }

  .contact-panel li strong {
    justify-self: start;
  }

  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .admin-form-actions .btn {
    width: 100%;
  }
}

/* Tech visual refresh：後半段覆寫前面的基礎樣式，打造目前網站的科技感視覺。 */
:root {
  --ink: #0d1728;
  --muted: #64748b;
  --line: #d7e4f2;
  --blue: #2563eb;
  --blue-dark: #06172e;
  --cyan: #14b8d4;
  --green: #19b77a;
  --amber: #f59e0b;
  --soft: #eef6fb;
  --panel: #ffffff;
  --shadow-sm: 0 16px 34px rgba(15, 35, 64, .10);
  --shadow-lg: 0 32px 76px rgba(4, 18, 42, .22);
}

body {
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef6fb 42%, #ffffff 100%);
}

.btn {
  min-height: 42px;
}

.btn-primary {
  border-color: #36d1f4;
  background:
    linear-gradient(135deg, #2563eb 0%, #14b8d4 100%);
  box-shadow: 0 14px 30px rgba(37, 99, 235, .25);
}

.btn-primary:hover {
  border-color: #7dd3fc;
  background:
    linear-gradient(135deg, #1d4ed8 0%, #0891b2 100%);
  box-shadow: 0 18px 38px rgba(20, 184, 212, .28);
}

.btn-light {
  color: #08214a;
  background: rgba(255, 255, 255, .92);
  border-color: rgba(255, 255, 255, .65);
}

.site-header {
  position: relative;
  z-index: 1080;
}

.site-navbar {
  min-height: 76px;
  border-bottom: 1px solid rgba(125, 211, 252, .18);
  background:
    linear-gradient(90deg, rgba(4, 13, 28, .94), rgba(8, 28, 56, .88)) !important;
  box-shadow: 0 18px 46px rgba(2, 8, 23, .18);
  backdrop-filter: blur(18px);
}

.site-navbar .container {
  position: relative;
}

.site-navbar .navbar-brand {
  color: #f8fbff;
}

.site-navbar .brand-logo {
  width: 46px;
  height: 46px;
  filter:
    drop-shadow(0 0 12px rgba(20, 184, 212, .32))
    drop-shadow(0 10px 18px rgba(0, 0, 0, .22));
}

.site-navbar .nav-link {
  color: rgba(226, 238, 251, .78) !important;
  padding-inline: .85rem !important;
  transition: color .18s ease, transform .18s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: #7dd3fc !important;
  transform: translateY(-1px);
}

.site-navbar .navbar-toggler {
  border-color: rgba(125, 211, 252, .36);
}

.site-navbar .btn-primary {
  min-height: 36px;
  padding-inline: 1rem !important;
}

.hero {
  min-height: 720px;
  padding: 104px 0 92px;
  background:
    linear-gradient(90deg, rgba(3, 10, 24, .98) 0%, rgba(5, 19, 42, .90) 44%, rgba(9, 42, 71, .58) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: var(--hero-overlay-opacity, 1);
  background:
    linear-gradient(90deg, transparent 0 74%, rgba(20, 184, 212, .18) 74% 75%, transparent 75%),
    repeating-linear-gradient(90deg, rgba(125, 211, 252, .075) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(125, 211, 252, .055) 0 1px, transparent 1px 96px);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .46));
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  height: 28%;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0), #f8fbff);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
}

.hero__content {
  max-width: 760px;
}

.hero .eyebrow,
.product-lab .eyebrow,
.section-dark .eyebrow,
.cta-band .eyebrow {
  color: #67e8f9;
}

.hero h1 {
  max-width: 740px;
  color: #f8fbff;
  font-size: 3.35rem;
  text-shadow: 0 18px 46px rgba(0, 0, 0, .34);
}

.hero p {
  color: rgba(226, 238, 251, .84);
}

.hero__actions .btn {
  min-height: 48px;
  padding-inline: 1.25rem;
}

.hero-metrics {
  max-width: 760px;
}

.hero-metrics div {
  border-color: rgba(125, 211, 252, .28);
  background:
    linear-gradient(180deg, rgba(14, 34, 64, .74), rgba(10, 25, 48, .58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 18px 38px rgba(0, 0, 0, .16);
}

.hero-metrics strong {
  color: #67e8f9;
}

.section {
  position: relative;
}

.section-title {
  color: #071b36;
}

.section-soft,
.product-lab,
.catalog-section {
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef6fb 100%);
}

.section-soft::before,
.seo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(37, 99, 235, .035) 0 1px, transparent 1px 112px),
    repeating-linear-gradient(0deg, rgba(20, 184, 212, .035) 0 1px, transparent 1px 112px);
  pointer-events: none;
}

.section-soft > .container,
.seo-section > .container {
  position: relative;
}

.benefit-grid button,
.module-tabs button,
.road-step,
.seo-grid article,
.faq-list details,
.solution-card,
.news-card,
.catalog-panel {
  border-color: rgba(37, 99, 235, .16);
  box-shadow: 0 18px 42px rgba(15, 35, 64, .09);
}

.benefit-grid button {
  min-height: 122px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(243, 248, 252, .92));
}

.benefit-grid button.active,
.benefit-grid button:hover {
  border-color: rgba(20, 184, 212, .48);
  background:
    linear-gradient(180deg, #ffffff, #effbff);
  box-shadow: 0 18px 46px rgba(20, 184, 212, .14);
}

.benefit-grid strong,
.benefit-panel strong {
  color: #071b36;
}

.benefit-panel {
  border: 1px solid rgba(20, 184, 212, .24);
  border-left: 4px solid #14b8d4;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(236, 249, 255, .94));
}

.rounded-media {
  border: 1px solid rgba(37, 99, 235, .18);
}

.media-stack::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(20, 184, 212, .22);
  border-radius: 8px;
  z-index: -1;
}

.status-strip div {
  border-color: rgba(125, 211, 252, .36);
  background: rgba(5, 18, 38, .86);
  backdrop-filter: blur(12px);
}

.product-lab,
.section-dark,
.cta-band {
  color: #eaf6ff;
  background:
    linear-gradient(110deg, rgba(20, 184, 212, .14) 0 18%, transparent 18% 42%, rgba(37, 99, 235, .12) 42% 62%, transparent 62%),
    linear-gradient(135deg, #06172e 0%, #0a2346 52%, #06233b 100%);
}

.product-lab::before,
.section-dark::before,
.cta-band::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(125, 211, 252, .055) 0 1px, transparent 1px 104px),
    repeating-linear-gradient(0deg, rgba(125, 211, 252, .04) 0 1px, transparent 1px 104px);
  pointer-events: none;
}

.product-lab > .container,
.section-dark > .container,
.cta-band > .container {
  position: relative;
}

.product-lab .section-title,
.product-lab .section-copy,
.section-dark .section-title,
.section-dark p,
.cta-band h2 {
  color: #f8fbff;
}

.module-tabs button {
  color: #eaf6ff;
  border-color: rgba(125, 211, 252, .18);
  background: rgba(8, 24, 46, .74);
}

.module-tabs button:hover,
.module-tabs button.active {
  border-color: rgba(103, 232, 249, .46);
  background: rgba(12, 38, 72, .92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .26);
}

.module-tabs strong {
  color: #f8fbff;
}

.module-tabs small {
  color: rgba(226, 238, 251, .68);
}

.module-tabs span {
  background:
    linear-gradient(135deg, #2563eb, #14b8d4);
  box-shadow: 0 10px 20px rgba(20, 184, 212, .22);
}

.module-preview {
  border: 1px solid rgba(125, 211, 252, .22);
  background:
    linear-gradient(135deg, rgba(5, 18, 38, .98), rgba(13, 59, 101, .92)),
    repeating-linear-gradient(90deg, rgba(125, 211, 252, .08) 0 1px, transparent 1px 72px);
}

.module-preview::before {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 30px;
  width: 190px;
  height: 112px;
  border: 1px solid rgba(103, 232, 249, .18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(103, 232, 249, .24) 0 20%, transparent 20% 28%, rgba(25, 183, 122, .22) 28% 56%, transparent 56% 64%, rgba(245, 158, 11, .22) 64% 100%);
  opacity: .78;
}

.module-preview h3,
.module-preview p,
.module-checks {
  position: relative;
  z-index: 1;
}

.solution-card,
.news-card {
  border-top: 3px solid rgba(20, 184, 212, .62);
  background:
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.solution-card__tags span {
  color: #0f4f66;
  background: #e5f7fb;
}

.section-dark {
  overflow: hidden;
}

.section-dark img {
  border: 1px solid rgba(125, 211, 252, .22);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}

.impact-list button {
  border-bottom-color: rgba(125, 211, 252, .20);
}

.impact-list button.active,
.impact-list button:hover {
  background: rgba(125, 211, 252, .07);
  transform: translateX(6px);
}

.road-step,
.seo-grid article,
.faq-list details {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 255, .94));
}

.road-step::before {
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #14b8d4, #19b77a);
}

.cta-band {
  position: relative;
  padding: 76px 0;
}

.cta-band__inner {
  border-color: rgba(125, 211, 252, .24);
  background: rgba(8, 24, 46, .72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #030a18 0%, #06172e 58%, #071f35 100%);
}

.site-footer > .container {
  position: relative;
}

.floating-contact__item {
  border: 1px solid rgba(125, 211, 252, .22);
  background:
    linear-gradient(135deg, #06172e, #0f4f66);
}

.page-banner {
  background-position: center;
}

.page-banner::before {
  background:
    linear-gradient(90deg, rgba(3, 10, 24, .92), rgba(8, 33, 74, .68)),
    repeating-linear-gradient(90deg, rgba(125, 211, 252, .07) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(125, 211, 252, .05) 0 1px, transparent 1px 96px);
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 82px 0 72px;
  }

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

  .hero h1 {
    font-size: 2.55rem;
  }
}

@media (max-width: 767.98px) {
  .site-navbar {
    min-height: 66px;
  }

  .site-navbar .brand-logo {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 64px 0 58px;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid button {
    min-height: auto;
  }

  .media-stack::before,
  .module-preview::before {
    display: none;
  }

  .cta-band {
    padding: 58px 0;
  }
}

/* About page cinematic refresh */
.about-hero {
  --about-shift-x: 0px;
  --about-shift-y: 0px;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: 44px 0 94px;
  color: #f8fbff;
  overflow: hidden;
  background: #06172e;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.06);
  z-index: -3;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: var(--about-hero-overlay-opacity, 1);
  background:
    linear-gradient(90deg, rgba(3, 10, 24, .98) 0%, rgba(5, 18, 38, .9) 42%, rgba(9, 42, 71, .58) 100%),
    linear-gradient(180deg, rgba(3, 10, 24, .18), rgba(3, 10, 24, .86));
  z-index: -2;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: -18px;
  background:
    linear-gradient(115deg, transparent 0 21%, rgba(103, 232, 249, .14) 21% 22%, transparent 22% 44%, rgba(245, 158, 11, .12) 44% 45%, transparent 45%),
    repeating-linear-gradient(90deg, rgba(125, 211, 252, .07) 0 1px, transparent 1px 104px),
    repeating-linear-gradient(0deg, rgba(125, 211, 252, .05) 0 1px, transparent 1px 104px);
  transform: translate3d(var(--about-shift-x), var(--about-shift-y), 0);
  transition: transform .12s ease-out;
  pointer-events: none;
  z-index: -1;
}

.about-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.about-hero__inner > * {
  min-width: 0;
}

.about-hero__copy h1 {
  color: #fff;
  font-size: clamp(2.35rem, 5.2vw, 4.3rem);
  line-height: 1.05;
  font-weight: 900;
  margin: 0 0 1.1rem;
  text-shadow: 0 22px 54px rgba(0, 0, 0, .36);
  overflow-wrap: anywhere;
}

.about-hero__copy p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(226, 238, 251, .86);
  font-size: 1.16rem;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.about-command {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(125, 211, 252, .26);
  border-radius: 8px;
  padding: 1.15rem;
  background: rgba(5, 18, 38, .76);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.about-command__header,
.about-command__stack div,
.about-timeline__proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.about-command__header {
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(125, 211, 252, .18);
}

.about-command__header span {
  color: rgba(226, 238, 251, .72);
  font-weight: 800;
}

.about-command__header strong {
  color: #7ee787;
  font-size: .86rem;
}

.about-command__matrix {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .45rem;
  min-height: 174px;
  align-items: end;
  padding: 1.2rem 0;
}

.about-command__matrix span {
  min-height: 32px;
  border: 1px solid rgba(103, 232, 249, .18);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(103, 232, 249, .36), rgba(37, 99, 235, .16));
  transform-origin: bottom;
  animation: aboutSignal 4.2s ease-in-out infinite;
}

.about-command__matrix span:nth-child(3n) {
  background: linear-gradient(180deg, rgba(126, 231, 135, .42), rgba(25, 183, 122, .15));
  animation-delay: -.9s;
}

.about-command__matrix span:nth-child(4n) {
  background: linear-gradient(180deg, rgba(245, 158, 11, .44), rgba(245, 158, 11, .13));
  animation-delay: -1.7s;
}

.about-command__matrix span:nth-child(5n) {
  animation-delay: -2.4s;
}

.about-command__stack {
  display: grid;
  gap: .65rem;
}

.about-command__stack div {
  min-height: 56px;
  border-top: 1px solid rgba(125, 211, 252, .16);
  padding-top: .65rem;
}

.about-command__stack div > * {
  min-width: 0;
}

.about-command__stack span,
.about-focus-card span,
.about-timeline__year {
  color: #67e8f9;
  font-weight: 900;
}

.about-command__stack strong {
  color: #f8fbff;
}

.about-command__stack small {
  color: rgba(226, 238, 251, .64);
  text-align: right;
  overflow-wrap: anywhere;
}

.about-hero__metrics {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.about-hero__metrics div {
  border: 1px solid rgba(125, 211, 252, .24);
  border-radius: 8px;
  padding: .75rem 1rem;
  background: rgba(5, 18, 38, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 42px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}

.about-hero__metrics strong,
.about-hero__metrics span {
  display: block;
}

.about-hero__metrics strong {
  color: #7ee787;
  font-size: 1.45rem;
  line-height: 1.08;
}

.about-hero__metrics span {
  color: rgba(226, 238, 251, .72);
  font-size: .86rem;
  margin-top: .2rem;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, 1.08fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.about-split__copy p:not(.eyebrow),
.about-values__panel p,
.about-focus-card p,
.about-branch-grid span {
  color: var(--muted);
}

.about-split__copy .section-title {
  overflow-wrap: anywhere;
}

.about-proofline,
.about-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.5rem;
}

.about-proofline span,
.about-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(20, 184, 212, .26);
  border-radius: 999px;
  padding: .25rem .75rem;
  color: #0f4f66;
  background: #e5f7fb;
  font-weight: 800;
}

.about-system-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.about-system-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(6, 23, 46, .74) 0 22%, transparent 22% 52%, rgba(20, 184, 212, .18) 52% 53%, transparent 53%),
    linear-gradient(180deg, rgba(6, 23, 46, .06), rgba(6, 23, 46, .32));
  pointer-events: none;
  z-index: 1;
}

.about-system-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .45s ease;
}

.about-system-visual:hover img {
  transform: scale(1.035);
}

.about-system-visual__rail {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
}

.about-system-visual__rail span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  overflow: hidden;
}

.about-system-visual__rail span::before {
  content: "";
  display: block;
  width: var(--level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #67e8f9, #7ee787, #f59e0b);
}

.about-values {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 1rem;
  align-items: stretch;
}

.about-values__rail {
  display: grid;
  gap: .75rem;
}

.about-values__rail button {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: .1rem .75rem;
  min-height: 88px;
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 8px;
  padding: 1rem;
  text-align: left;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-sm);
  appearance: none;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.about-values__rail button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #2563eb, #14b8d4, #7ee787);
  opacity: 0;
  transition: opacity .18s ease;
}

.about-values__rail button:hover,
.about-values__rail button.active {
  border-color: rgba(20, 184, 212, .46);
  background: #f8fdff;
  box-shadow: 0 20px 48px rgba(15, 35, 64, .14);
  transform: translateY(-2px);
}

.about-values__rail button:hover::before,
.about-values__rail button.active::before {
  opacity: 1;
}

.about-values__rail span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #06172e, #2563eb);
  font-weight: 900;
}

.about-values__rail strong {
  color: #071b36;
  font-size: 1.08rem;
}

.about-values__rail small {
  color: var(--muted);
}

.about-values__panel {
  position: relative;
  min-height: 100%;
  border: 1px solid rgba(125, 211, 252, .24);
  border-radius: 8px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: #eaf6ff;
  background:
    linear-gradient(110deg, rgba(20, 184, 212, .13) 0 22%, transparent 22% 44%, rgba(245, 158, 11, .12) 44% 58%, transparent 58%),
    linear-gradient(135deg, #06172e 0%, #0a2346 56%, #06233b 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-values__panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(125, 211, 252, .15);
  border-radius: 8px;
  pointer-events: none;
}

.about-values__panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .74), transparent);
  animation: aboutScan 5.5s linear infinite;
  pointer-events: none;
}

.about-values__panel h3 {
  position: relative;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.about-values__panel p {
  position: relative;
  max-width: 720px;
  color: rgba(226, 238, 251, .8);
  font-size: 1.08rem;
}

.about-values__panel .about-chip-row {
  position: relative;
}

.about-values__panel .about-chip-row span {
  color: #eaffff;
  border-color: rgba(125, 211, 252, .22);
  background: rgba(255, 255, 255, .1);
}

.about-timeline {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 390px);
  gap: 1rem;
  align-items: stretch;
}

.about-timeline__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  align-content: start;
}

.about-timeline__rail::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 42px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #14b8d4, #7ee787, #f59e0b);
  opacity: .34;
}

.about-timeline__rail button {
  position: relative;
  z-index: 1;
  min-height: 84px;
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 8px;
  color: #071b36;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 255, .94));
  box-shadow: var(--shadow-sm);
  font-size: 1.08rem;
  font-weight: 900;
  appearance: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.about-timeline__rail button:hover,
.about-timeline__rail button.active {
  border-color: rgba(20, 184, 212, .48);
  color: #0f4f66;
  background: #effbff;
  box-shadow: 0 20px 48px rgba(15, 35, 64, .14);
  transform: translateY(-3px);
}

.about-timeline__spotlight {
  position: sticky;
  top: 108px;
  min-height: 100%;
  border: 1px solid rgba(125, 211, 252, .23);
  border-radius: 8px;
  padding: 1.5rem;
  color: #eaf6ff;
  background:
    linear-gradient(120deg, rgba(20, 184, 212, .12), transparent 34%, rgba(245, 158, 11, .1)),
    linear-gradient(135deg, #06172e, #0a2346 62%, #06233b);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-timeline__spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(125, 211, 252, .055) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(125, 211, 252, .04) 0 1px, transparent 1px 72px);
  pointer-events: none;
}

.about-timeline__spotlight > * {
  position: relative;
}

.about-timeline__spotlight h3 {
  color: #fff;
  font-size: 1.55rem;
  font-weight: 900;
  margin: .35rem 0 .75rem;
}

.about-timeline__spotlight p {
  color: rgba(226, 238, 251, .78);
}

.about-timeline__proof {
  border-top: 1px solid rgba(125, 211, 252, .18);
  margin-top: 1.3rem;
  padding-top: 1rem;
}

.about-timeline__proof strong {
  color: #fff;
}

.about-timeline__proof span {
  color: #7ee787;
  font-weight: 800;
}

.about-meter {
  height: 9px;
  border-radius: 999px;
  margin-top: 1rem;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}

.about-meter span {
  display: block;
  width: var(--meter);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #14b8d4, #7ee787, #f59e0b);
  transition: width .28s ease;
}

.about-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-focus-card {
  position: relative;
  min-height: 260px;
  border: 1px solid rgba(125, 211, 252, .22);
  border-radius: 8px;
  padding: 1.5rem;
  background: rgba(8, 24, 46, .72);
  box-shadow: 0 24px 62px rgba(0, 0, 0, .22);
  overflow: hidden;
}

.about-focus-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #14b8d4, #7ee787, #f59e0b);
}

.about-focus-card h3 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  margin: 1.2rem 0 .75rem;
}

.about-focus-card p {
  color: rgba(226, 238, 251, .75);
  margin-bottom: 0;
}

.about-location-board {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 1rem;
  align-items: stretch;
}

.about-location-map {
  position: relative;
  display: grid;
  gap: 1rem;
  align-content: center;
  min-height: 320px;
  border: 1px solid rgba(125, 211, 252, .22);
  border-radius: 8px;
  padding: 1.5rem;
  color: #fff;
  background:
    linear-gradient(130deg, rgba(20, 184, 212, .16), transparent 34%, rgba(245, 158, 11, .12)),
    linear-gradient(135deg, #06172e, #0a2346);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-location-map::before {
  content: "";
  position: absolute;
  top: 21%;
  bottom: 21%;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, #67e8f9, #7ee787, #f59e0b);
  opacity: .55;
}

.about-location-map span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: min(100%, 168px);
  min-height: 48px;
  border: 1px solid rgba(125, 211, 252, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  font-weight: 900;
}

.about-branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-branch-grid div {
  min-height: 132px;
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 8px;
  padding: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 255, .94));
  box-shadow: var(--shadow-sm);
}

.about-branch-grid strong,
.about-branch-grid span {
  display: block;
}

.about-branch-grid strong {
  color: #071b36;
  margin-bottom: .45rem;
}

.professional-credentials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.professional-credential-card {
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 10px;
  padding: 1.35rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.professional-credential-card__heading h3 {
  margin: 0;
  color: #071b36;
}

.professional-credential-card__heading p {
  margin: .35rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.professional-credential-card > p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.professional-credential-card__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}

.professional-credential-card__images figure {
  margin: 0;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 8px;
  padding: .5rem;
  background: #f8fafc;
}

.professional-credential-card__images img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.case-study-detail {
  gap: 2rem;
}

.case-study-detail__header {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.case-study-detail__header h1 {
  margin: .35rem 0 0;
}

.case-study-detail__meta {
  margin: .55rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.case-study-detail > section {
  margin-top: .5rem;
}

.case-study-detail > section h2 {
  margin-bottom: .8rem;
}

.case-study-metrics {
  padding: 1.35rem;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 12px;
  background: linear-gradient(135deg, #f7fbff, #fff);
}

.case-study-metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.case-study-metric {
  min-height: 125px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.case-study-metric strong,
.case-study-metric span,
.case-study-metric small {
  display: block;
}

.case-study-metric strong {
  color: var(--blue-dark);
  font-size: 1.6rem;
  line-height: 1.2;
}

.case-study-metric span {
  margin-top: .35rem;
  font-weight: 800;
}

.case-study-metric small {
  margin-top: .3rem;
  color: var(--muted);
  line-height: 1.45;
}

.case-study-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.case-study-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.case-study-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-system-visual picture {
  display: block;
}

.about-cta .cta-band__inner {
  align-items: center;
}

@media (max-width: 767.98px) {
  .case-study-metrics__grid,
  .case-study-gallery__grid {
    grid-template-columns: 1fr;
  }
}

@keyframes aboutSignal {
  0%,
  100% {
    opacity: .55;
    transform: scaleY(.52);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes aboutScan {
  0% {
    transform: translateY(-72px);
    opacity: 0;
  }

  18%,
  82% {
    opacity: 1;
  }

  100% {
    transform: translateY(320px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero::after,
  .about-command__matrix span,
  .about-values__panel::after,
  .about-meter span,
  .about-system-visual img {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1199.98px) {
  .about-hero__inner,
  .about-split,
  .about-values,
  .about-timeline,
  .about-location-board {
    grid-template-columns: 1fr;
  }

  .about-command,
  .about-timeline__spotlight {
    max-width: 720px;
  }

  .about-timeline__spotlight {
    position: relative;
    top: auto;
  }
}

@media (max-width: 991.98px) {
  .about-hero {
    min-height: auto;
    padding: 56px 0 22px;
  }

  .about-hero__metrics {
    position: relative;
    bottom: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
  }

  .about-focus-grid {
    grid-template-columns: 1fr;
  }

  .about-focus-card {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .about-hero__copy h1 {
    font-size: 2.2rem;
  }

  .about-hero__copy p:not(.eyebrow) {
    font-size: 1.02rem;
  }

  .about-command {
    display: none;
  }

  .about-system-visual {
    max-height: 280px;
  }

  .about-system-visual img {
    height: 280px;
    aspect-ratio: auto;
  }

  .about-system-visual__rail,
  .about-timeline__rail,
  .about-branch-grid,
  .professional-credentials__grid {
    grid-template-columns: 1fr;
  }

  .professional-credential-card__images img {
    height: 180px;
  }

  .about-hero__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
  }

  .about-hero__metrics div {
    padding: .7rem .75rem;
  }

  .about-hero__metrics strong {
    font-size: 1.25rem;
  }

  .about-timeline__rail::before {
    top: 0;
    bottom: 0;
    left: 22px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #2563eb, #14b8d4, #7ee787, #f59e0b);
  }

  .about-timeline__rail button {
    min-height: 64px;
    text-align: left;
    padding-left: 3.25rem;
  }

  .about-location-map {
    min-height: 260px;
  }
}

/* Premium brand system：統一前台的品牌層級、質感、互動與響應式細節。 */
:root {
  --ink: #0b1628;
  --muted: #5f6f83;
  --line: #d9e5f0;
  --blue: #2563eb;
  --blue-dark: #06152b;
  --cyan: #06b6d4;
  --green: #14b879;
  --amber: #f59e0b;
  --soft: #f3f8fc;
  --panel: #ffffff;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 14px 36px rgba(7, 27, 55, .08);
  --shadow-md: 0 24px 58px rgba(7, 27, 55, .13);
  --shadow-lg: 0 38px 90px rgba(4, 17, 40, .24);
}

::selection {
  color: #fff;
  background: #2563eb;
}

html {
  scroll-padding-top: 92px;
}

body {
  color: var(--ink);
  background: #fff;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main:focus {
  outline: none;
}

.container {
  --bs-gutter-x: clamp(2rem, 4vw, 3.5rem);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  border-radius: 10px;
  padding: .7rem 1rem;
  color: #fff;
  background: #06152b;
  box-shadow: var(--shadow-md);
  transform: translateY(-160%);
  transition: transform .18s ease;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

a,
button,
.btn,
.form-control,
.form-select {
  transition-duration: .22s;
  transition-timing-function: ease;
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid rgba(6, 182, 212, .45);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  border-radius: 12px;
  padding: .65rem 1.15rem;
  letter-spacing: .015em;
  box-shadow: none;
  transition-property: color, background, border-color, box-shadow, transform;
}

.btn-lg {
  min-height: 54px;
  border-radius: 14px;
  padding: .8rem 1.35rem;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border-color: rgba(103, 232, 249, .62);
  background: linear-gradient(135deg, #2f66f5 0%, #0aa8cb 100%);
  box-shadow: 0 14px 32px rgba(37, 99, 235, .24), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  border-color: #a5f3fc;
  background: linear-gradient(135deg, #2457dd 0%, #078cae 100%);
  box-shadow: 0 20px 42px rgba(14, 116, 180, .30), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.btn-light {
  color: #092044;
  border-color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .13);
  backdrop-filter: blur(12px);
}

.btn-light:hover {
  color: #092044;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.btn-outline-primary {
  color: #174fc0;
  border-color: rgba(37, 99, 235, .32);
  background: #fff;
}

.btn-outline-primary:hover {
  border-color: #2563eb;
  background: #2563eb;
  box-shadow: 0 16px 34px rgba(37, 99, 235, .2);
}

/* 導覽列 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1080;
}

.site-navbar {
  position: relative !important;
  min-height: 82px;
  padding-block: .65rem;
  border-bottom: 1px solid rgba(125, 211, 252, .15);
  background: rgba(4, 14, 31, .94) !important;
  box-shadow: 0 10px 36px rgba(2, 8, 23, .14);
  backdrop-filter: blur(22px) saturate(130%);
  transition: min-height .25s ease, background .25s ease, box-shadow .25s ease;
}

.site-navbar::before {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(37, 99, 235, .72), rgba(6, 182, 212, .82), transparent 95%);
  opacity: .7;
}

.site-navbar.is-scrolled {
  min-height: 72px;
  background: rgba(3, 12, 27, .98) !important;
  box-shadow: 0 18px 48px rgba(2, 8, 23, .24);
}

.site-navbar .navbar-brand {
  gap: .7rem;
  margin-right: 1.5rem;
}

.site-navbar .brand-logo {
  width: 48px;
  height: 48px;
  transition: width .25s ease, height .25s ease, transform .25s ease;
}

.site-navbar.is-scrolled .brand-logo {
  width: 42px;
  height: 42px;
}

.site-navbar .navbar-brand:hover .brand-logo {
  transform: rotate(-4deg) scale(1.04);
}

.brand-copy {
  display: grid;
  gap: .08rem;
  line-height: 1.15;
}

.brand-copy strong {
  color: #f8fbff;
  font-size: 1.05rem;
  letter-spacing: .06em;
}

.brand-copy small {
  color: rgba(165, 243, 252, .62);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .17em;
}

.site-navbar .navbar-nav {
  gap: .05rem;
}

.site-navbar .nav-link {
  position: relative;
  padding: .7rem .68rem !important;
  color: rgba(226, 238, 251, .76) !important;
  font-size: .91rem;
  letter-spacing: .025em;
  transition: color .2s ease, transform .2s ease;
}

.site-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .3rem;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: #fff !important;
  transform: none;
}

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.site-navbar .nav-consult {
  min-height: 40px;
  border-radius: 11px;
  white-space: nowrap;
}

.site-navbar .navbar-toggler {
  width: 46px;
  height: 42px;
  border-radius: 11px;
  border-color: rgba(125, 211, 252, .3);
  background: rgba(255, 255, 255, .05);
}

/* 首頁主視覺下方的流程圖圖片 */
.home-flowchart {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  background: var(--theme-body-bg, var(--theme-background, #fff));
}

.home-flowchart .responsive-image {
  display: block;
}

.home-flowchart__image {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius-lg, 0);
  object-fit: contain;
  box-shadow: var(--theme-shadow-sm, none);
}

/* 首頁首屏 */
.hero {
  min-height: min(820px, calc(100svh - 82px));
  padding: clamp(5.5rem, 10vw, 8rem) 0 clamp(4.5rem, 8vw, 6.5rem);
  background: #06152b;
}

.hero__bg-image {
  filter: saturate(.9) contrast(1.08);
  transform: scale(1.015);
}

.hero::before {
  background:
    radial-gradient(circle at 74% 40%, rgba(6, 182, 212, .18), transparent 25%),
    linear-gradient(90deg, rgba(2, 9, 23, .99) 0%, rgba(4, 17, 39, .95) 42%, rgba(5, 28, 52, .58) 76%, rgba(3, 13, 27, .74) 100%),
    repeating-linear-gradient(90deg, rgba(125, 211, 252, .055) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(125, 211, 252, .045) 0 1px, transparent 1px 96px);
  mask-image: none;
}

.hero::after {
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(248, 251, 255, .98));
}

.hero .container {
  position: relative;
}

.hero__inner {
  grid-template-columns: minmax(0, 760px);
}

.hero__content {
  max-width: 720px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #0a89a5;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.35;
}

.hero .eyebrow::before,
.product-lab .eyebrow::before,
.section-dark .eyebrow::before,
.cta-band .eyebrow::before,
.site-footer .eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  box-shadow: 8px 0 0 rgba(103, 232, 249, .3);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 1.35rem;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 4.45rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.045em;
  text-shadow: 0 20px 54px rgba(0, 0, 0, .3);
}

.hero__content > p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(226, 238, 251, .82);
  font-size: clamp(1.03rem, 1.6vw, 1.2rem);
  line-height: 1.85;
}

.hero__actions {
  gap: .85rem;
  margin-top: 2rem;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 660px;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(125, 211, 252, .16);
  padding-top: 1.25rem;
}

.hero__proof div {
  min-width: 0;
  padding: 0 1rem;
  border-left: 1px solid rgba(125, 211, 252, .14);
}

.hero__proof div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__proof strong,
.hero__proof span {
  display: block;
}

.hero__proof strong {
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: .02em;
}

.hero__proof span {
  margin-top: .2rem;
  color: rgba(191, 219, 254, .62);
  font-size: .76rem;
}

/* 內容節奏與通用元件 */
.section {
  padding: clamp(4.75rem, 8vw, 7rem) 0;
}

.section-soft,
.catalog-section {
  background: linear-gradient(180deg, #f7fbff 0%, #eef6fb 100%);
}

.section-soft::before,
.seo-section::before {
  background:
    radial-gradient(circle at 10% 10%, rgba(37, 99, 235, .055), transparent 26%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, .06), transparent 28%),
    repeating-linear-gradient(90deg, rgba(37, 99, 235, .026) 0 1px, transparent 1px 112px);
}

.section-heading {
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-heading > div {
  max-width: 820px;
}

.section-title {
  max-width: 820px;
  margin-bottom: .9rem;
  color: #081a34;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -.025em;
}

.section-copy,
.lead {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.9;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
  border-bottom: 1px solid rgba(37, 99, 235, .25);
  padding: .4rem 0;
  color: #174fc0;
}

.section-link::after {
  content: "↗";
  transition: transform .2s ease;
}

.section-link:hover::after {
  transform: translate(2px, -2px);
}

.rounded-media,
.about-system-visual,
.article-cover,
.solution-gallery__item {
  border-radius: var(--radius-lg);
}

.media-stack::before {
  inset: 18px -18px -18px 18px;
  border-radius: var(--radius-lg);
}

.status-strip {
  right: -1rem;
  bottom: -1.1rem;
  width: calc(100% - 2.5rem);
  gap: .5rem;
}

.status-strip div {
  border-radius: 13px;
  box-shadow: 0 18px 42px rgba(2, 8, 23, .22);
}

.benefit-grid {
  gap: .75rem;
}

.benefit-grid button,
.benefit-panel,
.module-tabs button,
.module-preview,
.road-step,
.seo-grid article,
.faq-list details,
.catalog-panel,
.contact-panel,
.form-surface,
.detail-panel,
.metric-tile,
.feature-tile,
.about-values__rail button,
.about-values__panel,
.about-timeline__rail button,
.about-timeline__spotlight,
.about-focus-card,
.about-location-map,
.about-branch-grid div {
  border-radius: var(--radius-md);
}

.benefit-grid button {
  position: relative;
  overflow: hidden;
  padding: 1.15rem;
}

.benefit-grid button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #2563eb, #06b6d4);
  opacity: 0;
  transition: opacity .2s ease;
}

.benefit-grid button.active::before,
.benefit-grid button:hover::before {
  opacity: 1;
}

.benefit-panel {
  padding: 1.15rem 1.3rem;
  box-shadow: 0 16px 40px rgba(6, 182, 212, .1);
}

.product-lab,
.section-dark,
.cta-band {
  background:
    radial-gradient(circle at 78% 18%, rgba(6, 182, 212, .13), transparent 24%),
    linear-gradient(135deg, #051328 0%, #0a2448 55%, #06263d 100%);
}

.module-shell {
  gap: 1.15rem;
}

.module-tabs button {
  padding: 1.15rem;
}

.module-preview {
  min-height: 100%;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.module-preview::before {
  border-radius: 14px;
}

.module-preview h3 {
  max-width: 610px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.module-checks span {
  border-radius: 999px;
}

.solution-card,
.news-card {
  border: 1px solid rgba(37, 99, 235, .13);
  border-top: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 44px rgba(7, 27, 55, .09);
}

.solution-card::before,
.news-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #06b6d4, #14b879);
}

.solution-card:hover,
.news-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 30px 68px rgba(7, 27, 55, .16);
}

.solution-card__media,
.news-card {
  overflow: hidden;
}

.solution-card__image,
.news-card__image {
  aspect-ratio: 16 / 9;
}

.solution-card__body,
.news-card__body {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 1.4rem 1.45rem 1.5rem;
}

.solution-card h2,
.solution-card h3,
.news-card h2,
.news-card h3 {
  margin: .55rem 0 .65rem;
  font-size: 1.2rem;
  line-height: 1.45;
}

.solution-card p,
.news-card p {
  line-height: 1.75;
}

.solution-card__tags {
  margin: auto 0 1rem;
}

.solution-card__tags span {
  border: 1px solid rgba(6, 182, 212, .14);
  border-radius: 999px;
}

.solution-card__link,
.news-card__body > a {
  margin-top: auto;
  color: #174fc0;
  font-weight: 800;
}

.news-card time {
  color: #0a89a5;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.feature-tile {
  position: relative;
  min-height: 300px;
  padding: 1.6rem;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-tile::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(6, 182, 212, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(37, 99, 235, .035);
}

.feature-tile:hover {
  border-color: rgba(6, 182, 212, .34);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.delivery-road,
.seo-grid {
  gap: 1.15rem;
}

.road-step,
.seo-grid article {
  padding: 1.6rem;
}

.road-step {
  min-height: 250px;
}

.road-step::before {
  height: 4px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.seo-grid article {
  transition: transform .22s ease, box-shadow .22s ease;
}

.seo-grid article:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.faq-list {
  gap: .8rem;
}

.faq-list details {
  border-color: rgba(37, 99, 235, .13);
  padding: 0 1.25rem;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.faq-list details[open] {
  border-color: rgba(6, 182, 212, .32);
  background: #fff;
  box-shadow: 0 20px 48px rgba(7, 27, 55, .1);
}

.faq-list summary {
  position: relative;
  padding: 1.2rem 2.7rem 1.2rem 0;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #174fc0;
  background: #eaf3ff;
  font-size: 1.2rem;
  transform: translateY(-50%);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.faq-list details[open] summary::after {
  content: "−";
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.faq-list details > :not(summary) {
  margin-bottom: 1.2rem;
  color: var(--muted);
}

.catalog-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-color: rgba(6, 182, 212, .2);
  box-shadow: var(--shadow-md);
}

.catalog-panel__stats div {
  border-radius: 14px;
}

/* 內頁首屏與文章 */
.page-banner {
  min-height: 390px;
  padding: clamp(5rem, 9vw, 7rem) 0;
}

.page-banner__image {
  filter: saturate(.85) contrast(1.08);
  transform: scale(1.02);
}

.page-banner::before {
  background:
    radial-gradient(circle at 76% 40%, rgba(6, 182, 212, .16), transparent 27%),
    linear-gradient(90deg, rgba(2, 9, 23, .96) 0%, rgba(5, 23, 50, .82) 55%, rgba(7, 34, 58, .52)),
    repeating-linear-gradient(90deg, rgba(125, 211, 252, .055) 0 1px, transparent 1px 96px);
  opacity: var(--page-banner-overlay-opacity, 1);
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .75), transparent);
}

.page-banner__content {
  position: relative;
  max-width: 860px;
}

.page-banner__eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.page-banner h1 {
  max-width: 820px;
  margin: .55rem 0 1rem;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.page-banner__content > p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(226, 238, 251, .8);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.85;
}

.page-banner__signal {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 24px;
  margin-top: 1.6rem;
}

.page-banner__signal span {
  width: 3px;
  height: 35%;
  border-radius: 99px;
  background: #67e8f9;
  box-shadow: 0 0 12px rgba(103, 232, 249, .35);
}

.page-banner__signal span:nth-child(2) { height: 72%; }
.page-banner__signal span:nth-child(3) { height: 100%; }
.page-banner__signal span:nth-child(4) { height: 56%; }

.breadcrumb-wrap {
  border-bottom: 1px solid rgba(37, 99, 235, .1);
  padding: .9rem 0;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 26px rgba(7, 27, 55, .035);
  backdrop-filter: blur(12px);
}

.breadcrumb {
  font-size: .84rem;
}

.breadcrumb-item a {
  color: #174fc0;
  font-weight: 700;
}

.breadcrumb-item.active {
  color: #77869a;
}

.article-layout {
  max-width: 980px;
}

.article-cover {
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.15rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  color: #75859a;
  font-size: .86rem;
}

.article-content {
  max-width: 820px;
  margin-inline: auto;
  color: #25364a;
  font-size: 1.06rem;
  line-height: 1.95;
}

.article-content h2,
.article-content h3,
.article-layout > h2 {
  color: #081a34;
  font-weight: 900;
  letter-spacing: -.015em;
}

.article-content h2 {
  margin-top: 2.7rem;
  font-size: 1.65rem;
}

.article-content h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

.article-content img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.article-content code {
  padding: .12em .38em;
  border-radius: .35rem;
  background: #edf2f7;
  color: #102a43;
  font-family: "Cascadia Mono", "Microsoft JhengHei UI", Consolas, monospace;
  font-size: .92em;
  overflow-wrap: anywhere;
}

.article-content pre {
  margin: 1.1rem 0;
  padding: 1rem 1.15rem;
  overflow-x: auto;
  border: 1px solid #d8e2ee;
  border-radius: var(--radius-md);
  background: #0c1b2f;
  color: #edf6ff;
  line-height: 1.65;
}

.article-content pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  white-space: pre;
  overflow-wrap: normal;
}

.service-links,
.not-found-panel {
  border: 1px solid rgba(37, 99, 235, .13);
  border-radius: var(--radius-md);
  padding: clamp(1.4rem, 3vw, 2rem);
  background: linear-gradient(135deg, #f8fbff, #eff8fb);
  box-shadow: var(--shadow-sm);
}

.service-links__grid a {
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
}

.service-links__grid a::after {
  content: "↗";
  margin-left: auto;
  color: #0a89a5;
}

.service-links__grid a:hover {
  transform: translateY(-3px);
}

.article-actions {
  justify-content: center;
  margin-top: 2.5rem;
}

.related-section > h2 {
  color: #081a34;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

/* 聯絡、CTA 與頁尾 */
.contact-panel,
.form-surface {
  border-color: rgba(37, 99, 235, .13);
  box-shadow: var(--shadow-md);
}

.contact-panel {
  padding: 1.35rem;
}

.contact-panel__image {
  width: calc(100% + 2.7rem);
  margin: -1.35rem -1.35rem 1.5rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.contact-panel h2 {
  color: #081a34;
  font-weight: 900;
}

.contact-panel li {
  border-radius: 12px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.contact-panel li:hover {
  border-color: rgba(6, 182, 212, .28);
  background: #f4fbfd;
  transform: translateX(3px);
}

.form-surface {
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.form-label {
  margin-bottom: .45rem;
  color: #1c2d43;
  font-size: .88rem;
  font-weight: 800;
}

.form-control,
.form-select {
  min-height: 50px;
  border-radius: 11px;
  border-color: #d3e0ec;
  background: #fbfdff;
}

textarea.form-control {
  padding-top: .8rem;
}

.form-control:hover,
.form-select:hover {
  border-color: #aebfd1;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(6, 182, 212, .7);
  background: #fff;
  box-shadow: 0 0 0 .25rem rgba(6, 182, 212, .1);
}

.form-note,
.captcha-row__question {
  border-radius: 12px;
}

.cta-band {
  padding: clamp(4rem, 7vw, 5.5rem) 0;
}

.cta-band__inner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  overflow: hidden;
}

.cta-band__inner::after,
.footer-intro::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(103, 232, 249, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(103, 232, 249, .025), 0 0 0 62px rgba(103, 232, 249, .018);
  pointer-events: none;
}

.cta-band h2,
.case-cta h2 {
  max-width: 760px;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.25;
}

.site-footer {
  padding: 0 0 1.5rem;
  background:
    radial-gradient(circle at 86% 14%, rgba(6, 182, 212, .11), transparent 23%),
    linear-gradient(135deg, #020914 0%, #06152b 58%, #062237 100%);
}

.site-footer::before {
  background:
    repeating-linear-gradient(90deg, rgba(125, 211, 252, .04) 0 1px, transparent 1px 104px);
}

.footer-intro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid rgba(125, 211, 252, .16);
  padding: 3.3rem 0;
  overflow: hidden;
}

.footer-intro > * {
  position: relative;
  z-index: 1;
}

.footer-intro__eyebrow {
  display: block;
  margin-bottom: .55rem;
  color: #67e8f9;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.footer-intro h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.025em;
}

.footer-intro .btn {
  flex: 0 0 auto;
}

.footer-brand {
  align-items: center;
  margin-bottom: 1rem;
}

.footer-brand > span {
  display: grid;
  gap: .08rem;
}

.footer-brand strong {
  color: #fff;
  font-size: 1.2rem;
}

.footer-brand small {
  color: rgba(165, 243, 252, .5);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.site-footer p,
.footer-links li {
  color: rgba(219, 231, 243, .68);
}

.footer-title {
  position: relative;
  margin-bottom: 1rem;
  padding-bottom: .7rem;
  font-size: .92rem;
  letter-spacing: .04em;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #2563eb, #22d3ee);
}

.footer-links a,
.footer-bottom a {
  color: rgba(219, 231, 243, .76);
  transition: color .2s ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: #67e8f9;
}

.footer-bottom {
  color: rgba(219, 231, 243, .48);
  font-size: .8rem;
}

.floating-contact {
  right: 20px;
  bottom: 20px;
  gap: .55rem;
}

.floating-contact__item {
  width: 54px;
  min-height: 46px;
  border-radius: 14px;
  border-color: rgba(125, 211, 252, .28);
  background: rgba(5, 21, 43, .92);
  box-shadow: 0 14px 34px rgba(2, 8, 23, .24), inset 0 1px 0 rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.floating-contact__item:hover {
  border-color: #67e8f9;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  transform: translateY(-3px);
}

.reveal-on-scroll {
  transform: translateY(22px);
}

.reveal-on-scroll.is-visible {
  transition-duration: .65s;
}

@media (max-width: 1199.98px) {
  .site-navbar .nav-link {
    padding-inline: .5rem !important;
    font-size: .86rem;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 760px);
  }
}

@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 74px;
  }

  .site-navbar,
  .site-navbar.is-scrolled {
    min-height: 72px;
  }

  .site-navbar .navbar-collapse {
    margin-top: .7rem;
    border: 1px solid rgba(125, 211, 252, .15);
    border-radius: 16px;
    padding: .65rem;
    background: rgba(5, 20, 43, .98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  }

  .site-navbar .navbar-nav {
    align-items: stretch !important;
  }

  .site-navbar .nav-link {
    border-radius: 10px;
    padding: .75rem .85rem !important;
  }

  .site-navbar .nav-link::after {
    display: none;
  }

  .site-navbar .nav-link:hover,
  .site-navbar .nav-link.active {
    background: rgba(125, 211, 252, .075);
  }

  .site-navbar .nav-item.ms-lg-3 {
    margin-top: .4rem;
  }

  .site-navbar .nav-consult {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 5.5rem 0 4.5rem;
  }

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

  .hero h1 {
    font-size: clamp(2.65rem, 8vw, 4rem);
  }

  .footer-intro {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .container {
    --bs-gutter-x: 1.8rem;
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: .98rem;
  }

  .site-navbar .brand-logo,
  .site-navbar.is-scrolled .brand-logo {
    width: 40px;
    height: 40px;
  }

  .home-flowchart {
    padding-block: 1.5rem;
  }

  .hero {
    padding: 4.6rem 0 4rem;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.15rem);
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__proof {
    gap: .65rem;
  }

  .hero__proof div {
    padding-inline: .65rem;
  }

  .hero__proof strong {
    font-size: .98rem;
  }

  .hero__proof span {
    font-size: .66rem;
  }

  .section {
    padding: 4.25rem 0;
  }

  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .section-heading {
    gap: .85rem;
  }

  .page-banner {
    min-height: 330px;
    padding: 4.5rem 0;
  }

  .page-banner h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .page-banner__signal {
    margin-top: 1.15rem;
  }

  .status-strip {
    width: 100%;
  }

  .solution-card__body,
  .news-card__body {
    min-height: auto;
  }

  .feature-tile,
  .road-step {
    min-height: auto;
  }

  .article-content {
    font-size: 1rem;
  }

  .service-links,
  .not-found-panel,
  .form-surface {
    padding: 1.25rem;
  }

  .footer-intro {
    margin-bottom: 2.5rem;
    padding: 2.8rem 0;
  }

  .footer-intro .btn {
    width: 100%;
  }

  .floating-contact {
    right: 10px;
    bottom: 10px;
  }

  .floating-contact__item {
    width: 46px;
    min-height: 42px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* 全站外觀管理：後台維持固定介面，不跟著前台主題改變。 */
.appearance-heading {
  align-items: stretch;
}

.appearance-kicker {
  margin: 0 0 .35rem !important;
  color: #2563eb !important;
  font-size: .72rem !important;
  font-weight: 900;
  letter-spacing: .18em;
}

.appearance-current {
  min-width: min(100%, 280px);
  display: grid;
  align-content: center;
  gap: .1rem;
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
}

.appearance-current span,
.appearance-current small {
  color: #64748b;
  font-size: .75rem;
}

.appearance-current strong {
  color: #0f2852;
  font-size: 1.15rem;
}

.appearance-notice {
  display: flex;
  align-items: center;
  gap: .65rem 1.2rem;
  margin-bottom: 1.25rem;
  border: 1px solid #b8e7dc;
  border-radius: 14px;
  padding: .9rem 1.1rem;
  color: #315b50;
  background: #effbf7;
}

.appearance-notice strong {
  flex: 0 0 auto;
  color: #176b55;
}

.appearance-form,
.appearance-publish-panel {
  border: 1px solid #dbe4ee;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(7, 27, 55, .08);
}

.appearance-section {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid #e4ebf2;
}

.appearance-section__heading,
.appearance-section__heading > div,
.appearance-publish-panel > div:first-child {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.appearance-section__heading {
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.appearance-section__heading > div > span,
.appearance-publish-panel > div:first-child > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  font-size: .78rem;
  font-weight: 900;
}

.appearance-section__heading h2,
.appearance-publish-panel h2 {
  margin: 0;
  color: #0b1f3a;
  font-size: 1.15rem;
  font-weight: 900;
}

.appearance-section__heading p,
.appearance-publish-panel p {
  margin: .15rem 0 0;
  color: #6b7b8f;
  font-size: .86rem;
}

.appearance-draft-badge {
  border-radius: 999px;
  padding: .38rem .75rem;
  color: #174fc0;
  background: #eaf2ff;
  font-size: .78rem;
  font-weight: 800;
}

.theme-choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .85rem;
}

.theme-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 2px solid #dbe4ee;
  border-radius: 16px;
  padding: .65rem;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.theme-choice:hover {
  border-color: #93b5ef;
  box-shadow: 0 16px 36px rgba(15, 52, 104, .1);
  transform: translateY(-3px);
}

.theme-choice.is-selected {
  border-color: var(--choice-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--choice-primary) 14%, transparent), 0 16px 36px rgba(15, 52, 104, .12);
}

.theme-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-choice:focus-within {
  outline: 3px solid rgba(37, 99, 235, .3);
  outline-offset: 3px;
}

.theme-choice__check {
  position: absolute;
  top: .9rem;
  right: .9rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 2px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  color: transparent;
  background: rgba(15, 23, 42, .28);
  font-size: .75rem;
  transition: color .2s ease, background .2s ease;
}

.theme-choice.is-selected .theme-choice__check {
  color: #fff;
  background: var(--choice-primary);
}

.theme-choice__preview {
  display: grid;
  grid-template-rows: 16px 64px 38px;
  height: 118px;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.theme-choice__nav {
  background: color-mix(in srgb, var(--choice-primary) 70%, #0f172a);
}

.theme-choice__hero {
  background: linear-gradient(135deg, color-mix(in srgb, var(--choice-primary) 82%, #111827), color-mix(in srgb, var(--choice-accent) 48%, #f8fafc));
}

.theme-choice__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 7px;
  background: color-mix(in srgb, var(--choice-primary) 5%, white);
}

.theme-choice__cards i {
  display: block;
  border: 1px solid color-mix(in srgb, var(--choice-primary) 28%, #dbe4ee);
  border-top: 3px solid var(--choice-accent);
  background: #fff;
}

.theme-choice__copy {
  display: grid;
  gap: .15rem;
  padding: .85rem .25rem .45rem;
}

.theme-choice__copy strong {
  color: #102541;
  font-size: .95rem;
}

.theme-choice__copy small {
  color: var(--choice-primary);
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.theme-choice__copy > span {
  min-height: 3.8em;
  color: #66778a;
  font-size: .74rem;
  line-height: 1.55;
}

.theme-choice__palette {
  display: flex;
  gap: .35rem;
  margin: auto .25rem .2rem;
}

.theme-choice__palette i {
  display: block;
  width: 25px;
  height: 8px;
  border-radius: 99px;
}

.appearance-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.appearance-control {
  border: 1px solid #dbe4ee;
  border-radius: 14px;
  padding: 1rem;
  background: #f9fbfd;
}

.appearance-control > label {
  display: block;
  margin-bottom: .55rem;
  color: #263d58;
  font-size: .83rem;
  font-weight: 800;
}

.appearance-control--color > div {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.appearance-control input[type="color"] {
  width: 54px;
  height: 42px;
  border: 1px solid #cad6e2;
  border-radius: 10px;
  padding: 3px;
  background: #fff;
  cursor: pointer;
}

.appearance-control output {
  color: #334155;
  font-family: Consolas, "Courier New", monospace;
  font-size: .85rem;
  font-weight: 700;
}

.appearance-save-bar,
.appearance-publish-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.appearance-save-bar {
  padding: 1.2rem clamp(1.25rem, 3vw, 2rem);
  border-radius: 0 0 22px 22px;
  background: #f8fafc;
}

.appearance-save-bar > div:first-child {
  display: grid;
  gap: .15rem;
}

.appearance-save-bar strong {
  color: #17304e;
}

.appearance-save-bar span {
  color: #718096;
  font-size: .82rem;
}

.appearance-save-bar > div:last-child,
.appearance-publish-panel__actions,
.appearance-publish-panel__actions form {
  display: flex;
  gap: .65rem;
  margin: 0;
}

.appearance-publish-panel {
  margin-top: 1.25rem;
  padding: 1.4rem clamp(1.25rem, 3vw, 2rem);
  border-color: rgba(37, 99, 235, .22);
  background: linear-gradient(135deg, #fff, #f1f7ff);
}

@media (max-width: 1399.98px) {
  .theme-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .theme-choice-grid,
  .appearance-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appearance-save-bar,
  .appearance-publish-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .appearance-notice,
  .appearance-section__heading,
  .appearance-save-bar > div:last-child,
  .appearance-publish-panel__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .theme-choice-grid,
  .appearance-controls {
    grid-template-columns: 1fr;
  }

  .appearance-draft-badge {
    align-self: flex-start;
  }

  .appearance-save-bar .btn,
  .appearance-publish-panel__actions form,
  .appearance-publish-panel__actions .btn {
    width: 100%;
  }
}
