.body-content {
	gap: 2rem;
	min-height: 80vh;
}

/* ═══════════════════════════════════════════════
   SHARED SECTION LAYOUT
═══════════════════════════════════════════════ */
.section-inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 100px 5%;
	width: 100%;
}

.section-heading {
	margin-bottom: 56px;
}

.section-label {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: 10px;
}

.section-title {
	font-size: clamp(28px, 5vw, 42px);
	font-weight: 800;
	letter-spacing: -0.3px;
	text-transform: uppercase;
	color: #1d1d1f;
	margin-bottom: 16px;
}

.section-intro {
	font-size: 16px;
	line-height: 1.75;
	color: var(--color-base);
	max-width: 620px;
	margin: 0;
}

.overview-content,
.how-to-use-content,
.packages-content {
	min-height: 40vh;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	overflow: hidden;
	/* background-color: var(--color-bg-elevated); */
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(0, 0, 0, 0.06) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
	background-size: 80px 80px, 80px 80px;
	background-position: 0 0, 0 0;
	background-repeat: repeat, repeat;
	mask-image: radial-gradient(ellipse 80% 85% at 50% 50%, black 35%, transparent 95%);
	-webkit-mask-image: radial-gradient(ellipse 80% 85% at 50% 50%, black 35%, transparent 95%);
}

/* Inner content */
.hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
	gap: 24px;
	padding: 60px 5% 80px;
}

/* Label */
.hero-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-primary);
}

/* Title */
.hero-title {
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -1px;
	text-transform: none;
	color: var(--color-text-primary);
	margin: 0;
	font-size: clamp(32px, 5vw, 48px);
}

.hero-title-large {
	font-weight: 800;
	font-size: clamp(52px, 9vw, 90px);
	letter-spacing: -2px;
	line-height: 1;
	display: block;
}

/* Subtitle */
.hero-subtitle {
	font-size: clamp(14px, 1.8vw, 15px);
	line-height: 1.7;
	color: var(--color-text-tertiary);
	margin: 0;
	max-width: 440px;
	font-weight: 400;
}

/* CTA actions — stacked vertically */
.hero-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-top: 8px;
}

/* Underlined text link */
.hero-link {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text-primary);
	text-decoration: underline;
	text-underline-offset: 4px;
	opacity: 1;
	transition: opacity 0.2s ease;
}

.hero-link:hover {
	opacity: 0.7;
}

.hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 8px;
	padding: 9px 16px;
	border: 1px solid var(--color-border-strong);
	background: var(--color-bg-elevated);
	color: var(--color-text-primary);
	transition: all 0.2s ease;
	text-decoration: none;
	opacity: 1;
}

.hero-btn:hover {
	border-color: var(--color-text-muted);
	box-shadow: 0 2px 12px var(--color-shadow);
	transform: translateY(-1px);
}

.hero-btn-primary {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}

.hero-btn-primary:hover {
	background: #0F6389;
	border-color: #0F6389;
	box-shadow: 0 4px 20px rgba(20, 122, 172, 0.35);
}


/* ═══════════════════════════════════════════════
   OVERVIEW
═══════════════════════════════════════════════ */
.overview-section {
	background: var(--color-bg);
}

.overview-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 60px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 100px 5%;
}

/* ── Left: text ── */
.overview-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.overview-title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.5px;
	color: var(--color-text-primary);
	margin: 0;
	text-transform: none;
}

.overview-highlight {
	background: rgba(20, 122, 172, 0.12);
	padding: 2px 8px;
	border-radius: 6px;
	color: var(--color-primary);
}

.overview-description {
	font-size: 15px;
	line-height: 1.7;
	color: var(--color-text-tertiary);
	margin: 0;
}

.overview-links {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.overview-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-bg-elevated);
	background: var(--color-text-primary);
	border: 1px solid var(--color-text-primary);
	border-radius: 8px;
	padding: 10px 20px;
	text-decoration: none;
	opacity: 1;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.overview-btn:hover {
	opacity: 0.85;
	transform: translateY(-1px);
}

