/* ======================================================
   馥靈之鑰 Hour Light - 企業級官網設計系統
   版本：v2.0
   最後更新：2025年1月
   ====================================================== */

/* ==================== 設計變數 ==================== */
:root {
  /* === 字體系統 === */
  --font-serif: "Noto Serif TC", "Times New Roman", serif;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  
  /* === 字級系統 === */
  --text-xs: 0.75rem;     /* 12px - 註解、標籤 */
  --text-sm: 0.875rem;    /* 14px - 次要文字 */
  --text-base: 1rem;      /* 16px - 內文 */
  --text-lg: 1.125rem;    /* 18px - 強調 */
  --text-xl: 1.25rem;     /* 20px - 小標題 */
  --text-2xl: 1.5rem;     /* 24px - 區塊標題 */
  --text-3xl: 1.875rem;   /* 30px - 頁面標題 */
  --text-4xl: 2.25rem;    /* 36px - 主標題 */
  
  /* === 背景色系（黑金宇宙） === */
  --hl-bg: #05030a;
  --hl-bg-soft: #0d0917;
  --hl-bg-card: rgba(12,8,24,0.92);
  
  /* === 金色系（光芒） === */
  --hl-gold: #e9c27d;
  --hl-gold-light: #fbe6c2;
  --hl-gold-deep: #cda86e;
  --hl-gold-soft: #a88257;
  
  /* === 奶油色系（浮雕元素） === */
  --hl-cream: #f9f3e8;
  --hl-cream-soft: #efe5d8;
  --hl-cream-deep: #d4c4b0;
  
  /* === 文字色 === */
  --hl-ink: #f7efe1;
  --hl-ink-soft: #c4b7a6;
  --hl-ink-muted: #988b7b;
  
  /* === 點綴色 === */
  --hl-plum: #9c6edb;
  --hl-plum-deep: #5c3a80;
  
  /* === 邊框與光暈 === */
  --hl-border: rgba(233,194,125,0.5);
  --hl-border-soft: rgba(233,194,125,0.3);
  --hl-glow: rgba(233,194,125,0.3);
  --hl-glow-strong: rgba(233,194,125,0.6);
  
  /* === 過渡動畫 === */
  --hl-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --hl-ease-out: cubic-bezier(0, 0, 0.2, 1);
  --hl-ease-in: cubic-bezier(0.4, 0, 1, 1);
}

/* ==================== Reset 基礎 ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--hl-ink);
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.3px;
  background-color: var(--hl-bg);
  background-image: 
    radial-gradient(ellipse at top, rgba(233,194,125,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(156,110,219,0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* 有底圖時的 body */
body.with-bg-image {
  background: url('../../background.jpg') center/cover fixed no-repeat;
  background-color: var(--hl-bg);
}

a {
  color: var(--hl-gold);
  text-decoration: none;
  transition: color 0.3s var(--hl-ease);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==================== 文字金色漸層效果 ==================== */
.gold-text,
.hl-gold-text {
  background: linear-gradient(135deg, #fbe6c2 0%, #e9c27d 30%, #cda86e 70%, #fff9ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== 容器系統 ==================== */
.hl-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.hl-container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.hl-container-lg {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== 導航列 ==================== */
.hl-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px) saturate(150%);
  background: rgba(5,3,10,0.85);
  border-bottom: 1px solid var(--hl-border-soft);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hl-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.hl-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.hl-nav-brand img {
  height: 36px;
  width: auto;
}

.hl-nav-brand-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--hl-gold);
  letter-spacing: 1px;
}

.hl-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hl-nav-link {
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--hl-ink-soft);
  border-radius: 999px;
  transition: all 0.3s var(--hl-ease);
  border: 1px solid transparent;
}

.hl-nav-link:hover {
  color: var(--hl-gold);
  background: rgba(233,194,125,0.1);
  border-color: var(--hl-border-soft);
}

.hl-nav-cta {
  padding: 10px 20px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #20120a;
  background: linear-gradient(135deg, var(--hl-gold), var(--hl-gold-deep));
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(233,194,125,0.4);
  transition: all 0.3s var(--hl-ease);
}

.hl-nav-cta:hover {
  color: #20120a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(233,194,125,0.6);
}

/* 漢堡選單（手機版） */
.hl-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hl-border-soft);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hl-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--hl-gold);
  transition: all 0.3s ease;
}

