/* ====== 基本容器（沿用你原本的 .container） ====== */
.container.narrow { max-width: 960px; }

/* ====== 導覽列 ====== */
.navbar {
  position: sticky; top: 0; z-index: 10;
  background: #ffffffcc; backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem;
}
.brand {
  font-weight: 700; font-size: 1.125rem; color: #111; text-decoration: none;
}
.nav-links a {
  margin-left: 1rem; color: #444; text-decoration: none; font-size: 0.95rem;
}
.nav-links a.active { color: #2563eb; font-weight: 600; }
.nav-links a.muted { color: #999; cursor: not-allowed; }

/* ====== Hero ====== */
.hero {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  padding: 4rem 1rem 3rem;
  border-bottom: 1px solid #e5e7eb;
}
.hero-inner {
  max-width: 900px; margin: 0 auto; text-align: center;
}
.hero-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 0.5rem; font-weight: 800; color: #0f172a;
}
.hero-subtitle {
  color: #334155; font-size: 1.05rem; line-height: 1.75; margin: 0.5rem 0 1.25rem;
}
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ====== 卡片區 ====== */
.section-title {
  font-size: 1.25rem; font-weight: 700; margin: 2rem 0 1rem; color: #111827;
}
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.card-body { padding: 1rem; }
.card-title { margin: 0 0 0.25rem; font-weight: 700; color: #111827; }
.card-text { margin: 0.25rem 0 0.75rem; color: #374151; line-height: 1.6; }
.card.muted { opacity: 0.8; }

/* ====== 按鈕樣式（沿用＋新增） ====== */
.btn { display: inline-block; text-decoration: none; }
.btn-primary { background: #2563eb; color: #fff; padding: 0.6rem 1rem; border-radius: 6px; }
.btn-primary:hover { background: #1d4ed8; }
.btn-secondary { background: #e5e7eb; color: #111; padding: 0.6rem 1rem; border-radius: 6px; }
.btn-secondary:hover { background: #d1d5db; }
.btn-link { color: #2563eb; text-decoration: none; font-weight: 600; }
.btn-link:hover { text-decoration: underline; }
.btn-disabled { background: #e5e7eb; color: #888; padding: 0.6rem 1rem; border-radius: 6px; border: none; }

/* ====== 特色段落 ====== */
.features { background: #f8fafc; border-top: 1px solid #e5e7eb; padding: 2rem 1rem; }
.feature-list { margin: 0.75rem 0 0; padding-left: 1.25rem; color: #374151; line-height: 1.8; }

/* ====== 頁尾 ====== */
.footer { background: #fff; border-top: 1px solid #eee; }
.footer-inner { max-width: 960px; margin: 0 auto; display: grid; gap: 0.25rem; padding: 1rem 0; text-align: center; }
.footer .muted { color: #6b7280; font-size: 0.9rem; }