/* Auto-generated by build-css.cjs — DO NOT EDIT */
/* === variables.css === */
/**
 * @file    : css/variables.css
 * @purpose : 全局 CSS 變數定義 - Hermès 暖橘配色方案
 * @version : 1.0.0
 */

:root {
  /* ========================================
       配色系統 - Hermès 經典暖橘
       ======================================== */

  /* 背景色系 - 優化：避免純白，使用高級灰 */
  --bg-light: #fcfcfc;
  /* 極淡灰主背景 - 比純白更高級 */
  --bg-lighter: #fefefe;
  /* 近白 */
  --bg-section: #f5efe6;
  /* 燕麥色區塊背景 */
  --bg-card: #fffaf5;
  /* 卡片背景 */
  --bg-input: #faf7f2;
  /* 輸入框背景 */

  /* AI 科技感輔色 - 深鈦灰 */
  --tech-titanium: #2d3436;
  /* 深鈦灰 - 權威感 */
  --tech-midnight: #1a1e23;
  /* 午夜藍灰 - 深度感 */
  --tech-slate: #4a5568;
  /* 石板灰 - 輔助 */

  /* 主色 - 愛馬仕橘 */
  --color-primary: #d2691e;
  /* 主橘色 */
  --color-primary-light: #e07b3a;
  /* 淺橘（hover） */
  --color-primary-dark: #b85a15;
  /* 深橘（active） */

  /* 點綴色 - 古銅金 */
  --color-accent: #cd853f;
  /* 古銅金 */
  --color-accent-light: #dda15e;
  /* 淺金 */
  --color-accent-dark: #a0522d;
  /* 深金 */

  /* APCA 合規色彩 - 確保對比度達標 */
  --color-primary-accessible: #9a4a10;
  /* 深橘 - APCA Lc 75+ 與白色文字 */
  --text-on-primary: #ffffff;
  /* 白色文字用於深橘背景 */

  /* 文字色 - 高對比度版本 */
  --text-primary: #1a0f0a;
  /* 極深棕 - 主標題（提高對比度）*/
  --text-secondary: #2d1810;
  /* 深棕 - 正文（提高對比度）*/
  --text-muted: #5d4037;
  /* 中棕 - 次要（提高對比度）*/
  --text-light: #ffffff;
  /* 白色文字 */

  /* 邊框色 */
  --border-subtle: rgba(62, 39, 35, 0.1);
  --border-default: rgba(62, 39, 35, 0.2);
  --border-accent: rgba(210, 105, 30, 0.3);

  /* ========================================
       間距系統 (8px Grid) - 大呼吸感佈局
       ======================================== */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 80px;
  /* 新增：區塊間大間距 */
  --spacing-5xl: 120px;
  /* 新增：超大呼吸感間距 */

  /* ========================================
       字體系統
       ======================================== */
  /* 行銷頁面需要更大字體 */
  --font-size-xs: 0.875rem;
  /* 14px */
  --font-size-sm: 1rem;
  /* 16px */
  --font-size-base: 1.25rem;
  /* 20px - 基礎字體加大 */
  --font-size-lg: 1.5rem;
  /* 24px */
  --font-size-xl: 1.75rem;
  /* 28px */
  --font-size-2xl: 2.25rem;
  /* 36px */
  --font-size-3xl: 3rem;
  /* 48px */
  --font-size-4xl: 4rem;
  /* 64px */
  --font-size-5xl: 5rem;
  /* 80px */

  /* ========================================
       圓角系統
       ======================================== */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* ========================================
       陰影系統
       ======================================== */
  --shadow-sm: 0 1px 2px rgba(62, 39, 35, 0.05);
  --shadow-md: 0 4px 6px rgba(62, 39, 35, 0.07);
  --shadow-lg: 0 10px 15px rgba(62, 39, 35, 0.1);
  --shadow-xl: 0 20px 25px rgba(62, 39, 35, 0.15);
  --shadow-card: 0 4px 20px rgba(210, 105, 30, 0.08);

  /* AI 發光效果 - 能量感 */
  --glow-primary: 0 0 20px rgba(210, 105, 30, 0.4);
  --glow-primary-intense: 0 0 30px rgba(210, 105, 30, 0.6);
  --glow-accent: 0 0 15px rgba(205, 133, 63, 0.3);

  /* ========================================
       過渡動畫
       ======================================== */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* ========================================
       容器寬度
       ======================================== */
  --container-max: 1200px;
  --container-wide: 1400px;

  /* ========================================
       分析報告設計系統（軟編碼）
       ======================================== */

  /* 報告字體尺寸 - 主要調整區（/visionnew 高端規範 + PDF 可讀性）*/
  --report-font-title: 2rem;
  /* 報告主標題 - 32px */
  --report-font-section: 1.375rem;
  /* 區塊標題 - 22px */
  --report-font-card-title: 1.125rem;
  /* 卡片標題 - 18px */
  --report-font-body: 1rem;
  /* 正文內容 - 16px */
  --report-font-meta: 0.9rem;
  /* 輔助資訊 - 14.4px */
  --report-font-tag: 0.85rem;
  /* 標籤文字 - 13.6px */

  /* 報告表格字體 */
  --report-font-table-header: 0.95rem;
  /* 表頭 - 15.2px */
  --report-font-table-cell: 0.9rem;
  /* 表格內容 - 14.4px */
  --report-font-department-title: 1.2rem;
  /* 部門標題 - 19.2px */
  --report-font-list-item: 0.95rem;
  /* 列表項目 - 15.2px */

  /* 報告間距 */
  --report-spacing-section: 36px;
  /* 區塊間距 */
  --report-spacing-card: 20px;
  /* 卡片內距 */
  --report-spacing-element: 14px;
  /* 元素間距 */

  /* 報告色彩 - APCA 合規（Lc 75+）*/
  --report-bg-header: linear-gradient(
    135deg,
    #0d0705 0%,
    #1a0f0a 40%,
    #2d1810 100%
  );
  --report-bg-section: #fffcf9;
  --report-bg-card: #ffffff;
  --report-border-accent: rgba(210, 105, 30, 0.15);
  --report-highlight: #d2691e;

  /* 報告裝飾 */
  --report-glow-soft: 0 0 40px rgba(210, 105, 30, 0.08);
  --report-shadow-card: 0 4px 24px rgba(26, 15, 10, 0.06);

  /* PDF 專用 */
  --pdf-brand-primary: #d2691e;
  --pdf-brand-dark: #1a0f0a;
  --pdf-text-primary: #1a0f0a;
  --pdf-text-secondary: #5d4037;
}

