/* =========================================================
   FBA 官網 — 全站樣式
   設計：深海軍 + 金色，專業企業 SaaS 風格
   ========================================================= */

:root {
  /* === 品牌色 === */
  --brand: #002060;            /* 深海軍 — 主品牌色 */
  --brand-deep: #001040;       /* 更深海軍 — hover */
  --brand-soft: #eef2f8;       /* 淡海軍藍 — 背景 */

  --accent: #c0a040;           /* 金色 — 點綴強調 */
  --accent-deep: #a08030;      /* 深金 — hover */

  /* === 中性色 === */
  --ink: #1a1a2e;              /* 主文字 */
  --ink-soft: #4a5a7a;         /* 次文字 */
  --ink-light: #8899b0;        /* 淺灰文字 */
  --line: #d6dde8;             /* 線條/邊框 */
  --bg: #ffffff;               /* 純白背景 */
  --bg-alt: #f4f6fb;           /* 冷色調淺藍白 — 交替區塊 */
  --bg-dark: #001040;          /* 極深海軍 — 深色區塊 */

  /* === 字體 === */
  --font-display: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;

  /* === 尺寸 === */
  --container: 1200px;
  --radius: 20px;
  --shadow-sm: 0 8px 20px rgba(5,20,60,.06);
  --shadow-md: 0 18px 42px rgba(5,20,60,.10);
  --shadow-lg: 0 28px 70px rgba(5,20,60,.14);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; color-scheme: light; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-deep); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- 容器 ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- 標題 ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.9rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); }
h3 { font-size: 1.32rem; }