.overview-btn-ghost {
	background: transparent;
	color: var(--color-text-primary);
	border: 1px solid var(--color-border-strong);
}

.overview-btn-ghost:hover {
	border-color: var(--color-text-muted);
	opacity: 1;
}

/* ── Right: image ── */
.overview-visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.overview-visual img {
	width: 100%;
	max-width: 500px;
	border-radius: 16px;
	border: 1px solid var(--color-border);
	box-shadow: 0 8px 40px var(--color-shadow-hover);
}

/* ── Responsive ── */
@media (max-width: 767px) {
	.overview-inner {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 56px 5%;
	}

	.overview-visual {
		order: -1;
	}

	.overview-visual img {
		max-width: 100%;
	}
}

/* ═══════════════════════════════════════════════
   HOW TO USE — STEPS
═══════════════════════════════════════════════ */
.how-to-use-section {
	padding-top: 0;

}

.how-to-use-section .section-inner {
	padding-left: 0;
	padding-right: 0;
}

.how-to-use-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5rem;
}

.hwt-use-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.25rem
}

.hwt-use-header .overview-title {
	max-width: 600px;
}

/* ── Timeline steps ── */
.steps {
	display: flex;
	flex-direction: column;
	/* gap: 1.5rem; */
	width: 100%;
	max-width: 640px;
}

.step-item {
	display: flex;
	gap: 24px;
	position: relative;
	padding-bottom: 1rem;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Dim siblings on hover */
.steps:hover .step-item {
	opacity: 0.4;
}

.steps .step-item:hover {
	opacity: 1;
	transform: translateX(4px);
}

/* Vertical connector line between markers */
.step-item:not(:last-child)::before {
	content: '';
	position: absolute;
	left: 19px;
	top: 44px;
	bottom: 0;
	width: 1px;
	background: linear-gradient(to bottom,
			var(--color-primary),
			transparent);
	opacity: .5;
}

/* Numbered circle */
.step-marker {
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.step-marker span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: .8rem;
	background: var(--color-primary);
	color: var(--color-bg-elevated);
	font-size: 15px;
	font-weight: 700;
}

.step-marker svg {
	width: 1.3rem;
	height: 1.3rem;
}


/* Card */
.step-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-bottom: 40px;
	flex: 1;
}

.step-item:last-child .step-card {
	padding-bottom: 0;
}

.step-card h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--color-text-primary);
	opacity: .7;
	margin: 0;
	padding-top: 8px;
}

.step-card p {
	font-size: 15px;
	line-height: 1.7;
	color: var(--color-text-tertiary);
	margin: 0;
}

.step-card p strong {
	color: var(--color-text-primary);
	font-weight: 600;
}

.step-card code {
	font-size: 13px;
	background: rgba(20, 122, 172, 0.08);
	color: var(--color-primary);
	border-radius: 4px;
	padding: 1px 6px;
}

.step-link {
	color: var(--color-primary) !important;
	font-weight: 500;
	border-bottom: none;
}

.step-link:hover {
	transition: all 0.2s ease;
	text-decoration: underline;
	font-weight: 600;
}


/* Card image */
.step-card-image {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--color-border);
	background: var(--color-bg-elevated);
}

.step-card-image img {
	display: block;
	width: 100%;
}


/* ─── How-to-use Responsive ─────────────────────── */
@media (max-width: 767px) {
	.step-item {
		gap: 16px;
	}

	.step-item:not(:last-child)::before {
		left: 15px;
		top: 36px;
	}

	.step-marker span {
		width: 32px;
		height: 32px;
		font-size: 13px;
	}

	.step-card h3 {
		font-size: 16px;
		padding-top: 5px;
	}

	.step-card {
		padding-bottom: 32px;
	}
}

