/* 基本設定 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #faf7f2;
  --bg-alt: #fff8f6;
  --primary: #f3b8c3;
  --primary-soft: #fde3ea;
  --text-main: #332b29;
  --text-soft: #7b6b66;
  --border-soft: #f0dfd6;
  --shadow-soft: 0 16px 40px rgba(130, 103, 94, 0.10);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.7;
}

/* 通用容器 */
.container {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

/* 頁首（如果之後頁面用到） */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(250, 247, 242, 0.96), rgba(250, 247, 242, 0.8));
  border-bottom: 1px solid rgba(240, 223, 214, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.logo-text {
  font-family: "Playfair Display", serif;
}

/* 導覽列（之後 zh/en 頁會用到） */
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 6px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--text-main);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-soft);
}

/* Landing 語言選擇頁 */
.landing-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing {
  width: 100%;
}

.landing-inner {
  max-width: 640px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 26px 26px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.landing-brand .logo {
  justify-content: center;
}

.landing-tagline {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.landing-card {
  margin-top: 16px;
}

.landing-intro {
  font-size: 0.96rem;
  color: var(--text-main);
}

.landing-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.landing-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* 按鈕 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(220, 140, 156, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(220, 140, 156, 0.45);
}

.btn.ghost {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-soft);
}

.btn.ghost:hover {
  background: var(--primary-soft);
}

/* 共用 section 樣式（之後 zh/en 頁會用到） */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.section-intro {
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 36rem;
}

/* 雙欄佈局 */
.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

/* 卡片 */
.card-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 26px rgba(130, 103, 94, 0.08);
  font-size: 0.94rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.card-compact {
  font-size: 0.92rem;
}

/* List 風格 */
.list-soft {
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.list-soft li {
  margin-bottom: 6px;
}

/* 聯絡區塊 */
.contact {
  text-align: left;
}

.contact-info {
  margin-top: 16px;
  font-size: 0.95rem;
}

.contact-info a {
  color: var(--text-main);
  text-decoration-thickness: 1px;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* 頁尾 */
.site-footer {
  padding: 26px 0 30px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.footer-note {
  margin-top: 4px;
}

/* RWD 手機版調整 */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.82rem;
  }

  .two-columns,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .landing-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
