/* Ninja AI — theme styles (zinc/red dark design) */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* ---------- Sticky header ---------- */
header.wp-block-template-part,
.na-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(9, 9, 11, .85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, .05);
}
body.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar header.wp-block-template-part { top: 46px; }
}

.na-header-inner {
	max-width: 72rem;
	margin: 0 auto;
	padding: .75rem 1.5rem;
	min-height: 4rem;
}
.na-header-right { gap: 2rem; }

.na-brand {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-weight: 700;
	font-size: 1.125rem;
	letter-spacing: -.025em;
	color: #f4f4f5;
	text-decoration: none;
}
.na-brand:hover { color: #f4f4f5; }
.na-brand .na-brand-mark {
	display: inline-flex;
	height: 2rem;
	width: 2rem;
	align-items: center;
	justify-content: center;
	border-radius: .375rem;
	background: #dc2626;
	color: #fff;
}
.na-brand .na-brand-mark svg { width: 1rem; height: 1rem; }
.na-accent { color: #ef4444; }

/* Navigation block */
.na-nav { font-size: .875rem; }
.na-nav .wp-block-navigation-item__content { color: #a1a1aa; }
.na-nav .wp-block-navigation-item__content:hover { color: #fff; }
.na-nav .wp-block-navigation__container { gap: 2rem; }
.na-nav .wp-block-navigation__responsive-container-open,
.na-nav .wp-block-navigation__responsive-container-close { color: #d4d4d8; }
.na-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding-top: 6rem;
}
.na-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: #d4d4d8;
	font-size: 1.125rem;
}

/* ---------- Buttons ---------- */
.wp-block-button__link {
	padding: .875rem 2rem;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.na-btn-sm .wp-block-button__link { padding: .5rem 1rem; font-size: .875rem; }
.na-btn-ghost .wp-block-button__link {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .1);
	color: #d4d4d8;
}
.na-btn-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, .05);
	color: #fff;
}

/* ---------- Sections ---------- */
.na-section {
	padding-top: 6rem;
	padding-bottom: 6rem;
	border-top: 1px solid rgba(255, 255, 255, .05);
}
.na-section > * { margin-block-start: 0; }
.na-tinted { background: rgba(24, 24, 27, .3); }

.na-eyebrow {
	color: #ef4444;
	font-size: .875rem;
	font-weight: 500;
	letter-spacing: .025em;
	text-transform: uppercase;
}
.na-section h2 { margin-top: .5rem; font-size: 2.25rem; }
@media (max-width: 640px) { .na-section h2 { font-size: 1.875rem; } }
/* !important needed: constrained layout centers max-width children with margin auto !important */
.na-sec-desc { margin-top: 1rem; color: #a1a1aa; max-width: 42rem; margin-left: 0 !important; margin-right: 0 !important; }

/* ---------- Hero ---------- */
.na-hero {
	position: relative;
	padding-top: 6rem;
	padding-bottom: 6rem;
	border-top: 0;
	overflow: hidden;
	text-align: center;
}
.na-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at top, rgba(220, 38, 38, .12), transparent 60%);
	pointer-events: none;
}
.na-hero > * { position: relative; margin-block-start: 0; }
.na-badge {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, .1);
	background: rgba(255, 255, 255, .05);
	padding: .375rem 1rem;
	font-size: .75rem;
	color: #a1a1aa;
	margin-bottom: 2rem;
}
.na-badge::before {
	content: "";
	height: .375rem;
	width: .375rem;
	border-radius: 9999px;
	background: #ef4444;
	flex-shrink: 0;
}
.na-h1 { font-size: 3.75rem; line-height: 1.1; max-width: 56rem; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .na-h1 { font-size: 2.25rem; } }
.na-dim { display: block; color: #71717a; }
.na-lead {
	margin-top: 1.5rem;
	font-size: 1.125rem;
	color: #a1a1aa;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}
.na-ctas { margin-top: 2.5rem; gap: 1rem; }

/* Industry / inline check row */
.na-industries {
	margin-top: 3.5rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 2rem;
	row-gap: .75rem;
	font-size: .875rem;
	color: #71717a;
}
.na-industries span { display: inline-flex; align-items: center; gap: .5rem; }
.na-industries span::before {
	content: "";
	width: .875rem;
	height: .875rem;
	flex-shrink: 0;
	background: #dc2626;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Sub-page hero ---------- */
.na-page-hero {
	position: relative;
	padding-top: 5rem;
	padding-bottom: 4rem;
	border-top: 0;
	overflow: hidden;
	text-align: center;
}
.na-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at top, rgba(220, 38, 38, .12), transparent 60%);
	pointer-events: none;
}
.na-page-hero > * { position: relative; margin-block-start: 0; }
.na-page-hero h1 { font-size: 3rem; line-height: 1.1; }
@media (max-width: 640px) { .na-page-hero h1 { font-size: 2rem; } }
.na-page-hero .na-lead { margin-top: 1.25rem; }

/* ---------- Grids ---------- */
.na-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .na-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .na-grid { grid-template-columns: repeat(3, 1fr); } }
.na-grid-3 { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .na-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.na-steps { margin-top: 3rem; display: grid; gap: 2rem; }
@media (min-width: 640px) { .na-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .na-steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Product cards ---------- */
.na-card {
	border-radius: .75rem;
	border: 1px solid rgba(255, 255, 255, .1);
	background: rgba(24, 24, 27, .5);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	transition: border-color .15s ease;
}
.na-card:hover { border-color: rgba(220, 38, 38, .4); }
.na-card > * { margin-block-start: 0; }
.na-card-icon {
	display: flex;
	height: 2.75rem;
	width: 2.75rem;
	align-items: center;
	justify-content: center;
	border-radius: .5rem;
	background: rgba(220, 38, 38, .1);
	color: #ef4444;
	margin-bottom: 1.25rem;
}
.na-card-icon svg { width: 1.25rem; height: 1.25rem; }
.na-card h3 { font-size: 1.125rem; font-weight: 600; }
.na-tagline { font-size: .875rem; color: rgba(248, 113, 113, .8); margin-bottom: .75rem; }
.na-desc { font-size: .875rem; color: #a1a1aa; line-height: 1.625; }
.na-price {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, .05);
	font-size: .875rem;
	font-weight: 500;
	color: #e4e4e7;
}
.na-card .na-price { margin-top: auto; padding-top: 1rem; }
.na-card ul { margin-bottom: 1.25rem; }

/* Check / chevron lists */
ul.na-checks, ul.na-chevrons {
	list-style: none;
	padding-left: 0;
	margin-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	font-size: .875rem;
	color: #d4d4d8;
}
ul.na-chevrons { gap: .625rem; }
ul.na-checks li, ul.na-chevrons li { display: flex; gap: .5rem; }
ul.na-checks li::before, ul.na-chevrons li::before {
	content: "";
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	margin-top: .125rem;
	background: #dc2626;
}
ul.na-checks li::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}
ul.na-chevrons li::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Tiers ---------- */
.na-tier {
	border-radius: .75rem;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(255, 255, 255, .1);
	background: rgba(24, 24, 27, .5);
}
.na-tier > * { margin-block-start: 0; }
.na-tier-highlight {
	background: linear-gradient(to bottom, rgba(220, 38, 38, .2), #18181b);
	border-color: rgba(220, 38, 38, .4);
}
.na-tier-icon { color: #a1a1aa; margin-bottom: 1.25rem; }
.na-tier-icon svg { width: 2rem; height: 2rem; }
.na-tier-highlight .na-tier-icon { color: #f87171; }
.na-tier h3 { font-size: 1.25rem; }
.na-tier .na-desc { margin-bottom: .5rem; }
.na-tier ul { flex: 1; margin-bottom: 0; }
.na-tier .wp-block-buttons { margin-top: 2rem; }
.na-tier .wp-block-button { width: 100%; }
.na-tier .wp-block-button__link {
	width: 100%;
	text-align: center;
	padding: .625rem 1rem;
	font-size: .875rem;
}

/* ---------- Process steps ---------- */
.na-step > * { margin-block-start: 0; }
.na-n { font-size: 2.25rem; font-weight: 700; color: rgba(220, 38, 38, .3); }
.na-step h3 { margin-top: .75rem; font-size: 1rem; font-weight: 600; }
.na-step p:not(.na-n) { margin-top: .5rem; font-size: .875rem; color: #a1a1aa; line-height: 1.625; }

/* ---------- About ---------- */
.na-about-grid {
	max-width: 56rem;
	margin-left: auto;
	margin-right: auto;
	display: grid;
	gap: 3rem;
	align-items: center;
}
@media (min-width: 768px) { .na-about-grid { grid-template-columns: 1fr 1.4fr; } }
.na-emblem-wrap { display: flex; align-items: center; justify-content: center; }
.na-emblem {
	display: flex;
	height: 10rem;
	width: 10rem;
	align-items: center;
	justify-content: center;
	border-radius: 1rem;
	background: linear-gradient(to bottom right, #dc2626, #7f1d1d);
	box-shadow: 0 25px 50px -12px rgba(127, 29, 29, .4);
	color: #fff;
}
.na-emblem svg { width: 4rem; height: 4rem; }
.na-about-text > * { margin-block-start: 0; }
.na-about-text h2 { font-size: 1.875rem; margin-top: .5rem; }
.na-about-text > p:not(.na-eyebrow) { margin-top: 1rem; color: #a1a1aa; line-height: 1.625; }
.na-tags {
	margin-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	font-size: .875rem;
	color: #d4d4d8;
}
.na-tags span { display: inline-flex; align-items: center; gap: .5rem; }
.na-tags svg { width: 1rem; height: 1rem; color: #ef4444; }

/* ---------- Contact ---------- */
.na-contact { text-align: center; }
.na-contact > * { margin-block-start: 0; }
.na-contact .na-lead { margin-top: 1rem; font-size: 1rem; }
.na-note { margin-top: 1.5rem; font-size: .75rem; color: #71717a; }

/* ---------- Footer ---------- */
footer.wp-block-template-part { border-top: 1px solid rgba(255, 255, 255, .05); }
.na-footer-inner {
	max-width: 72rem;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
	font-size: .875rem;
	color: #71717a;
}
.na-footer-brand { display: inline-flex; align-items: center; gap: .5rem; margin: 0; }
.na-footer-mark {
	display: inline-flex;
	height: 1.5rem;
	width: 1.5rem;
	align-items: center;
	justify-content: center;
	border-radius: .25rem;
	background: #dc2626;
	color: #fff;
	flex-shrink: 0;
}
.na-footer-mark svg { width: .75rem; height: .75rem; }
.na-footer-copy { margin: 0; }

/* ---------- Inner pages & blog ---------- */
.na-page { padding-top: 4rem; padding-bottom: 6rem; }
.na-page-title { font-size: 2.25rem; margin-bottom: .5rem; }
.na-page .wp-block-post-content a:not(.wp-block-button__link) { color: #f87171; }
.na-page .wp-block-post-content a:not(.wp-block-button__link):hover { color: #ef4444; }
.na-page .wp-block-post-content h2 { font-size: 1.875rem; margin-top: 2.5rem; }
.na-page .wp-block-post-content h3 { font-size: 1.25rem; }
.na-page .wp-block-post-content p,
.na-page .wp-block-post-content li { color: #d4d4d8; }
.na-post-meta { font-size: .875rem; color: #71717a; }

.na-post-card {
	border-radius: .75rem;
	border: 1px solid rgba(255, 255, 255, .1);
	background: rgba(24, 24, 27, .5);
	padding: 1.5rem;
	margin-top: 1.5rem;
	transition: border-color .15s ease;
}
.na-post-card:hover { border-color: rgba(220, 38, 38, .4); }
.na-post-card > * { margin-block-start: 0; }
.na-post-card .wp-block-post-title { font-size: 1.25rem; }
.na-post-card .wp-block-post-title a { color: #f4f4f5; }
.na-post-card .wp-block-post-title a:hover { color: #ef4444; }
.na-post-card .wp-block-post-date { font-size: .75rem; color: #71717a; margin-top: .375rem; }
.na-post-card .wp-block-post-excerpt { margin-top: .75rem; font-size: .875rem; color: #a1a1aa; }
.na-post-card .wp-block-post-excerpt__more-link { color: #f87171; }

.wp-block-query-pagination { margin-top: 2.5rem; font-size: .875rem; color: #a1a1aa; }
.wp-block-query-pagination a:hover { color: #ef4444; }
.wp-block-query-pagination .page-numbers.current { color: #ef4444; }