/* ═══════════════════════════════════════════════
   PACKAGES SECTION
═══════════════════════════════════════════════ */
.packages-section {
	padding-top: 0;
}

.packages-section .section-inner {
	padding-top: 0;
}

.short-title {
	max-width: 500px;
}

/* ── Toolbar: filters + search ── */
.packages-toolbar {
	display: flex;
	gap: 12px;
	margin: 24px 0;
	flex-wrap: wrap;
	justify-content: space-between;
}

.search-input {
	flex: 1;
	padding: 12px 16px;
	border-radius: 10px;
	border: 1px solid #eee;
	font-size: 14px;
}

.filter-select {
	padding: 12px;
	border-radius: 10px;
	border: 1px solid #eee;
	background: #fff;
}


/* Group */
.package-group {
	min-height: 60dvh;
}

.package-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 16px;

}

.package-card {
	padding: 18px;
	border-radius: 8px;
	border: 1px dashed rgba(60, 60, 67, 0.1);
	background: #fff;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: .8rem;
}

.package-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	border-color: rgba(60, 60, 67, 0.2);
}

/* pkg card Body */
.pkg-card-body {
	flex-grow: 1;
}


.pkg-card-body-header {
	gap: 0;

	& h4 {
		font-size: .9rem;
		margin: 0;
	}
}

.pkg-card-body-license {
	display: flex;
	flex-direction: column;
	margin-bottom: .8rem;
}

.pkg-card-body-license span,
.pkg-card-body-license p {
	margin: 0;
}

.pkg-card-body-license span {
	font-size: .67rem;
	font-weight: 500;
	color: var(--color-base);
}

.pkg-card-body-license p a {
	color: var(--color-text-secondary);
	border: none;
	font-weight: 600;
	transition: all ease 0.15s;
	display: inline-flex;
	align-items: center;
	gap: .2rem;

	padding: 0;

	& svg {
		width: .85rem;
		height: .85rem;
	}
}

.pkg-card-body-license p a:hover {
	text-decoration: underline;
}

/* pkg card Header */
.package-card p {
	font-size: 13px;
	color: #666;
	margin-bottom: 12px;
}

.package-card button {
	background: var(--color-text-primary);
	color: var(--color-bg-elevated);
	border: none;
	padding: 8px 12px;
	border-radius: 8px;
	cursor: pointer;
}

/* ToolBar */

.pkg-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .4rem;
	background-color: #fff;
	box-shadow: 1px 1px 6px rgba(242, 242, 242, 0.425);
	margin-bottom: 32px;
	padding: .5rem .7rem;
	border-radius: .5rem;
	border: 1px solid var(--color-border);
	max-width: var(--container-xl);
}

/* search side */

.search-bar-container {
	width: 100%;
}

.pkg-toolbar .search-bar {
	display: flex;
	flex-grow: 1;
	align-items: center;
	gap: .5rem;
	padding-right: .2rem;
}

.search-bar-square {
	background-color: var(--color-bg);
	width: 1.4rem;
	height: 1.3rem;
	border-radius: 5px;
}

.pkg-toolbar .search-bar input {
	border: none;
	width: 100%;
	outline: none;
	font-size: .9rem;
	font-weight: 500;
	background: transparent;
}

#btn-clear-search {
	display: none;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	padding: 0;
	width: 1.4rem;
	height: 1.4rem;
	color: var(--color-text-tertiary, #666);
	cursor: pointer;
	border-radius: 4px;
	transition: color 0.15s ease, background-color 0.15s ease;
}

#btn-clear-search.visible {
	display: inline-flex;
}

#btn-clear-search:hover {
	color: var(--color-text-primary, #111);
	background-color: var(--color-bg, rgba(0, 0, 0, 0.05));
}

#btn-clear-search svg {
	width: 1rem;
	height: 1rem;
}

/* Filter Side */
.pkg-toolbar .filter-content {
	position: relative;
	display: flex;
	align-items: center;
	gap: .5rem;
}

