:root {
	--bg: #0a0a0a;
	--bg-card: #111111;
	--bg-card-hover: #161616;
	--bg-terminal: #0d0d0d;
	--border: #1e1e1e;
	--border-hover: #2a2a2a;
	--text: #e5e5e5;
	--text-dim: #737373;
	--text-muted: #525252;
	--cyan: #06B6D4;
	--cyan-dim: rgba(6, 182, 212, 0.15);
	--cyan-glow: rgba(6, 182, 212, 0.3);
	--amber: #F59E0B;
	--amber-dim: rgba(245, 158, 11, 0.15);
	--font: 'Space Grotesk', system-ui, sans-serif;
	--mono: 'IBM Plex Mono', monospace;
	--radius: 10px;
	--radius-sm: 6px;
}

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

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a {
	color: var(--cyan);
	text-decoration: none;
	transition: color 0.2s;
}

a:hover {
	color: var(--amber);
}

code {
	font-family: var(--mono);
	font-size: 0.85em;
	background: var(--cyan-dim);
	color: var(--cyan);
	padding: 0.15em 0.4em;
	border-radius: 4px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.section-header {
	text-align: center;
	margin-bottom: 64px;
}

.section-tag {
	display: inline-block;
	font-family: var(--mono);
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--cyan);
	background: var(--cyan-dim);
	padding: 6px 14px;
	border-radius: 100px;
	margin-bottom: 20px;
}

.section-header h2 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 16px;
}

.section-sub {
	font-size: 1.05rem;
	color: var(--text-dim);
	max-width: 600px;
	margin: 0 auto;
}

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

/* Reveal animation */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ── Nav ── */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(10, 10, 10, 0.85);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s;
}

.nav.scrolled {
	border-bottom-color: var(--border);
}

.nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	font-weight: 700;
	font-size: 1.15rem;
}

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

.logo-text {
	letter-spacing: -0.02em;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
}

.nav-links a {
	font-size: 0.875rem;
	color: var(--text-dim);
	font-weight: 500;
	transition: color 0.2s;
}

.nav-links a:hover {
	color: var(--text);
}

.nav-cta {
	background: var(--cyan);
	color: var(--bg) !important;
	padding: 8px 18px;
	border-radius: var(--radius-sm);
	font-weight: 600 !important;
}

.nav-cta:hover {
	background: #0891b2 !important;
	color: var(--bg) !important;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}

.nav-toggle span {
	width: 22px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: transform 0.3s, opacity 0.3s;
}

/* ── Buttons ── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font);
	font-size: 0.9rem;
	font-weight: 600;
	padding: 12px 28px;
	border-radius: var(--radius-sm);
	border: none;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
}

.btn-primary {
	background: var(--cyan);
	color: var(--bg);
}

.btn-primary:hover {
	background: #0891b2;
	color: var(--bg);
	transform: translateY(-1px);
	box-shadow: 0 4px 24px var(--cyan-glow);
}

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

.btn-ghost:hover {
	border-color: var(--text-dim);
	color: var(--text);
}

.btn-outline {
	background: transparent;
	color: var(--cyan);
	border: 1px solid var(--cyan);
}

.btn-outline:hover {
	background: var(--cyan-dim);
	color: var(--cyan);
}

/* ── Hero ── */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-top: 64px;
	background:
		radial-gradient(ellipse at 20% 50%, var(--cyan-dim) 0%, transparent 60%),
		radial-gradient(ellipse at 80% 30%, var(--amber-dim) 0%, transparent 50%);
}

.hero-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.hero-badge {
	display: inline-block;
	font-family: var(--mono);
	font-size: 0.7rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--amber);
	background: var(--amber-dim);
	padding: 6px 14px;
	border-radius: 100px;
	margin-bottom: 24px;
}

.hero h1 {
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin-bottom: 24px;
}

.hero-sub {
	font-size: 1.1rem;
	color: var(--text-dim);
	line-height: 1.7;
	margin-bottom: 36px;
	max-width: 520px;
}

.hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

/* ── Terminal ── */
.terminal {
	background: var(--bg-terminal);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.03),
		0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background: #141414;
	border-bottom: 1px solid var(--border);
}

