:root {
  --bg: #f6f9ff;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(2, 6, 23, 0.08);
  --brand: #1e66ff; /* 科技感藍 */
  --brand-600: #1553d6;
  --success: #16a34a;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
}

img { display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.brand img { height: 28px; width: auto; display: block; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* 導覽暫時隱藏「依產業」（industries.html 仍保留） */
.nav-item-hidden {
  display: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.9;
}

.nav-links a:hover { color: var(--brand); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 8px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  max-width: 1120px;
  margin: 48px auto;
  padding: 0 16px;
}

.hero-alt {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/hero-building.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  z-index: 1;
}

.hero-agriculture::before {
  background-image: url('assets/hero-agriculture.jpg');
}

.hero-aisys::before {
  background-image: url('assets/hero-aisys.jpg');
}

.hero-classroom::before {
  background-image: url('assets/class02.png');
}

.hero-meeting::before {
  background-image: url('assets/met04.png');
}

.hero-alt::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  z-index: 2;
}

.hero-alt .badge {
  display: block;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  line-height: 1.15;
}

.hero-content h1 {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.15;
  margin: 0 0 12px 0;
}

.hero-content p {
  color: var(--muted);
  font-size: 1rem;
}

.hero-alt .hero-content {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 600px;
}

.hero-alt .hero-content h1 {
  color: white;
}

.hero-alt .hero-content p {
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions { display: flex; gap: 12px; margin-top: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all .2s ease;
}

.btn.primary {
  background: var(--brand);
  color: white;
}

.btn.primary:hover { background: var(--brand-600); }

.btn.ghost {
  border-color: rgba(255,255,255,0.18);
  color: var(--text);
  background: transparent;
}

.btn.ghost:hover { border-color: rgba(255,255,255,0.32); }

.hero-alt .btn.ghost {
  background: white;
  color: var(--text);
  border-color: white;
}

.hero-alt .btn.ghost:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.9);
}

