/* Docs Page Section */
.docs-page-section {
	padding: 40px 0 80px 0;
	background-color: #ffffff;
	min-height: calc(100vh - 200px);
}

.docs-container {
	width: 100%;
	margin: 0 auto;
	padding: 0 40px;
}

/* Docs Header */
.docs-header {
	text-align: center;
	margin-bottom: 40px;
}

.docs-title {
	font-size: 48px;
	font-weight: 700;
	color: var(--sec-color);
	margin: 0 0 16px 0;
	line-height: 1.2;
}

.docs-description {
	font-size: 18px;
	font-weight: 400;
	color: #6B7280;
	margin: 0;
	line-height: 1.6;
}

/* Search Bar */
.docs-search-wrapper {
	margin-bottom: 48px;
	display: flex;
	justify-content: center;
}

.docs-search-bar {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 800px;
	border-radius: 8px;
	padding: 16px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.docs-search-bar:focus-within {
	border-color: var(--sec-color);
	box-shadow: 0 0 0 3px rgba(50, 151, 219, 0.1);
}

.docs-search-icon {
	flex-shrink: 0;
	margin-right: 12px;
	color: #9CA3AF;
}

.docs-search-input {
	flex: 1;
	width: 570px;
	padding: 10px 16px;
	border: none;
	background: transparent;
	font-size: 16px;
	color: #1F2937;
	outline: none;
	border: 1px solid #D1D5DB;
}

.docs-search-input::placeholder {
	color: #9CA3AF;
}

.docs-search-btn {
	padding: 12px 24px;
	background-color: var(--sec-color);
	color: #ffffff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease;
	margin-left: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.docs-search-btn:hover {
	background-color: var(--main-color);
}

.docs-search-btn svg path {
	stroke: #ffffff;
}

/* Content Wrapper */
.docs-content-wrapper {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 48px;
	align-items: flex-start;
	margin: 60px 0 200px 0;
}

/* Sidebar */
.docs-sidebar {
	position: sticky;
	top: 100px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* IE 和 Edge (旧版) */
}

.docs-sidebar::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Edge (新版) */
}

.docs-category-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.docs-category-item:last-child {
	border-bottom: none;
}

.docs-category-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	transition: color 0.2s ease;
}

.docs-category-toggle:hover {
	color: var(--sec-color);
}

.docs-category-name {
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	flex: 1;
}

.docs-category-item.active .docs-category-name {
	color: var(--sec-color);
	font-weight: 600;
}

.docs-category-chevron {
	flex-shrink: 0;
	color: #9CA3AF;
	transition: transform 0.2s ease;
}

.docs-category-item.active .docs-category-chevron {
	transform: rotate(180deg);
	color: var(--sec-color);
}

.docs-category-content {
	padding-left: 16px;
	padding-bottom: 16px;
	display: none;
}

.docs-category-item.active .docs-category-content {
	display: block;
}

.docs-article-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.docs-article-item {
	margin: 0;
}

.docs-article-link {
	font-size: 13px;
	color: #333333;
	text-decoration: none;
	line-height: 1.6;
	display: block;
	padding: 4px 0;
	transition: color 0.2s ease;
}

.docs-article-link:hover {
	color: var(--sec-color);
}

.docs-article-link.active {
	color: var(--sec-color);
	font-weight: 600;
}

.docs-show-less-btn {
	margin-top: 12px;
	font-size: 13px;
	color: var(--sec-color);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
}

.docs-show-less-btn:hover {
	color: var(--main-color);
}

/* Main Content */
.docs-main-content {
	flex: 1;
}

.docs-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 32px;
}

.docs-section-title {
	font-size: 24px;
	font-weight: 600;
	color: #1F2937;
	margin: 0;
	line-height: 1.3;
}

.docs-section-count {
	font-size: 14px;
	color: #6B7280;
	font-weight: 400;
}