/* ==================== 卡片系統 ==================== */
.hl-card {
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(150%);
  background:
    radial-gradient(circle at top left, rgba(233,194,125,0.18), transparent 55%),
    rgba(10,6,24,0.92);
  border: 1px solid var(--hl-border);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.9),
    0 0 30px rgba(233,194,125,0.18),
    inset 0 1px 0 rgba(233,194,125,0.1);
  transition: all 0.4s var(--hl-ease);
}

.hl-card:hover {
  box-shadow:
    0 25px 60px rgba(0,0,0,0.95),
    0 0 50px rgba(233,194,125,0.35),
    inset 0 1px 0 rgba(233,194,125,0.2);
  transform: translateY(-4px);
}

.hl-card-body {
  padding: 32px;
}

.hl-card-lg .hl-card-body {
  padding: 48px;
}

/* 強調卡片（金邊） */
.hl-card-featured {
  border: 2px solid var(--hl-gold);
  position: relative;
}

.hl-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fbe6c2, var(--hl-gold), var(--hl-gold-deep));
}

/* ==================== 按鈕系統 ==================== */
.hl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--hl-ease);
}

/* 主要按鈕（金色） */
.hl-btn-primary {
  background: linear-gradient(135deg, var(--hl-gold), var(--hl-gold-deep));
  color: #20120a;
  box-shadow:
    0 10px 26px rgba(0,0,0,0.9),
    0 0 20px rgba(233,194,125,0.65);
}

.hl-btn-primary:hover {
  color: #20120a;
  transform: translateY(-2px);
  box-shadow:
    0 14px 34px rgba(0,0,0,0.95),
    0 0 30px rgba(233,194,125,0.85);
}

/* 次要按鈕（透明金邊） */
.hl-btn-secondary {
  background: transparent;
  color: var(--hl-gold);
  border: 1px solid var(--hl-gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.hl-btn-secondary:hover {
  background: rgba(233,194,125,0.15);
  color: var(--hl-gold-light);
  box-shadow: 0 6px 24px rgba(0,0,0,0.6), 0 0 20px rgba(233,194,125,0.3);
}

/* 幽靈按鈕 */
.hl-btn-ghost {
  padding: 10px 24px;
  background: rgba(233,194,125,0.1);
  color: var(--hl-ink-soft);
  border: 1px solid var(--hl-border-soft);
}

.hl-btn-ghost:hover {
  background: rgba(233,194,125,0.2);
  color: var(--hl-gold);
  border-color: var(--hl-border);
}

/* 按鈕尺寸 */
.hl-btn-sm {
  padding: 10px 20px;
  font-size: var(--text-xs);
}

.hl-btn-lg {
  padding: 18px 40px;
  font-size: var(--text-base);
}

/* ==================== 標籤系統 ==================== */
.hl-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1px;
  background: rgba(233,194,125,0.15);
  color: var(--hl-gold);
  border: 1px solid var(--hl-border-soft);
}

.hl-badge-accent {
  background: linear-gradient(135deg, rgba(156,110,219,0.2), rgba(92,58,128,0.3));
  color: #c9a6ff;
  border-color: rgba(156,110,219,0.4);
}

/* ==================== 區塊標題系統 ==================== */
.hl-section {
  padding: 80px 0;
}

.hl-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.hl-section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--hl-gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hl-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 500;
  color: var(--hl-gold);
  letter-spacing: 2px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hl-section-desc {
  font-size: var(--text-base);
  color: var(--hl-ink-soft);
  max-width: 640px;
  margin: 0 auto;
  line-height: 2;
}

/* ==================== Grid 系統 ==================== */
.hl-grid {
  display: grid;
  gap: 24px;
}

.hl-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.hl-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.hl-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ==================== Hero 區塊 ==================== */
.hl-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
}

.hl-hero-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--hl-gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hl-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 3px;
  line-height: 1.3;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fbe6c2 0%, #e9c27d 30%, #cda86e 70%, #fff9ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hl-hero-desc {
  font-size: var(--text-lg);
  color: var(--hl-ink-soft);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 2;
}

.hl-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==================== Footer 完整版 ==================== */
.hl-footer {
  padding: 32px 24px 24px;
  text-align: center;
  color: var(--hl-ink-muted);
  font-size: var(--text-sm);
  line-height: 1.8;
  border-top: 1px solid rgba(233,194,125,0.12);
  background: linear-gradient(180deg, transparent 0%, rgba(5,3,10,0.8) 100%);
}