.hero-visual {
  height: 260px;
  border-radius: 16px;
  background:
    radial-gradient(120px 80px at 20% 20%, rgba(30, 102, 255, 0.25), transparent 60%),
    radial-gradient(140px 90px at 75% 35%, rgba(34, 197, 94, 0.18), transparent 60%),
    linear-gradient(180deg, #ffffff, #f3f6ff);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }

.section { max-width: 1120px; margin: 64px auto; padding: 0 16px; }
.section h2 { font-size: 1.75rem; margin-bottom: 16px; }
.section-lead {
  color: var(--muted);
  margin: 0 0 24px 0;
  font-size: 1rem;
  white-space: nowrap;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-card {
  background: var(--panel);
  border: none;
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.why-card::before {
  display: none;
}

.why-card:hover {
  box-shadow: 0 8px 28px rgba(30, 102, 255, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.why-card h3 {
  font-size: 1.25rem;
  margin: 0 0 12px 0;
  font-weight: 700;
  line-height: 1.4;
  color: #1e293b;
}

.why-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #475569;
}

/* 首頁「為什麼選擇捷元」：四欄寬不變；交替藍／淡橘底、深色字、底圖插畫緊貼文案 */
.section.why .why-grid {
  align-items: stretch;
}

.section.why .why-card {
  padding: 18px 16px 14px;
  border-radius: 10px;
  overflow: hidden;
  justify-content: flex-start;
  min-height: 210px;
  isolation: isolate;
}

.section.why .why-card:nth-child(odd) {
  background: #74a2f7;
}

.section.why .why-card:nth-child(even) {
  background: #ffc47c;
}

.section.why .why-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  transform: translateY(-3px);
}

.section.why .why-card-body {
  flex: 1 1 auto;
  position: relative;
  z-index: 2;
}

.section.why .why-card h3 {
  color: #0a1628;
  font-size: 1.125rem;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.section.why .why-card-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #1e293b;
}

.section.why .why-chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.section.why .why-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #10233e;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(16, 35, 62, 0.16);
  backdrop-filter: blur(1.5px);
}

@media (max-width: 900px) {
  .section.why .why-chips {
    margin-top: 18px;
    gap: 12px;
  }

  .section.why .why-chip {
    min-height: 38px;
    padding: 8px 16px;
    font-size: 0.875rem;
  }
}

@media (min-width: 901px) {
  html {
    font-size: 17px;
  }
  body {
    font-size: 17px;
  }
}

.section.why .why-card::before,
.section.why .why-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.section.why .why-card::before {
  width: 130px;
  height: 130px;
  right: -34px;
  top: -34px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  z-index: 1;
}

.section.why .why-card::after {
  right: 16px;
  bottom: 12px;
  width: 54px;
  height: 26px;
  border-radius: 0;
  background: none;
  border: none;
  z-index: 1;
}

.section.why .why-card:nth-child(1)::after {
  background:
    linear-gradient(135deg, transparent 40%, rgba(16, 35, 62, 0.34) 40% 60%, transparent 60%) 9px 5px / 12px 16px no-repeat,
    linear-gradient(135deg, transparent 40%, rgba(16, 35, 62, 0.24) 40% 60%, transparent 60%) 22px 5px / 12px 16px no-repeat,
    linear-gradient(135deg, transparent 40%, rgba(16, 35, 62, 0.16) 40% 60%, transparent 60%) 35px 5px / 12px 16px no-repeat;
}

.section.why .why-card:nth-child(2)::after {
  background:
    linear-gradient(135deg, transparent 40%, rgba(16, 35, 62, 0.34) 40% 60%, transparent 60%) 9px 5px / 12px 16px no-repeat,
    linear-gradient(135deg, transparent 40%, rgba(16, 35, 62, 0.24) 40% 60%, transparent 60%) 22px 5px / 12px 16px no-repeat,
    linear-gradient(135deg, transparent 40%, rgba(16, 35, 62, 0.16) 40% 60%, transparent 60%) 35px 5px / 12px 16px no-repeat;
}

.section.why .why-card:nth-child(3)::after {
  background:
    linear-gradient(135deg, transparent 40%, rgba(16, 35, 62, 0.34) 40% 60%, transparent 60%) 9px 5px / 12px 16px no-repeat,
    linear-gradient(135deg, transparent 40%, rgba(16, 35, 62, 0.24) 40% 60%, transparent 60%) 22px 5px / 12px 16px no-repeat,
    linear-gradient(135deg, transparent 40%, rgba(16, 35, 62, 0.16) 40% 60%, transparent 60%) 35px 5px / 12px 16px no-repeat;
}

.section.why .why-card:nth-child(4)::after {
  background:
    linear-gradient(135deg, transparent 40%, rgba(16, 35, 62, 0.34) 40% 60%, transparent 60%) 9px 5px / 12px 16px no-repeat,
    linear-gradient(135deg, transparent 40%, rgba(16, 35, 62, 0.24) 40% 60%, transparent 60%) 22px 5px / 12px 16px no-repeat,
    linear-gradient(135deg, transparent 40%, rgba(16, 35, 62, 0.16) 40% 60%, transparent 60%) 35px 5px / 12px 16px no-repeat;
}

.section.why .why-card:nth-child(1) {
  background: linear-gradient(165deg, #74a2f7, #86b1fb);
}

.section.why .why-card:nth-child(2) {
  background: linear-gradient(165deg, #ffc47c, #ffd39c);
}

.section.why .why-card:nth-child(3) {
  background: linear-gradient(165deg, #74a2f7, #86b1fb);
}

.section.why .why-card:nth-child(4) {
  background: linear-gradient(165deg, #ffc47c, #ffd39c);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* 顧問服務流程：左右交錯、搭配大數字裝飾（參考首頁活潑版型） */
.consulting-flow {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.flow-step-number {
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: #f2c94c; /* 活潑的黃 */
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 140px;
}

.flow-step-card {
  flex: 1 1 auto;
}

.flow-step-card {
  position: relative;
}

/* 手機：改成上下堆疊 */
@media (max-width: 820px) {
  .flow-step {
    flex-direction: column;
  }
  .flow-step--left {
    flex-direction: column;
  }
  .flow-step-number {
    flex: 0 0 auto;
    font-size: 2.75rem;
  }
}

.flow-step--left {
  flex-direction: row-reverse;
}

/* 顧問服務流程：圖示 + 標題 + 說明（參考截圖三步驟格式） */
.consulting-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 18px;
  margin-top: 24px;
}

.consulting-step {
  text-align: center;
  padding: 6px 6px 2px 6px;
}

.consulting-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  background: rgba(30, 102, 255, 0.06);
}

.consulting-icon svg {
  width: 26px;
  height: 26px;
}

.consulting-step h3 {
  font-size: 1.25rem;
  margin: 0 0 10px 0;
  font-weight: 700;
  color: #1e293b;
}

.consulting-step p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

/* 讓每一步 Icon 配色更活潑（使用不同主色搭配淡色底） */
.consulting-step:nth-child(1) .consulting-icon {
  border-color: rgba(245, 158, 11, 0.35);
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}

.consulting-step:nth-child(2) .consulting-icon {
  border-color: rgba(59, 130, 246, 0.35);
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
}

.consulting-step:nth-child(3) .consulting-icon {
  border-color: rgba(34, 197, 94, 0.35);
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
}

.consulting-step:nth-child(4) .consulting-icon {
  border-color: rgba(16, 185, 129, 0.35);
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}

.consulting-step:nth-child(5) .consulting-icon {
  border-color: rgba(236, 72, 153, 0.35);
  color: #ec4899;
  background: rgba(236, 72, 153, 0.08);
}

.consulting-step:nth-child(6) .consulting-icon {
  border-color: rgba(168, 85, 247, 0.35);
  color: #a855f7;
  background: rgba(168, 85, 247, 0.08);
}

@media (max-width: 820px) {
  .consulting-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .consulting-icon {
    margin-bottom: 10px;
  }
}

/* AIDMS：有效降低技術門檻（四格卡片 + 影片） */
.tech-barriers {
  margin-top: 28px;
  margin-left: -16px;
  margin-right: -16px;
  padding: 32px 16px 40px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(30, 102, 255, 0.09), rgba(30, 102, 255, 0.02));
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 102, 255, 0.18);
}

.tech-barriers::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(30, 102, 255, 0.12) 0, rgba(30, 102, 255, 0.12) 1px, transparent 1px, transparent 18px),
    repeating-linear-gradient(0deg, rgba(30, 102, 255, 0.08) 0, rgba(30, 102, 255, 0.08) 1px, transparent 1px, transparent 18px);
  opacity: 0.35;
  pointer-events: none;
}

.tech-barriers-title {
  text-align: center;
  margin: 0 0 22px 0;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0b4f8a;
  position: relative;
  z-index: 1;
}

.tech-barriers-intro {
  text-align: left;
  margin: 0 0 18px 0;
  position: relative;
  z-index: 1;
}

.tech-barriers-intro h2 {
  margin: 0 0 12px 0;
  font-size: 1.75rem; /* 覆蓋 .section h2 的預設邊距 */
  text-align: left;
  color: var(--text);
}

.tech-barriers-intro-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0;
}

.barriers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.barrier-card {
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(14, 116, 144, 0.55);
  border-radius: 12px;
  padding: 54px 18px 18px;
  min-height: 210px;
}

.barrier-icon {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #1e5f80;
  color: white;
  border: 4px solid rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
}

.barrier-card {
  position: relative;
}

.barrier-icon svg {
  width: 28px;
  height: 28px;
}

.barrier-card h4 {
  margin: 0 0 10px 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: #0b4f8a;
  text-align: center;
}

.barrier-sub {
  margin: 0 0 12px 0;
  text-align: center;
  font-weight: 700;
  color: #1e3a8a;
}

.barrier-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #3b4a61;
  text-align: center;
}

.video-wrap {
  margin-top: 22px;
  position: relative;
  z-index: 1;
}

.video-responsive {
  position: relative;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border);
}

