/**
 * 三一東林科技 (31hep.ai) 旗艦視覺體系 ─ 莫蘭迪玄武黑金高奢完整樣式表
 * HEP TECH Co., Ltd. - Morandi Dark Luxury Master Stylesheet
 * 
 * 移植並深度融合 Demo D 尊榮視覺規範，具備 100% 獨立離線自給自足排版引擎
 */

@charset "UTF-8";

/* ════════════════════════════════════════════════════════════════════════
   1. 莫蘭迪玄武黑金調色盤與核心重設 (Color System & Reset)
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --gold: #D4AF37;
  --gold-bright: #F5D76E;
  --gold-glow: rgba(212, 175, 55, 0.32);
  --gold-dim: rgba(212, 175, 55, 0.12);
  --black: #141519;       /* 莫蘭迪玄武黑 */
  --dark-card: #1B1C22;   /* 啞光石墨深卡片 */
  --dark-subtle: #22232B; /* 次級對比區塊 */
  --white: #F4F4F6;       /* 柔棉暖白 */
  --gray-light: #C8C8D5;
  --gray: #8A8B9C;
  --emerald: #10B981;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--black) !important;
  color: var(--white) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

button {
  cursor: pointer;
  font-family: inherit;
}

/* ════════════════════════════════════════════════════════════════════════
   Demo D 標誌性首頁啟動 Logo 動畫 (Intro Splash Loader)
   ════════════════════════════════════════════════════════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  max-width: 170px;
  height: auto;
  opacity: 0;
  animation: logoFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.25));
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.scan-bar {
  width: 240px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-bright), transparent);
  animation: scanMove 1.3s ease-in-out infinite;
}

@keyframes scanMove {
  0% {
    transform: translateX(-120px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(120px);
    opacity: 0;
  }
}

/* 現代高奢黑體字型全面對齊 Demo D (移除舊有羅馬古典襯線) */
.font-serif,
.font-display {
  font-family: 'Outfit', 'Noto Sans TC', 'Montserrat', -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif !important;
  letter-spacing: -0.02em;
}

.font-sans {
  font-family: 'Outfit', 'Noto Sans TC', 'Montserrat', -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif !important;
}

.font-mono {
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace !important;
  letter-spacing: 1.5px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Noto Sans TC', 'Montserrat', -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif;
  letter-spacing: -0.02em;
}

/* Demo D 經典高奢標題金光漸層 */
.gold-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 10%, var(--gold) 60%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════════════════════════════════════════════════
   Demo D 標誌性 Hero 輪播排版、字級與按鈕規範 (Hero Typography & Buttons)
   ════════════════════════════════════════════════════════════════════════ */
.hero-content-float {
  position: relative;
  z-index: 5;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  margin-bottom: 16px;
  color: var(--gold-bright);
  font-size: 11px;
  letter-spacing: 3px;
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.hero-badge::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.hero-headline {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  font-size: clamp(34px, 4.8vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95);
}

.hero-typewriter {
  font-size: clamp(14px, 1.35vw, 16px);
  color: var(--gray-light);
  margin-bottom: 32px;
  min-height: 28px;
  font-weight: 300;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 34px;
  background: var(--gold);
  color: var(--black) !important;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--gold-bright);
  box-shadow: 0 0 35px var(--gold-glow);
  transform: translateY(-2px);
  color: var(--black) !important;
}

.btn-secondary {
  padding: 14px 34px;
  background: rgba(20, 21, 25, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold) !important;
  font-size: 13px;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.15);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════════════════
   Demo D 導覽列佈局規範 (Navbar Layout & Typography)
   ════════════════════════════════════════════════════════════════════════ */
.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  letter-spacing: 1.5px;
  color: var(--gray-light);
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-bright) !important;
  text-shadow: 0 0 12px var(--gold-glow);
}

.nav-cta {
  padding: 9px 24px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
  box-shadow: 0 0 24px var(--gold-glow);
}

.nav-cta-solid {
  background: linear-gradient(135deg, #F5D76E 0%, #D4AF37 100%) !important;
  color: #0A0C10 !important;
  border: 1px solid #F5D76E !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
}
.nav-cta-solid:hover {
  background: linear-gradient(135deg, #FFF099 0%, #E5C158 100%) !important;
  color: #000000 !important;
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.55);
  transform: translateY(-1px);
}

.nav-cta-outline {
  background: rgba(20, 21, 25, 0.4) !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
}
.nav-cta-outline:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
  box-shadow: 0 0 24px var(--gold-glow);
  transform: translateY(-1px);
}

