@import "/mk3/assets/palette.css";

/* demo-hub.css — Millzik 演示中心 (Demonstration Hub) 專屬樣式。
   僅使用 palette.css 的 var() token，不手寫品牌 hex，避免品牌色漂移。 */

.dh-hidden { display: none !important; }

/* ── Conductor 個人化歡迎 ── */
.conductor-welcome {
  padding: 24px 0;
  background: var(--orange-soft);
  border-bottom: 2px solid var(--orange);
}
.welcome-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  padding: 24px 32px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.welcome-icon { font-size: 44px; flex-shrink: 0; line-height: 1; }
.welcome-content { flex: 1; }
.welcome-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}
.welcome-content p { font-size: 15px; color: var(--gray); margin: 0; }
.welcome-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ── 三大演示區塊 ── */
.dh-sections { padding: 56px 0; }
.sections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.demo-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
  border-color: var(--orange);
}
.card-icon { font-size: 40px; line-height: 1; margin-bottom: 12px; }
.demo-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 0 0 2px; }
.card-subtitle { font-size: 13px; color: var(--orange-hover); font-weight: 600; margin: 0 0 14px; letter-spacing: .3px; }
.card-description { font-size: 14.5px; color: var(--text); line-height: 1.7; margin: 0 0 16px; }
.card-features { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.card-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
}
.card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.btn-coming {
  align-self: flex-start;
  background: var(--light-gray);
  color: var(--gray);
  border: 1px solid var(--line);
  cursor: default;
  pointer-events: none;
}

/* ── RWX 入口橫幅 ── */
.rwx-banner-section { padding: 0 0 56px; }
.rwx-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 18px;
  padding: 32px 36px;
}
.banner-content { flex: 1; min-width: 260px; }
.banner-content h3 { font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.banner-content p { font-size: 15px; color: rgba(255, 255, 255, .85); margin: 0; }
.conductor-cta {
  margin-top: 14px;
  padding: 12px 14px;
  background: #fff;
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  font-size: 14px;
  color: var(--navy);
}

/* ── 適合對象 ── */
.audiences { padding: 56px 0; }
.audiences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  position: relative;
  background: var(--light-gray);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.audience-card.highlighted {
  background: #fff;
  border: 2px solid var(--orange);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}
.audience-icon { font-size: 40px; line-height: 1; margin-bottom: 10px; }
.audience-card h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin: 0 0 2px; }
.audience-sub { font-size: 13px; color: var(--gray); margin: 0 0 16px; }
.audience-card ul { list-style: none; padding: 0; margin: 0; }
.audience-card li { font-size: 14px; color: var(--text); padding: 6px 0; border-top: 1px solid var(--line); }
.audience-card li:first-child { border-top: none; }
.you-are-here { margin-top: 16px; }
.you-are-here .badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--orange);
  color: #fff;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

/* ── CTA ── */
.cta-section { padding: 56px 0; text-align: center; }
.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* ── 按鈕尺寸修飾 ── */
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ── 響應式 ── */
@media (max-width: 900px) {
  .sections-grid, .audiences-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .welcome-card { flex-direction: column; text-align: center; }
  .welcome-actions { width: 100%; flex-direction: column; }
  .welcome-actions .btn { width: 100%; }
  .rwx-banner { flex-direction: column; text-align: center; }
}
