@import url("fontawesome-all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

/* ========================================================================
   Obfuscura Dark Theme — Inspired by Xtract
   ======================================================================== */

:root {
	--bg-primary: #050505;
	--bg-secondary: #0a0a0a;
	--bg-surface: #111111;
	--bg-surface-hover: #161616;
	--bg-card: #0d0d0d;
	--bg-card-hover: #141414;
	--border-primary: #1a1a1a;
	--border-secondary: #222222;
	--border-accent: #2a2a2a;
	--text-primary: #ffffff;
	--text-secondary: #999999;
	--text-muted: #666666;
	--text-dim: #444444;
	--accent: #89bf04;
	--accent-hover: #9dd405;
	--accent-glow: rgba(137, 191, 4, 0.15);
	--accent-subtle: rgba(137, 191, 4, 0.08);
	--gradient-accent: linear-gradient(135deg, #89bf04, #5fa800);
	--gradient-hero: linear-gradient(180deg, rgba(137, 191, 4, 0.06) 0%, transparent 60%);
	--gradient-card: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--radius-full: 9999px;
	--shadow-card: 0 1px 2px rgba(0,0,0,0.3);
	--shadow-card-hover: 0 8px 32px rgba(0,0,0,0.4);
	--shadow-glow: 0 0 40px rgba(137, 191, 4, 0.08);
	--container-width: 1200px;
	--container-narrow: 800px;
	--transition-fast: 0.15s ease;
	--transition-base: 0.25s ease;
	--transition-slow: 0.4s ease;
	--font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}


/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background-color: var(--bg-primary);
	color: var(--text-secondary);
	line-height: 1.7;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent-hover); }
strong, b { font-weight: 600; color: var(--text-primary); }
code { font-family: var(--font-mono); font-size: 0.875em; background: var(--bg-surface); padding: 0.15em 0.4em; border-radius: 4px; color: var(--accent); }
pre { background: var(--bg-surface); border: 1px solid var(--border-primary); border-radius: var(--radius-md); padding: 1.25em 1.5em; overflow-x: auto; font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.7; color: var(--text-secondary); }
pre code { background: none; padding: 0; border-radius: 0; font-size: inherit; }


/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 { color: var(--text-primary); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }


/* ===== Layout ===== */
.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 2rem;
}

.container--narrow {
	max-width: var(--container-narrow);
}

.section {
	padding: 6rem 0;
	position: relative;
}

.section--sm { padding: 4rem 0; }
.section--lg { padding: 8rem 0; }

.section__label {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent);
	background: var(--accent-subtle);
	border: 1px solid rgba(137, 191, 4, 0.15);
	padding: 0.35em 1em;
	border-radius: var(--radius-full);
	margin-bottom: 1.25rem;
}

.section__title {
	margin-bottom: 1rem;
}

.section__subtitle {
	font-size: 1.125rem;
	color: var(--text-secondary);
	max-width: 600px;
	line-height: 1.6;
}

.section__header {
	text-align: center;
	margin-bottom: 4rem;
}

.section__header .section__subtitle {
	margin: 0.75rem auto 0;
}


