/* Sales page specific styles */
.kit-sales-page { padding-bottom: 4rem; }

.kit-sticky-cta {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: var(--systemdr-navy);
	color: var(--systemdr-white);
	padding: 0.75rem 0;
	z-index: 200;
	transform: translateY(-100%);
	transition: transform 0.3s;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.kit-sticky-cta.is-visible { transform: translateY(0); }

.kit-sticky-cta .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.kit-sticky-cta-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.kit-sticky-cta-price { font-weight: 700; color: var(--systemdr-gold-light); white-space: nowrap; }

.kit-hero {
	padding: 3rem 0 4rem;
	background: linear-gradient(180deg, var(--systemdr-white) 0%, var(--systemdr-cream) 100%);
}

.kit-hero .container { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }

.kit-hero-content h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin: 0 0 0.75rem; }

.kit-hero-role {
	display: inline-block;
	background: var(--systemdr-gold-light);
	color: var(--systemdr-navy);
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.kit-hero-sub { font-size: 1.125rem; color: var(--systemdr-text-gray); margin-bottom: 1.5rem; max-width: 560px; }

.kit-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }

.kit-trust-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	font-size: 0.875rem;
	color: var(--systemdr-text-gray);
}

.kit-trust-row span { display: flex; align-items: center; gap: 0.375rem; }
.kit-trust-row .check { color: var(--systemdr-success-green); font-weight: 700; }

.kit-hero-logo img { max-width: 180px; border-radius: var(--radius); box-shadow: var(--shadow); }

.sales-section {
	padding: 3.5rem 0;
	border-bottom: 1px solid var(--systemdr-border);
}

.sales-section:nth-child(even) { background: var(--systemdr-white); }

.sales-section h2 { font-size: 1.75rem; margin: 0 0 1.5rem; }

/* Value stack */
.value-stack {
	background: var(--systemdr-white);
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow);
	max-width: 640px;
}

.value-stack-item {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--systemdr-border);
}

.value-stack-item:last-of-type { border-bottom: none; }

.value-stack-item-name {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
}

.value-stack-item-name .check { color: var(--systemdr-success-green); font-weight: 700; flex-shrink: 0; }

.value-stack-item-value { font-weight: 600; color: var(--systemdr-text-gray); white-space: nowrap; }

.value-stack-total {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 2px solid var(--systemdr-gold);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.value-stack-total-strike { text-decoration: line-through; color: var(--systemdr-text-gray); font-size: 1.125rem; }
.value-stack-total-price { font-size: 1.5rem; font-weight: 700; color: var(--systemdr-navy); }

.planned-contents { list-style: none; padding: 0; margin: 0; }
.planned-contents li { padding: 0.5rem 0; border-bottom: 1px solid var(--systemdr-border); }

/* Social proof */
.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
}

.testimonial-card {
	background: var(--systemdr-white);
	padding: 1.5rem;
	border-radius: var(--radius);
	border-left: 4px solid var(--systemdr-gold);
	box-shadow: var(--shadow);
}

.testimonial-quote { font-style: italic; margin: 0 0 1rem; }
.testimonial-author { font-size: 0.875rem; color: var(--systemdr-text-gray); }
.testimonial-stars { color: var(--systemdr-gold); margin-bottom: 0.5rem; }

/* Module TOC */
.module-toc { list-style: none; padding: 0; margin: 0; }

.module-item {
	border: 1px solid var(--systemdr-border);
	border-radius: var(--radius);
	margin-bottom: 0.75rem;
	overflow: hidden;
	background: var(--systemdr-white);
}

.module-item-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	cursor: pointer;
}

.module-item-header h3 { margin: 0; font-size: 1.0625rem; }

.module-lock { color: var(--systemdr-text-gray); font-size: 0.875rem; }

.module-item-teaser {
	padding: 0 1.25rem 1rem;
	color: var(--systemdr-text-gray);
	font-size: 0.9375rem;
}

.module-item-content {
	padding: 0 1.25rem 1.25rem;
	border-top: 1px solid var(--systemdr-border);
}