/* Article Grid */
.docs-article-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.docs-article-card {
	background-color: #ffffff;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	padding: 24px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.docs-article-card:hover {
	border-color: var(--sec-color);
	box-shadow: 0 4px 12px rgba(50, 151, 219, 0.1);
}

.docs-article-icon {
	flex-shrink: 0;
	margin-bottom: 4px;
}

.docs-article-card-title {
	font-size: 18px;
	font-weight: 600;
	color: #1F2937;
	margin: 0;
	line-height: 1.4;
}

.docs-article-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.docs-article-card-title a:hover {
	color: var(--sec-color);
}

.docs-article-card-description {
	font-size: 14px;
	color: #6B7280;
	line-height: 1.6;
	margin: 0;
	flex: 1;
}

.docs-article-card-link {
	font-size: 14px;
	color: var(--sec-color);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
	margin-top: auto;
}

.docs-article-card-link:hover {
	color: var(--main-color);
	text-decoration: underline;
}

@keyframes docs-skeleton-loading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

.docs-skeleton-block {
	display: inline-block;
	background: linear-gradient(90deg, #eef2f7 25%, #f7f9fc 37%, #eef2f7 63%);
	background-size: 400% 100%;
	animation: docs-skeleton-loading 1.2s ease infinite;
}

.docs-skeleton-title-line {
	width: 220px;
	height: 30px;
	border-radius: 8px;
}

.docs-skeleton-count-line {
	width: 92px;
	height: 16px;
	border-radius: 6px;
}

.docs-skeleton-category-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
}

.docs-skeleton-category-name {
	width: 200px;
	height: 16px;
	border-radius: 6px;
}

.docs-skeleton-chevron {
	width: 16px;
	height: 16px;
	border-radius: 4px;
}

.docs-skeleton-category-links {
	padding-left: 16px;
	padding-bottom: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.docs-skeleton-link-line {
	width: 188px;
	height: 14px;
	border-radius: 6px;
}

.docs-skeleton-link-line.short {
	width: 150px;
}

.docs-skeleton-card {
	pointer-events: none;
}

.docs-skeleton-card:hover {
	border-color: #E5E7EB;
	box-shadow: none;
}

.docs-skeleton-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
}

.docs-skeleton-card-title {
	width: 90%;
	height: 22px;
	border-radius: 6px;
}

.docs-skeleton-card-desc {
	width: 100%;
	height: 14px;
	border-radius: 6px;
}

.docs-skeleton-card-desc.short {
	width: 78%;
}

.docs-skeleton-card-link {
	width: 96px;
	height: 16px;
	border-radius: 6px;
	margin-top: 8px;
}

.docs-detail-skeleton-breadcrumb {
	width: 300px;
	height: 16px;
	border-radius: 6px;
}

.docs-detail-skeleton-title {
	width: 72%;
	max-width: 680px;
	height: 52px;
	border-radius: 10px;
}

.docs-skeleton-guide-list::before {
	background-image: none;
	background-color: transparent;
}

.docs-detail-skeleton-nav-line {
	width: 196px;
	height: 14px;
	border-radius: 6px;
}

.docs-detail-skeleton-nav-line.short {
	width: 152px;
}

.docs-skeleton-content p {
	margin: 0 0 16px 0;
}

.docs-detail-skeleton-line {
	width: 100%;
	height: 16px;
	border-radius: 6px;
}

.docs-detail-skeleton-line.mid {
	width: 86%;
}

.docs-detail-skeleton-line.short {
	width: 66%;
}

.docs-skeleton-related-list li {
	margin: 0 0 12px 0;
}

.docs-detail-skeleton-related-line {
	display: block;
	width: 100%;
	height: 56px;
	border-radius: 12px;
}

.docs-detail-skeleton-related-line.short {
	width: 76%;
}

/* Detail Page Styles */
.docs-detail-section {
	background-color: #ffffff;
}

.docs-detail-container {
	width: 100%;
	margin: 0 auto;
}