.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 讓畫面覆蓋整個容器（會裁切少量邊緣） */
  display: block;
}

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  line-height: 1;
}

@media (max-width: 820px) {
  .tech-barriers {
    border-radius: 12px;
    padding: 26px 14px 28px;
  }
  .tech-barriers-title {
    font-size: 1.375rem;
    margin-bottom: 16px;
  }
  .tech-barriers-intro h2 {
    font-size: 1.375rem;
    margin-bottom: 10px;
  }
  .barriers-grid {
    grid-template-columns: 1fr;
  }
  .barrier-card {
    min-height: auto;
    padding-top: 52px;
  }
}

.section.cases {
  padding: 48px 20px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(99, 102, 241, 0.08), rgba(14, 165, 233, 0.05) 50%, rgba(251, 191, 36, 0.04));
  border: 1px solid rgba(129, 140, 248, 0.16);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.06);
}

.section.cases > h2 {
  margin-top: 0;
}

.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 0; position: relative; overflow: hidden; }
.case-card a { text-decoration: none; color: inherit; display: block; }
.case-card a:hover { opacity: 0.95; }
.case-thumb { height: 200px; border-radius: 12px; position: relative; overflow: hidden; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-thumb::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); }
.case-card h3 { position: absolute; top: 50%; left: 16px; right: 16px; transform: translateY(-50%); color: white; margin: 0; font-size: 1.125rem; font-weight: 600; z-index: 2; background: rgba(0,0,0,0.7); border: 1px solid white; padding: 8px 12px; border-radius: 6px; text-align: center; display: flex; align-items: center; justify-content: center; }
.case-card p { position: absolute; bottom: 20px; left: 16px; right: 16px; color: white; margin: 0; font-size: 0.875rem; line-height: 1.4; z-index: 2; }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.solution-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  z-index: 1;
}