.pkg-toolbar .filter-content button {
	display: flex;
	align-items: center;
	gap: 2px;
	border: none;
	border-radius: 8px;
	background-color: var(--color-bg);
	color: var(--color-text-tertiary);
	font-size: .85rem;
	padding: .4rem .6rem;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;

	& svg {
		width: 1.1rem;
		height: 1.1rem;
	}
}

.pkg-toolbar .filter-content button:hover {
	background-color: color-mix(in srgb, var(--color-text-primary) 4%, var(--color-bg));
	color: var(--color-text-secondary);
}

.filter-bar-square {
	border: 1px solid var(--color-border);
	padding: .5rem;
	border-radius: 5px;
	margin-right: .5rem;
}

/* Detail Filter */

.detail-container {
	font-size: .8rem;
	display: flex;
	align-items: center;
	gap: .7rem;

	& svg {
		width: 1.3rem;
		height: 1.3rem;
	}
}

.selected-package {
	display: flex;
	position: relative;
	;
	align-items: center;
	gap: .3rem;
}

.selected-package:after {
	content: " ";
	position: absolute;
	width: 9px;
	height: 80%;
	/* top: 0;
	bottom: 0; */
	right: -6px;
	border-right: 1.2px dashed #1a1c2e7b;
}

#selected-package-name {
	color: var(--color-primary);
	font-weight: 700;
}

.pkg-search-section {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
}