/* ===== Grid ===== */
.grid {
	display: grid;
	gap: 1.5rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.grid--bento {
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: auto;
}

.grid--bento .card--wide { grid-column: span 2; }
.grid--bento .card--tall { grid-row: span 2; }

@media (max-width: 1024px) {
	.grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
	.grid--bento { grid-template-columns: repeat(2, 1fr); }
	.grid--bento .card--wide { grid-column: span 2; }
}

@media (max-width: 640px) {
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.grid--bento { grid-template-columns: 1fr; }
	.grid--bento .card--wide { grid-column: span 1; }
}


/* ===== Buttons ===== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.75em 1.75em;
	border-radius: var(--radius-full);
	border: none;
	cursor: pointer;
	transition: all var(--transition-base);
	text-decoration: none;
	white-space: nowrap;
	line-height: 1.4;
}

.btn--primary {
	background: var(--gradient-accent);
	color: #000;
	box-shadow: 0 2px 12px rgba(137, 191, 4, 0.25);
}

.btn--primary:hover {
	color: #000;
	box-shadow: 0 4px 24px rgba(137, 191, 4, 0.4);
	transform: translateY(-1px);
}

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

.btn--secondary:hover {
	border-color: var(--text-muted);
	color: var(--text-primary);
	background: rgba(255,255,255,0.03);
}

.btn--ghost {
	background: transparent;
	color: var(--text-secondary);
	padding: 0.5em 1em;
}

.btn--ghost:hover { color: var(--text-primary); }
.btn--sm { font-size: 0.8rem; padding: 0.5em 1.25em; }
.btn--lg { font-size: 1rem; padding: 0.9em 2.25em; }
.btn--block { width: 100%; }
.btn i { font-size: 0.85em; }


/* ===== Header / Navigation ===== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 1rem 0;
	transition: all var(--transition-base);
	background: transparent;
}

.site-header--scrolled {
	background: rgba(5, 5, 5, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border-primary);
	padding: 0.6rem 0;
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-logo {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--text-primary);
	letter-spacing: -0.02em;
	display: flex;
	align-items: center;
	gap: 0.5em;
}

.site-logo:hover { color: var(--text-primary); }

.site-logo span {
	color: var(--accent);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.site-nav a {
	color: var(--text-secondary);
	font-size: 0.9rem;
	font-weight: 500;
	padding: 0.5em 1em;
	border-radius: var(--radius-md);
	transition: all var(--transition-fast);
}

.site-nav a:hover {
	color: var(--text-primary);
	background: rgba(255,255,255,0.04);
}

.site-nav a.active {
	color: var(--text-primary);
}

.header-cta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.mobile-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--text-primary);
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0.25em;
}

@media (max-width: 768px) {
	.site-nav { display: none; }
	.header-cta .btn--secondary { display: none; }
	.mobile-toggle { display: block; }
}


/* ===== Hero ===== */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-top: 6rem;
	padding-bottom: 4rem;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(137, 191, 4, 0.08) 0%, transparent 70%);
	pointer-events: none;
}

.hero__content {
	text-align: center;
	max-width: 850px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--accent);
	background: var(--accent-subtle);
	border: 1px solid rgba(137, 191, 4, 0.12);
	padding: 0.4em 1.2em;
	border-radius: var(--radius-full);
	margin-bottom: 2rem;
	animation: fadeInUp 0.6s ease both;
}

.hero__title {
	font-size: clamp(2.75rem, 6vw, 4.5rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin-bottom: 1.5rem;
	animation: fadeInUp 0.6s ease 0.1s both;
}

.hero__title .accent {
	background: linear-gradient(135deg, var(--accent), #b8e84e);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero__subtitle {
	font-size: 1.2rem;
	color: var(--text-secondary);
	line-height: 1.7;
	max-width: 600px;
	margin: 0 auto 2.5rem;
	animation: fadeInUp 0.6s ease 0.2s both;
}

.hero__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	animation: fadeInUp 0.6s ease 0.3s both;
}

.hero__trust {
	margin-top: 4rem;
	animation: fadeInUp 0.6s ease 0.4s both;
}

.hero__trust p {
	font-size: 0.8rem;
	color: var(--text-dim);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
}

.hero__trust-logos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.5rem;
	opacity: 0.4;
}


/* ===== Cards ===== */
.card {
	background: var(--bg-card);
	border: 1px solid var(--border-primary);
	border-radius: var(--radius-lg);
	padding: 2rem;
	transition: all var(--transition-base);
	position: relative;
	overflow: hidden;
}

.card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gradient-card);
	pointer-events: none;
}

.card:hover {
	border-color: var(--border-secondary);
	box-shadow: var(--shadow-card-hover);
	transform: translateY(-2px);
}

.card__icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--accent-subtle);
	border: 1px solid rgba(137, 191, 4, 0.12);
	border-radius: var(--radius-md);
	color: var(--accent);
	font-size: 1.2rem;
	margin-bottom: 1.25rem;
	flex-shrink: 0;
}

.card__title {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.card__text {
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.6;
}

.card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-top: 1.25rem;
}

.card__tag {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--text-muted);
	background: var(--bg-surface);
	border: 1px solid var(--border-primary);
	padding: 0.25em 0.75em;
	border-radius: var(--radius-full);
}

.card--highlight {
	border-color: rgba(137, 191, 4, 0.2);
	background: linear-gradient(180deg, rgba(137, 191, 4, 0.04) 0%, var(--bg-card) 100%);
}

.card--flat {
	background: transparent;
	border: none;
	padding: 1.5rem;
}

.card--flat:hover {
	background: var(--bg-card);
	border: none;
	box-shadow: none;
	transform: none;
}