.terminal-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.terminal-dot.red { background: #f43f5e; }
.terminal-dot.yellow { background: #F59E0B; }
.terminal-dot.green { background: #22c55e; }

.terminal-title {
	font-family: var(--mono);
	font-size: 0.7rem;
	color: var(--text-muted);
	margin-left: auto;
}

.terminal-body {
	padding: 20px;
	font-family: var(--mono);
	font-size: 0.82rem;
	line-height: 1.65;
	overflow-x: auto;
}

.terminal-sm .terminal-body {
	font-size: 0.75rem;
	padding: 16px;
}

.terminal-line {
	white-space: pre;
}

.t-blank {
	height: 0.8em;
}

.t-prompt {
	color: var(--amber);
}

.t-cmd {
	color: var(--cyan);
	font-weight: 600;
}

.t-metric {
	color: var(--cyan);
}

.t-accent {
	color: var(--amber);
	font-weight: 600;
}

.t-dim {
	color: var(--text-muted);
}

.t-output {
	color: var(--text-dim);
}

/* ── Stats ── */
.stats {
	padding: 80px 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
}

.stat-number {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	color: var(--cyan);
	font-family: var(--mono);
	letter-spacing: -0.03em;
}

.stat-label {
	font-size: 0.85rem;
	color: var(--text-dim);
	margin-top: 8px;
}

/* ── Features ── */
.features {
	padding: 120px 0;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px;
	transition: border-color 0.3s, background 0.3s;
}

.feature-card:hover {
	border-color: var(--border-hover);
	background: var(--bg-card-hover);
}

.feature-icon {
	font-size: 1.75rem;
	margin-bottom: 16px;
}

.feature-card h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 10px;
}

.feature-card p {
	font-size: 0.9rem;
	color: var(--text-dim);
	line-height: 1.6;
	margin-bottom: 16px;
}

.feature-flag {
	display: block;
	font-size: 0.72rem;
	background: rgba(6, 182, 212, 0.08);
	border: 1px solid rgba(6, 182, 212, 0.12);
	padding: 8px 12px;
	border-radius: var(--radius-sm);
}

/* ── How It Works ── */
.how-it-works {
	padding: 120px 0;
	background: linear-gradient(180deg, var(--bg) 0%, #0f0f0f 100%);
}

.steps {
	max-width: 700px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.step {
	display: flex;
	gap: 32px;
	align-items: flex-start;
}

.step-number {
	font-family: var(--mono);
	font-size: 2rem;
	font-weight: 700;
	color: var(--cyan);
	opacity: 0.3;
	flex-shrink: 0;
	width: 60px;
}

.step-content h3 {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.step-content p {
	font-size: 0.95rem;
	color: var(--text-dim);
	line-height: 1.6;
}

.step-code {
	font-family: var(--mono);
	font-size: 0.82rem;
	background: var(--bg-terminal);
	border: 1px solid var(--border);
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	margin-top: 12px;
}

/* ── Manifesto ── */
.manifesto {
	padding: 120px 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.manifesto-inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.manifesto-inner h2 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 32px;
}

.manifesto-inner p {
	font-size: 1.05rem;
	color: var(--text-dim);
	line-height: 1.8;
	margin-bottom: 24px;
}

.manifesto-inner p:last-child {
	color: var(--cyan);
	font-weight: 600;
	font-size: 1.15rem;
}

/* ── Demo ── */
.demo {
	padding: 120px 0;
}

.demo-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.demo-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
}

.demo-card h4 {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.demo-card > p {
	font-size: 0.85rem;
	color: var(--text-dim);
	margin-bottom: 16px;
}

.demo-card .terminal {
	box-shadow: none;
}

/* ── Integrations ── */
.integrations {
	padding: 80px 0;
	border-top: 1px solid var(--border);
}

.integrations .section-header {
	margin-bottom: 40px;
}

.integrations-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.integration-badge {
	font-family: var(--mono);
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--text-dim);
	background: var(--bg-card);
	border: 1px solid var(--border);
	padding: 10px 20px;
	border-radius: var(--radius-sm);
}

/* ── Pricing ── */
.pricing {
	padding: 120px 0;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	align-items: start;
}

.pricing-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px 28px;
	text-align: center;
	position: relative;
}

.pricing-card.featured {
	border-color: var(--cyan);
	box-shadow: 0 0 40px var(--cyan-dim);
}

.pricing-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--cyan);
	color: var(--bg);
	font-family: var(--mono);
	font-size: 0.65rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 4px 14px;
	border-radius: 100px;
	white-space: nowrap;
}

.pricing-name {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 12px;
}

.pricing-price {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 8px;
	font-family: var(--mono);
}

.pricing-price span {
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--text-dim);
}

.pricing-desc {
	font-size: 0.85rem;
	color: var(--text-dim);
	margin-bottom: 24px;
}

.pricing-features {
	list-style: none;
	text-align: left;
	margin-bottom: 28px;
}

.pricing-features li {
	font-size: 0.85rem;
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
	position: relative;
	padding-left: 20px;
}

.pricing-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--cyan);
	font-size: 0.8rem;
}

.pricing-features li.disabled {
	color: var(--text-muted);
}

.pricing-features li.disabled::before {
	content: '—';
	color: var(--text-muted);
}

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

/* ── Testimonials ── */
.testimonials {
	padding: 120px 0;
	background: linear-gradient(180deg, var(--bg) 0%, #0f0f0f 100%);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.testimonial-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px;
}

.testimonial-quote {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--text-dim);
	margin-bottom: 24px;
	font-style: italic;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 14px;
}

