/* =========================================
   統一色系與變數 (完全對齊 opc-server-ua-details.css)
   ========================================= */
:root {
    --navy: #102a43;
    --navy2: #173f5f;
    --blue: #146c94;
    --cyan: #16a6b6;
    --pale: #eaf7fa;
    --ink: #172b3a;
    --muted: #5c6d7a;
    --line: #d9e4eb;
    --bg: #f6f9fb;
    --white: #fff;
    --green: #16806a;
    --shadow: 0 12px 34px rgba(16, 42, 67, 0.08);
    --r: 20px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

/* 對齊字體與基本行高 */
body {
    margin: 0;
    color: var(--ink);
    font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    background: #fff;
}

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

button {
    font: inherit;
}

button, 
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 4px;
}

/* =========================================
   通用排版與佈局
   ========================================= */
.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

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

.section-head.center {
    text-align: center;
}

h1, 
h2, 
h3, 
h4, 
p {
    margin-top: 0;
}

/* =========================================
   標題與內文字級顏色 (對齊 OPC 規範)
   ========================================= */
h1 {
    font-size: clamp(34px, 4.2vw, 52px);
    line-height: 1.28;
    letter-spacing: -1.2px;
    color: #ffffff;
    margin: 18px 0 20px;
    font-weight: bold;
}

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

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

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

/* 一般區塊的副標題內文 */
.lead {
    font-size: 1.15rem;
    color: #1e293b;
    margin: 0;
}

/* Hero 區塊的副標題內文 */
.hero .lead {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 0 26px;
}

/* =========================================
   Eyebrow 小標籤設計
   ========================================= */
/* 預設區塊小標 (對齊 OPC 的 .kicker) */
.eyebrow {
    color: #2956A5;
    font-size: 12px;
    letter-spacing: 1.4px;
    font-weight: 800;
    display: inline-block;
    text-transform: uppercase;
}

.eyebrow:before {
    display: none;
}

/* Hero 區塊小標 (對齊 OPC 的 Pill 樣式) */
.hero .eyebrow {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 6px 20px;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 700;
    border: 1px solid rgba(59, 130, 246, 0.3);
    letter-spacing: 1px;
}

.hero p {
  font-size: 16px;
  color: #Ffff;
  margin-bottom: 2rem;
} 

/* =========================================
   按鈕 (Buttons - 對齊 OPC 風格)
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 9px;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 16px;
    transition: .15s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

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

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

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

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

.hero .btn.outline {
    border-color: #45647d;
    color: #d5e5f1;
    background: rgba(255, 255, 255, .04);
}

.hero .btn.outline:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.arrow {
    font-size: 19px;
    line-height: 1;
    color: #fff;

}


/* =========================================
   Hero 主視覺
   ========================================= */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    overflow: hidden;
    position: relative;
}

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

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.04fr 1fr;
    align-items: center;
    gap: 37px;
    padding: 78px 0 74px;
    min-height: auto;
}

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

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

.hero-pills {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-pills span {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 700;
}

.hero-pills b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: #1b7cef;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.hero-visual {
    position: relative;
    min-width: 0;
    padding: 20px 0 15px;
}

/* =========================================
   視覺儀表板模組
   ========================================= */
.dashboard {
    position: relative;
    border: 1px solid rgba(96, 165, 250, 0.3);
    background: #0f172a;
    border-radius: 20px;
    box-shadow: 0 26px 90px rgba(0, 17, 34, 0.44);
    overflow: hidden;
    padding: 23px;
}

.dash-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    padding-bottom: 18px;
    margin-bottom: 21px;
}

.dash-title {
    font-weight: 800;
    font-size: 15px;
    color: #fff;
}

.dash-sub {
    font-size: 11px;
    color: #8bacbf;
    letter-spacing: .07em;
    margin-top: 3px;
}

.dash-live {
    font-size: 11px;
    color: #60a5fa;
    display: inline-flex;
    gap: 7px;
    align-items: center;
    border: 1px solid rgba(96, 165, 250, 0.3);
    background: rgba(96, 165, 250, 0.1);
    padding: 4px 9px;
    border-radius: 16px;
    white-space: nowrap;
}

.dash-live:before {
    content: "";
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
}

.dash-rail {
    display: grid;
    grid-template-columns: 1fr auto 1.26fr auto 1.05fr;
    gap: 7px;
    align-items: center;
}

