/* Plugin Single Styles */

/* Hero */
.hp-plugin-hero {
	padding: 80px 0 60px;
	background: var(--h-color-surface);
	border-bottom: 1px solid var(--h-color-border-subtle);
}

.hp-plugin-hero__inner {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hp-plugin-hero__icon {
	width: 120px;
	height: 120px;
	border-radius: 24px;
	overflow: hidden;
	margin-bottom: 24px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--h-color-border-subtle);
}

.hp-plugin-hero__icon img {
	max-width: 80%;
	max-height: 80%;
	object-fit: contain;
}

.hp-plugin-hero__title {
	font-size: 48px;
	font-weight: 800;
	color: var(--h-color-heading);
	margin-bottom: 16px;
	line-height: 1.1;
}

.hp-badge--version {
	background: var(--h-color-surface-alt);
	color: var(--h-color-text-secondary);
	border: 1px solid var(--h-color-border-subtle);
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 24px;
}

.hp-plugin-hero__desc {
	font-size: 22px;
	color: var(--h-color-text-secondary);
	line-height: 1.6;
	margin-bottom: 40px;
}

.hp-plugin-hero__actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
}

/* Body Layout */
.hp-plugin-body-section {
	padding: 80px 0;
}

.hp-plugin-body-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 60px;
}

@media (min-width: 992px) {
	.hp-plugin-body-grid {
		grid-template-columns: 320px 1fr;
		align-items: start;
	}
}

/* Sidebar Meta */
.hp-plugin-meta-card {
	background: var(--h-color-surface);
	border: 1px solid var(--h-color-border-subtle);
	border-radius: 16px;
	padding: 32px;
	position: sticky;
	top: 100px;
}

.hp-plugin-meta-heading {
	font-size: 18px;
	font-weight: 700;
	color: var(--h-color-heading);
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--h-color-surface-alt);
}

.hp-plugin-meta-item {
	margin-bottom: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.hp-plugin-meta-label {
	font-size: 14px;
	font-weight: 500;
	color: var(--h-color-text-tertiary);
}

.hp-plugin-meta-value {
	font-size: 14px;
	color: var(--h-color-heading);
	font-weight: 600;
}

.hp-plugin-meta-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Content Narrative */
.hp-plugin-section {
	margin-bottom: 60px;
}

.hp-plugin-section h2 {
	font-size: 32px;
	font-weight: 700;
	color: var(--h-color-heading);
	margin-bottom: 24px;
	position: relative;
	padding-bottom: 16px;
}

.hp-plugin-section h2::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: var(--h-color-primary);
	border-radius: 2px;
}

.hp-plugin-section-content {
	font-size: 18px;
	line-height: 1.8;
	color: var(--h-color-text);
}

.hp-plugin-section-content p {
	margin-bottom: 24px;
}

.hp-plugin-features-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hp-plugin-features-list li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 16px;
	font-size: 18px;
}

.hp-plugin-features-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--h-color-primary);
	font-weight: 700;
}

/* CTA */
.hp-plugin-cta-section {
	padding: 100px 0;
	background: var(--h-color-surface-alt);
	border-top: 1px solid var(--h-color-border-subtle);
}

.hp-plugin-cta-box {
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
}

.hp-plugin-cta-title {
	font-size: 36px;
	font-weight: 700;
	color: var(--h-color-heading);
	margin-bottom: 16px;
}

.hp-plugin-cta-desc {
	font-size: 18px;
	color: var(--h-color-text-secondary);
	margin-bottom: 32px;
}

/* v1.7: brand icon fills its tile, pills row, hero screenshot, features list, mobile */
.hp-plugin-hero__icon { padding: 0; }
.hp-plugin-hero__icon img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: cover; }
.hp-plugin-hero__pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.hp-plugin-hero__pills .hp-badge--version { margin-bottom: 0; }
.hp-plugin-hero__shot { max-width: 1100px; margin: 48px auto 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--h-color-border-subtle); box-shadow: 0 30px 70px -30px rgba(15, 23, 42, .35); background: #fff; }
.hp-plugin-hero__shot img { display: block; width: 100%; height: auto; }
.hp-plugin-features-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hp-plugin-features-list li { position: relative; padding-left: 30px; line-height: 1.6; }
.hp-plugin-features-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--h-color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hp-plugin-hero .hp-page-hero__crumbs { margin-bottom: 28px; }
@media (max-width: 767px) {
	.hp-plugin-hero { padding: 48px 0 40px; }
	.hp-plugin-hero__title { font-size: 34px; }
	.hp-plugin-hero__desc { font-size: 18px; margin-bottom: 28px; }
	.hp-plugin-hero__shot { margin-top: 32px; border-radius: 10px; }
	.hp-plugin-body-section { padding: 48px 0; }
}
@media (max-width: 480px) {
	.hp-plugin-hero .hp-container, .hp-plugin-body-section .hp-container, .hp-plugin-cta-section .hp-container { padding-left: 20px; padding-right: 20px; }
}