/* ===== Process Steps ===== */
.step {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	padding: 2.5rem 0;
	border-bottom: 1px solid var(--border-primary);
}

.step:last-child { border-bottom: none; }

.step__number {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	white-space: nowrap;
	padding-top: 0.25em;
	min-width: 60px;
}

.step__content { flex: 1; }

.step__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.step__text {
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.7;
}

.step__visual {
	flex-shrink: 0;
	width: 280px;
	height: 180px;
	background: var(--bg-surface);
	border: 1px solid var(--border-primary);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

@media (max-width: 768px) {
	.step { flex-direction: column; gap: 1rem; }
	.step__visual { width: 100%; }
}


/* ===== Stats / Metrics ===== */
.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	padding: 3rem 0;
	border-top: 1px solid var(--border-primary);
	border-bottom: 1px solid var(--border-primary);
}

.stat { text-align: center; }

.stat__value {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--text-primary);
	letter-spacing: -0.03em;
	line-height: 1;
	margin-bottom: 0.25rem;
}

.stat__value .accent { color: var(--accent); }

.stat__label {
	font-size: 0.85rem;
	color: var(--text-muted);
}

@media (max-width: 768px) {
	.stats { grid-template-columns: repeat(2, 1fr); }
}


/* ===== Pricing ===== */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	align-items: flex-start;
}

@media (max-width: 1024px) {
	.pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

.pricing-card {
	background: var(--bg-card);
	border: 1px solid var(--border-primary);
	border-radius: var(--radius-xl);
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	transition: all var(--transition-base);
}

.pricing-card:hover {
	border-color: var(--border-secondary);
	transform: translateY(-4px);
	box-shadow: var(--shadow-card-hover);
}

.pricing-card--featured {
	border-color: rgba(137, 191, 4, 0.3);
	background: linear-gradient(180deg, rgba(137, 191, 4, 0.06) 0%, var(--bg-card) 40%);
	position: relative;
}

.pricing-card__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--gradient-accent);
	color: #000;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.3em 1.2em;
	border-radius: var(--radius-full);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.pricing-card__name {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin-bottom: 0.75rem;
}

.pricing-card__price {
	font-size: 3rem;
	font-weight: 800;
	color: var(--text-primary);
	letter-spacing: -0.03em;
	line-height: 1;
	margin-bottom: 0.25rem;
}

.pricing-card__price span {
	font-size: 1rem;
	font-weight: 500;
	color: var(--text-muted);
}

.pricing-card__desc {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--border-primary);
}

.pricing-card__features {
	list-style: none;
	flex: 1;
	margin-bottom: 2rem;
}

.pricing-card__features li {
	display: flex;
	align-items: center;
	gap: 0.75em;
	padding: 0.5em 0;
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.pricing-card__features li::before {
	content: "✓";
	color: var(--accent);
	font-weight: 700;
	font-size: 0.85em;
	flex-shrink: 0;
}

.pricing-card .btn { width: 100%; }


/* ===== Testimonials ===== */
.testimonial {
	background: var(--bg-card);
	border: 1px solid var(--border-primary);
	border-radius: var(--radius-lg);
	padding: 2rem;
}

.testimonial__text {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
	font-style: italic;
}

.testimonial__text::before {
	content: "\201C";
	font-size: 2rem;
	color: var(--accent);
	line-height: 0;
	vertical-align: -0.4em;
	margin-right: 0.1em;
}

.testimonial__author {
	display: flex;
	align-items: center;
	gap: 0.75em;
}

.testimonial__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--accent-subtle);
	border: 1px solid rgba(137, 191, 4, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	font-weight: 700;
	font-size: 0.85rem;
	flex-shrink: 0;
}

.testimonial__name {
	font-weight: 600;
	color: var(--text-primary);
	font-size: 0.9rem;
}

.testimonial__role {
	font-size: 0.8rem;
	color: var(--text-muted);
}


/* ===== FAQ ===== */
.faq-item {
	border-bottom: 1px solid var(--border-primary);
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25em 0;
	cursor: pointer;
	list-style: none;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-primary);
	transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
	content: "+";
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--text-muted);
	transition: transform var(--transition-fast);
	flex-shrink: 0;
	margin-left: 1rem;
}

.faq-item[open] summary::after {
	content: "−";
}

.faq-item summary:hover { color: var(--accent); }

.faq-item__answer {
	padding: 0 0 1.5em 0;
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.7;
}