.hl-footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hl-footer-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--hl-gold-light) 0%, var(--hl-gold) 50%, var(--hl-gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

/* 隱藏創辦人資訊 - 太長了 */
.hl-footer-founder {
  display: none;
}

.hl-footer-links {
  display: flex;
  justify-content: center;
  gap: 8px 20px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

.hl-footer-links a {
  color: var(--hl-ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.25s ease;
  position: relative;
}

.hl-footer-links a:hover {
  color: var(--hl-gold);
}

/* 連結間的分隔點 */
.hl-footer-links a:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -13px;
  color: rgba(233,194,125,0.25);
  pointer-events: none;
}

/* ⭐ 隱藏冗長的免責聲明區塊 - 改為連結到專頁 */
.hl-footer-disclaimer {
  display: none !important;
}

/* ⭐ 隱藏冗長的法律聲明區塊 - 內容已移至隱私權政策 */
.hl-footer-legal {
  display: none !important;
}

.hl-footer-legal-grid {
  display: none !important;
}

/* 版權聲明 - 精簡優雅版 */
.hl-footer-copyright {
  padding-top: 16px;
  border-top: 1px solid rgba(233,194,125,0.1);
  font-size: 0.75rem;
  color: var(--hl-ink-muted);
  text-align: center;
  line-height: 1.7;
}

.hl-footer-copyright-brand {
  color: var(--hl-ink-soft);
  font-weight: 600;
}

/* 隱藏商標重複說明 */
.hl-footer-trademark {
  display: none;
}

/* 簡易版 footer（給特殊頁面用） */
.hl-footer-simple {
  padding: 32px 24px;
  text-align: center;
  color: var(--hl-ink-muted);
  font-size: var(--text-xs);
  line-height: 1.8;
  border-top: 1px solid var(--hl-border-soft);
  background: rgba(5,3,10,0.8);
}

/* RWD */
@media (max-width: 768px) {
  .hl-footer {
    padding: 24px 16px 20px;
  }
  
  .hl-footer-links {
    gap: 6px 14px;
  }
  
  .hl-footer-links a::after {
    display: none;
  }
}

/* ==================== 動畫系統 ==================== */
/* 淡入向上 */
.hl-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--hl-ease), transform 0.8s var(--hl-ease);
}

.hl-fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 交錯淡入 */
.hl-stagger > *:nth-child(1) { transition-delay: 0.1s; }
.hl-stagger > *:nth-child(2) { transition-delay: 0.2s; }
.hl-stagger > *:nth-child(3) { transition-delay: 0.3s; }
.hl-stagger > *:nth-child(4) { transition-delay: 0.4s; }
.hl-stagger > *:nth-child(5) { transition-delay: 0.5s; }
.hl-stagger > *:nth-child(6) { transition-delay: 0.6s; }

/* 光暈呼吸效果 */
@keyframes hl-glow-pulse {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(233,194,125,0.3);
  }
  50% { 
    box-shadow: 0 0 40px rgba(233,194,125,0.5);
  }
}

.hl-glow-breathing {
  animation: hl-glow-pulse 3s ease-in-out infinite;
}

/* 頁面轉場 */
@keyframes hl-page-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hl-page-transition {
  animation: hl-page-enter 0.6s var(--hl-ease-out);
}

/* Keyframe 動畫 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==================== 光線透出效果 ==================== */
.hl-light-leak {
  position: relative;
}

.hl-light-leak::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(233,194,125,0.15) 0%,
    rgba(233,194,125,0.05) 30%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* ==================== 奶油浮雕背景 ==================== */
.hl-cream-accent {
  position: relative;
  background: 
    linear-gradient(rgba(5,3,10,0.85), rgba(5,3,10,0.9)),
    url('../../background.jpg') center/cover;
}

/* ==================== 音樂播放器 ==================== */
.hl-music-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--hl-border);
  background: rgba(10,6,24,0.9);
  backdrop-filter: blur(12px);
  color: var(--hl-ink-soft);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s var(--hl-ease);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hl-music-toggle:hover {
  background: rgba(233,194,125,0.2);
  border-color: var(--hl-gold);
  color: var(--hl-gold);
  transform: scale(1.05);
}

.hl-music-toggle.playing {
  border-color: var(--hl-gold);
  color: var(--hl-gold);
  box-shadow: 0 0 20px rgba(233,194,125,0.4);
}

/* ==================== 表格 ==================== */
.hl-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  border: 1px solid var(--hl-border-soft);
}

.hl-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(10,6,24,0.8);
}

.hl-table th,
.hl-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--hl-border-soft);
}

.hl-table th {
  background: rgba(233,194,125,0.1);
  color: var(--hl-gold);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 1px;
}