.dash-node {
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 12px;
    min-height: 80px;
    padding: 12px 7px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.dash-node small {
    font-size: 11px;
    color: #94a3b8;
}

.dash-node strong {
    font-size: 14px;
    line-height: 1.3;
    color: #edfaff;
}

.dash-node.core {
    border-color: #60a5fa;
    background: linear-gradient(155deg, rgba(30, 58, 138, 0.8), rgba(15, 23, 42, 0.8));
    box-shadow: inset 0 0 28px rgba(96, 165, 250, 0.2);
}

.dash-node.core strong {
    font-size: 18px;
    color: #fff;
}

.dash-line {
    color: #60a5fa;
    font-size: 17px;
}

.dash-divider {
    display: flex;
    gap: 11px;
    align-items: center;
    font-size: 11px;
    color: #94a3b8;
    margin: 23px 0 13px;
}

.dash-divider:after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(96, 165, 250, 0.2);
}

.warehouse {
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 13px;
    padding: 15px;
    background: rgba(15, 23, 42, 0.6);
}

.warehouse-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 750;
    color: #dcf5ff;
    margin-bottom: 14px;
}

.warehouse-head small {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
}

.rack-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 6px;
}

.rack {
    height: 18px;
    border-radius: 4px;
    background: #1e3a8a;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.rack.light {
    background: #3b82f6;
    border-color: rgba(96, 165, 250, 0.6);
}

.rack.hot {
    background: #d89c4c;
    border-color: #e7cb7755;
}

.rack.empty {
    background: rgba(15, 23, 42, 0.8);
    border: 1px dashed rgba(96, 165, 250, 0.4);
}

.rack-legend {
    margin-top: 13px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #8fb1c5;
}

.rack-legend i {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    margin-right: 5px;
}

.lg-normal {
    background: #1e3a8a;
}

.lg-active {
    background: #3b82f6;
}

.lg-alert {
    background: #d89c4c;
}

.dash-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-top: 13px;
}

.dash-mini {
    border-radius: 10px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 13px 7px;
    background: rgba(255, 255, 255, 0.04);
}

.dash-mini b {
    font-size: 13px;
    color: #d6f5ff;
    display: block;
}

.dash-mini span {
    font-size: 11px;
    color: #94a3b8;
}

/* =========================================
   數據條 (Metrics)
   ========================================= */
.metrics {
    background: #f8fafc;
    padding: 30px 0;
}

.metrics-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    padding: 27px 12px;
}

.metric {
    padding: 6px 27px;
    border-right: 1px solid var(--line);
}

.metric:last-child {
    border: 0;
}

.metric b {
    display: block;
    color: #102a43;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.23;
    letter-spacing: -.06em;
}

.metric b small {
    font-size: 19px;
    letter-spacing: -.02em;
    color: #1b7cef;
    margin-left: 4px;
}

.metric span {
    display: block;
    font-size: 16px;
    color: #5c6d7a;
    margin-top: 8px;
    font-weight: 700;
}


/* =========================================
   區塊通用設定
   ========================================= */
.block {
    padding: 76px 0;
}

.muted-bg {
    background: #f8fafc;
}

/* =========================================
   進場動畫 (Scroll Reveal)
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* =========================================
   痛點區塊 (Pain Grid)
   ========================================= */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.pain-card {
    padding: 23px 21px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    transition: transform .3s ease, box-shadow .3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 40, 80, 0.08);
    border-color: #2563eb;
}

.icon-box {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #06c;
    background: #deefff;
    margin-bottom: 15px;
}

.icon-box svg {
    width: 20px;
    height: 20px;
    stroke: #06c;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pain-card p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
    color: #1e293b;
}

.sub-link {
    margin-top: 15px;
    font-size: 14px;
    color: #1b7cef;
    font-weight: 700;
    display: inline-block;
}

/* =========================================
   工作流程 (Process)
   ========================================= */
.process {
    padding: 76px 0;
    background: #fff;
}

.process-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 45px;
}

.process-list:before {
    content: "";
    position: absolute;
    height: 2px;
    left: 7%;
    right: 7%;
    top: 30px;
    background: linear-gradient(90deg, #dbeafe, #60a5fa, #dbeafe);
}

.process-step {
    position: relative;
    min-width: 0;
    padding: 0 10px;
}

.process-circle {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 14px rgba(15, 66, 97, .13);
    border: 3px solid #bfdbfe;
    color: #1e3a8a;
    font-size: 20px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    position: relative;
    font-weight: 900;
}

.process-step.primary .process-circle {
    background: #1b7cef;
    color: white;
    border-color: #1b7cef;
    box-shadow: 0 7px 20px rgba(27, 124, 239, 0.3);
}

.process-step h3 {
    font-size: 1.15rem;
    text-align: center;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
    margin: 0;
}

.flow-note {
    margin-top: 35px;
    padding: 14px 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    color: #1e3a8a;
    font-size: 15px;
    text-align: center;
}

.flow-note strong {
    color: #1e3a8a;
}

/* =========================================
   特色功能 (Features Tabs)
   ========================================= */
.feature-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 8px;
    border-radius: 12px;
    background: #f1f5f9;
    margin: 25px 0 25px;
}