/* ===== CTA Banner ===== */
.cta-banner {
	text-align: center;
	padding: 5rem 3rem;
	background: var(--bg-surface);
	border: 1px solid var(--border-primary);
	border-radius: var(--radius-xl);
	position: relative;
	overflow: hidden;
}

.cta-banner::before {
	content: "";
	position: absolute;
	top: -50%;
	left: 50%;
	transform: translateX(-50%);
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(137, 191, 4, 0.1) 0%, transparent 70%);
	pointer-events: none;
}

.cta-banner__title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	margin-bottom: 1rem;
	position: relative;
}

.cta-banner__text {
	font-size: 1.1rem;
	color: var(--text-secondary);
	margin-bottom: 2rem;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

.cta-banner__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	position: relative;
}


/* ===== Footer ===== */
.site-footer {
	border-top: 1px solid var(--border-primary);
	padding: 4rem 0 2rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 3rem;
}

.footer-brand p {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin-top: 1rem;
	line-height: 1.6;
	max-width: 280px;
}

.footer-col__title {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-primary);
	margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.6rem; }

.footer-col a {
	font-size: 0.9rem;
	color: var(--text-muted);
	transition: color var(--transition-fast);
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 2rem;
	border-top: 1px solid var(--border-primary);
	font-size: 0.8rem;
	color: var(--text-dim);
}

.footer-socials {
	display: flex;
	gap: 1rem;
}

.footer-socials a {
	color: var(--text-muted);
	font-size: 1.1rem;
	transition: color var(--transition-fast);
}

.footer-socials a:hover { color: var(--text-primary); }

@media (max-width: 768px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}
	.footer-brand { grid-column: span 2; }
	.footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
	.footer-grid { grid-template-columns: 1fr; }
	.footer-brand { grid-column: span 1; }
}


/* ===== Feature Page Styles ===== */
.feature-section {
	padding: 4rem 0;
	border-bottom: 1px solid var(--border-primary);
}

.feature-section:last-child { border-bottom: none; }

.feature-section__header {
	margin-bottom: 2rem;
}

.feature-section__title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.feature-section__subtitle {
	color: var(--text-secondary);
	font-size: 0.95rem;
}


/* ===== Prose (legal/content pages) ===== */
.prose h3 {
	font-size: 1.25rem;
	margin-top: 2.5rem;
	margin-bottom: 0.75rem;
}

.prose h3:first-child { margin-top: 0; }

.prose p {
	color: var(--text-secondary);
	line-height: 1.8;
	margin-bottom: 1rem;
}

.prose ul, .prose ol {
	color: var(--text-secondary);
	padding-left: 1.5em;
	margin-bottom: 1.25rem;
	line-height: 1.8;
}

.prose li {
	margin-bottom: 0.4em;
}

.prose a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.prose a:hover {
	color: var(--accent-hover);
}


/* ===== Documentation Styles ===== */
.docs-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 3rem;
	align-items: flex-start;
}

.docs-sidebar {
	position: sticky;
	top: 100px;
	padding: 1.5rem;
	background: var(--bg-card);
	border: 1px solid var(--border-primary);
	border-radius: var(--radius-lg);
}

.docs-sidebar h3 {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
	color: var(--text-muted);
}

.docs-sidebar ul { list-style: none; }

.docs-sidebar li { margin-bottom: 0.25rem; }

.docs-sidebar a {
	display: block;
	padding: 0.4em 0.75em;
	font-size: 0.875rem;
	color: var(--text-secondary);
	border-radius: var(--radius-sm);
	transition: all var(--transition-fast);
}

.docs-sidebar a:hover {
	color: var(--text-primary);
	background: rgba(255,255,255,0.04);
}

.docs-nav {
	display: flex;
	flex-direction: column;
}

.docs-nav a {
	display: block;
	padding: 0.4em 0.75em;
	font-size: 0.875rem;
	color: var(--text-secondary);
	border-radius: var(--radius-sm);
	transition: all var(--transition-fast);
}

.docs-nav a:hover {
	color: var(--text-primary);
	background: rgba(255,255,255,0.04);
}

.docs-content section {
	padding: 2.5rem 0;
	border-bottom: 1px solid var(--border-primary);
}

.docs-content section:last-child { border-bottom: none; }

.docs-content h3 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

