/* ========================================
   Tourism Bureau Meeting — Light Swiss Premium
   Full-area, Large Type, Animated
   ======================================== */

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

:root {
  --bg: #F7F8FA;
  --bg-card: #FFFFFF;
  --navy: #1a2332;
  --navy-light: #2a3a52;
  --green: #3a6249;
  --green-light: #4a7c59;
  --green-pale: rgba(74,124,89,0.07);
  --orange: #e8843c;
  --text: #1a2332;
  --text-sec: #4a5568;
  --text-dim: #8899aa;
  --border: rgba(26,35,50,0.08);
  --shadow: 0 2px 12px rgba(0,0,0,0.05);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.08);
}

html { font-size: 20px; }
body {
  font-family: 'Noto Sans TC', 'Inter', -apple-system, sans-serif;
  background: var(--bg); color: var(--text);
  overflow: hidden; height: 100vh; width: 100vw;
}

/* ===== CANVAS ===== */
#particleCanvas {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 0; opacity: 0.18;
}

/* ===== NAV ===== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; height: 44px; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-left { display: flex; align-items: center; gap: 0.8rem; }
.nav-logo { font-weight: 700; font-size: 0.7rem; color: var(--green); letter-spacing: 1.5px; }
.nav-divider { width: 1px; height: 16px; background: var(--border); }
.nav-page { font-size: 0.65rem; color: var(--text-dim); font-weight: 500; letter-spacing: 1px; }
.nav-right { display: flex; align-items: center; gap: 0.6rem; }
.nav-btn {
  width: 32px; height: 32px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-sec); cursor: pointer; font-size: 0.85rem;
  display: grid; place-items: center; transition: all 0.2s;
}
.nav-btn:hover { color: var(--green); border-color: var(--green); }
.nav-progress { width: 140px; height: 2px; background: rgba(0,0,0,0.05); border-radius: 2px; overflow: hidden; }
.nav-progress-bar { height: 100%; background: var(--green); transition: width 0.4s; border-radius: 2px; }

/* ===== SLIDES ===== */
.slide {
  position: fixed; top: 44px; left: 0; right: 0; bottom: 0;
  opacity: 0; pointer-events: none; transition: opacity 0.5s ease;
  overflow-y: auto; z-index: 1;
}
.slide.active { opacity: 1; pointer-events: all; z-index: 10; }
.slide-inner {
  width: 100%; max-width: 100%; margin: 0; box-sizing: border-box;
  padding: 2rem 4vw 2rem;
  min-height: calc(100vh - 44px);
  display: flex; flex-direction: column;
}

/* ===== ENTRANCE ANIMATIONS ===== */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes scaleIn { from { opacity:0; transform:scale(0.92); } to { opacity:1; transform:scale(1); } }
@keyframes slideLeft { from { opacity:0; transform:translateX(-20px); } to { opacity:1; transform:translateX(0); } }
@keyframes slideRight { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }
@keyframes countUp { from { opacity:0; transform:translateY(10px) scale(0.8); } to { opacity:1; transform:translateY(0) scale(1); } }

.slide.active .anim-up { animation: fadeUp 0.6s ease both; }
.slide.active .anim-in { animation: fadeIn 0.6s ease both; }
.slide.active .anim-scale { animation: scaleIn 0.5s ease both; }
.slide.active .anim-left { animation: slideLeft 0.5s ease both; }
.slide.active .anim-right { animation: slideRight 0.5s ease both; }
.slide.active .anim-count { animation: countUp 0.7s cubic-bezier(.34,1.56,.64,1) both; }

.d1 { animation-delay: 0.1s !important; }
.d2 { animation-delay: 0.2s !important; }
.d3 { animation-delay: 0.3s !important; }
.d4 { animation-delay: 0.4s !important; }
.d5 { animation-delay: 0.5s !important; }
.d6 { animation-delay: 0.6s !important; }
.d7 { animation-delay: 0.7s !important; }
.d8 { animation-delay: 0.8s !important; }