/* 背景星芒粒子 Canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ════════════════════════════════════════════════════════════════════════
   2. 離線自給自足排版引擎 (Self-Contained Layout Engine)
   ════════════════════════════════════════════════════════════════════════ */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-md  { max-width: 28rem; }
.w-full    { width: 100%; }
.h-full    { height: 100%; }
.min-h-screen { min-height: 100vh; }
.mx-auto   { margin-left: auto; margin-right: auto; }

/* 定位 */
.relative  { position: relative; }
.absolute  { position: absolute; }
.fixed     { position: fixed; }
.sticky    { position: sticky; }
.inset-0   { top: 0; right: 0; bottom: 0; left: 0; }
.top-0     { top: 0; }
.left-0    { left: 0; }
.right-0   { right: 0; }
.bottom-0  { bottom: 0; }
.z-0       { z-index: 0; }
.z-10      { z-index: 10; }
.z-20      { z-index: 20; }
.z-30      { z-index: 30; }
.z-40      { z-index: 40; }
.z-50      { z-index: 50; }

/* 彈性盒模型 (Flexbox) */
.flex             { display: flex; }
.inline-flex      { display: inline-flex; }
.flex-col         { flex-direction: column; }
.flex-row         { flex-direction: row; }
.items-center     { align-items: center; }
.items-start      { align-items: flex-start; }
.items-end        { align-items: flex-end; }
.justify-center   { justify-content: center; }
.justify-between  { justify-content: space-between; }
.justify-start    { justify-content: flex-start; }
.justify-end      { justify-content: flex-end; }
.flex-wrap        { flex-wrap: wrap; }
.flex-1           { flex: 1 1 0%; }
.flex-shrink-0    { flex-shrink: 0; }