.testimonial-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	flex-shrink: 0;
}

.testimonial-name {
	font-weight: 600;
	font-size: 0.9rem;
}

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

/* ── FAQ ── */
.faq {
	padding: 120px 0;
}

.faq-list {
	max-width: 720px;
	margin: 0 auto;
}

.faq-item {
	border-bottom: 1px solid var(--border);
}

.faq-question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	background: none;
	border: none;
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 600;
	color: var(--text);
	cursor: pointer;
	text-align: left;
}

.faq-icon {
	font-size: 1.4rem;
	color: var(--cyan);
	transition: transform 0.3s;
	flex-shrink: 0;
	margin-left: 16px;
}

.faq-item.open .faq-icon {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
	max-height: 300px;
}

.faq-answer p {
	padding-bottom: 20px;
	font-size: 0.9rem;
	color: var(--text-dim);
	line-height: 1.7;
}

/* ── Team ── */
.team {
	padding: 120px 0;
	border-top: 1px solid var(--border);
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.team-card {
	text-align: center;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 40px 28px;
}

.team-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin: 0 auto 20px;
}

.team-card h4 {
	font-size: 1.05rem;
	margin-bottom: 4px;
}

.team-role {
	font-family: var(--mono);
	font-size: 0.75rem;
	color: var(--cyan);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 16px;
}

.team-bio {
	font-size: 0.85rem;
	color: var(--text-dim);
	font-style: italic;
	line-height: 1.6;
}

/* ── Portfolio Banner ── */
.portfolio-banner {
	padding: 80px 0;
	background: #080808;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.portfolio-banner h3 {
	text-align: center;
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 32px;
}

.portfolio-brands {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 16px;
	font-size: 0.82rem;
}

.portfolio-brands a {
	color: var(--text-muted);
	transition: color 0.2s;
}

.portfolio-brands a:hover {
	color: var(--cyan);
}

.portfolio-brands .current-brand {
	color: var(--cyan);
	font-weight: 600;
}

/* ── Footer ── */
.footer {
	padding: 80px 0 40px;
}

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

.footer-brand p {
	font-size: 0.85rem;
	color: var(--text-dim);
	margin-top: 12px;
}

.footer-backed {
	margin-top: 8px !important;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-col h5 {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text);
	margin-bottom: 4px;
}

.footer-col a {
	font-size: 0.85rem;
	color: var(--text-dim);
}

.footer-bottom {
	border-top: 1px solid var(--border);
	padding-top: 24px;
	text-align: center;
}

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

/* ── Modal ── */
.modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}

.modal-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

.modal-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 48px;
	text-align: center;
	max-width: 400px;
	width: 90%;
	position: relative;
	transform: scale(0.95);
	transition: transform 0.3s;
}

.modal-overlay.active .modal-card {
	transform: scale(1);
}

.modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	color: var(--text-dim);
	font-size: 1.5rem;
	cursor: pointer;
	line-height: 1;
}

.modal-icon {
	font-size: 2.5rem;
	margin-bottom: 16px;
}

.modal-card h3 {
	font-size: 1.3rem;
	margin-bottom: 8px;
}

.modal-card p {
	color: var(--text-dim);
	font-size: 0.9rem;
}

/* ── Avatar images ── */
[class*="avatar"]{overflow:hidden}[class*="avatar"] img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.nav-toggle {
		display: flex;
	}

	.nav-links {
		position: fixed;
		top: 64px;
		left: 0;
		right: 0;
		background: rgba(10, 10, 10, 0.97);
		backdrop-filter: blur(16px);
		flex-direction: column;
		padding: 24px;
		gap: 20px;
		border-bottom: 1px solid var(--border);
		transform: translateY(-100%);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.3s, opacity 0.3s;
	}

	.nav-links.open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.hero-inner {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 60px 24px;
	}

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

	.features-grid,
	.demo-grid,
	.testimonials-grid,
	.team-grid {
		grid-template-columns: 1fr;
	}

	.pricing-grid {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin: 0 auto;
	}

	.step {
		flex-direction: column;
		gap: 12px;
	}

	.step-number {
		width: auto;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.features,
	.how-it-works,
	.manifesto,
	.demo,
	.pricing,
	.testimonials,
	.faq,
	.team {
		padding: 64px 0;
	}

	.section-header {
		margin-bottom: 40px;
	}

	h1 {
		font-size: clamp(1.8rem, 5vw, 2.5rem);
	}
}

@media (max-width: 480px) {
	.stats-grid {
		grid-template-columns: 1fr;
	}

	.hero-actions {
		flex-direction: column;
	}

	.hero-actions .btn {
		width: 100%;
	}
}