/*============================================================
  CITEKIT – Getting Started Page
============================================================*/

.ck-gs-wrap {
	max-width: 960px;
	margin: 24px auto 60px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── HERO ───────────────────────────────────────────────── */

.ck-gs-hero {
	background: linear-gradient(135deg, #2F6FA3 0%, #1a4d78 100%);
	border-radius: 12px;
	padding: 40px 48px;
	margin-bottom: 32px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	box-shadow: 0 4px 24px rgba(47,111,163,.25);
}
.ck-gs-hero-left { flex: 1; }
.ck-gs-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255,255,255,.15);
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 20px;
	padding: 4px 12px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255,255,255,.9);
	margin-bottom: 14px;
}
.ck-gs-hero h1 {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 10px;
	color: #fff;
	line-height: 1.2;
}
.ck-gs-hero p {
	font-size: 15px;
	color: rgba(255,255,255,.8);
	margin: 0;
	line-height: 1.6;
}
.ck-gs-hero-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}
.ck-gs-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: all .15s;
}
.ck-gs-hero-btn.primary { background: #fff; color: #2F6FA3; }
.ck-gs-hero-btn.primary:hover { background: #f0f4ff; color: #1a4d78; }
.ck-gs-hero-btn.ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.ck-gs-hero-btn.ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.ck-gs-hero-icon {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	background: rgba(255,255,255,.12);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 36px;
}

/* ── SECTION TITLE ──────────────────────────────────────── */

.ck-gs-section-title {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #8a8f9c;
	margin: 36px 0 12px;
}

/* ── SLIDESHOW ──────────────────────────────────────────── */

.ck-slideshow {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 6px rgba(0,0,0,.06);
	margin-bottom: 28px;
}
.ck-slides { position: relative; }
.ck-slide {
	display: none;
	padding: 32px 40px;
	animation: ckFadeIn .3s ease;
}
.ck-slide.active { display: flex; gap: 32px; align-items: flex-start; }
@keyframes ckFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ck-slide-content { flex: 1; min-width: 0; }
.ck-slide-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: linear-gradient(135deg, #2F6FA3, #1a4d78);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 14px;
}
.ck-slide-content h3 { font-size: 18px; font-weight: 700; color: #111; margin: 0 0 10px; }
.ck-slide-content p { font-size: 14px; color: #1f2937; line-height: 1.7; margin: 0 0 14px; }
.ck-slide-code {
	background: #f4f6fb;
	border: 1px solid #e0e4ef;
	border-radius: 8px;
	padding: 14px 18px;
	font-family: 'SFMono-Regular', Consolas, monospace;
	font-size: 13px;
	color: #2F6FA3;
	line-height: 1.6;
	margin-top: 14px;
}
.ck-slide-visual {
	flex: 0 0 240px;
	background: #f8f9fc;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 20px;
	min-height: 160px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ck-slide-visual-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #9ca3af;
	margin-bottom: 4px;
}

/* ── MOCK UI ELEMENTS ───────────────────────────────────── */

.ck-mock-prose { font-size: 12px; color: #111827; line-height: 1.7; }
.ck-mock-cite { color: #2F6FA3; font-size: 11px; vertical-align: baseline; font-weight: 600; font-family: monospace; margin: 0 0.1em; }
.ck-mock-bib {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 11px;
	color: #1a1a1a;
	line-height: 1.7;
}
.ck-mock-bib-title { font-weight: 700; font-size: 11px; color: #111; border-bottom: 1px solid #e5e7eb; padding-bottom: 6px; margin-bottom: 8px; }
.ck-mock-bib ol { margin: 0; padding-left: 18px; }
.ck-mock-bib li { margin-bottom: 4px; color: #1a1a1a; }
.ck-mock-tooltip-sup { color: #2F6FA3; font-size: 10px; cursor: pointer; }
.ck-mock-metabox { background: #fff; border: 1px solid #d1d5db; border-radius: 8px; overflow: hidden; font-size: 11px; }
.ck-mock-metabox-head { background: #f9fafb; border-bottom: 1px solid #e5e7eb; padding: 8px 12px; font-weight: 600; color: #374151; }
.ck-mock-metabox-row {
	display: flex;
	align-items: center;
	padding: 7px 12px;
	border-bottom: 1px solid #f3f4f6;
	gap: 8px;
}
.ck-mock-metabox-row:last-child { border-bottom: none; }
.ck-mock-field { flex: 1; background: #f9fafb; border: 1px solid #d1d5db; border-radius: 4px; padding: 4px 7px; color: #111827; font-size: 10px; }
.ck-mock-id { background: #dbeafe; color: #1d4ed8; padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 10px; flex-shrink: 0; font-weight: 600; }
.ck-mock-id.uuid { background: #D3D1C7; color: #2C2C2A; font-weight: 500; }
.ck-mock-uuid { display: none; }

/* ── TOOLTIP MOCK ───────────────────────────────────────── */

.ck-fn { display: inline; position: relative; cursor: default; }
.ck-fn sup { color: #2F6FA3; font-size: 9px; font-weight: 600; font-family: monospace; }
.ck-fn-popup {
	display: none;
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, #2F6FA3, #1a4d78);
	color: #fff;
	font-size: 11px;
	line-height: 1.5;
	padding: 8px 12px;
	border-radius: 6px;
	width: 190px;
	z-index: 10;
	pointer-events: none;
	white-space: normal;
}
.ck-fn-popup::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: #1a4d78;
}
.ck-fn:hover .ck-fn-popup { display: block; }

/* ── LIBRARY MOCK ───────────────────────────────────────── */

.ck-mock-library { font-size: 11px; }
.ck-mock-lib-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 10px;
	border-bottom: 1px solid #f3f4f6;
	gap: 8px;
}
.ck-mock-lib-row:last-child { border-bottom: none; }
.ck-mock-lib-title { color: #111827; font-weight: 500; min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck-mock-lib-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 600; flex-shrink: 0; }
.ck-mock-lib-badge.live     { background: #bbf7d0; color: #14532d; }
.ck-mock-lib-badge.broken   { background: #fecaca; color: #7f1d1d; }
.ck-mock-lib-badge.unchecked { background: #D3D1C7; color: #2C2C2A; }
.ck-mock-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ── TOOLTIP HINT ───────────────────────────────────────── */

.ck-tooltip-hover-hint {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	color: #111827;
	background: #f8f9fc;
	border: 1px dashed #d1d5db;
	border-radius: 6px;
	padding: 8px 10px;
	margin-top: 4px;
	line-height: 1.4;
}

/* ── SLIDE NAV ──────────────────────────────────────────── */

.ck-slide-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 32px;
	border-top: 1px solid #f0f1f5;
	background: #fafbfd;
}
.ck-slide-dots { display: flex; gap: 7px; align-items: center; }
.ck-dot-btn {
	width: 8px; height: 8px;
	border-radius: 50%;
	border: none;
	background: #d1d5db;
	cursor: pointer;
	padding: 0;
	transition: all .2s;
}
.ck-dot-btn.active { background: #2F6FA3; width: 24px; border-radius: 4px; }
.ck-slide-nav-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 7px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #374151;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all .15s;
}
.ck-slide-nav-btn:hover { background: #f0f4ff; border-color: #a5b4fc; color: #2F6FA3; }
.ck-slide-nav-btn:disabled { opacity: .4; cursor: not-allowed; }
.ck-slide-nav-btn.primary { background: linear-gradient(135deg, #2F6FA3, #1a4d78); border-color: transparent; color: #fff; }
.ck-slide-nav-btn.primary:hover { opacity: 0.9; color: #fff; }

/* ── SHORTCODE REFERENCE CARDS ──────────────────────────── */

.ck-sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 28px; }
.ck-sc-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 18px 20px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.ck-sc-card-code { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 12px; color: #2F6FA3; background: #eff4ff; padding: 5px 10px; border-radius: 5px; display: inline-block; margin-bottom: 10px; }
.ck-sc-card h4 { font-size: 14px; font-weight: 600; color: #111; margin: 0 0 6px; }
.ck-sc-card p  { font-size: 13px; color: #1f2937; margin: 0; line-height: 1.6; }

/* ── FEATURES GRID ──────────────────────────────────────── */

.ck-feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 28px; }
.ck-feat-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.ck-feat-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.ck-feat-icon.blue   { background: #eff4ff; color: #2F6FA3; }
.ck-feat-icon.green  { background: #ecfdf5; color: #059669; }
.ck-feat-icon.amber  { background: #fffbeb; color: #d97706; }
.ck-feat-icon.purple { background: #f5f3ff; color: #7c3aed; }
.ck-feat-icon.rose   { background: #fff1f2; color: #e11d48; }
.ck-feat-icon.teal   { background: #f0fdfa; color: #0d9488; }
.ck-feat-body h4 { font-size: 14px; font-weight: 600; color: #111; margin: 0 0 5px; }
.ck-feat-body p  { font-size: 13px; color: #1f2937; margin: 0; line-height: 1.55; }

/* ── CITATION STYLE LIST ────────────────────────────────── */

.ck-styles-list { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; margin-bottom: 28px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.ck-style-row { display: flex; align-items: flex-start; padding: 16px 20px; gap: 20px; border-bottom: 1px solid #f3f4f6; }
.ck-style-row:last-child { border-bottom: none; }
.ck-style-name { flex: 0 0 80px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #2F6FA3; padding-top: 2px; }
.ck-style-example { flex: 1; font-size: 13px; color: #1f2937; line-height: 1.6; }
.ck-style-example em { font-style: italic; }

/* ── CTA BLOCK ──────────────────────────────────────────── */

.ck-gs-cta {
	background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
	border: 1px solid #c7d7fd;
	border-radius: 12px;
	padding: 28px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.ck-gs-cta h3 { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 6px; }
.ck-gs-cta p  { font-size: 13px; color: #1f2937; margin: 0; }
.ck-gs-cta-btns { display: flex; gap: 10px; flex-shrink: 0; }
.ck-gs-cta-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 7px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all .15s; }
.ck-gs-cta-btn.primary { background: linear-gradient(135deg, #2F6FA3, #1a4d78); color: #fff; }
.ck-gs-cta-btn.primary:hover { opacity: 0.9; color: #fff; }
.ck-gs-cta-btn.ghost { background: #fff; color: #374151; border: 1px solid #d1d5db; }
.ck-gs-cta-btn.ghost:hover { border-color: #a5b4fc; color: #2F6FA3; }


/* ── DEFINITIONS SECTION (new in 3.1.0) ─────────────────── */

.ck-gs-section-intro {
	font-size: 14px;
	color: #4b5563;
	margin: -8px 0 20px;
	max-width: 780px;
	line-height: 1.55;
}

.ck-def-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 28px;
}

@media (max-width: 900px) {
	.ck-def-grid { grid-template-columns: 1fr; }
}

.ck-def-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ck-def-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f3f4f6;
	margin-bottom: 2px;
}

.ck-def-header h4 {
	font-size: 17px;
	font-weight: 700;
	color: #111827;
	margin: 0;
}

.ck-def-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 28px;
	padding: 0 8px;
	border-radius: 6px;
	font-family: Verdana, Georgia, serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
}

.ck-def-card p {
	font-size: 13px;
	line-height: 1.55;
	color: #374151;
	margin: 0;
}

.ck-def-card strong {
	color: #111827;
}

.ck-def-example {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 12px 14px;
	margin: 4px 0;
}

.ck-def-example-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #6b7280;
	margin-bottom: 6px;
}

.ck-def-example-prose {
	font-size: 13px;
	line-height: 1.55;
	color: #1f2937;
}

.ck-def-use {
	padding-top: 10px;
	border-top: 1px solid #f3f4f6;
	font-size: 12.5px !important;
	color: #4b5563 !important;
}

/* Decision table */
.ck-def-decision {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 28px;
}

.ck-def-decision h4 {
	font-size: 15px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 14px;
}

.ck-def-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.ck-def-table th {
	text-align: left;
	font-weight: 600;
	color: #6b7280;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 8px 12px;
	border-bottom: 1px solid #e5e7eb;
}

.ck-def-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #f3f4f6;
	color: #374151;
	vertical-align: top;
}

.ck-def-table tr:last-child td {
	border-bottom: none;
}

.ck-def-table td code {
	font-size: 12px;
	background: #fff;
	padding: 2px 6px;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	color: #1f2937;
}