.feature-tab {
    flex: 1;
    min-width: 150px;
    text-align: center;
    border: 0;
    border-radius: 8px;
    padding: 12px 15px;
    color: #64748b;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    font-size: 15px;
    transition: .2s;
}

.feature-tab[aria-selected="true"] {
    background: #fff;
    color: #1b7cef;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-panel[hidden] {
    display: none;
}

.feature-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 20px;
    align-items: stretch;
}

.feature-highlight {
    border-radius: 16px;
    background: linear-gradient(138deg, #0f172a, #1e3a8a);
    color: #fff;
    padding: 30px;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-highlight .tiny {
    color: #60a5fa;
    letter-spacing: .15em;
    font-size: 12px;
    font-weight: 800;
}

.feature-highlight h3 {
    margin-top: 20px;
    font-size: 28px;
    color: #fff;
}

.feature-highlight p {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 395px;
    line-height: 1.7;
    margin-bottom: 0;
}

.feature-takeaway {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
}

.feature-takeaway:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.4), transparent);
    margin-bottom: 10px;
}

.takeaway-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    color: #60a5fa;
}

.feature-takeaway strong {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 800;
    color: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    background: white;
    min-height: 150px;
}

.feature-item b {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 1.15rem;
    color: #102a43;
}

.feature-item b:before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1b7cef;
}

.feature-item p {
    font-size: 15px;
    line-height: 1.7;
    margin: 8px 0 0;
    padding-left: 16px;
}

/* =========================================
   架構圖 (Architecture)
   ========================================= */
.arch-section {
    background: #fff;
}

.arch-shell {
    padding: 23px;
    background: #0f172a;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.arch-default {
    position: relative;
}

.arch-layer-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    color: #60a5fa;
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.arch-layer-label:after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(96, 165, 250, 0.3);
}

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

.arch-box {
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 12px;
    color: white;
    text-align: center;
    padding: 16px;
}

.arch-box b {
    font-size: 18px;
    display: block;
}

.arch-box small {
    display: block;
    color: #94a3b8;
    font-size: 15px;
    margin-top: 4px;
    line-height: 1.6;
}

.arch-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    color: #44a7ff;
    letter-spacing: .3em;
    font-size: 14px;
}

.arch-core {
    padding: 16px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.85);
}

.arch-core-title {
    text-align: center;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: .025em;
    margin-bottom: 15px;
}

.arch-modules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.arch-module {
    padding: 14px 10px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.85);
    color: #fff;
}

.arch-module b {
    display: block;
    font-size: 16px;
    color: #1b7cef;
}

.arch-module small {
    display: block;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 4px;
}

.arch-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.arch-foot {
    color: #94a3b8;
    text-align: center;
    margin: 15px 0 0;
    font-size: 12px;
}

.arch-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.arch-image[hidden] {
    display: none;
}

.arch-shell:has(.arch-image:not([hidden])) .arch-default {
    display: none;
}

.arch-shell:has(.arch-image:not([hidden])) {
    padding: 17px;
}

.arch-desc {
    display: grid;
   /* grid-template-columns: 1fr 1fr;*/
    grid-template-columns: 2fr;
    gap: 20px;
    margin-top: 25px;
}

.arch-desc p {
    padding: 0 12px;
    border-left: 3px solid #1b7cef;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.arch-desc b {
    color: #102a43;
}

/* =========================================
   警示區塊 (Alert)
   ========================================= */
.alert-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 40px;
    align-items: center;
}

.alert-layout .lead {
    max-width: 490px;
}

.check-list {
    display: grid;
    gap: 14px;
    margin-top: 25px;
}

.check-list span {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
    color: #1e293b;
}

.check-list span:before {
    content: "✓";
    font-weight: 900;
    color: #1b7cef;
    background: #eef3f7;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 14px;
}

.alert-ui {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 24px;
}

.alert-ui-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    font-size: 17px;
    margin-bottom: 20px;
}

.alert-ui-head small {
    color: #1b7cef;
    font-size: 12px;
    background: #eff6ff;
    padding: 4px 9px;
    border-radius: 20px;
}