.hl-table tr:last-child td {
  border-bottom: none;
}

.hl-table tr:hover td {
  background: rgba(233,194,125,0.05);
}

/* ==================== 列表 ==================== */
.hl-list {
  list-style: none;
}

.hl-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  color: var(--hl-ink-soft);
}

.hl-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--hl-gold);
  font-size: 0.8em;
}

/* ==================== 分隔線 ==================== */
.hl-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hl-border), transparent);
  margin: 40px 0;
}

/* ==================== 工具提示 ==================== */
.hl-tooltip {
  position: relative;
}

.hl-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background: rgba(10,6,24,0.95);
  border: 1px solid var(--hl-border);
  border-radius: 8px;
  font-size: var(--text-xs);
  color: var(--hl-ink);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.hl-tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 8px);
}

/* ==================== 響應式設計 ==================== */
/* 手機版 */
@media (max-width: 480px) {
  .hl-card-body {
    padding: 24px 20px;
  }
  
  .hl-section {
    padding: 60px 0;
  }
  
  .hl-hero {
    min-height: 70vh;
    padding: 60px 20px;
  }
  
  .hl-btn {
    padding: 12px 24px;
    width: 100%;
  }
  
  .hl-hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
}

/* 平板直式 */
@media (max-width: 768px) {
  .hl-nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 16px 0;
    border-top: 1px solid var(--hl-border-soft);
    margin-top: 16px;
  }
  
  .hl-nav-links.is-open {
    display: flex;
  }
  
  .hl-nav-toggle {
    display: flex;
  }
  
  .hl-grid-3,
  .hl-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* 平板橫式 */
@media (max-width: 1024px) {
  .hl-container-lg {
    padding: 0 20px;
  }
}

/* ==================== 工具類 ==================== */
.hl-text-center { text-align: center; }
.hl-text-left { text-align: left; }
.hl-text-right { text-align: right; }

.hl-mb-0 { margin-bottom: 0; }
.hl-mb-1 { margin-bottom: 8px; }
.hl-mb-2 { margin-bottom: 16px; }
.hl-mb-3 { margin-bottom: 24px; }
.hl-mb-4 { margin-bottom: 32px; }
.hl-mb-5 { margin-bottom: 48px; }

.hl-mt-0 { margin-top: 0; }
.hl-mt-1 { margin-top: 8px; }
.hl-mt-2 { margin-top: 16px; }
.hl-mt-3 { margin-top: 24px; }
.hl-mt-4 { margin-top: 32px; }
.hl-mt-5 { margin-top: 48px; }

.hl-hidden { display: none !important; }
.hl-visible { visibility: visible; }
.hl-invisible { visibility: hidden; }

/* ==================== Scroll 錨點偏移 ==================== */
:target {
  scroll-margin-top: 100px;
}

/* ==================== 選取文字樣式 ==================== */
::selection {
  background: rgba(233,194,125,0.3);
  color: var(--hl-ink);
}

::-moz-selection {
  background: rgba(233,194,125,0.3);
  color: var(--hl-ink);
}

/* ==================== 自訂滾動條 ==================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--hl-gold-soft);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--hl-gold);
}

/* ==================== 延伸探索區塊 ==================== */
/* 內部連結推薦區塊 - SEO 優化用 */
.hl-explore {
  padding: 60px 24px;
  margin-top: 40px;
  border-top: 1px solid var(--hl-border-soft);
  background: linear-gradient(180deg, transparent 0%, rgba(233,194,125,0.03) 100%);
}

.hl-explore-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hl-explore-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--hl-gold);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.hl-explore-subtitle {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--hl-ink-muted);
  margin-bottom: 32px;
}

.hl-explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.hl-explore-card {
  display: block;
  padding: 24px;
  border-radius: 16px;
  background: rgba(10,6,24,0.6);
  border: 1px solid var(--hl-border-soft);
  text-decoration: none;
  transition: all 0.3s var(--hl-ease);
}

.hl-explore-card:hover {
  border-color: var(--hl-border);
  background: rgba(233,194,125,0.08);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.hl-explore-card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.hl-explore-card-title {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--hl-ink);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.hl-explore-card:hover .hl-explore-card-title {
  color: var(--hl-gold);
}

.hl-explore-card-desc {
  font-size: var(--text-sm);
  color: var(--hl-ink-muted);
  line-height: 1.6;
}

/* 奶油底色版本 - 用於淺色背景頁面 */
.hl-explore.hl-explore-cream {
  background: linear-gradient(180deg, transparent 0%, rgba(201,162,39,0.05) 100%);
  border-top-color: rgba(201,162,39,0.15);
}

.hl-explore-cream .hl-explore-card {
  background: rgba(255,255,255,0.6);
  border-color: rgba(201,162,39,0.2);
}

.hl-explore-cream .hl-explore-card:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(201,162,39,0.4);
}

