/* =========================================================================
   SEO Landing Pages Styling
   Reuses main theme design system and extends only where necessary.
   ========================================================================= */

/* -------------------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------------------- */
.np-seo-hero {
	padding-block: 44px 60px;
}

.np-seo-hero__content {
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
}

.np-seo-hero__title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 0.75em;
	color: var(--np-black);
}

.np-seo-hero__intro {
	font-size: var(--np-text);
	line-height: 1.6;
	color: var(--np-grey-600);
	margin-bottom: 1.5em;
}

.np-seo-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* -------------------------------------------------------------------------
   Product Grid
   ------------------------------------------------------------------------- */
.np-seo-product-grid {
	padding-block: 44px;
}

.np-seo-product-grid__wrapper {
	margin-top: 24px;
}

.np-seo-product-grid .products {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

/* -------------------------------------------------------------------------
   Category Cards
   ------------------------------------------------------------------------- */
.np-seo-category-cards {
	padding-block: 44px;
	background: var(--np-grey-50);
}

.np-seo-category-cards__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 24px;
}

.np-seo-category-card {
	display: block;
	text-decoration: none;
	background: var(--np-white);
	border: var(--np-border);
	border-radius: var(--np-radius-m);
	padding: 24px;
	transition: all 0.2s ease;
}

.np-seo-category-card:hover {
	border-color: var(--np-yellow);
	box-shadow: 0 4px 16px rgba(255, 196, 0, 0.12);
}

.np-seo-category-card__inner {
	text-align: center;
}

.np-seo-category-card__title {
	font-size: var(--np-text);
	font-weight: 700;
	color: var(--np-black);
	margin: 0 0 8px;
}

.np-seo-category-card__count {
	font-size: var(--np-text-s);
	color: var(--np-grey-600);
	margin: 0;
}

/* -------------------------------------------------------------------------
   FAQ Accordion
   ------------------------------------------------------------------------- */
.np-seo-faq {
	padding-block: 44px;
}

.np-seo-faq__list {
	max-width: 720px;
	margin-top: 24px;
}

.np-seo-faq__item {
	border-bottom: var(--np-border);
	padding-block: 16px;
}

.np-seo-faq__item:first-child {
	border-top: var(--np-border);
}

.np-seo-faq__question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: var(--np-text);
	font-weight: 600;
	color: var(--np-black);
	cursor: pointer;
	padding: 8px 0;
	list-style: none;
	user-select: none;
}

.np-seo-faq__question::-webkit-details-marker {
	display: none;
}

.np-seo-faq__question:hover {
	color: var(--np-yellow-dark);
}

.np-seo-faq__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: var(--np-yellow);
	font-weight: 700;
	font-size: 1.2em;
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.np-seo-faq__item[open] .np-seo-faq__icon {
	transform: rotate(45deg);
}

.np-seo-faq__answer {
	font-size: var(--np-text-s);
	line-height: 1.6;
	color: var(--np-grey-600);
	margin-top: 12px;
	padding-block: 8px 0;
}

.np-seo-faq__answer p {
	margin: 0.75em 0;
}

/* -------------------------------------------------------------------------
   Prose / Content Sections
   ========================================================================= */
.np-seo-prose {
	font-size: var(--np-text);
	line-height: 1.7;
	color: var(--np-grey-600);
}

.np-seo-prose h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--np-black);
	margin: 1.5em 0 0.5em;
}

.np-seo-prose h3 {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--np-black);
	margin: 1.25em 0 0.5em;
}

.np-seo-prose p {
	margin: 0.75em 0;
}

.np-seo-prose ul,
.np-seo-prose ol {
	margin: 0.75em 0;
	padding-left: 1.5em;
}

.np-seo-prose li {
	margin: 0.375em 0;
}

.np-seo-prose a {
	color: var(--np-yellow-dark);
	text-decoration: underline;
}

.np-seo-prose a:hover {
	color: var(--np-black);
}

/* -------------------------------------------------------------------------
   CTA Section
   ========================================================================= */
.np-seo-cta {
	padding-block: 44px;
	background: var(--np-grey-50);
	text-align: center;
}

.np-seo-cta__content {
	max-width: 600px;
	margin-inline: auto;
}

.np-seo-cta__heading {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--np-black);
	margin-bottom: 0.75em;
}

.np-seo-cta__text {
	font-size: var(--np-text);
	color: var(--np-grey-600);
	margin-bottom: 1.5em;
}

/* -------------------------------------------------------------------------
   Responsive
   ========================================================================= */
@media (max-width: 768px) {
	.np-seo-hero {
		padding-block: 32px 44px;
	}

	.np-seo-hero__title {
		font-size: 1.5rem;
	}

	.np-seo-hero__actions {
		gap: 8px;
	}

	.np-seo-hero__actions .np-btn {
		font-size: var(--np-text-xs);
		padding: 10px 18px;
	}

	.np-seo-product-grid .products {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 16px;
	}

	.np-seo-category-cards__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.np-seo-prose h2 {
		font-size: 1.25rem;
	}

	.np-seo-prose h3 {
		font-size: 1rem;
	}

	.np-seo-cta__heading {
		font-size: 1.25rem;
	}
}

@media (max-width: 480px) {
	.np-seo-hero {
		padding-block: 24px 32px;
	}

	.np-seo-hero__title {
		font-size: 1.25rem;
	}

	.np-seo-hero__intro {
		font-size: var(--np-text-s);
	}

	.np-seo-hero__actions {
		flex-direction: column;
		gap: 8px;
	}

	.np-seo-hero__actions .np-btn {
		width: 100%;
	}

	.np-seo-product-grid .products {
		grid-template-columns: repeat(2, 1fr);
	}

	.np-seo-category-cards__grid {
		grid-template-columns: 1fr;
	}

	.np-seo-category-card {
		padding: 16px;
	}

	.np-section {
		padding-block: 32px;
	}
}