/* ---- 全站頂部公告條 ---- */
.topbar {
  background: #071229;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  padding: 10px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--accent); }
.topbar-tags { display: flex; gap: 16px; }
.topbar-tags span::before { content: "▸ "; color: var(--accent); }

/* ---- 導覽列 ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 360px;
  min-width: 0;
}
.nav-logo { flex-shrink: 0; min-width: 220px; }
.nav-logo img { height: 320px; width: auto; flex-shrink: 0; }
.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-shrink: 0;
}
.nav-menu a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  padding: 16px 24px;
  display: block;
}
.nav-menu a:hover { color: var(--brand); }
.nav-menu a.active { color: var(--brand); }
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--brand); }
.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background .2s;
}
.nav-cta:hover { background: var(--brand-deep); color: #fff !important; }
.nav-cta::after { display: none !important; }

.nav-toggle { display: none; font-size: 24px; }

/* ---- Hero 區 ---- */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(192,160,64,.18), transparent 24%),
    linear-gradient(135deg, rgba(0,8,34,.96) 0%, rgba(0,20,72,.9) 52%, rgba(0,32,96,.76) 100%),
    url('../images/hero-bg.jpg') center/cover;
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 36px 36px auto auto;
  width: min(32vw, 420px);
  height: min(32vw, 420px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  opacity: .7;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,10,42,.9) 0%, rgba(0,16,64,.68) 46%, rgba(0,16,64,.28) 100%),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 28%);
}
.hero .container {
  position: relative;
  z-index: 2;
  padding: 112px 24px 88px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 56px;
  align-items: center;
}
.hero-copy {
  max-width: 700px;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .34em;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero h1 {
  color: #fff;
  margin-bottom: 24px;
  max-width: 780px;
  line-height: 1.16;
}
.hero h1 .accent {
  color: #fff;
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .12em;
  height: .22em;
  background: linear-gradient(90deg, rgba(192,160,64,.95), rgba(192,160,64,.15));
  z-index: -1;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.82);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-proof {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-proof span {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.88);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-visual {
  display: grid;
  gap: 18px;
}
.hero-panel {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(7,16,44,.68);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.hero-panel-main {
  padding: 32px;
}
.hero-panel-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero-panel-main h3 {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.4;
  margin-bottom: 28px;
}
.hero-panel-flow {
  display: grid;
  gap: 18px;
}
.hero-panel-flow div {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-panel-flow span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .2em;
}
.hero-panel-flow strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}
.hero-panel-flow p {
  max-width: none;
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.72);
}
.hero-panel-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.1);
}
.hero-metric {
  background: rgba(3,12,36,.92);
  padding: 24px;
}
.hero-metric span {
  display: block;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.hero-metric small {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  letter-spacing: .08em;
}
.hero-signal {
  padding: 0 0 72px;
  margin-top: -54px;
  position: relative;
  z-index: 3;
}
.hero-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(0,16,64,.12);
  box-shadow: var(--shadow-lg);
}
.hero-signal-grid > div {
  background: #fff;
  padding: 28px 28px 24px;
}
.signal-title {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero-signal-grid p {
  color: var(--ink-soft);
  font-size: 15px;
}

.trust-strip {
  padding: 0 0 72px;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(0,16,64,.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.trust-strip-grid > div {
  background: #fff;
  padding: 28px 26px;
}
.trust-kicker,
.problem-note-kicker,
.scenario-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.trust-strip strong {
  display: block;
  font-size: 1.55rem;
  color: var(--brand);
  margin-bottom: 8px;
}
.trust-strip p {
  color: var(--ink-soft);
  font-size: 14px;
}
.section-head-left {
  text-align: left;
  max-width: 840px;
  margin: 0 0 56px;
}
.problem-section {
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7fc 100%);
}
.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 28px;
  align-items: start;
}
.problem-rail {
  display: grid;
  gap: 18px;
}
.problem-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(0,16,64,.08);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}
.problem-no {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,32,96,.06);
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .08em;
}
.problem-item h3,
.problem-note h3,
.scenario-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.problem-item p,
.problem-note p,
.scenario-card p {
  color: var(--ink-soft);
}
.problem-note {
  padding: 34px 32px;
  border-radius: 28px;
  background: linear-gradient(180deg, #071229 0%, #0b1f4f 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 96px;
}
.problem-note h3 {
  color: #fff;
}
.problem-note p {
  color: rgba(255,255,255,.76);
  margin-bottom: 28px;
}
.scenario-section {
  background: #fff;
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.scenario-card {
  padding: 34px 30px;
  border-radius: 28px;
  background: #f7f9fc;
  border: 1px solid rgba(0,16,64,.08);
  box-shadow: var(--shadow-sm);
}
.scenario-card-dark {
  background: linear-gradient(180deg, #08162f 0%, #0f2356 100%);
  color: #fff;
}
.scenario-card-dark p,
.scenario-card-dark ul li,
.scenario-card-dark .scenario-link {
  color: rgba(255,255,255,.8);
}
.scenario-card ul {
  margin: 24px 0 28px;
  display: grid;
  gap: 12px;
}
.scenario-card ul li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
}
.scenario-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.scenario-link {
  color: var(--brand);
  font-weight: 700;
}

/* ---- 按鈕 ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  transition: all .25s;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost {
  color: var(--brand);
  border-color: var(--brand);
}
.btn-ghost:hover { background: var(--brand); color: #fff; }

/* ---- 區塊通用 ---- */
section { padding: 96px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ---- 數據條 ---- */
.stats {
  background: var(--bg-alt);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--brand);
  font-weight: 700;
  line-height: 1;
}
.stat-num sup { font-size: .5em; vertical-align: top; }
.stat-label {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: .1em;
}

/* ---- 特色卡片 ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 28px;
  border-radius: var(--radius);
  transition: all .3s;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.feature:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--brand-soft);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--brand);
}
.feature h3 { margin-bottom: 12px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* ---- 雙欄圖文 ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-img {
  background: var(--bg-alt);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.split-text h2 { margin-bottom: 24px; }
.split-text p { color: var(--ink-soft); margin-bottom: 16px; }
.split-list { margin-top: 24px; }
.split-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
.split-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ---- 麵包屑 ---- */
.breadcrumb {
  background: var(--bg-alt);
  padding: 24px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; color: #ccc; }

/* ---- 頁首區 (內頁) ---- */
.page-header {
  background: var(--brand);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 2; }
.page-header .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .4em;
  color: var(--accent);
  margin-bottom: 16px;
}
.page-header h1 { color: #fff; overflow-wrap: break-word; word-break: normal; }
.page-header p {
  margin-top: 16px;
  color: rgba(255,255,255,.75);
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}

/* ---- 頁尾 ---- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
  letter-spacing: .1em;
}
.footer-logo { background: #fff; padding: 16px 20px; border-radius: var(--radius); display: inline-block; margin-bottom: 20px; }
.footer-logo img { height: 120px; width: auto; max-width: none; }
.footer-about p { font-size: 14px; line-height: 1.8; }
.footer-links li, .footer-contact li {
  padding: 6px 0;
  font-size: 14px;
}
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--accent); }
.footer-contact li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-contact .label {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  display: inline-block;
  margin-top: 0;
  line-height: 1.7;
  flex: 0 0 auto;
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}
.footer-contact .value {
  color: #fff;
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ---- 表單 ---- */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.form-group label .req { color: var(--brand); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.contact-grid { display:grid; grid-template-columns:1fr 1.4fr; gap:64px; align-items:start; }
.hp-field { position:absolute; left:-9999px; opacity:0; pointer-events:none; }

/* ---- 方案卡 ---- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all .3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  border-color: var(--brand);
  position: relative;
}
.plan-card.featured::before {
  content: "推薦方案";
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.plan-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.plan-card .plan-desc { color: var(--ink-soft); margin-bottom: 24px; min-height: 50px; }
.plan-card ul { margin-bottom: 28px; flex: 1; }
.plan-card ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
}
.plan-card ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.module-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: var(--radius);
  transition: all .25s;
  height: 100%;
}
.module-item:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.module-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--brand);
}
.module-item .tagline {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-style: italic;
}
.module-item ul li {
  padding: 6px 0 6px 18px;
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.module-item ul li:last-child { border: none; }
.module-item ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---- CTA 區 ---- */
.cta-band {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 32px; font-size: 17px; }
.cta-band .btn-primary {
  background: var(--accent);
  color: #fff;
}
.cta-band .btn-primary:hover { background: var(--accent-deep); color: #fff; }
.cta-band .btn-outline { color: #fff; }

/* ---- Nav mobile / tablet horizontal scroll (8 items) ---- */
@media (max-width: 1100px) {
  .nav-menu {
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 1;
  }
  .nav-menu::-webkit-scrollbar { display: none; }
  .nav-menu a { padding: 16px 10px; font-size: 13px; white-space: nowrap; }
  .nav-cta { padding: 7px 12px; font-size: 13px; flex-shrink: 0; }
  .nav-logo { flex-shrink: 0; min-width: 140px; }
}

/* ---- 響應式 ---- */

@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
  }
  .nav .container { height: 310px; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 320px);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 88px 0 32px;
    gap: 0;
    box-shadow: -6px 0 32px rgba(0,0,0,.18);
    transform: translateX(100%);
    transition: transform .3s;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .hero { min-height: auto; }
  .hero .container { padding: 96px 20px 72px; }
  .hero-shell { grid-template-columns: 1fr; gap: 32px; }
  .hero-panel-main,
  .hero-metric,
  .hero-signal-grid > div { padding: 22px; }
  .hero p { font-size: 16px; }
  .hero-signal { margin-top: -24px; padding-bottom: 56px; }
  .hero-signal-grid,
  .trust-strip-grid,
  .scenario-grid { grid-template-columns: 1fr; }
  .problem-layout { grid-template-columns: 1fr; }
  .problem-note { position: static; }
  .problem-item { grid-template-columns: 56px 1fr; padding: 24px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 32px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-tags { display: none; }
  .page-header { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  section { padding: 64px 0; }
}


/* ---- 聯絡我們 checkbox 響應式 ---- */
@media (max-width: 600px) {
  .form-group div[style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .topbar { font-size: 12px; }
  .nav .container { height: 190px; }
  .nav-logo { min-width: 180px; }
  .nav-logo img { height: 272px; }
  .hero::before { display: none; }
  .hero .container { padding: 80px 16px 64px; }
  .hero-eyebrow { font-size: 12px; letter-spacing: .2em; }
  .hero h1 { line-height: 1.2; }
  .hero-panel-main h3,
  .problem-item h3,
  .problem-note h3,
  .scenario-card h3 { font-size: 1.35rem; }
  .hero-panel-metrics { grid-template-columns: 1fr; }
  .trust-strip-grid > div,
  .problem-note,
  .scenario-card { padding: 24px 20px; }
  .page-header { padding: 52px 0; }
  .page-header .eyebrow, .section-head .eyebrow, .split-text .eyebrow { letter-spacing: .2em; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-label { font-size: 12px; letter-spacing: .04em; }
  .feature, .plan-card, .module-item { padding: 24px 20px; }
  .split { gap: 28px; }
  .modules-grid, .plans-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 24px 18px; }
  .breadcrumb { padding: 16px 0; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-actions,
  .hero-proof { flex-direction: column; }
  .hero-actions .btn,
  .hero-proof span { width: 100%; text-align: center; }
}

/* ---- 動畫 ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp .8s ease-out backwards; }
.reveal-delay-1 { animation-delay: .15s; }
.reveal-delay-2 { animation-delay: .3s; }
.reveal-delay-3 { animation-delay: .45s; }



/* ---- 內頁 banner ---- */
.page-hero {
  background: var(--brand);
  position: relative;
  min-height: 280px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,16,64,.35);
}
.page-hero .container { position: relative; z-index: 1; }


/* ---- 深色背景區塊 ---- */
.bg-dark {
  background: var(--bg-dark);
}

/* ---- 淺色交替背景 ---- */
.bg-warm {
  background: var(--bg-alt);
}

/* ---- 卡片hover ---- */
.plan-card:hover, .feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* =========================================================
   Homepage redesign v2
   ========================================================= */
.home-page {
  background: #f6f8fc;
}
.home-page .topbar a { color: #fff; }
.section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8ea4d8;
}
.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(97,132,255,.22), transparent 30%),
    linear-gradient(135deg, #07142d 0%, #0d224f 55%, #102b67 100%);
  color: #fff;
  padding: 88px 0 120px;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: auto auto -120px -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 68%);
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: 56px;
  align-items: center;
}
.home-hero-copy h1 {
  color: #fff;
  max-width: 760px;
  margin-bottom: 22px;
}
.home-hero-copy p {
  max-width: 620px;
  font-size: 18px;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
}
.btn-outline-light {
  border: 1px solid rgba(255,255,255,.26);
  color: #fff;
  background: rgba(255,255,255,.04);
}
.btn-outline-light:hover {
  background: #fff;
  color: #0d224f;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-pills span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.86);
  font-size: 13px;
}
.home-hero-visual {
  position: relative;
}
.hero-device-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 30px 80px rgba(3,10,30,.26);
  backdrop-filter: blur(10px);
}
.hero-device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 16px;
  color: rgba(255,255,255,.76);
  font-size: 12px;
}
.hero-device-top strong {
  color: #fff;
  font-size: 14px;
}
.hero-device-screen {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,248,255,.92));
  border-radius: 22px;
  padding: 26px;
  color: #102347;
}
.screen-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.screen-stat-row div,
.screen-cards article {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(12,28,66,.08);
}
.screen-stat-row small,
.screen-cards small,
.stack-card small {
  display: block;
  margin-bottom: 8px;
  color: #6e7b96;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.screen-stat-row strong,
.screen-cards strong,
.stack-card strong {
  display: block;
  font-size: 1.08rem;
}
.screen-bars {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.screen-bars span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #123785 0%, #7ea1ff 100%);
}
.screen-cards {
  display: grid;
  gap: 14px;
}
.screen-cards p {
  margin-top: 8px;
  color: #66758e;
  font-size: 14px;
}
.hero-floating-metrics {
  position: absolute;
  left: -20px;
  right: -20px;
  bottom: -34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.hero-floating-metrics div {
  background: #fff;
  color: #102347;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 20px 42px rgba(10,22,50,.16);
}
.hero-floating-metrics strong {
  display: block;
  font-size: 1.55rem;
  margin-bottom: 8px;
}
.hero-floating-metrics span {
  color: #62718c;
  font-size: 14px;
}
.trust-band {
  padding: 84px 0 16px;
}
.trust-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.trust-band-grid div,
.issue-card,
.solution-grid-v2 article {
  background: #fff;
  border: 1px solid rgba(12,34,74,.08);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(12,28,66,.06);
}
.trust-band-grid div {
  padding: 26px 24px;
}
.trust-band-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: #8b9ab4;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.trust-band-grid strong {
  display: block;
  font-size: 1.5rem;
  color: #102347;
  margin-bottom: 6px;
}
.trust-band-grid p { color: #687793; font-size: 14px; }
.home-section {
  padding: 88px 0;
}
.section-soft {
  background: #f1f5fb;
}
.section-dark {
  background: linear-gradient(180deg, #09162f 0%, #10234d 100%);
}
.section-head.compact {
  margin-bottom: 42px;
}
.section-head-left {
  text-align: left;
  max-width: 820px;
  margin: 0 0 42px;
}
.section-head.light h2,
.section-head.light p { color: #fff; }
.section-head.light p { color: rgba(255,255,255,.76); }
.issue-grid,
.solution-grid-v2,
.scenario-grid-v2 {
  display: grid;
  gap: 20px;
}
.issue-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.issue-card {
  padding: 30px;
}
.issue-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eef3ff;
  color: #123785;
  font-weight: 800;
  margin-bottom: 20px;
}
.issue-card p,
.solution-grid-v2 p,
.scenario-card-v2 p,
.clean-list li,
.stack-card p { color: #66758e; }
.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, .96fr);
  gap: 26px;
  align-items: stretch;
}
.split-panel-copy,
.split-panel-box {
  border-radius: 30px;
}
.split-panel-copy {
  background: #fff;
  padding: 42px;
  border: 1px solid rgba(12,34,74,.08);
  box-shadow: 0 20px 44px rgba(12,28,66,.06);
}
.clean-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px;
}
.clean-list li {
  position: relative;
  padding-left: 18px;
}
.clean-list li::before,
.scenario-card-v2 li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4f7cff;
}
.split-panel-box {
  display: grid;
  gap: 18px;
}
.stack-card {
  background: linear-gradient(180deg, #0d2148 0%, #14326b 100%);
  color: #fff;
  padding: 30px;
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(6,18,42,.18);
}
.stack-card p { color: rgba(255,255,255,.74); margin-top: 8px; }
.scenario-grid-v2 {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.scenario-card-v2 {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  padding: 30px;
  color: #fff;
}
.scenario-card-v2.highlight {
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.08));
}
.scenario-card-v2 span {
  display: inline-block;
  margin-bottom: 14px;
  color: #9fb8ff;
  font-size: 12px;
  letter-spacing: .14em;
}
.scenario-card-v2 p,
.scenario-card-v2 li { color: rgba(255,255,255,.76); }
.scenario-card-v2 ul {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.scenario-card-v2 li {
  position: relative;
  padding-left: 18px;
}
.solution-grid-v2 {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.solution-grid-v2 article {
  padding: 28px;
}
.home-cta {
  padding: 96px 0;
  background: linear-gradient(135deg, #0a1733 0%, #12306a 100%);
  color: #fff;
  text-align: center;
}
.home-cta h2,
.home-cta p { color: #fff; }
.home-cta p {
  max-width: 760px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,.8);
}
@media (max-width: 1100px) {
  .home-hero-grid,
  .split-panel,
  .scenario-grid-v2,
  .solution-grid-v2,
  .issue-grid,
  .trust-band-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-floating-metrics {
    position: static;
    margin-top: 16px;
  }
}
@media (max-width: 760px) {
  .home-hero {
    padding: 72px 0 88px;
  }
  .home-hero-copy p {
    font-size: 16px;
  }
  .hero-actions,
  .hero-pills {
    flex-direction: column;
  }
  .hero-actions .btn,
  .hero-pills span {
    width: 100%;
    text-align: center;
  }
  .screen-stat-row,
  .hero-floating-metrics,
  .issue-grid,
  .trust-band-grid,
  .solution-grid-v2,
  .scenario-grid-v2,
  .split-panel {
    grid-template-columns: 1fr;
  }
  .home-section,
  .home-cta {
    padding: 72px 0;
  }
  .hero-device-screen,
  .issue-card,
  .split-panel-copy,
  .stack-card,
  .scenario-card-v2,
  .solution-grid-v2 article {
    padding: 22px;
  }
}