.hl-explore-cream .hl-explore-card-title {
  color: #2D2A26;
}

.hl-explore-cream .hl-explore-card:hover .hl-explore-card-title {
  color: #A68B1F;
}

.hl-explore-cream .hl-explore-card-desc {
  color: #7A756D;
}

@media (max-width: 480px) {
  .hl-explore {
    padding: 40px 16px;
  }
  
  .hl-explore-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .hl-explore-card {
    padding: 20px;
  }
}

/* ==================== 簡潔版 Footer v3.0（精緻化）==================== */
.hl-footer {
  background: linear-gradient(180deg, transparent 0%, rgba(5,3,10,0.9) 100%);
  border-top: 1px solid rgba(233,194,125,0.1);
  padding: 28px 24px 20px;
  margin-top: 40px;
}

.hl-footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* 品牌區 - 漸層金字 */
.hl-footer-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--hl-gold-light) 0%, var(--hl-gold) 50%, var(--hl-gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

/* 隱藏創辦人資訊 */
.hl-footer-founder {
  display: none !important;
}

/* 快速連結 - 精簡一行式 */
.hl-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 12px 0 16px;
}

.hl-footer-links a {
  font-size: 0.82rem;
  color: var(--hl-ink-soft);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.25s ease;
  position: relative;
}

.hl-footer-links a:hover {
  color: var(--hl-gold);
}

/* 連結分隔點 */
.hl-footer-links a:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -12px;
  color: rgba(233,194,125,0.25);
  pointer-events: none;
}

/* ⭐ 完全隱藏冗長聲明區塊 */
.hl-footer-disclaimer,
.hl-footer-legal,
.hl-footer-legal-grid,
.hl-footer-disclaimer-title,
.hl-footer-disclaimer-content,
.hl-footer-legal-item {
  display: none !important;
}

/* 版權聲明 - 極簡版 */
.hl-footer-copyright {
  padding-top: 14px;
  border-top: 1px solid rgba(233,194,125,0.08);
  font-size: 0.72rem;
  color: var(--hl-ink-muted);
  text-align: center;
  line-height: 1.6;
}

.hl-footer-copyright-brand {
  color: var(--hl-ink-soft);
  font-weight: 600;
}

/* 隱藏商標重複說明 */
.hl-footer-trademark {
  display: none !important;
}

/* Footer RWD */
@media (max-width: 768px) {
  .hl-footer {
    padding: 24px 16px 18px;
    margin-top: 32px;
  }
  
  .hl-footer-links {
    gap: 6px 12px;
  }
  
  .hl-footer-links a {
    font-size: 0.8rem;
  }
  
  .hl-footer-links a::after {
    display: none;
  }
}

/* ==================== 淺色背景 Footer（米色系頁面用）==================== */
.hl-footer-cream {
  background: linear-gradient(180deg, #faf6f0 0%, #f5f0e8 100%);
  border-top: 1px solid #e8dfd3;
}

.hl-footer-cream .hl-footer-brand {
  color: #4a3728;
}

.hl-footer-cream .hl-footer-founder {
  color: #8b7d6b;
}

.hl-footer-cream .hl-footer-links a {
  color: #5c4a3a;
}

.hl-footer-cream .hl-footer-links a:hover {
  color: #b8860b;
  background: rgba(212,160,23,0.1);
}

.hl-footer-cream .hl-footer-disclaimer,
.hl-footer-cream .hl-footer-legal {
  background: #fff;
  border-color: #e8dfd3;
}

.hl-footer-cream .hl-footer-disclaimer:hover {
  background: rgba(212,160,23,0.05);
  border-color: #d4a017;
}

.hl-footer-cream .hl-footer-disclaimer-title,
.hl-footer-cream .hl-footer-disclaimer-content p,
.hl-footer-cream .hl-footer-legal-item {
  color: #8b7d6b;
}

.hl-footer-cream .hl-footer-legal-item strong {
  color: #5c4a3a;
}

.hl-footer-cream .hl-footer-copyright {
  border-top-color: #e8dfd3;
  color: #8b7d6b;
}

.hl-footer-cream .hl-footer-copyright-brand {
  color: #b8860b;
}
