/* ====================================================
   ALL NATIONS CHURCH — NOTION ONBOARDING
   dept-styles.css — Department Pages Shared Styles
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg:            #F7F7F5;
  --surface:       #FFFFFF;
  --border:        #E9E9E7;
  --text-primary:  #111111;
  --text-secondary:#666666;
  --text-muted:    #999999;
  --accent:        #CB5928;
  --accent-hover:  #B34E22;
  --accent-soft:   rgba(203, 89, 40, 0.08);
  --accent-light:  rgba(203, 89, 40, 0.15);
  --shadow-xs:     0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.12);
  --radius-xs:     4px;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --t:             0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Header ─────────────────────────────────────────── */
.dept-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 247, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-left { display: flex; align-items: center; gap: 12px; }
.n-logo {
  width: 26px; height: 26px;
  background: var(--text-primary);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 15px; font-weight: 900; font-style: italic;
}
.header-breadcrumb { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.header-breadcrumb .bc-sep { color: var(--border); }
.header-breadcrumb .bc-current { font-weight: 700; color: var(--text-primary); }
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
}
.back-btn:hover { border-color: var(--text-primary); color: var(--text-primary); }

/* ── Hero ───────────────────────────────────────────── */
.dept-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 20px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.dept-hero-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  flex-shrink: 0;
}
.hero-person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.person-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 18px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.person-info .person-name { font-size: 15px; font-weight: 700; }
.person-info .person-role { font-size: 12px; color: var(--text-muted); }

/* ── Content body ───────────────────────────────────── */
.dept-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

/* ── Section ─────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.section-header h2 { font-size: 20px; font-weight: 800; }
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

/* ── Use Case Cards ─────────────────────────────────── */
.use-cases { display: flex; flex-direction: column; gap: 0; }
.uc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--t);
}
.uc-card:hover { box-shadow: var(--shadow-sm); }
.uc-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}
.uc-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.uc-header-text { flex: 1; }
.uc-header-text h3 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.uc-header-text .uc-tagline { font-size: 13px; color: var(--text-muted); }
.uc-toggle {
  width: 28px; height: 28px;
  border-radius: var(--radius-xs);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  transition: all var(--t);
  flex-shrink: 0;
}
.uc-card.open .uc-toggle { background: var(--accent); color: white; border-color: var(--accent); transform: rotate(180deg); }
.uc-body {
  display: none;
  padding: 0 20px 20px 76px;
  border-top: 1px solid var(--bg);
}
.uc-card.open .uc-body { display: block; }
.uc-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}
.uc-body h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
/* Notion mock inside uc-body */
.notion-mock {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 14px;
  font-size: 12px;
}
.notion-mock .mock-title {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background var(--t);
  color: var(--text-secondary);
}
.mock-row:hover { background: var(--surface); }
.mock-row .mr-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mock-row .mr-badge {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
}
.green { background: #E6F5EC; color: #1A6E1E; }
.orange { background: #FFF3E0; color: #E65100; }
.blue  { background: #E0EEFF; color: #0A4A8A; }
.grey  { background: #F0F0EE; color: #666; }
.purple { background: #F0E8FF; color: #5B3F8A; }
.tip-box {
  background: var(--accent-soft);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

/* ── Real Notion Screenshots ────────────────────────── */
.notion-screenshot {
  margin: 16px 0 12px;
}
.notion-screenshot .ns-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.notion-screenshot .ns-label::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 12px;
  background: var(--accent);
  border-radius: 2px;
}
.notion-screenshot img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t);
}
.notion-screenshot img:hover {
  box-shadow: var(--shadow-md);
}
.notion-screenshot .ns-source {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  text-align: right;
}
.notion-screenshot .ns-source a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.ns-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
}
.ns-legend-item {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.4;
}
.ns-legend-item strong {
  color: var(--text-primary);
  font-weight: 700;
}
.ns-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #E53935;
  color: white;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
}

/* ── Start Here box ─────────────────────────────────── */
.start-here {
  background: var(--text-primary);
  color: white;
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  margin-top: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
.sh-icon { font-size: 36px; }
.sh-body h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.sh-body p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 14px; }
.sh-steps { display: flex; flex-direction: column; gap: 8px; }
.sh-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.sh-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── Footer ─────────────────────────────────────────── */
.dept-footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-muted);
}
.dept-footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 680px) {
  .dept-hero { grid-template-columns: 1fr; padding: 32px 20px 24px; }
  .dept-hero-img { display: none; }
  .dept-content { padding: 0 20px 60px; }
  .dept-header { padding: 12px 20px; }
  .uc-body { padding-left: 20px; }
}

/* ── Animations ─────────────────────────────────────── */
@keyframes fadeInUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.fade-in { animation: fadeInUp 0.5s ease both; }
.fade-in-2 { animation: fadeInUp 0.5s ease 0.1s both; }
.fade-in-3 { animation: fadeInUp 0.5s ease 0.2s both; }
.fade-in-4 { animation: fadeInUp 0.5s ease 0.3s both; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