.notice {
    padding: 14px;
    border: 1px solid #edf0f3;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.notice:last-child {
    margin: 0;
}

.notice-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #fff2da;
    color: #b77e19;
    flex-shrink: 0;
    font-size: 15px;
}

.notice:nth-child(3) .notice-icon {
    background: #fde7e7;
    color: #cf5555;
}

.notice:nth-child(4) .notice-icon {
    background: #eff6ff;
    color: #1b7cef;
}

.notice b {
    display: block;
    font-size: 15px;
}

.notice p {
    font-size: 14px;
    margin: 4px 0 0;
    line-height: 1.6;
}

.notice small {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.notice-tag {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 11px;
    color: #1b7cef;
    background: #eff6ff;
    padding: 3px 6px;
    border-radius: 5px;
}

/* =========================================
   效益區塊 (Benefits)
   ========================================= */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 35px;
}

.benefit {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 23px 21px;
    transition: transform .3s, box-shadow .3s;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 40, 80, 0.08);
    border-color: #2563eb;
}

.benefit-num {
    display: block;
    color: #1b7cef;
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 12px;
}

.benefit h3 {
    font-size: 1.25rem;
}

.benefit p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* =========================================
   FAQ 區塊
   ========================================= */
.faq-wrap {
    max-width: 900px;
    margin-inline: auto;
}

.faq-items {
    margin-top: 30px;
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    color: #102a43;
    padding: 20px 5px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
}

.faq-question:after {
    content: "+";
    font-size: 22px;
    color: #1b7cef;
    font-weight: 400;
    transition: transform .2s;
}

.faq-question[aria-expanded="true"]:after {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 30px 20px 5px;
    color: #1e293b;
    font-size: 16px;
    line-height: 1.7;
}

.faq-answer.show {
    display: block;
}

/* =========================================
   RWD 響應式調整
   ========================================= */
@media (max-width: 1070px) {
    .arch-module small {
        font-size: 13px;
    }
}

@media (max-width: 860px) {
    .container {
        width: min(100% - 36px, 720px);
    }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 60px 0 60px;
    }
    .hero-copy {
        max-width: 640px;
    }
    .hero-visual {
        max-width: 635px;
        width: 100%;
        margin: auto;
    }
    .dashboard {
        padding: 18px;
    }
    .metrics-inner {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }
    .metric:nth-child(odd) {
        border: 0;
        padding-left: 0;
    }
    .pain-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pain-card:last-child {
        grid-column: span 2;
    }
    .process-list {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 30px;
    }
    .process-list:before {
        display: none;
    }
    .feature-layout, 
    .alert-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .feature-highlight {
        min-height: 250px;
    }
    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .arch-shell {
        padding: 20px;
    }
    .arch-modules, 
    .arch-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .container {
        width: calc(100% - 30px);
    }
    .eyebrow, 
    .hero .eyebrow {
        font-size: 12px;
    }
    .hero-inner {
        padding: 50px 0 50px;
    }
    .dashboard {
        padding: 14px;
    }
    .dash-node {
        padding: 10px 5px;
        min-height: 70px;
    }
    .metric b {
        font-size: 28px;
    }
    .block, 
    .process {
        padding: 60px 0;
    }
    .pain-grid, 
    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .pain-card:last-child {
        grid-column: auto;
    }
    .pain-card, 
    .benefit {
        padding: 22px;
    }
    .process-list {
        grid-template-columns: 1fr 1fr;
        gap: 25px 15px;
        margin-top: 30px;
    }
    .process-circle {
        height: 50px;
        width: 50px;
        font-size: 18px;
        margin-bottom: 12px;
    }
    .feature-tabs {
        gap: 5px;
        padding: 6px;
    }
    .feature-tab {
        min-width: calc(50% - 5px);
        font-size: 14px;
        padding: 10px 5px;
    }
    .feature-highlight {
        padding: 22px;
        min-height: 0;
    }
    .feature-takeaway {
        margin-top: 15px;
        padding-top: 0;
    }
    .feature-item {
        padding: 20px;
        min-height: 0;
    }
    .arch-shell {
        padding: 14px;
    }
    .arch-top, 
    .arch-bottom {
        grid-template-columns: 1fr;
    }
    .arch-desc {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .alert-ui {
        padding: 18px;
    }
    .notice {
        padding: 12px 10px;
        gap: 9px;
    }
    .notice-tag {
        display: none;
    }
}

@media(prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, 
    *::before, 
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}