/* ── Filter Dropdown ── */
.pkg-filter-dropdown {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.filter-modal {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	min-width: 190px;
	background: #fff;
	border: 1px solid rgba(60, 60, 67, 0.12);
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(60, 60, 67, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.2s ease;
	margin-top: 8px;
	padding: 0 .2rem;
}

.filter-modal.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.filter-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .5rem 10px;
	border-bottom: 1px dashed rgba(60, 60, 67, 0.1);
}

.filter-modal-header h4 {
	font-size: .8rem;
	font-weight: 500;
	color: #1d1d1f;
	margin: 0;
}

.filter-modal-close {
	background-color: transparent !important;
	border: none;
	display: none;
}

.filter-modal-content {
	display: flex;
	flex-wrap: wrap;
	gap: .7rem;
	max-height: 300px;
	overflow-y: auto;
	padding: .7rem .5rem;
}

.filter-option {
	cursor: pointer;
	padding: 6px 12px;
	border-radius: 8px;
	transition: background 0.2s ease, color 0.2s ease;
}

.filter-option:hover {
	background: rgba(20, 122, 172, 0.06);
}

.filter-option.active {
	background: var(--color-primary);
	color: #fff;
}

.filter-option.active .filter-label {
	color: #fff;
}

.package-grid.hidden,
.package-card.hidden {
	display: none;
}

/* ── Filter Labels ── */
.filter-labs-content {
	align-items: start;
	flex-wrap: wrap;
}

.filter-label {
	font-size: .75rem;
	border: 1px solid var(--color-border);
	padding: .4rem;
	border-radius: 5px;
	font-weight: 500;
	transition: all 0.15s ease;
	cursor: pointer;
	opacity: .6;
}

.filter-label:hover {
	background-color: var(--color-primary-light);
	opacity: 1;
	font-weight: 700;
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.filter-label.active {
	opacity: 1;
	font-weight: 700;
	background-color: var(--color-primary-light);
	color: var(--color-primary);
	border: 1px dashed var(--color-primary);
}

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.8);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.pkg-list-content {
	max-width: 850px;
	margin: 0 auto
}

.pkg-filters {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pkg-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 500;
	color: var(--color-base);
	background: #fff;
	border: 1px solid rgba(117, 121, 143, 0.2);
	border-radius: 8px;
	padding: 7px 14px;
	cursor: pointer;
	transition: all 0.18s ease;
}

.pkg-filter-btn:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.pkg-filter-btn.active {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
	box-shadow: 0 3px 12px rgba(20, 122, 172, 0.3);
}

.pkg-filter-count {
	font-size: 11px;
	font-weight: 700;
	background: rgba(60, 60, 67, 0.12);
	border-radius: 20px;
	padding: 1px 7px;
	line-height: 18px;
}

.pkg-filter-btn.active .pkg-filter-count {
	background: rgba(255, 255, 255, 0.25);
}

.pkg-search-wrap {
	display: flex;
	align-items: center;
	gap: 9px;
	background: #fff;
	border: 1px solid rgba(117, 121, 143, 0.2);
	border-radius: 6px;
	padding: 8px 14px;
	min-width: 300px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pkg-search-wrap:focus-within {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(20, 122, 172, 0.12);
}

.pkg-search-wrap svg {
	flex-shrink: 0;
	color: var(--color-base);
}

.pkg-search {
	border: none;
	outline: none;
	background: transparent;
	font-size: 13px;
	color: #1d1d1f;
	width: 100%;
}

.pkg-search::placeholder {
	color: rgba(117, 121, 143, 0.6);
}

/* ── No result ── */
.pkg-no-result {
	text-align: center;
	color: var(--color-base);
	font-size: 15px;
	padding: 48px 0;
}

/* ═══════════════════════════════════════════════
   PACKAGE CARD — Light theme (on light section bg)
═══════════════════════════════════════════════ */
.pkg-card {
	background: #fff;
	border: 1px solid rgba(60, 60, 67, 0.1);
	border-radius: 14px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.pkg-card:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	border-color: rgba(60, 60, 67, 0.2);
	transform: translateY(-3px);
}

/* ── Top bar: avatar + status + ext link ── */
.pkg-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.pkg-card-logo {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--color-bg, #f4f4f4);
	border: 1px solid var(--color-border);
	color: var(--color-text-secondary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	text-transform: uppercase;
}

.pkg-card-top-right {
	display: flex;
	align-items: center;
	gap: 7px;
}

/* ── Status badge ── */
.pkg-status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.07em;
	border-radius: 100px;
	padding: 3px 9px;
	border: 1px solid;
	white-space: nowrap;
}

.pkg-status--live {
	color: #34c759;
	border-color: rgba(52, 199, 89, 0.4);
	background: rgba(52, 199, 89, 0.08);
}

.pkg-status--soon {
	color: #f5a623;
	border-color: rgba(245, 166, 35, 0.4);
	background: rgba(245, 166, 35, 0.08);
}

.pkg-status-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
}

.pkg-status--live .pkg-status-dot {
	animation: pulse 2s ease-in-out infinite;
}

/* ── Name + composer ── */




/* ── Tags ── */

.pkg-card-license {
	display: inline-flex;
	align-items: flex-start;
	gap: 5px;
	font-size: 11px;
	font-weight: 500;
	color: var(--color-text-muted);
	margin: 0;
	line-height: 1;
}

.pkg-card-license div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pkg-card-license svg {
	flex-shrink: 0;
	opacity: .6;
	width: 1.2rem;
	height: 1.2rem;
	color: var(--color-primary) !important;
}

.pkg-card-license a {
	color: inherit;
	text-decoration: none;
	border: none;
	opacity: 1;
	transition: color 0.15s ease;
}

.pkg-card-license a:hover {
	color: var(--color-text-primary);
	text-decoration: underline;
}

.pkg-tag-version {
	background: rgba(184, 185, 187, 0.08);
	color: var(--color-base);
	border: 1px solid rgba(211, 211, 212, 0.12);
	border-radius: 5px;
	padding: 0 .5rem;
	font-weight: 600;
	opacity: .7;
	font-size: .75rem !important;
}


.pkg-composer {
	font-size: .75rem !important;
	display: inline-block;
	border-radius: 7px;
	font-weight: 500;
}

/* ── Footer: download + toggle ── */
.pkg-card-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px dashed rgba(60, 60, 67, 0.08);
	margin-top: auto;
}