.docs-content h4 {
	font-size: 1.1rem;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.docs-content p {
	color: var(--text-secondary);
	line-height: 1.7;
}

.docs-content ul, .docs-content ol {
	color: var(--text-secondary);
	padding-left: 1.5em;
	margin-bottom: 1em;
}

.docs-content li { margin-bottom: 0.4em; }

@media (max-width: 768px) {
	.docs-layout { grid-template-columns: 1fr; }
	.docs-sidebar { position: static; }
}


/* ===== About Page ===== */
.about-hero {
	text-align: center;
	padding: 8rem 0 4rem;
}


/* ===== Generic Inner Page Header ===== */
.page-header {
	text-align: center;
	padding: 8rem 0 3rem;
	position: relative;
}

.page-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 600px;
	height: 400px;
	background: radial-gradient(circle, rgba(137, 191, 4, 0.06) 0%, transparent 70%);
	pointer-events: none;
}

.page-header__title {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 1rem;
	position: relative;
}

.page-header__subtitle {
	font-size: 1.1rem;
	color: var(--text-secondary);
	max-width: 600px;
	margin: 0 auto;
	position: relative;
}


/* ===== Comparison Table ===== */
table {
	width: 100%;
	border-collapse: collapse;
}

th, td {
	padding: 0.75em 1em;
	text-align: left;
	border-bottom: 1px solid var(--border-primary);
}

th {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-muted);
	background: var(--bg-surface);
}

td {
	font-size: 0.9rem;
	color: var(--text-secondary);
}


/* ===== Animations ===== */
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.animate-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.is-visible {
	opacity: 1;
	transform: translateY(0);
}


/* ===== Utility ===== */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none; }

.divider {
	height: 1px;
	background: var(--border-primary);
	border: none;
	margin: 0;
}