.solution-card h3,
.solution-card p {
  position: relative;
  z-index: 2;
}

.about-content {
  background: linear-gradient(180deg, rgba(79,140,255,0.1), transparent);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

/* 讓 AIDMS 一站式服務區塊與最上方主視覺保持更自然的間距 */
.aisys-about-section {
  margin-top: 24px;
}

.aisys-about-section h2 {
  text-align: left;
}

/* AIDMS 區塊插入在「AI導入常見痛點」與「有效降低技術門檻」中間 */
.aisys-between-about {
  margin: 28px 0 28px 0;
}

.aisys-between-about h2 {
  text-align: left;
  margin-bottom: 0;
}

/* article list */
.article-list { display: grid; gap: 14px; }
.article-item { display: grid; grid-template-columns: 200px 1fr; gap: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.article-item .thumb img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; display: block; }
.article-item .info h3 { margin: 0 0 6px 0; font-size: 1.125rem; font-weight: 800; color: var(--text); }
.article-item .info h3 a { color: #000; text-decoration: none; }
.article-item .info .excerpt { color: var(--muted); margin: 0 0 8px 0; }
.article-item .info .meta { color: var(--muted); font-size: 0.75rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #ffffff; color: var(--text); border: 1px solid var(--border); text-decoration: none; }
.chip:hover { border-color: rgba(2,6,23,.2); }

.brand-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: center; }
.brand-item { background: #ffffff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; text-align: center; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.brand-item img { max-width: 100%; max-height: 60px; object-fit: contain; }

/* 首頁：合作品牌下方推廣橫幅 */
.promo-banners {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-banners .promo-banner {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.promo-banners .promo-banner:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.promo-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
}

.promo-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.promo-banner--asus .promo-banner-bg {
  background-image: url('assets/asus01.jpg');
}

.promo-banner--hoho .promo-banner-bg {
  background-image: url('assets/hoho01.jpg');
}

.promo-banner-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.promo-banner--left .promo-banner-overlay {
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.5) 48%,
    rgba(15, 23, 42, 0.2) 100%
  );
}

.promo-banner--asus.promo-banner--left .promo-banner-overlay {
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.62) 0%,
    rgba(15, 23, 42, 0.3) 46%,
    rgba(15, 23, 42, 0.08) 100%
  );
}

.promo-banner--right .promo-banner-overlay {
  background: linear-gradient(
    270deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.5) 48%,
    rgba(15, 23, 42, 0.2) 100%
  );
}

.promo-banner-content {
  position: relative;
  z-index: 1;
  padding: 28px 26px;
  max-width: min(580px, 94%);
}

.promo-banner--left {
  justify-content: flex-start;
}

.promo-banner--right {
  justify-content: flex-end;
}

.promo-banner--right .promo-banner-content {
  text-align: right;
}

/* 未加 --asus / --hoho 時的後備樣式（舊版單一規則） */
.promo-banner-title {
  margin: 0 0 12px 0;
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 800;
  color: #ff9100;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 2px 14px rgba(0, 0, 0, 0.4);
}

.promo-banner-line {
  margin: 0 0 8px 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #f1f5f9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
}

.promo-banner-line:last-child {
  margin-bottom: 0;
}

/* ASUS / HoHo：同級字階（大黃標 + 兩行同大加粗白字） */
.promo-banner--asus .promo-banner-content,
.promo-banner--hoho .promo-banner-content {
  padding: 28px 26px;
  max-width: min(540px, 96%);
}

.promo-banner--asus .promo-banner-title,
.promo-banner--hoho .promo-banner-title {
  font-size: clamp(30px, 5.2vw, 46px);
  font-weight: 800;
  margin: 0 0 8px 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.45),
    0 4px 20px rgba(0, 0, 0, 0.35);
}