/* Breadcrumb */
.docs-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 32px;
	font-size: 14px;
	position: absolute;
	top: 150px;
	left: 20px;
	z-index: 100;
}

.docs-breadcrumb-link {
	color: #6B7280;
	text-decoration: none;
	transition: color 0.2s ease;
}

.docs-breadcrumb-link:hover {
	color: var(--sec-color);
}

.docs-breadcrumb-separator {
	color: #9CA3AF;
}

.docs-breadcrumb-current {
	color: #6B7280;
}

/* Detail Content Wrapper */
.docs-detail-content-wrapper {
	width: 1368px;
	margin: 60px auto;
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 48px;
	align-items: flex-start;

}

/* Detail Sidebar */
.docs-detail-sidebar {
	position: sticky;
	top: 100px;
	overflow-y: auto;
	/* 可以上下滚动，但不显示滚动条：scrollbar-width: none; */
	-ms-overflow-style: none;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.docs-guide-nav {
	margin-bottom: 32px;
}

.docs-guide-nav-title {
	font-size: 16px;
	font-weight: 600;
	color: #1F2937;
	margin: 0 0 16px 0;
	line-height: 1.3;
}

.docs-guide-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative;
	padding-left: 24px;
}

.docs-guide-nav-list::before {
	content: '';
	position: absolute;
	left: 11px;
	top: 12px;
	bottom: 12px;
	width: 2px;
	background-image: repeating-linear-gradient(to bottom,
			#D1D5DB 0px,
			#D1D5DB 4px,
			transparent 4px,
			transparent 8px);
	background-size: 2px 8px;
}

.docs-guide-nav-item {
	margin: 0;
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 4px 0;
}

.docs-guide-nav-item:not(:last-child) {
	margin-bottom: 8px;
}

.docs-guide-nav-circle {
	position: absolute;
	left: -18px;
	top: 6px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid var(--sec-color);
	background-color: #ffffff;
	flex-shrink: 0;
	z-index: 1;
	transition: all 0.2s ease;
}

.docs-guide-nav-circle.active {
	background-color: var(--sec-color);
	border-color: var(--sec-color);
}

.docs-guide-nav-link {
	font-size: 14px;
	color: var(--sec-color);
	text-decoration: none;
	line-height: 1.6;
	display: block;
	padding: 0;
	transition: color 0.2s ease, font-weight 0.2s ease;
	flex: 1;
}

.docs-guide-nav-link:hover {
	color: var(--main-color);
}

.docs-guide-nav-link.active {
	color: var(--sec-color);
	font-weight: 600;
}

/* Trial Box */
.docs-trial-box {
	background: linear-gradient(135deg, var(--sec-color) 0%, var(--main-color) 100%);
	border-radius: 12px;
	padding: 24px;
	color: #ffffff;
}