/* ===== TYPOGRAPHY ===== */
.slide-label {
  font-size: 0.6rem; font-weight: 700; color: var(--green);
  letter-spacing: 4px; text-transform: uppercase; margin-bottom: 0.3rem;
}
.slide-title {
  font-size: 2.4rem; font-weight: 900; line-height: 1.15;
  color: var(--navy); margin-bottom: 0.5rem;
}
.slide-subtitle {
  font-size: 1.05rem; color: var(--text-sec);
  line-height: 1.6; margin-bottom: 1rem;
}

/* ===== COVER ===== */
.cover .slide-inner { justify-content: center; align-items: center; text-align: center; }
.cover-logo { width: 100px; height: 100px; margin-bottom: 1.5rem; border-radius: 18px; }
.cover-title { font-size: 3rem; font-weight: 900; color: var(--navy); margin-bottom: 0.4rem; letter-spacing: 3px; }
.cover-subtitle { font-size: 1.4rem; color: var(--text-sec); margin-bottom: 1.5rem; font-weight: 300; }
.cover-line { width: 60px; height: 3px; background: var(--green); border-radius: 2px; margin-bottom: 1.5rem; }
.cover-meta { font-size: 0.8rem; color: var(--text-dim); letter-spacing: 1px; }

/* ===== AGENDA ===== */
.agenda-list { list-style: none; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.agenda-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.5rem; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.3s; box-shadow: var(--shadow);
}
.agenda-item:hover { transform: translateX(6px); border-color: var(--green); box-shadow: var(--shadow-hover); }
.agenda-num {
  width: 38px; height: 38px; border-radius: 8px; background: var(--green);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; flex-shrink: 0;
}
.agenda-text { font-size: 1.1rem; color: var(--text); font-weight: 600; }

/* ===== CARDS ===== */
.card-grid { display: grid; gap: 1rem; flex: 1; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.4rem; transition: all 0.3s;
  box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--green); }

/* ===== STAT CARDS (Slide 4 redesign) ===== */
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.8rem; text-align: center;
  box-shadow: var(--shadow); transition: all 0.3s;
  display: flex; flex-direction: column; justify-content: center;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.stat-num {
  font-size: 3.5rem; font-weight: 900; color: var(--green); line-height: 1; margin-bottom: 0.6rem;
}
.stat-label { font-size: 1.15rem; color: var(--text); font-weight: 700; line-height: 1.4; }
.stat-sub { font-size: 0.9rem; color: var(--text-dim); margin-top: 0.4rem; line-height: 1.4; }

/* ===== TWO COLUMNS ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; flex: 1; }
.col-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow);
}
.col-panel.green-accent { border-top: 3px solid var(--green); }
.col-panel.orange-accent { border-top: 3px solid var(--orange); }
.col-panel-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.8rem; }
.col-panel-title.green { color: var(--green); }
.col-panel-title.orange { color: var(--orange); }
.col-list { list-style: none; padding: 0; }
.col-list li {
  padding: 0.5rem 0; font-size: 1rem; color: var(--text-sec);
  border-bottom: 1px solid var(--border); line-height: 1.6;
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.col-list li:last-child { border-bottom: none; }
.col-list .bullet { color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ===== FLOW ===== */
.flow { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; justify-content: center; }
.flow-step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.9rem 1.4rem;
  text-align: center; min-width: 140px; transition: all 0.3s;
  box-shadow: var(--shadow);
}
.flow-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.flow-step.highlight { background: var(--green-pale); border-color: var(--green); }
.flow-step-title { font-size: 1rem; font-weight: 800; color: var(--text); }
.flow-step-desc { font-size: 0.75rem; color: var(--text-dim); margin-top: 0.15rem; }
.flow-arrow { color: var(--green); font-size: 1.2rem; font-weight: 700; }

/* ===== MODULE FLOW ===== */
.module-flow { display: flex; align-items: center; gap: 0.8rem; justify-content: center; margin: 1.2rem 0; }
.module-box {
  background: var(--green-pale); border: 1.5px solid var(--green);
  border-radius: 12px; padding: 1.3rem 2rem; text-align: center;
  min-width: 200px; transition: all 0.3s;
}
.module-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.module-box-title { font-size: 1.1rem; font-weight: 800; color: var(--text); }
.module-box-desc { font-size: 0.8rem; color: var(--text-sec); margin-top: 0.2rem; }
.module-arrow { color: var(--green); font-size: 1.5rem; }