/* ===== Swagger Docs (preserve existing) ===== */
.swagger-ui { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.swagger-ui .swagger-header { background: var(--bg-surface); color: #fff; padding: 1.2em 1.5em; border-radius: var(--radius-md) var(--radius-md) 0 0; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border-primary); border-bottom: none; }
.swagger-ui .swagger-header h3 { margin: 0; font-size: 1.1em; color: #fff; }
.swagger-ui .swagger-header .swagger-version { background: rgba(255,255,255,0.1); padding: 0.2em 0.6em; border-radius: 4px; font-size: 0.8em; letter-spacing: 0.5px; }
.swagger-ui .swagger-base-url { background: #1a1a1a; color: var(--accent); padding: 0.6em 1.5em; font-family: var(--font-mono); font-size: 0.85em; border: 1px solid var(--border-primary); border-top: none; }
.swagger-endpoint { border: 1px solid var(--border-secondary); border-radius: var(--radius-md); margin-bottom: 0.8em; overflow: hidden; transition: box-shadow var(--transition-base); }
.swagger-endpoint:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.swagger-endpoint summary { display: flex; align-items: center; padding: 0.7em 1em; cursor: pointer; list-style: none; gap: 0.8em; font-size: 0.95em; }
.swagger-endpoint summary::-webkit-details-marker { display: none; }
.swagger-endpoint summary::after { content: "\25B8"; margin-left: auto; color: var(--text-muted); transition: transform var(--transition-fast); font-size: 0.85em; }
.swagger-endpoint[open] summary::after { transform: rotate(90deg); }
.swagger-endpoint--post { border-color: #49cc90; }
.swagger-endpoint--post summary { background: rgba(73, 204, 144, 0.06); }
.swagger-endpoint--get { border-color: #61affe; }
.swagger-endpoint--get summary { background: rgba(97, 175, 254, 0.06); }
.swagger-endpoint--put { border-color: #fca130; }
.swagger-endpoint--put summary { background: rgba(252, 161, 48, 0.06); }
.swagger-endpoint--delete { border-color: #f93e3e; }
.swagger-endpoint--delete summary { background: rgba(249, 62, 62, 0.06); }
.swagger-endpoint--patch { border-color: #50e3c2; }
.swagger-endpoint--patch summary { background: rgba(80, 227, 194, 0.06); }
.swagger-method { display: inline-block; font-weight: 700; font-size: 0.75em; text-transform: uppercase; letter-spacing: 0.5px; padding: 0.3em 0.7em; border-radius: 4px; color: #fff; min-width: 4em; text-align: center; font-family: var(--font-mono); flex-shrink: 0; }
.swagger-method--post { background: #49cc90; }
.swagger-method--get { background: #61affe; }
.swagger-method--put { background: #fca130; }
.swagger-method--delete { background: #f93e3e; }
.swagger-method--patch { background: #50e3c2; }
.swagger-path { font-family: var(--font-mono); font-weight: 600; font-size: 0.9em; color: var(--text-primary); }
.swagger-desc { color: var(--text-muted); font-size: 0.85em; margin-left: auto; padding-left: 1em; text-align: right; white-space: nowrap; }
.swagger-body { padding: 1.2em 1.5em; border-top: 1px solid var(--border-primary); background: var(--bg-surface); }
.swagger-body h5 { font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); margin: 0 0 0.6em 0; font-weight: 700; }
.swagger-body h5:not(:first-child) { margin-top: 1.5em; }
.swagger-params { width: 100%; border-collapse: collapse; font-size: 0.85em; margin-bottom: 0.5em; }
.swagger-params th { background: rgba(255,255,255,0.03); text-align: left; padding: 0.5em 0.8em; font-weight: 600; font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); border-bottom: 1px solid var(--border-secondary); }
.swagger-params td { padding: 0.5em 0.8em; border-bottom: 1px solid var(--border-primary); vertical-align: top; }
.swagger-params .param-name { font-family: var(--font-mono); font-weight: 600; color: var(--text-primary); }
.swagger-params .param-required { color: #f93e3e; font-size: 0.75em; font-weight: 700; }
.swagger-params .param-type { font-family: var(--font-mono); color: var(--text-muted); font-size: 0.9em; }
.swagger-example { background: #1a1a1a; color: #f8f8f2; padding: 1em 1.2em; border-radius: 4px; font-family: var(--font-mono); font-size: 0.82em; line-height: 1.6; overflow-x: auto; white-space: pre; margin: 0.4em 0; }
.swagger-example .json-key { color: #f92672; }
.swagger-example .json-str { color: #e6db74; }
.swagger-example .json-num { color: #ae81ff; }
.swagger-example .json-bool { color: #66d9ef; }
.swagger-example .json-null { color: #66d9ef; }
.swagger-example .json-comment { color: #75715e; }
.swagger-response { display: flex; align-items: center; gap: 0.8em; padding: 0.4em 0; font-size: 0.85em; }
.swagger-status { font-family: var(--font-mono); font-weight: 700; padding: 0.15em 0.5em; border-radius: 3px; font-size: 0.9em; }
.swagger-status--2xx { background: rgba(73,204,144,0.12); color: #49cc90; }
.swagger-status--4xx { background: rgba(249,62,62,0.1); color: #f93e3e; }
.swagger-status--422 { background: rgba(252,161,48,0.1); color: #fca130; }
.swagger-auth-box { background: var(--bg-surface); border: 1px solid var(--border-primary); color: #f8f8f2; padding: 1.2em 1.5em; border-radius: var(--radius-md); margin-bottom: 1.5em; font-size: 0.9em; }
.swagger-auth-box code { color: var(--accent); background: var(--accent-subtle); padding: 0.15em 0.4em; border-radius: 3px; }
.swagger-auth-box strong { color: #fca130; }
.swagger-tag { font-size: 1.1em; font-weight: 700; color: var(--text-primary); margin: 1.8em 0 0.8em 0; padding-bottom: 0.4em; border-bottom: 1px solid var(--border-secondary); display: flex; align-items: center; gap: 0.5em; }
.swagger-tag:first-of-type { margin-top: 1em; }

@media (max-width: 768px) {
	.swagger-endpoint summary { flex-wrap: wrap; }
	.swagger-desc { display: none; }
	.swagger-params { font-size: 0.8em; }
	.swagger-example { font-size: 0.75em; }
}


/* ===== Lists (generic) ===== */
ul.check-list {
	list-style: none;
	padding: 0;
}

ul.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75em;
	padding: 0.4em 0;
	color: var(--text-secondary);
	font-size: 0.95rem;
}

ul.check-list li::before {
	content: "✓";
	color: var(--accent);
	font-weight: 700;
	flex-shrink: 0;
	margin-top: 0.1em;
}


/* ===== Trust Badges ===== */
.trust-badge-link {
	opacity: 0.85;
	transition: opacity 0.2s ease;
	display: inline-block;
}
.trust-badge-link:hover {
	opacity: 1;
}
.trust-badge-link--footer {
	opacity: 0.7;
}
.trust-badge-link--footer:hover {
	opacity: 1;
}


/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-secondary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }


/* ===== Selection ===== */
::selection {
	background: rgba(137, 191, 4, 0.3);
	color: var(--text-primary);
}