.docs-trial-box-title {
	font-size: 18px;
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.docs-trial-box-description {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
	margin: 0 0 20px 0;
}

.docs-trial-box-btn {
	display: inline-block;
	padding: 12px 24px;
	background-color: #ffffff;
	color: var(--sec-color);
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.docs-trial-box-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Detail Main Content */
.docs-detail-main {
	flex: 1;
}

.docs-detail-title {
	font-size: 36px;
	font-weight: 700;
	color: #1F2937;
	margin: 0 0 32px 0;
	line-height: 1.3;
}

.docs-detail-intro {
	margin-bottom: 48px;
}

.docs-detail-intro p {
	font-size: 16px;
	color: #374151;
	line-height: 1.8;
	margin: 0 0 16px 0;
}

.docs-detail-intro p:last-child {
	margin-bottom: 0;
}

.docs-detail-content {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.docs-detail-intro img,
.docs-detail-content img {
	max-width: 100% !important;
	height: auto !important;
	display: block;
}

.docs-detail-section {
	margin: 0;
}

.docs-detail-section-title {
	font-size: 24px;
	font-weight: 600;
	color: #1F2937;
	margin: 0 0 16px 0;
	line-height: 1.3;
}

.docs-detail-section>p {
	font-size: 16px;
	color: #374151;
	line-height: 1.8;
	margin: 0 0 24px 0;
}

.docs-detail-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: step-counter;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.docs-detail-step {
	counter-increment: step-counter;
	position: relative;
	padding-left: 40px;
}

.docs-detail-step::before {
	content: counter(step-counter);
	position: absolute;
	left: 0;
	top: 0;
	width: 28px;
	height: 28px;
	background-color: var(--sec-color);
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
}

.docs-detail-step-title {
	font-size: 18px;
	font-weight: 600;
	color: #1F2937;
	margin: 0 0 12px 0;
	line-height: 1.4;
}

.docs-detail-step-list {
	list-style: disc;
	margin: 0;
	padding-left: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.docs-detail-step-list li {
	font-size: 15px;
	color: #374151;
	line-height: 1.7;
}

.docs-detail-step-list code {
	background-color: #F3F4F6;
	padding: 2px 6px;
	border-radius: 4px;
	font-family: 'Courier New', monospace;
	font-size: 14px;
	color: #1F2937;
}

.docs-detail-code {
	background-color: #F9FAFB;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	padding: 16px;
	margin: 16px 0;
	overflow-x: auto;
}

.docs-detail-code code {
	font-family: 'Courier New', monospace;
	font-size: 14px;
	color: #1F2937;
	line-height: 1.6;
	white-space: pre;
}

/* Related Articles & Additional help */
.related-articles-section,
.have-additional-questions-section {
	padding: 40px 0 30px 0;
	background-color: #ffffff;
}

.related-articles-container,
.have-additional-questions-container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

.related-articles-header {
	margin-bottom: 20px;
}

.related-articles-header h2 {
	font-size: 22px;
	font-weight: 600;
	color: #0F172A;
	margin: 0 0 6px 0;
}

.related-articles-header p {
	font-size: 15px;
	color: #64748B;
	margin: 0;
}

.related-articles-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.related-articles-list li {
	margin: 0;
}

.related-article-link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 22px;
	border-radius: 12px;
	background-color: #ebf1ff;
	color: #0F172A;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.related-article-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
	background-color: #E1EBFF;
}

.related-article-title {
	font-size: 16px;
	font-weight: 600;
}

.related-article-meta {
	font-size: 13px;
	color: #577ACB;
}

.have-questions-card {
	display: flex;
	justify-content: space-between;
	gap: 32px;
	padding: 28px 32px;
	border-radius: 16px;
}

.have-questions-left,
.have-questions-right {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.have-questions-left h3,
.have-questions-right h4 {
	margin: 0;
	color: #0F172A;
	font-weight: 600;
}

.have-questions-left p,
.have-questions-right p {
	margin: 0;
	color: #475569;
	line-height: 1.6;
}

.have-questions-search {
	display: flex;
	gap: 12px;
}

.have-questions-search-input {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	background-color: #ffffff;
	border-radius: 12px;
	border: 1px solid #E2E8F0;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.have-questions-search-icon {
	font-size: 16px;
	color: #94A3B8;
}

.have-questions-search-input input {
	border: none;
	outline: none;
	font-size: 15px;
	color: #0F172A;
	width: 100%;
}

.have-questions-search-input input::placeholder {
	color: #94A3B8;
}

.have-questions-search-btn,
.have-questions-btn {
	padding: 12px 30px;
	border-radius: 12px;
	border: none;
	background-color: #2D5BFF;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 10px 25px rgba(45, 91, 255, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.have-questions-btn {
	align-self: flex-start;
	background: linear-gradient(135deg, #2D5BFF 0%, #5D89FF 100%);
}

.have-questions-search-btn:hover,
.have-questions-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(45, 91, 255, 0.3);
}

.have-questions-divider {
	width: 1px;
	background-color: rgba(148, 163, 184, 0.4);
}