.pkg-download {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--color-text-secondary);
	background: var(--color-bg, #f4f4f4);
	border: 1px solid var(--color-border-strong);
	border-radius: 5px;
	padding: 4px 14px;
	text-decoration: none;
	transition: all 0.18s ease;
}

.pkg-download svg {
	width: 14px;
	height: 14px;
}

.package-card:hover .pkg-download {
	background: var(--color-primary-light);
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.pkg-no-download {
	font-size: 12px;
	color: #8892a0;
	font-style: italic;
}

/* ─── Hero Dark mode ─────────────────────────────── */

:root.dark {

	.hero::before {
		background-image:
			linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
			linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	}

	/* Overview */
	.overview-section {
		background: var(--color-bg);
	}

	/* how to use */
	.step-marker svg {
		color: white;
	}

	.step-card-image {
		opacity: .9;
	}

	.pkg-toolbar {
		background: rgba(255, 255, 255, 0.03);
		border-color: rgba(255, 255, 255, 0.07);
		box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
		color: wheat;
	}

	.search-bar input {
		background-color: transparent;
		color: white;
	}

	.search-bar-square {
		background: rgba(255, 255, 255, 0.03);
		border: 1px solid rgba(255, 255, 255, 0.07);
	}

	.search-bar input::placeholder {
		color: rgba(255, 255, 255, 0.594) !important;
	}

	.filter-content button {
		color: white !important;
	}

	/* Filter Modal */
	.filter-modal {
		background: var(--color-bg-elevated);
		border-color: var(--color-border-strong);
		box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
		color: white;
	}

	.filter-modal-header {
		border-bottom-color: var(--color-border);
	}

	.filter-modal-header h4 {
		color: var(--color-text-primary);
	}

	.filter-label {
		border-color: var(--color-border);
		color: var(--color-text-secondary);
	}

	.detail-container svg,
	#selected-package-count {
		color: white;
	}

	.package-card {
		background-color: var(--color-bg-elevated);
		border-color: rgba(255, 255, 255, 0.08);
		color: var(--color-text-primary);
	}

	.package-card:hover {
		box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
		border-color: rgba(255, 255, 255, 0.15);
	}

	.pkg-card {
		background: var(--color-bg-elevated);
		border-color: rgba(255, 255, 255, 0.08);
	}

	.pkg-card:hover {
		box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
		border-color: rgba(255, 255, 255, 0.15);
	}

	.pkg-card-logo {
		background: rgba(255, 255, 255, 0.06);
		border-color: rgba(255, 255, 255, 0.1);
	}


	.pkg-tag-version {
		color: var(--color-text-secondary);
	}

	.pkg-card-license {
		color: var(--color-text-muted);
	}

	.pkg-card-license a:hover {
		color: var(--color-text-primary);
	}

	.pkg-card-footer {
		border-color: rgba(255, 255, 255, 0.07);
	}

	.pkg-download,
	.pkg-card-dl {
		color: var(--color-text-secondary);
		background: rgba(255, 255, 255, 0.06);
		border-color: rgba(255, 255, 255, 0.12);
	}

	.package-card:hover .pkg-download,
	.pkg-card:hover .pkg-card-dl {
		background: var(--color-primary-light);
		color: var(--color-primary);
		border-color: var(--color-primary);
	}

	.pkg-card-toggle {
		border-color: rgba(255, 255, 255, 0.1);
		background: rgba(255, 255, 255, 0.05);
		color: var(--color-text-tertiary);
	}

	.pkg-card-toggle:hover {
		border-color: rgba(255, 255, 255, 0.2);
		color: var(--color-text-primary);
	}

	/* ─── Footer Dark Mode ───────────────────────────── */
	#footer {
		border-top-color: var(--color-border);
	}

}