.promo-banner--asus .promo-banner-title {
  color: #f8fbff;
  font-size: clamp(26px, 4.5vw, 44px);
  letter-spacing: 0.02em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.24),
    0 2px 8px rgba(0, 0, 0, 0.16);
}

.promo-banner--asus .promo-banner-title::after {
  content: "❯";
  font-size: 0.9em;
  line-height: 1;
  transform: translateY(-1px);
}

.promo-banner--hoho .promo-banner-title {
  color: #ffc107;
}

.promo-banner--asus .promo-banner-sub,
.promo-banner--asus .promo-banner-em,
.promo-banner--hoho .promo-banner-sub,
.promo-banner--hoho .promo-banner-em {
  font-size: clamp(17px, 2.6vw, 24px);
  font-weight: 700;
  line-height: 1.45;
  color: #f8fafc;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.promo-banner--asus .promo-banner-sub,
.promo-banner--hoho .promo-banner-sub {
  margin: 0 0 6px 0;
}

.promo-banner--asus .promo-banner-em,
.promo-banner--hoho .promo-banner-em {
  margin: 0;
}

@media (max-width: 640px) {
  .promo-banner {
    min-height: auto;
  }
  .promo-banner-content {
    padding: 22px 18px;
    max-width: 100%;
  }
  .promo-banner--asus .promo-banner-content,
  .promo-banner--hoho .promo-banner-content {
    padding: 22px 18px;
  }
  .promo-banner--right,
  .promo-banner--left {
    justify-content: flex-start;
  }
  .promo-banner--right .promo-banner-content {
    text-align: left;
  }
  .promo-banner--left .promo-banner-overlay,
  .promo-banner--right .promo-banner-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.42) 100%);
  }
}

.industry-strip .brand-item { text-decoration: none; color: var(--text); }
.industry-strip .brand-item:hover { border-color: rgba(2,6,23,.2); }

/* industries page */
.industry-block { border-top: 1px solid var(--border); padding-top: 24px; }
.industry-head { display: grid; gap: 6px; margin-bottom: 12px; }
.industry-note { color: var(--muted); font-size: 0.875rem; }
.industry-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industry-cta { border-top: 1px solid var(--border); padding-top: 24px; }

.contact-form {
  display: grid;
  gap: 12px;
  max-width: 560px;
  background: linear-gradient(180deg, #ffffff, #fafbff);
  border: 1px solid rgba(30, 102, 255, 0.14);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 28px rgba(30, 102, 255, 0.08);
}
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-note { background: transparent; border: none; border-radius: 0; padding: 0; color: var(--muted); }
.contact-note p:first-child { margin-top: 12px; }
.field { display: grid; gap: 6px; }
.field input, .field textarea {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

.form-tip { color: var(--muted); font-size: 0.75rem; margin-top: 4px; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 16px 40px;
  color: var(--muted);
}

.site-footer .container {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-to-top { color: var(--text); text-decoration: none; }
.back-to-top:hover { color: var(--brand); }

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-content h2 {
  font-size: 1.5rem;
  margin: 0 0 16px 0;
  color: var(--text);
}

.product-content > p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-features li {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.product-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}

@media (prefers-reduced-motion: reduce) {
  .why-card {
    transition: none;
  }
  .why-card:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }
  .nav-toggle { display: none; }
  .nav-links {
    display: flex;
    margin-left: auto;
    gap: 12px;
    align-items: center;
  }
  .nav-links a {
    font-size: 0.875rem;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(30, 102, 255, 0.08);
    border: 1px solid rgba(30, 102, 255, 0.2);
    color: #1e3a8a;
    line-height: 1;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  }
  .nav-links a:hover {
    background: rgba(30, 102, 255, 0.14);
    border-color: rgba(30, 102, 255, 0.32);
    color: #1e40af;
  }
  .nav-links a:active {
    background: rgba(30, 102, 255, 0.2);
  }
  .nav-links a:focus-visible {
    outline: 2px solid rgba(30, 102, 255, 0.5);
    outline-offset: 2px;
  }
  .section-lead { white-space: normal; }
  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .industry-cards { grid-template-columns: 1fr; }
  .article-item { grid-template-columns: 1fr; }
  .product-showcase { grid-template-columns: 1fr; }
}