.module-item-content .markdown-body { padding-top: 1rem; }

.sample-badge {
	background: var(--systemdr-success-green);
	color: white;
	font-size: 0.6875rem;
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	font-weight: 600;
}

/* Diagram gallery */
.diagram-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1rem;
}

.diagram-thumb {
	position: relative;
	background: var(--systemdr-white);
	border-radius: var(--radius);
	padding: 1rem;
	border: 1px solid var(--systemdr-border);
	text-align: center;
}

.diagram-thumb img { max-height: 120px; object-fit: contain; }
.diagram-thumb-title { font-size: 0.8125rem; margin-top: 0.5rem; color: var(--systemdr-text-gray); }

.diagram-more-overlay {
	position: absolute;
	inset: 0;
	background: rgba(27, 42, 74, 0.85);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius);
	font-weight: 600;
}

/* Comparison table */
.comparison-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--systemdr-white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.comparison-table th, .comparison-table td {
	padding: 1rem;
	text-align: left;
	border-bottom: 1px solid var(--systemdr-border);
}

.comparison-table th { background: var(--systemdr-navy); color: white; }
.comparison-table .highlight { background: rgba(201, 162, 39, 0.1); font-weight: 600; }

/* Guarantee */
.guarantee-block {
	text-align: center;
	max-width: 560px;
	margin: 0 auto;
	padding: 2.5rem;
	background: var(--systemdr-white);
	border-radius: var(--radius);
	border: 2px solid var(--systemdr-gold);
	box-shadow: var(--shadow);
}

.guarantee-seal {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--systemdr-gold-light);
	color: var(--systemdr-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	margin: 0 auto 1rem;
	font-weight: 700;
}

/* FAQ */
.faq-list { max-width: 720px; }

.faq-item {
	border: 1px solid var(--systemdr-border);
	border-radius: var(--radius);
	margin-bottom: 0.5rem;
	background: var(--systemdr-white);
	overflow: hidden;
}

.faq-question {
	padding: 1rem 1.25rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0;
	font-size: 1rem;
}

.faq-question h3 { margin: 0; font-size: 1rem; font-weight: 600; }

.faq-answer {
	padding: 0 1.25rem 1rem;
	color: var(--systemdr-text-gray);
	display: none;
}

.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-toggle { transform: rotate(180deg); }

/* Breadcrumbs */
.kit-breadcrumbs {
	padding: 1rem 0;
	font-size: 0.875rem;
	color: var(--systemdr-text-gray);
}

.kit-breadcrumbs a { color: var(--systemdr-navy-light); text-decoration: none; }
.kit-breadcrumbs a:hover { color: var(--systemdr-gold); }

/* Final CTA */
.final-cta {
	text-align: center;
	padding: 4rem 0;
	background: var(--systemdr-navy);
	color: white;
}

.final-cta h2 { color: white; margin-bottom: 1rem; }
.final-cta p { opacity: 0.9; margin-bottom: 1.5rem; }

/* Markdown body */
.markdown-body h1, .markdown-body h2, .markdown-body h3 { margin-top: 1.5rem; }
.markdown-body pre { background: #f4f4f4; padding: 1rem; overflow-x: auto; border-radius: var(--radius); }
.markdown-body code { background: #f4f4f4; padding: 0.125rem 0.375rem; border-radius: 3px; font-size: 0.875em; }

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.9);
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	color: white;
	font-size: 2rem;
	cursor: pointer;
	background: none;
	border: none;
}

@media (max-width: 768px) {
	.kit-hero .container { grid-template-columns: 1fr; }
	.kit-hero-logo { text-align: center; }
	.kit-sticky-cta .container { flex-wrap: wrap; }
	.kit-sticky-cta-title { max-width: 60%; }
	.value-stack-item { flex-direction: column; }
}

@media (max-width: 375px) {
	.kit-sticky-cta .container { flex-direction: column; text-align: center; }
	.kit-sticky-cta-title { max-width: 100%; }
}