/* ===== TABLE ===== */
.info-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.info-table th {
  background: var(--green); color: #fff;
  padding: 0.8rem 1rem; text-align: left; font-size: 0.9rem; font-weight: 700;
  border-bottom: 2px solid var(--green);
}
.info-table th:first-child { border-radius: 8px 0 0 0; }
.info-table th:last-child { border-radius: 0 8px 0 0; }
.info-table td {
  padding: 0.75rem 1rem; font-size: 0.95rem; color: var(--text-sec);
  border-bottom: 1px solid var(--border); transition: background 0.2s;
}
.info-table tr:hover td { background: var(--green-pale); }

/* ===== PROMISE GRID ===== */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; flex: 1; }
.promise-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem; text-align: center;
  box-shadow: var(--shadow); transition: all 0.3s;
}
.promise-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.promise-icon { font-size: 2.2rem; margin-bottom: 0.6rem; }
.promise-title { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 0.4rem; }
.promise-desc { font-size: 0.9rem; color: var(--text-sec); line-height: 1.6; }

/* ===== CHAT MOCK ===== */
.chat-mock {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem 2rem;
  box-shadow: var(--shadow); flex: 1;
}
.chat-bubble {
  max-width: 88%; padding: 1rem 1.4rem;
  border-radius: 14px; margin-bottom: 1rem;
  font-size: 1rem; line-height: 1.7;
}
.chat-bubble.user {
  background: var(--green-pale); border: 1px solid var(--green);
  margin-left: auto; color: var(--text);
}
.chat-bubble.ai { background: var(--bg); border: 1px solid var(--border); color: var(--text-sec); }
.chat-label { font-size: 0.65rem; color: var(--text-dim); margin-bottom: 0.3rem; font-weight: 700; letter-spacing: 1px; }

/* ===== DASHBOARD ===== */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; flex: 1; }
.dash-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.3rem; box-shadow: var(--shadow);
}
.dash-panel-title { font-size: 0.7rem; color: var(--text-dim); font-weight: 700; margin-bottom: 0.5rem; letter-spacing: 1.5px; text-transform: uppercase; }
.dash-bar { height: 8px; border-radius: 4px; margin-bottom: 0.5rem; background: rgba(0,0,0,0.04); }
.dash-bar-fill { height: 100%; border-radius: 4px; background: var(--green); transition: width 1s ease; }
.dash-metric { font-size: 2rem; font-weight: 900; color: var(--text); }
.dash-metric-label { font-size: 0.75rem; color: var(--text-dim); }