/* === base.css === */
/**
 * @file    : css/base.css
 * @purpose : 基礎樣式 - Reset、Typography、全局設定
 * @depends : ['css/variables.css']
 */

/* ========================================
   Reset & Box Sizing
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   HTML & Body
   ======================================== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* APCA Anti-Breakage */
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary-light);
}

/* ========================================
   Lists
   ======================================== */
ul,
ol {
    list-style: none;
}

/* ========================================
   Images
   ======================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Selection
   ======================================== */
::selection {
    background: var(--color-primary);
    color: var(--text-light);
}

/* ========================================
   Focus States (Accessibility)
   ======================================== */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ========================================
   Scrollbar (Webkit)
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-section);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}
/* === layout.css === */
/**
 * @file    : css/layout.css
 * @purpose : 佈局系統 - Container、Navbar、Footer
 * @depends : ['css/variables.css']
 */

/* ========================================
   Container
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

/* ========================================
   Navbar - 2026 AI 科技風格升級
   毛玻璃效果 + Sticky 過渡 + 發光 CTA
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* 🌑 深色毛玻璃 - 高端 AI 科技風格 */
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: linear-gradient(
    180deg,
    rgba(30, 25, 22, 0.92) 0%,
    /* 深咖啡黑 */ rgba(45, 35, 28, 0.88) 100% /* 溫暖深棕 */
  );
  /* 底部金線 - 高級感 */
  border-bottom: 1px solid rgba(210, 165, 90, 0.35);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(210, 105, 30, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sticky 狀態 - 滾動後更深 */
.navbar-scrolled {
  background: linear-gradient(
    180deg,
    rgba(25, 20, 18, 0.96) 0%,
    rgba(40, 30, 24, 0.94) 100%
  );
  box-shadow:
    0 6px 30px rgba(0, 0, 0, 0.35),
    0 0 50px rgba(210, 105, 30, 0.15);
}

.navbar-scrolled .nav-container {
  padding-top: 6px;
  padding-bottom: 6px;
}

.navbar-scrolled .logo-text {
  font-size: 1.5rem;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

/* Logo 文字 - AI 強烈漸層 (橘→金→深紅) */
.logo-text {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  /* 強烈三色漸層效果 */
  background: linear-gradient(
    135deg,
    #d2691e 0%,
    /* 琥珀橘 */ #ffb347 35%,
    /* 亮金橘 */ #ff8c00 65%,
    /* 深橘 */ #b8860b 100% /* 暗金 */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* 額外文字陰影增強可見度 */
  filter: drop-shadow(0 1px 2px rgba(210, 105, 30, 0.3));
  transition: all 0.3s ease;
}

.logo-text:hover {
  filter: drop-shadow(0 2px 4px rgba(210, 105, 30, 0.4)) brightness(1.1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  /* 擴大間距 - 呼吸感 */
}

.nav-link {
  /* 🌒 深色背景需要淺色文字 */
  color: rgba(255, 250, 245, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  position: relative;
}

.nav-link:hover {
  color: var(--color-accent);
  background: rgba(210, 165, 90, 0.15);
}

/* 當前頁面高亮 */
.nav-link-active {
  color: var(--color-accent) !important;
  background: rgba(210, 165, 90, 0.12);
  cursor: default;
}

/* 導航連結底線動畫 */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 60%;
}

/* CTA 按鈕 - 2026 AI 能量核心 (專家優化版) */
.nav-cta {
  /* 🎨 加深漸層起始色 (APCA 對比優化) */
  background: linear-gradient(135deg, #c05000 0%, #a87000 100%);
  color: #ffffff !important;
  /* 📐 精簡 padding */
  padding: 7px 20px;
  /* 🔲 圓角方形 - 2026 科技感 */
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  /* 三層發光 + 內發光 */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 10px rgba(192, 80, 0, 0.5),
    0 4px 20px rgba(192, 80, 0, 0.35),
    0 8px 32px rgba(192, 80, 0, 0.2);
  border: 1px solid rgba(255, 200, 100, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  /* ✨ 呼吸微動畫 */
  animation: nav-cta-breathe 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

/* 呼吸發光動畫 - 能量核心效果 */
@keyframes nav-cta-breathe {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      0 0 10px rgba(192, 80, 0, 0.5),
      0 4px 20px rgba(192, 80, 0, 0.35),
      0 8px 32px rgba(192, 80, 0, 0.2);
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 18px rgba(255, 140, 0, 0.6),
      0 4px 28px rgba(255, 140, 0, 0.4),
      0 8px 40px rgba(192, 80, 0, 0.25);
  }
}

.nav-cta::after {
  display: none;
}

/* 🎯 Focus 狀態 - 無障礙合規 */
.nav-cta:focus-visible {
  outline: 3px solid rgba(255, 200, 100, 0.8);
  outline-offset: 3px;
  animation: none;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #e06000 0%, #c05000 100%);
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.03);
  /* 懸停時停止呼吸，改為穩定強發光 */
  animation: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 20px rgba(255, 140, 0, 0.7),
    0 6px 30px rgba(224, 96, 0, 0.45),
    0 12px 50px rgba(192, 80, 0, 0.3);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  /* 🌒 深色背景需要淺色漢堡線 */
  background: rgba(255, 250, 245, 0.9);
  transition: var(--transition-fast);
}

/* ========================================
   Footer - Warm Luxury Style
   ======================================== */
.footer {
  position: relative;
  background: linear-gradient(180deg, #4a3428 0%, #3d2b1f 50%, #2e1f16 100%);
  color: var(--bg-light);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
  text-align: center;
  overflow: hidden;
}

/* 背景網格效果 */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 170, 130, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 170, 130, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* 頂部漸層邊框 */
.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-primary) 20%,
    var(--color-accent) 50%,
    var(--color-primary) 80%,
    transparent 100%
  );
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.footer-brand {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 20px rgba(230, 126, 34, 0.3);
}

.footer-tagline {
  font-size: var(--font-size-lg);
  color: rgba(253, 249, 243, 0.85);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

.footer-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-primary),
    transparent
  );
  margin: var(--spacing-lg) 0;
  border-radius: 1px;
}

.footer-copyright {
  font-size: var(--font-size-sm);
  color: rgba(253, 249, 243, 0.5);
  margin-bottom: 0;
}

/* ========================================
   Footer Quick Nav
   ======================================== */
.footer-quick-nav {
  margin-bottom: var(--spacing-3xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid rgba(200, 170, 130, 0.2);
}

.footer-section-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.footer-section-subtitle {
  font-size: var(--font-size-base);
  color: rgba(253, 249, 243, 0.6);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer-nav-card {
  background: rgba(255, 250, 245, 0.08);
  border: 1px solid rgba(200, 170, 130, 0.25);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.footer-nav-card:hover {
  background: rgba(255, 250, 245, 0.15);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-nav-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.footer-nav-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(253, 249, 243, 0.95);
  margin-bottom: 6px;
}

.footer-nav-card p {
  font-size: 0.85rem;
  color: rgba(253, 249, 243, 0.6);
  margin-bottom: 12px;
  line-height: 1.4;
}

/* 當前頁面高亮狀態 */
.footer-nav-card-current {
  background: rgba(210, 105, 30, 0.25);
  border-color: var(--color-primary);
  pointer-events: none;
}

.footer-nav-card-current .footer-nav-tag {
  background: rgba(255, 255, 255, 0.2);
}

.footer-nav-tag {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* ========================================
   Responsive
   ======================================== */

/* Tablet (768px~1024px) — 壓縮導航間距，保持完整顯示 */
@media (max-width: 1024px) {
  .nav-menu {
    gap: var(--spacing-md);
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 4px 8px;
  }

  .nav-cta {
    padding: 6px 16px;
    font-size: 0.9rem;
  }
}

/* Mobile (<768px) — 漢堡選單 */
@media (max-width: 767px) {
  /* Compact navbar for mobile / LINE in-app browser */
  .navbar {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .nav-container {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    /* 🌑 手機版深色毛玻璃 */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: linear-gradient(
      180deg,
      rgba(30, 25, 22, 0.95) 0%,
      rgba(45, 35, 28, 0.92) 100%
    );
    padding: var(--spacing-lg);
    border-bottom: 1px solid rgba(210, 165, 90, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  /* Footer Quick Nav — 2 欄 */
  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .footer-nav-card {
    padding: 16px;
  }

  .footer-nav-icon {
    font-size: 1.6rem;
  }

  .footer-nav-card h4 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }
}

/* === components.css === */
/**
 * @file    : css/components.css
 * @purpose : UI 組件 - 按鈕、表單、卡片、徽章
 * @depends : ['css/variables.css']
 */

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    text-decoration: none;
    /* Phase 3: 觸控目標 ≥ 44px */
    min-height: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-accessible, #9A4A10) 0%, #7A3A08 100%);
    color: var(--text-on-primary, #FFFFFF);
    box-shadow: 0 4px 15px rgba(154, 74, 16, 0.35);
    font-weight: 700;
    /* APCA: 確保對比度 Lc 75+ */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.4);
    color: var(--text-light);
}

/* CTA 發光動畫 - 吸引注意力 */
.btn-primary {
    animation: cta-pulse 2.5s ease-in-out infinite;
}

@keyframes cta-pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3);
    }

    50% {
        box-shadow: 0 4px 25px rgba(210, 105, 30, 0.5), 0 0 40px rgba(210, 105, 30, 0.2);
    }
}

.btn-primary:hover {
    animation: none;
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--text-light);
}

.btn-full {
    width: 100%;
}

/* ========================================
   Form Elements
   ======================================== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-input);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-family: inherit;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* ========================================
   Cards - Phase 4: 細邊框優化
   ======================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    /* Phase 4: 使用輕微陰影 + 細邊框 */
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.card:hover {
    transform: translateY(-3px);
    /* Phase 4: hover 時邊框強化，陰影適中 */
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Badges
   ======================================== */
.section-badge {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    /* C-01 修復：APCA 合規 - 使用深橘色背景 + 白色文字 */
    background: linear-gradient(135deg, var(--color-primary-accessible) 0%, var(--color-primary-dark) 100%);
    color: var(--text-on-primary);
    font-size: var(--font-size-sm);
    /* C-01 修復：增加字重至 700 */
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    /* 添加微妙發光增強可讀性 */
    box-shadow: 0 2px 8px rgba(154, 74, 16, 0.25);
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.section-title {
    font-size: var(--font-size-4xl);
    margin: var(--spacing-md) 0;
    color: var(--text-primary);
    /* T-01 修復：標題負字距 + 緊湊行高 */
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-weight: 900;
}

.section-subtitle {
    /* C-02 修復：提升副標題對比度 */
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ========================================
   Icons
   ======================================== */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--text-light);
    font-size: var(--font-size-sm);
    font-weight: 700;
    border-radius: var(--radius-lg);
    letter-spacing: 0.05em;
}

/* ========================================
   Checkmark (替代 emoji ✓ ✅)
   ======================================== */
.checkmark {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: var(--spacing-xs);
    position: relative;
}

.checkmark::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid var(--color-primary-accessible, #9A4A10);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
/* === sections-hero.css === */
/**
 * @file    : css/sections-hero.css
 * @purpose : Hero Section 樣式
 * @depends : ['css/variables.css']
 * @lines   : ~130
 */

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  /* 增加頂部內距，避開固定導航欄 (約 94px) */
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-light);
}

.hero-fallback-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--bg-section) 0%,
    var(--bg-light) 100%
  );
  opacity: 0.5;
  z-index: 0;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video-container:has(.hero-video[src]) ~ .hero-fallback-bg {
  opacity: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(253, 249, 243, 0.4) 0%,
    rgba(253, 249, 243, 0.7) 50%,
    rgba(253, 249, 243, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: var(--spacing-xl);
}

.hero-badge {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  background: rgba(210, 105, 30, 0.15);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
  /* 增加下方間距：從 lg(16px) 到 xl(24px) */
  margin-bottom: var(--spacing-xl);
}

.hero-title-main {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-title-sub {
  display: block;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: var(--spacing-md);
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  margin: var(--spacing-xl) 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  /* 增加上下間距：提供更多呼吸空間 */
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.hero-stats {
  display: flex;
  gap: var(--spacing-2xl);
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--color-primary);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* Sound Toggle */
.sound-toggle {
  position: absolute;
  bottom: var(--spacing-xl);
  right: var(--spacing-xl);
  z-index: 10;
  background: rgba(210, 105, 30, 0.15);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}

.sound-toggle:hover {
  background: rgba(210, 105, 30, 0.25);
}

.sound-toggle.active {
  background: var(--color-primary);
  color: var(--text-light);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
}

/* ========================================
   Hero 信任保證列
   ======================================== */
.hero-trust-row {
  display: flex;
  justify-content: center;
  /* 增加項目間距：從 xl(24px) 到 2xl(32px) */
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
}

.hero-trust-row .trust-item {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  /* 增加 checkmark 與文字的間距 */
  gap: var(--spacing-sm);
}

/* 表單信任提示 */
.form-trust-note {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  margin-top: var(--spacing-md);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero-trust-row {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
  }

  .hero-description {
    font-size: var(--font-size-base);
  }

  .stat-number {
    font-size: var(--font-size-2xl);
  }

  .hero-stats {
    gap: var(--spacing-lg);
  }

  .hero-scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 80px;
    min-height: 100svh;
  }

  .hero-content {
    padding: var(--spacing-md);
  }

  .hero-badge {
    font-size: var(--font-size-xs);
    padding: var(--spacing-xs) var(--spacing-md);
  }

  .hero-description {
    font-size: var(--font-size-sm);
    margin: var(--spacing-md) 0;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .stat-number {
    font-size: var(--font-size-xl);
  }

  .stat-label {
    font-size: var(--font-size-xs);
  }

  .sound-toggle {
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    font-size: var(--font-size-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .hero-scroll-indicator {
    display: none;
  }
}

/* === logo-3d.css === */
/**
 * @file    : css/logo-3d.css
 * @purpose : 3D Saturn Logo - 土星樣式 AI 智能核心
 * @depends : ['css/variables.css']
 * @design  : 球體 + 星環 + 盤旋衛星 + 漸層色澤
 */

/* ========================================
   土星場景容器
   ======================================== */
.saturn-scene {
    width: 56px;
    height: 56px;
    position: relative;
    /* 增加右邊距，離文字遠一點 */
    margin-right: 16px;
    flex-shrink: 0;
}

.saturn-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    /* 整體微傾斜，更有立體感 */
    transform: rotateX(-15deg) rotateZ(-10deg);
    animation: saturn-float 4s ease-in-out infinite;
}

/* ========================================
   土星本體 (球體)
   ======================================== */
.saturn-planet {
    position: absolute;
    width: 36px;
    height: 36px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    /* 漸層模擬球體光照 - 暖橘色系 */
    background:
        radial-gradient(ellipse 60% 40% at 30% 25%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 40% 40%, #FFB347 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, #F5A623 0%, #E67E22 40%, #D35400 70%, #8B3A00 100%);
    /* 多層陰影創造立體感 */
    box-shadow:
        inset -8px -8px 20px rgba(0, 0, 0, 0.4),
        inset 4px 4px 15px rgba(255, 200, 100, 0.3),
        0 0 20px rgba(245, 166, 35, 0.5),
        0 0 40px rgba(230, 126, 34, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* 內部發光核心 */
.saturn-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 215, 0, 0.4) 0%, transparent 50%);
    animation: glow-pulse 2s ease-in-out infinite;
}

/* ========================================
   土星環
   ======================================== */
.saturn-ring {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
    border-radius: 50%;
    /* 環的漸層 - 金橘色透明 */
    background: transparent;
    border: 4px solid transparent;
    border-image: linear-gradient(90deg,
            rgba(255, 179, 71, 0.1) 0%,
            rgba(245, 166, 35, 0.6) 25%,
            rgba(255, 215, 0, 0.8) 50%,
            rgba(245, 166, 35, 0.6) 75%,
            rgba(255, 179, 71, 0.1) 100%) 1;
    /* 使用偽元素創建更好的環效果 */
    z-index: 1;
}

/* 使用偽元素創建更逼真的土星環 */
.saturn-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    /* 主環 - 漸層金橘色 */
    border: 6px solid transparent;
    background:
        linear-gradient(90deg,
            rgba(255, 179, 71, 0.05) 0%,
            rgba(245, 166, 35, 0.4) 20%,
            rgba(255, 215, 0, 0.6) 40%,
            rgba(230, 126, 34, 0.7) 60%,
            rgba(245, 166, 35, 0.4) 80%,
            rgba(255, 179, 71, 0.05) 100%) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    box-shadow:
        0 0 10px rgba(245, 166, 35, 0.3),
        inset 0 0 5px rgba(255, 215, 0, 0.2);
}

/* 外環 */
.saturn-ring::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid rgba(245, 166, 35, 0.25);
    box-shadow: 0 0 8px rgba(230, 126, 34, 0.2);
}

/* ========================================
   盤旋衛星軌道
   ======================================== */
.saturn-orbit {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: orbit-rotate 6s linear infinite;
    z-index: 10;
}

.saturn-orbit-2 {
    width: 60px;
    height: 60px;
    animation: orbit-rotate 4s linear infinite reverse;
    animation-delay: -1s;
}

/* 衛星 */
.saturn-moon {
    position: absolute;
    width: 6px;
    height: 6px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #FFD700 0%, #F5A623 50%, #E67E22 100%);
    box-shadow:
        0 0 8px rgba(255, 215, 0, 0.8),
        0 0 15px rgba(245, 166, 35, 0.5);
    animation: moon-glow 1.5s ease-in-out infinite;
}

.saturn-moon-2 {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle at 30% 30%, #FFB347 0%, #E67E22 100%);
    box-shadow:
        0 0 6px rgba(255, 179, 71, 0.7),
        0 0 12px rgba(230, 126, 34, 0.4);
    animation-delay: 0.5s;
}

/* ========================================
   動畫 Keyframes
   ======================================== */

/* 土星整體浮動 */
@keyframes saturn-float {

    0%,
    100% {
        transform: rotateX(-15deg) rotateZ(-10deg) translateY(0);
    }

    50% {
        transform: rotateX(-15deg) rotateZ(-10deg) translateY(-3px);
    }
}

/* 衛星軌道旋轉 */
@keyframes orbit-rotate {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

/* 發光脈動 */
@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* 衛星發光 */
@keyframes moon-glow {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        box-shadow:
            0 0 8px rgba(255, 215, 0, 0.8),
            0 0 15px rgba(245, 166, 35, 0.5);
    }

    50% {
        transform: translateX(-50%) scale(1.2);
        box-shadow:
            0 0 12px rgba(255, 215, 0, 1),
            0 0 20px rgba(245, 166, 35, 0.7);
    }
}

/* ========================================
   Hover 互動效果
   ======================================== */
.nav-logo:hover .saturn-wrapper {
    animation-play-state: paused;
}

.nav-logo:hover .saturn-orbit {
    animation-play-state: paused;
}

.nav-logo:hover .saturn-planet {
    box-shadow:
        inset -8px -8px 20px rgba(0, 0, 0, 0.4),
        inset 4px 4px 15px rgba(255, 200, 100, 0.4),
        0 0 30px rgba(245, 166, 35, 0.7),
        0 0 50px rgba(230, 126, 34, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.35);
}

/* ========================================
   Scrolled 狀態 - 縮小
   ======================================== */
.navbar-scrolled .saturn-scene {
    width: 44px;
    height: 44px;
    margin-right: 12px;
}

.navbar-scrolled .saturn-planet {
    width: 28px;
    height: 28px;
}

.navbar-scrolled .saturn-ring {
    width: 54px;
    height: 54px;
}

.navbar-scrolled .saturn-orbit {
    width: 62px;
    height: 62px;
}

.navbar-scrolled .saturn-orbit-2 {
    width: 46px;
    height: 46px;
}

.navbar-scrolled .saturn-moon {
    width: 5px;
    height: 5px;
}

.navbar-scrolled .saturn-moon-2 {
    width: 3px;
    height: 3px;
}

/* ========================================
   prefers-reduced-motion 無障礙支援
   ======================================== */
@media (prefers-reduced-motion: reduce) {

    .saturn-wrapper,
    .saturn-orbit,
    .saturn-orbit-2,
    .saturn-glow,
    .saturn-moon {
        animation: none;
    }
}

/* ========================================
   響應式調整
   ======================================== */
@media (max-width: 768px) {
    .saturn-scene {
        width: 44px;
        height: 44px;
        margin-right: 12px;
    }

    .saturn-planet {
        width: 28px;
        height: 28px;
    }

    .saturn-ring {
        width: 54px;
        height: 54px;
    }

    .saturn-orbit {
        width: 62px;
        height: 62px;
    }

    .saturn-orbit-2 {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 480px) {
    .saturn-scene {
        width: 40px;
        height: 40px;
        margin-right: 8px;
    }

    .saturn-planet {
        width: 24px;
        height: 24px;
    }

    .saturn-ring {
        width: 48px;
        height: 48px;
    }
}
/* === hero-workflow.css === */
/**
 * @file    : css/hero-workflow.css
 * @purpose : Hero Section 嵌入式工作流程展示樣式（完整版）
 * @depends : ['css/variables.css']
 * @version : 2.0 - 增加連接線、資料流動畫、結果預覽
 */

/* ========================================
   Hero Workflow Preview Container
   ======================================== */
.hero-workflow-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: var(--spacing-2xl) auto 0;
  padding: 0 var(--spacing-md);
  z-index: 10;
  /* 初始隱藏，由 JS 控制顯示 */
  display: none;
}

.hero-workflow-container.revealed {
  display: block;
  opacity: 1 !important;
  animation: workflowSlideUp 0.6s ease both;
}

@keyframes workflowSlideUp {
  from {
    transform: translateY(20px);
  }
  to {
    transform: translateY(0);
  }
}

.hero-workflow-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xs) var(--spacing-md);
  background: linear-gradient(
    135deg,
    rgba(230, 126, 34, 0.15),
    rgba(212, 165, 55, 0.15)
  );
  border: 1px solid rgba(230, 126, 34, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.hero-workflow-badge::before {
  content: "▶";
  font-size: 0.75rem;
  animation: pulse-play 1.5s ease-in-out infinite;
}

@keyframes pulse-play {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* ========================================
   Workflow Canvas - 完整版
   ======================================== */
.hero-workflow-canvas {
  position: relative;
  background: rgba(253, 249, 243, 0.95);
  border: 1px solid rgba(200, 170, 130, 0.4);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl) var(--spacing-lg);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(210, 105, 30, 0.1);
  overflow: visible;
  min-height: 180px;
}

/* ========================================
   SVG 連接線層 - 關鍵修正
   ======================================== */
.hero-connections-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

/* 連接線基礎樣式 */
.hero-connection-path {
  fill: none;
  stroke: rgba(200, 170, 130, 0.6);
  stroke-width: 3;
  stroke-linecap: round;
  transition:
    stroke 0.4s ease,
    filter 0.4s ease;
}

/* 連接線執行中 - 資料流動動畫 */
.hero-connection-path.active {
  stroke: url(#hero-gradient-active);
  stroke-dasharray: 8 6;
  animation: hero-data-flow 0.5s linear infinite;
  filter: drop-shadow(0 0 4px rgba(230, 126, 34, 0.5));
}

/* 連接線完成 */
.hero-connection-path.completed {
  stroke: var(--color-success, #27ae60);
  stroke-dasharray: none;
  filter: drop-shadow(0 0 3px rgba(39, 174, 96, 0.4));
}

@keyframes hero-data-flow {
  to {
    stroke-dashoffset: -14;
  }
}

/* 資料粒子 - 流動的小點 */
.hero-data-particle {
  fill: var(--color-primary, #e67e22);
  filter: drop-shadow(0 0 6px var(--color-primary, #e67e22));
}

/* ========================================
   節點容器 - 水平排列且有間距
   ======================================== */
.hero-nodes-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: var(--spacing-md) 0;
  z-index: 2;
}

/* ========================================
   精簡節點樣式
   ======================================== */
.hero-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: white;
  border: 2px solid rgba(200, 170, 130, 0.4);
  border-radius: var(--radius-lg);
  flex: 1;
  min-width: 100px;
  max-width: 140px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 節點頂部色條 */
.hero-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--node-color, var(--color-primary));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-node.idle {
  opacity: 1;
  /* 使用邊框顏色區分狀態，而非透明度 */
  border-color: rgba(200, 170, 130, 0.4);
}

.hero-node.running {
  opacity: 1;
  border-color: var(--color-primary);
  box-shadow: 0 4px 24px rgba(230, 126, 34, 0.4);
  animation: hero-node-pulse 1s ease-in-out infinite;
  transform: scale(1.02);
}

.hero-node.completed {
  opacity: 1;
  border-color: var(--color-success, #27ae60);
  box-shadow: 0 4px 16px rgba(39, 174, 96, 0.3);
  transform: scale(1);
}

@keyframes hero-node-pulse {
  0%,
  100% {
    box-shadow: 0 4px 24px rgba(230, 126, 34, 0.4);
  }

  50% {
    box-shadow: 0 4px 32px rgba(230, 126, 34, 0.6);
  }
}

/* 節點圖示 - SVG Icon 支援 */
.hero-node-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(230, 126, 34, 0.1),
    rgba(230, 126, 34, 0.05)
  );
  border-radius: var(--radius-md);
  color: var(--color-primary, #e67e22);
}

.hero-node-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* 節點標題 */
.hero-node-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.3;
}

/* 節點狀態指示器 */
.hero-node-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.hero-node-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.3s ease;
}

.hero-node.running .hero-node-status-dot {
  background: var(--color-primary);
  animation: pulse-dot 0.8s ease-in-out infinite;
}

.hero-node.completed .hero-node-status-dot {
  background: var(--color-success, #27ae60);
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.7;
  }
}

/* ========================================
   末端結果預覽 - LINE 通知視覺
   ======================================== */
.hero-result-preview {
  margin-left: auto;
  margin-right: auto;
  background: white;
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: var(--radius-lg);
  padding: 0 16px;
  box-shadow: 0 8px 24px rgba(39, 174, 96, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition: all 0.4s ease;
  z-index: 100;
  min-width: 200px;
  width: fit-content;
  /* 未顯示時不佔空間 */
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
}

.hero-result-preview.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  max-height: 80px;
  padding: 12px 16px;
  margin-top: var(--spacing-md);
}

/* 結果圖示 - SVG Icon 支援 */
.hero-result-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(39, 174, 96, 0.1);
  border-radius: 50%;
  color: var(--color-success, #27ae60);
}

.hero-result-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hero-result-content h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.hero-result-content p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ========================================
   響應式設計
   ======================================== */
@media (max-width: 900px) {
  .hero-nodes-container {
    gap: 20px;
  }

  .hero-node {
    min-width: 80px;
    max-width: 110px;
    padding: var(--spacing-sm);
  }

  .hero-node-icon {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .hero-node-title {
    font-size: 0.7rem;
  }
}

@media (max-width: 640px) {
  .hero-workflow-container {
    margin-top: var(--spacing-xl);
  }

  .hero-nodes-container {
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
  }

  .hero-node {
    min-width: 70px;
    max-width: 90px;
  }

  .hero-connections-svg {
    display: none;
  }

  .hero-result-preview {
    margin-top: var(--spacing-md);
    width: 100%;
    justify-content: center;
  }
}

/* === animations-keyframes.css === */
/**
 * @file    : css/animations-keyframes.css
 * @purpose : 動畫關鍵幀定義
 * @depends : ['css/variables.css']
 */

/* Bounce Animation (Scroll Indicator) */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Pulse Animation (Notification Badge) */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Hint Bounce Animation */
@keyframes hintBounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}

/* Loading Dots Animation */
@keyframes loadingBounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease forwards;
}
/* === animations-stagger.css === */
/**
 * @file    : css/animations-stagger.css
 * @purpose : 進場動畫與交錯延遲
 * @depends : ['css/animations-keyframes.css']
 */

/* Hero Content Animations（排除 workflow container，它有自己的 reveal 邏輯） */
/* hero-badge + hero-title 立即顯示（LCP 元素），不加動畫延遲 */
.hero-badge,
.hero-title {
  opacity: 1;
}

/* 其他非 LCP 元素保留進場動畫 */
.hero-content
  > *:not(.hero-workflow-container):not(.hero-badge):not(.hero-title) {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-description {
  animation-delay: 0.1s;
}

.hero-cta-group {
  animation-delay: 0.2s;
}

.hero-stats {
  animation-delay: 0.3s;
}

/* Scroll Indicator Animation */
.hero-scroll-indicator {
  animation: bounce 2s infinite;
}

/* Staggered Animations (for grids) */
.services-grid .service-card,
.tech-grid .tech-category,
.solutions-list .solution-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.services-grid .service-card.visible,
.tech-grid .tech-category.visible,
.solutions-list .solution-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays - Services */
.services-grid .service-card:nth-child(1) {
  transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
  transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(3) {
  transition-delay: 0.3s;
}

.services-grid .service-card:nth-child(4) {
  transition-delay: 0.4s;
}

/* Stagger delays - Tech */
.tech-grid .tech-category:nth-child(1) {
  transition-delay: 0.1s;
}

.tech-grid .tech-category:nth-child(2) {
  transition-delay: 0.2s;
}

.tech-grid .tech-category:nth-child(3) {
  transition-delay: 0.3s;
}

.tech-grid .tech-category:nth-child(4) {
  transition-delay: 0.4s;
}

/* Stagger delays - Solutions */
.solutions-list .solution-item:nth-child(1) {
  transition-delay: 0.1s;
}

.solutions-list .solution-item:nth-child(2) {
  transition-delay: 0.2s;
}

.solutions-list .solution-item:nth-child(3) {
  transition-delay: 0.3s;
}

.solutions-list .solution-item:nth-child(4) {
  transition-delay: 0.4s;
}