/* 網格系統 (Grid) */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:flex-row    { flex-direction: row; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex        { display: flex; }
  .md\:hidden      { display: none; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-2  { grid-column: span 2 / span 2; }
  .lg\:col-span-4  { grid-column: span 4 / span 4; }
  .lg\:col-span-5  { grid-column: span 5 / span 5; }
  .lg\:col-span-6  { grid-column: span 6 / span 6; }
  .lg\:col-span-7  { grid-column: span 7 / span 7; }
  .lg\:col-span-8  { grid-column: span 8 / span 8; }
  .lg\:flex        { display: flex; }
  .lg\:hidden      { display: none; }
}

/* 間距 (Spacing) */
.gap-1   { gap: 0.25rem; }
.gap-2   { gap: 0.5rem; }
.gap-3   { gap: 0.75rem; }
.gap-4   { gap: 1rem; }
.gap-6   { gap: 1.5rem; }
.gap-8   { gap: 2rem; }
.gap-10  { gap: 2.5rem; }
.gap-12  { gap: 3rem; }

.p-2  { padding: 0.5rem; }
.p-3  { padding: 0.75rem; }
.p-4  { padding: 1rem; }
.p-5  { padding: 1.25rem; }
.p-6  { padding: 1.5rem; }
.p-8  { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-1  { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2  { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3  { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4  { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pt-2  { padding-top: 0.5rem; }
.pt-4  { padding-top: 1rem; }
.pt-6  { padding-top: 1.5rem; }
.pt-8  { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }

.pb-2  { padding-bottom: 0.5rem; }
.pb-4  { padding-bottom: 1rem; }
.pb-6  { padding-bottom: 1.5rem; }
.pb-8  { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-28 { padding-bottom: 7rem; }
.pb-32 { padding-bottom: 8rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

/* 尺寸與圓角 */
.rounded      { border-radius: 0.25rem; }
.rounded-md   { border-radius: 0.375rem; }
.rounded-lg   { border-radius: 0.5rem; }
.rounded-xl   { border-radius: 0.75rem; }
.rounded-2xl  { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.overflow-hidden { overflow: hidden; }

/* 字體大小 */
.text-\[9px\]   { font-size: 9px; }
.text-\[10px\]  { font-size: 10px; }
.text-\[11px\]  { font-size: 11px; }
.text-xs        { font-size: 0.75rem; line-height: 1rem; }
.text-sm        { font-size: 0.875rem; line-height: 1.25rem; }
.text-base      { font-size: 1rem; line-height: 1.5rem; }
.text-lg        { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl        { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl       { font-size: 1.5rem; line-height: 2rem; }
.text-3xl       { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl       { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl       { font-size: 3rem; line-height: 1; }
.text-6xl       { font-size: 3.75rem; line-height: 1; }

.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black     { font-weight: 900; }
.font-medium    { font-weight: 500; }
.font-light     { font-weight: 300; }

.uppercase      { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide  { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest{ letter-spacing: 0.1em; }
.text-center    { text-align: center; }
.text-left      { text-align: left; }
.text-right     { text-align: right; }

/* 顏色系統 */
.text-white       { color: #FFFFFF !important; }
.text-black       { color: #000000 !important; }
.text-gray-200    { color: #E2E8F0 !important; }
.text-gray-300    { color: #CBD5E1 !important; }
.text-gray-400    { color: #94A3B8 !important; }
.text-gray-500    { color: #64748B !important; }
.text-\[\#D4AF37\] { color: #D4AF37 !important; }
.text-\[\#F5D76E\] { color: #F5D76E !important; }
.text-\[\#E5C378\] { color: #E5C378 !important; }
.text-emerald-400 { color: #34D399 !important; }

.bg-\[\#141519\]  { background-color: #141519 !important; }
.bg-\[\#1B1C22\]  { background-color: #1B1C22 !important; }
.bg-\[\#0A0A0C\]  { background-color: #0A0A0C !important; }
.bg-\[\#0E1015\]  { background-color: #0E1015 !important; }
.bg-\[\#14161E\]  { background-color: #14161E !important; }
.bg-\[\#181A24\]  { background-color: #181A24 !important; }
.bg-\[\#17181F\]  { background-color: #17181F !important; }
.bg-\[\#07080A\]  { background-color: #07080A !important; }
.bg-black         { background-color: #000000 !important; }

.border           { border-width: 1px; border-style: solid; }
.border-b         { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t         { border-top-width: 1px; border-top-style: solid; }
.border-l         { border-left-width: 1px; border-left-style: solid; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1) !important; }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15) !important; }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2) !important; }
.border-\[\#D4AF37\]\/20 { border-color: rgba(212, 175, 55, 0.2) !important; }
.border-\[\#D4AF37\]\/40 { border-color: rgba(212, 175, 55, 0.4) !important; }
.border-\[\#D4AF37\]\/60 { border-color: rgba(212, 175, 55, 0.6) !important; }
.border-\[\#232632\]     { border-color: #232632 !important; }
.border-\[\#22232B\]     { border-color: #22232B !important; }
.border-\[\#2B2F3E\]     { border-color: #2B2F3E !important; }

/* 玻璃擬態模糊 */
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }

/* 陰影 */
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.6); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.7); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9); }

/* ════════════════════════════════════════════════════════════════════════
   3. 經典組件專屬樣式 (Demo D Signature Styles)
   ════════════════════════════════════════════════════════════════════════ */

/* 主導覽列 */
header#hep-main-navbar {
  background: rgba(20, 21, 25, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

/* 按鈕美學 */
.btn-gold-solid, a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: var(--gold) !important;
  color: #141519 !important;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.btn-gold-solid:hover, a.btn-primary:hover {
  background: var(--gold-bright) !important;
  box-shadow: 0 0 35px var(--gold-glow);
  transform: translateY(-2px);
}

.btn-gold-outline, a.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: rgba(20, 21, 25, 0.6) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  color: var(--gold) !important;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.btn-gold-outline:hover, a.btn-secondary:hover {
  border-color: var(--gold-bright) !important;
  background: rgba(212, 175, 55, 0.15) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* 滿版背景產品卡片 (Demo D Iconic Card) */
.fcar-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.fcar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 30px rgba(212, 175, 55, 0.15);
}
.fcar-card .fcar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.fcar-card:hover .fcar-img {
  transform: scale(1.06);
}

/* 智能對話 ChatGPT 風格容器 */
.chatgpt-container {
  background: #17181F;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.05);
}

/* 彈窗與抽屜 */
.modal-card {
  background: #171822;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(212, 175, 55, 0.1);
}
.drawer-panel {
  background: #15161E;
  border-left: 1px solid rgba(212, 175, 55, 0.3);
}

/* 滾動條自訂 */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0D0E12; }
::-webkit-scrollbar-thumb { background: #252834; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ════════════════════════════════════════════════════════════════════════
   Framer Stories 水平手勢滑軌 (Horizontal Gesture Drag Rail)
   ════════════════════════════════════════════════════════════════════════ */
.drag-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  color: var(--gold-bright);
  font-size: 11px;
  font-family: monospace;
  letter-spacing: 2px;
  user-select: none;
}
.drag-icon {
  font-size: 13px;
  animation: dragPulse 2s infinite ease-in-out;
}
@keyframes dragPulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}
.shb-nav-btns {
  display: flex;
  gap: 8px;
}
.shb-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background: rgba(13, 13, 17, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.shb-arrow-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold-bright);
}
.fcar-rail-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 12px;
}
.fcar-rail-wrapper::-webkit-scrollbar {
  display: none;
}
.fcar-rail-track {
  display: flex;
  gap: 24px;
  width: max-content;
  cursor: grab;
  user-select: none;
  padding-right: 54px;
}
.fcar-rail-track.grabbing {
  cursor: grabbing;
}
.fcar-rail-progress-bar {
  position: relative;
  width: 100%;
  max-width: 240px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 24px;
  overflow: hidden;
}
.fcar-progress-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: left 0.1s ease, width 0.1s ease;
}

/* ════════════════════════════════════════════════════════════════════════
   上圖下文終端產品卡片 (Terminal Split Product Card)
   ════════════════════════════════════════════════════════════════════════ */
.terminal-card {
  border-radius: 8px;
  background: #15161C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.terminal-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 30px rgba(212, 175, 55, 0.15);
}
.tc-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  background: #0d0e12;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.terminal-card:hover .tc-img-wrap img {
  transform: scale(1.05);
}
.tc-badge-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-bright);
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.tc-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.tc-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.tc-sub {
  font-size: 12px;
  color: var(--gold);
  font-family: monospace;
  margin-bottom: 12px;
}
.tc-desc {
  font-size: 13px;
  color: #A0A2B2;
  line-height: 1.6;
  min-height: 63px; /* 3行等高基準高度 (13px * 1.6 * 3 ≈ 62.4px)，確保不同字數卡片之說明欄位絕對齊平 */
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tc-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}
.tc-specs-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 12px;
  padding: 6px 0;
  min-height: 48px; /* 規格格點等高基準 (2行高度)，確保三張卡片各列規格起迄線水平完全齊平 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-align: left;
}
.tc-specs-list li span:first-child,
.tc-specs-list .tc-spec-label {
  color: #8A8B9C;
  width: 95px;
  min-width: 95px;
  flex-shrink: 0;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-align: left;
}
.tc-specs-list li span:last-child,
.tc-specs-list .tc-spec-value {
  color: #E2E2E8;
  font-weight: 500;
  font-family: inherit;
  flex: 1;
  text-align: left;
  line-height: 1.5;
  word-break: break-word;
}
@media (max-width: 380px) {
  .tc-specs-list li {
    gap: 8px;
  }
  .tc-specs-list li span:first-child,
  .tc-specs-list .tc-spec-label {
    width: 85px;
    min-width: 85px;
  }
}
.btn-tc-drawer {
  width: 100%;
  padding: 11px 16px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-family: monospace;
  text-transform: uppercase;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.btn-tc-drawer:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* ════════════════════════════════════════════════════════════════════════
   技術參數規格抽屜 (Technical Specification Drawer Modal)
   ════════════════════════════════════════════════════════════════════════ */
.spec-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.spec-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.spec-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 520px;
  max-width: 92vw;
  background: #141519;
  border-left: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: -20px 0 60px rgba(0,0,0,0.95);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.spec-drawer.active {
  transform: translateX(0);
}
.sd-close {
  align-self: flex-end;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold-bright);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
}
.sd-close:hover {
  background: var(--gold);
  color: #000;
}
.sd-tag {
  font-size: 11px;
  font-family: monospace;
  color: var(--gold);
  letter-spacing: 2px;
  margin-top: 14px;
  font-weight: 700;
}
.sd-title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin: 8px 0 20px;
}
.sd-img-wrap {
  width: 100%;
  height: 220px;
  background: #0c0d11;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sd-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sd-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
.sd-table th {
  text-align: left;
  font-size: 12px;
  font-family: monospace;
  color: var(--gold);
  padding: 10px 12px;
  border-bottom: 1px solid rgba(212,175,55,0.25);
}
.sd-table td {
  font-size: 13px;
  color: #D8D9E8;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sd-table tr:hover td {
  background: rgba(212,175,55,0.04);
  color: #fff;
}

