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

:root {
	--bg-deep:    #050c1a;
	--bg-mid:     #07112b;
	--bg-card:    #0b1835;
	--accent:     #6af0b0;
	--accent-dim: rgba(106,240,176,0.15);
	--accent-glow:rgba(106,240,176,0.35);
	--text:       #e8eaf6;
	--text-muted: #7986a8;
	--border:     rgba(106,240,176,0.18);
}

html { scroll-behavior: smooth; }

body {
	font-family: 'Plus Jakarta Sans', sans-serif;
	background: var(--bg-deep);
	color: var(--text);
	min-height: 100vh;
	overflow-x: hidden;
}

/* Stars canvas */
#stars-canvas {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 60vh;
	pointer-events: none;
	z-index: 0;
}

/* Layout */
.page-wrap {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* Header */
header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 28px 48px;
	border-bottom: 1px solid rgba(167,139,250,0.08);
	backdrop-filter: blur(4px);
}

.logo-lockup {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--text);
}

.logo-mark svg {
	width: 34px;
	height: 48px;
	filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo-wordmark {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--text);
}

.beta-chip {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 99px;
	background: var(--accent-dim);
	border: 1px solid var(--border);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-left: 4px;
	align-self: center;
}

nav a {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.2s;
}
nav a:hover { color: var(--text); }

/* Hero */
.hero {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 100px 24px 80px;
	position: relative;
}

.hero-fly {
	margin-bottom: 48px;
	opacity: 0.92;
	filter: drop-shadow(0 0 24px rgba(167,139,250,0.3)) drop-shadow(0 0 60px rgba(167,139,250,0.12));
	animation: float 6s ease-in-out infinite;
}
.hero-fly svg {
	width: 120px;
	height: 168px;
}

@keyframes float {
	0%, 100% { transform: translateY(0px); }
	50%       { transform: translateY(-10px); }
}

.hero-headline {
	font-size: clamp(28px, 5vw, 58px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.03em;
	max-width: 820px;
	color: var(--text);
	text-wrap: pretty;
	margin-bottom: 20px;
}

.hero-headline em {
	font-style: normal;
	color: var(--accent);
}

.hero-divider {
	width: 100%;
	max-width: 640px;
	border: none;
	border-top: 1px solid var(--border);
	margin: 20px 0;
}

.hero-tagline {
	font-size: clamp(16px, 2vw, 20px);
	line-height: 1.6;
	color: var(--text-muted);
	max-width: 640px;
	margin-bottom: 40px;
}

.hero-tagline strong {
	color: var(--text);
	font-weight: 700;
}

/* Code block */
.code-wrap {
	position: relative;
	width: 100%;
	max-width: 560px;
	margin-bottom: 52px;
}

.code-block {
	background: #08101f;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 18px 52px 18px 20px;
	text-align: left;
	overflow-x: auto;
}

.code-block .prompt {
	color: var(--accent);
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	user-select: none;
	margin-right: 6px;
}

.code-block code {
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	color: #c9d1f5;
	white-space: nowrap;
}

.copy-btn {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	background: var(--accent-dim);
	border: 1px solid var(--border);
	border-radius: 6px;
	color: var(--accent);
	font-size: 11px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 600;
	padding: 5px 10px;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
	white-space: nowrap;
}
.copy-btn:hover {
	background: rgba(106,240,176,0.25);
	color: #fff;
}
.copy-btn.copied {
	background: rgba(52,211,153,0.15);
	border-color: rgba(52,211,153,0.3);
	color: #34d399;
}

/* CTA button */
.cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 30px;
	background: var(--accent);
	color: #0d0621;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.01em;
	border-radius: 10px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
	box-shadow: 0 0 0 0 var(--accent-glow);
}
.cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 32px rgba(167,139,250,0.4);
	background: #bba4fb;
}
.cta-btn:active { transform: translateY(0); }

.cta-btn .slack-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.cta-note {
	margin-top: 12px;
	font-size: 12px;
	color: var(--text-muted);
}

/* Benefits */
.benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	max-width: 860px;
	margin: 0 auto 80px;
	padding: 0 24px;
}

.benefit {
	background: transparent;
	padding: 28px 32px 26px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-left: 1px solid var(--border);
}
.benefit:first-child { border-left: none; padding-left: 0; }
.benefit:last-child { padding-right: 0; }

.benefit-icon {
	width: 32px;
	height: 32px;
	margin-bottom: 4px;
	opacity: 0.85;
}

.benefit-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
	letter-spacing: -0.01em;
}

.benefit-desc {
	font-size: 13px;
	line-height: 1.6;
	color: var(--text-muted);
	text-wrap: pretty;
}

/* How it works */
.how-it-works {
	width: 100%;
	background: var(--bg-mid);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	margin: 0 0 80px;
	padding: 56px 24px;
}

.how-it-works .section-inner {
	max-width: 860px;
	margin: 0 auto;
}

.section-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 32px;
}

.steps {
	display: flex;
	align-items: flex-start;
	gap: 0;
}

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

.step-num {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	font-weight: 500;
	color: var(--accent);
	opacity: 0.6;
	padding-top: 2px;
	flex-shrink: 0;
}

.step-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 6px;
	letter-spacing: -0.01em;
}

.step-desc {
	font-size: 13px;
	line-height: 1.65;
	color: var(--text-muted);
	text-wrap: pretty;
}

.step-divider {
	width: 1px;
	height: 60px;
	background: var(--border);
	margin: 4px 28px 0;
	flex-shrink: 0;
}

/* CI section */
.ci-section {
	max-width: 860px;
	margin: 0 auto 80px;
	padding: 0 24px;
}

.ci-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.ci-desc {
	font-size: 14px;
	line-height: 1.7;
	color: var(--text-muted);
	margin-top: 12px;
	text-wrap: pretty;
}

.ci-code-wrap {
	background: #08101f;
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
}

.ci-code-header {
	padding: 10px 16px;
	border-bottom: 1px solid var(--border);
	background: rgba(255,255,255,0.02);
}

.ci-filename {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--text-muted);
}

.ci-code {
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	line-height: 1.8;
	padding: 18px 20px;
	margin: 0;
	overflow-x: auto;
}

.ci-key   { color: #7dd3fc; }
.ci-punct { color: var(--text-muted); }
.ci-val   { color: #c9d1f5; }

/* Stacks */
.stacks-section {
	max-width: 860px;
	margin: 0 auto 96px;
	padding: 0 24px;
	text-align: center;
}

.stacks-label {
	font-size: 12px;
	color: var(--text-muted);
	margin-bottom: 16px;
	letter-spacing: 0.02em;
}

.stacks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.stack-badge {
	font-size: 12px;
	font-weight: 500;
	color: var(--text-muted);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 5px 12px;
	background: var(--bg-card);
}

/* Footer */
footer {
	padding: 28px 48px;
	border-top: 1px solid rgba(167,139,250,0.08);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	color: var(--text-muted);
}

footer a {
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.2s;
}
footer a:hover { color: var(--accent); }

/* Glow blob */
.hero-glow {
	position: absolute;
	top: 0; left: 50%;
	transform: translateX(-50%);
	width: 600px;
	height: 400px;
	background: radial-gradient(ellipse at center, rgba(167,139,250,0.07) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}

@media (max-width: 640px) {
	.benefits { grid-template-columns: 1fr; }
	.steps { flex-direction: column; gap: 24px; }
	.step-divider { display: none; }
	.ci-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
	header { padding: 20px; }
	footer { padding: 20px; flex-direction: column; gap: 8px; text-align: center; }
	.code-block code { font-size: 11px; }
}
