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

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: #1e293b;
	background: #0f172a;
	min-height: 100vh;
}

/* Hero */
.hero {
	background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
	color: white;
	padding: 5rem 2rem 6rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
	pointer-events: none;
}

.hero-content {
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.app-icon {
	font-size: 4rem;
	margin-bottom: 1.5rem;
	display: inline-block;
}

.hero h1 {
	font-size: 3.2rem;
	font-weight: 800;
	margin-bottom: 1rem;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, #f0f9ff, #38bdf8);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.tagline {
	font-size: 1.3rem;
	color: #94a3b8;
	max-width: 600px;
	margin: 0 auto 1.5rem;
	font-weight: 400;
}

.hero-sub {
	font-size: 1rem;
	color: #64748b;
	max-width: 550px;
	margin: 0 auto;
	line-height: 1.7;
}

/* Container */
.container {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 1.5rem;
	position: relative;
	z-index: 2;
}

/* Cards */
.main-card,
.card {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	margin-bottom: 2rem;
	overflow: hidden;
}

.main-card {
	margin-top: -3rem;
}

.card {
	padding: 3rem;
}

.card h2 {
	font-size: 1.8rem;
	color: #0f172a;
	margin-bottom: 0.5rem;
	font-weight: 700;
	text-align: center;
}

.section-intro {
	text-align: center;
	color: #64748b;
	font-size: 1.05rem;
	margin-bottom: 2rem;
}

/* App Preview */
.app-preview {
	background: linear-gradient(135deg, #0f172a, #1e3a5f);
	padding: 3rem 2rem 2rem;
	text-align: center;
}

.preview-layout {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.preview-panel {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 2rem 2.5rem;
	min-width: 200px;
}

.panel-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #94a3b8;
	margin-bottom: 0.75rem;
	font-weight: 600;
}

.panel-icon {
	font-size: 3rem;
	margin-bottom: 0.5rem;
}

.panel-desc {
	font-size: 0.85rem;
	color: #64748b;
}

.preview-divider {
	font-size: 1.5rem;
	color: #475569;
	font-weight: 700;
}

.preview-caption {
	color: #64748b;
	font-size: 0.85rem;
	font-style: italic;
}

/* App Details */
.app-details {
	padding: 3rem;
}

.app-details h2 {
	font-size: 1.8rem;
	color: #0f172a;
	margin-bottom: 0.5rem;
	text-align: center;
}

/* Pipeline */
.pipeline {
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative;
}

.pipeline-step {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid #f1f5f9;
}

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

.step-number {
	background: linear-gradient(135deg, #0ea5e9, #0284c7);
	color: white;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.9rem;
	flex-shrink: 0;
	margin-top: 0.15rem;
}

.step-content h3 {
	font-size: 1.1rem;
	color: #0f172a;
	margin-bottom: 0.15rem;
	font-weight: 700;
}

.step-tech {
	font-size: 0.8rem;
	color: #0ea5e9;
	font-weight: 600;
	margin-bottom: 0.35rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.step-content p {
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Signs Grid */
.signs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.sign-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.25rem 1rem;
	text-align: center;
	transition: transform 0.2s, box-shadow 0.2s;
}

.sign-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sign-emoji {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.sign-name {
	font-weight: 700;
	font-size: 1rem;
	color: #0f172a;
	margin-bottom: 0.25rem;
}

.sign-desc {
	font-size: 0.8rem;
	color: #64748b;
}

/* Architecture Grid */
.arch-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.arch-box {
	background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
	border: 1px solid #bae6fd;
	border-radius: 12px;
	padding: 1.75rem;
	text-align: center;
}

.arch-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #0284c7;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.arch-box h3 {
	font-size: 1.1rem;
	color: #0c4a6e;
	margin-bottom: 0.5rem;
}

.arch-box p {
	font-size: 0.85rem;
	color: #0369a1;
	line-height: 1.5;
}

/* Principles */
.principles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.principle {
	padding: 1.5rem;
	border-radius: 12px;
	background: #f8fafc;
	border-left: 4px solid #0ea5e9;
}

.principle h3 {
	font-size: 1.05rem;
	color: #0f172a;
	margin-bottom: 0.5rem;
	font-weight: 700;
}

.principle p {
	font-size: 0.9rem;
	color: #475569;
	line-height: 1.6;
}

/* Examples */
.examples {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1.5rem;
}

.example {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.5rem;
	background: #f8fafc;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
}

.example-input {
	flex: 1;
	font-size: 1rem;
	color: #334155;
}

.example-arrow {
	color: #0ea5e9;
	font-size: 1.3rem;
	font-weight: 700;
	flex-shrink: 0;
}

.example-output {
	flex: 2;
	font-size: 0.95rem;
	color: #0f172a;
	font-style: italic;
}

/* Install Steps */
.install-steps {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.install-step {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.install-num {
	background: #0f172a;
	color: white;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
	flex-shrink: 0;
	margin-top: 0.25rem;
}

.install-content h3 {
	font-size: 1rem;
	color: #0f172a;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.code-block {
	background: #0f172a;
	border-radius: 8px;
	padding: 0.75rem 1rem;
}

.code-block code {
	color: #38bdf8;
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
	font-size: 0.85rem;
	word-break: break-all;
}

.prereqs {
	text-align: center;
	color: #94a3b8;
	font-size: 0.85rem;
	margin-top: 1.5rem;
}

/* Tech Grid */
.tech-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.tech-item {
	padding: 1rem 1.25rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}

.tech-category {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #0ea5e9;
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.tech-name {
	font-size: 0.95rem;
	color: #0f172a;
	font-weight: 600;
}

/* Footer */
.footer {
	text-align: center;
	padding: 3rem 2rem;
	color: #94a3b8;
}

.footer p {
	font-size: 0.9rem;
}

.footer a {
	color: #38bdf8;
	text-decoration: none;
	font-weight: 600;
}

.footer a:hover {
	text-decoration: underline;
}

.footer-sub {
	margin-top: 0.75rem;
	font-size: 0.8rem;
	color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
	.hero {
		padding: 3rem 1.5rem 4rem;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.container {
		padding: 0 1rem;
	}

	.card {
		padding: 2rem 1.5rem;
	}

	.app-details {
		padding: 2rem 1.5rem;
	}

	.preview-layout {
		flex-direction: column;
		gap: 1rem;
	}

	.preview-divider {
		transform: rotate(90deg);
	}

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

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

	.example {
		flex-direction: column;
		text-align: center;
	}

	.example-arrow {
		transform: rotate(90deg);
	}

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

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

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