/* ===== TIMELINE ===== */
.timeline { display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.tl-row {
  display: grid; grid-template-columns: 110px 1fr 1.2fr;
  gap: 1rem; align-items: center;
  padding: 0.85rem 1.3rem; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: all 0.3s;
}
.tl-row:hover { transform: translateX(4px); border-color: var(--green); }
.tl-week { font-size: 0.75rem; font-weight: 800; color: #fff; padding: 0.35rem 0.6rem; border-radius: 6px; text-align: center; }
.tl-week.phase-a { background: var(--navy); }
.tl-week.phase-b { background: var(--green); }
.tl-week.phase-c { background: var(--orange); }
.tl-label { font-size: 1rem; font-weight: 700; color: var(--text); }
.tl-desc { font-size: 0.9rem; color: var(--text-sec); }

/* ===== BEFORE/AFTER ===== */
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: start; flex: 1; }
.ba-col { display: flex; flex-direction: column; gap: 0.7rem; }
.ba-arrow { display: flex; align-items: center; font-size: 2.2rem; color: var(--green); padding-top: 2rem; }
.ba-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.1rem 1.4rem; box-shadow: var(--shadow); transition: all 0.3s;
}
.ba-item:hover { transform: translateX(4px); }
.ba-item.future { border-color: var(--green); background: var(--green-pale); }
.ba-item-label { font-size: 0.7rem; color: var(--text-dim); margin-bottom: 0.2rem; font-weight: 600; letter-spacing: 1px; }
.ba-item-value { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.ba-item-value.green { color: var(--green); }

/* ===== AUDIT TRAIL ===== */
.audit-trail { display: flex; flex-direction: column; gap: 0; flex: 1; }
.audit-step { display: grid; grid-template-columns: 140px 24px 1fr; gap: 1rem; align-items: start; padding: 0.7rem 0; }
.audit-time { font-size: 0.9rem; color: var(--text-dim); text-align: right; padding-top: 0.2rem; font-weight: 500; }
.audit-dot-col { display: flex; flex-direction: column; align-items: center; }
.audit-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.audit-line { width: 2px; height: 32px; background: var(--border); }
.audit-content { font-size: 1.05rem; color: var(--text-sec); line-height: 1.6; }
.audit-content strong { color: var(--text); }

/* ===== KNOWLEDGE GRAPH ===== */
.kg-wrapper { display: flex; justify-content: center; align-items: center; flex: 1; }
.kg-map { position: relative; width: 700px; height: 400px; }
.kg-node {
  position: absolute; padding: 0.7rem 1.2rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; font-size: 0.95rem; font-weight: 700;
  color: var(--text); box-shadow: var(--shadow); transition: all 0.3s; white-space: nowrap;
}
.kg-node:hover { border-color: var(--green); transform: scale(1.05); box-shadow: var(--shadow-hover); }
.kg-node.center { background: var(--green-pale); border-color: var(--green); font-size: 1.1rem; }

/* ===== EXPANSION ===== */
.expansion-map { display: flex; flex-direction: column; gap: 0.7rem; align-items: center; flex: 1; }
.exp-node {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1rem 2rem; text-align: center;
  box-shadow: var(--shadow); transition: all 0.3s; min-width: 200px;
}
.exp-node:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.exp-node.hero { background: var(--green-pale); border-color: var(--green); }
.exp-node-title { font-size: 1.05rem; font-weight: 800; color: var(--text); }
.exp-node-sub { font-size: 0.8rem; color: var(--text-dim); }
.exp-row { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
.exp-connector { color: var(--green); font-size: 1.5rem; }

/* ===== PROPOSAL ===== */
.proposal-table { width: 100%; margin-top: 0.8rem; }
.proposal-table td {
  padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top;
}
.proposal-table td:first-child { font-weight: 800; color: var(--green); width: 140px; white-space: nowrap; }
.proposal-table td:last-child { color: var(--text-sec); font-size: 1rem; }

/* ===== REQUEST LIST ===== */
.request-list { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.8rem; }
.request-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.5rem; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: all 0.3s;
}
.request-item:hover { transform: translateX(6px); border-color: var(--green); }
.request-num {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--green-pale); color: var(--green);
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; flex-shrink: 0;
}
.request-text { font-size: 1.05rem; color: var(--text-sec); }

/* ===== NEXT STEPS ===== */
.next-steps { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.8rem; flex: 1; }
.ns-row {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 1rem; align-items: center;
  padding: 0.9rem 1.3rem; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: all 0.3s;
}
.ns-row:hover { transform: translateX(4px); border-color: var(--green); }
.ns-time { font-size: 0.9rem; font-weight: 800; color: var(--green); }
.ns-action { font-size: 1rem; color: var(--text-sec); }

/* ===== CTA ===== */
.cta-slide .slide-inner { justify-content: center; align-items: center; text-align: center; }
.cta-title { font-size: 2.2rem; font-weight: 900; color: var(--navy); margin-bottom: 1.2rem; }
.cta-contact {
  margin-top: 1.5rem; padding: 1.2rem 2.5rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; text-align: center; box-shadow: var(--shadow);
}
.cta-company { font-size: 1rem; font-weight: 800; color: var(--text); }
.cta-email { font-size: 0.9rem; color: var(--text-sec); margin-top: 0.2rem; }

/* ===== UTILS ===== */
.note {
  font-size: 0.85rem; color: var(--text-sec);
  padding: 0.8rem 1rem; border-radius: 8px;
  background: var(--green-pale); border-left: 3px solid var(--green);
  margin-top: 0.8rem;
}
.spacer { height: 0.8rem; }
.green-text { color: var(--green); }
.orange-text { color: var(--orange); }
