/* ── Reset & Base ─────────────────────────────────── */

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

html {
	height: 100%;
	font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
	background: #f4f6f9;
	color: #001840;
	-webkit-font-smoothing: antialiased;
}

body {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	background: #f4f6f9;
}

/* ── Main ────────────────────────────────────────── */

main {
	flex: 1;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
}

/* ── Page nav (inner pages) ──────────────────────── */

.page-nav {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(0, 24, 64, 0.08);
}

.back-link {
	font-size: 13px;
	font-weight: 600;
	color: #0068ff;
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: color 0.15s ease;
}

.back-link:hover {
	color: #0050c8;
	text-decoration: none;
}

.page-nav-title {
	font-size: 14px;
	color: #8faabf;
	font-weight: 400;
}

/* ── Typography (app detail pages) ──────────────── */

h1 {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 48px;
	font-weight: 400;
	letter-spacing: 0.05em;
	color: #001840;
	margin-bottom: 0.5rem;
}

h2 {
	font-size: 18px;
	font-weight: 600;
	color: #1a3050;
	margin-bottom: 0.35rem;
}

h3 {
	font-size: 13px;
	font-weight: 500;
	color: #4a6070;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

section {
	margin-bottom: 2.25rem;
}

p {
	font-size: 15px;
	line-height: 1.75;
	color: #4a6070;
	margin-bottom: 0.75rem;
}

a {
	color: #0068ff;
	text-decoration: none;
}

a:hover {
	color: #0050c8;
	text-decoration: none;
}

ul {
	padding-left: 1.25rem;
	color: #4a6070;
	line-height: 1.9;
	font-size: 15px;
}

dl {
	margin-top: 0.5rem;
}

dt {
	font-weight: 600;
	color: #1a3050;
	font-size: 15px;
	margin-top: 1.25rem;
}

dl dd {
	color: #4a6070;
	margin: 0.25rem 0 0 1rem;
	line-height: 1.7;
	font-size: 15px;
}

/* ── Hero (homepage) ─────────────────────────────── */

.hero {
	text-align: center;
	padding: 1.25rem 0 2.5rem;
}

.hero h1 {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 80px;
	font-weight: 400;
	letter-spacing: 0.14em;
	color: #001840;
	margin-bottom: 0.75rem;
	line-height: 1;
}

.hero p {
	font-size: 17px;
	color: #8faabf;
	font-weight: 400;
	letter-spacing: 0.01em;
	margin: 0;
}

/* ── Social Links (homepage) ─────────────────────── */

.social-links {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
	flex-wrap: wrap;
}

.social-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: #001840;
	color: #ffffff;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 13px 26px;
	border-radius: 999px;
	border: 2px solid transparent;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.social-btn:hover {
	background: #0068ff;
	color: #ffffff;
	transform: translateY(-2px);
}

.social-btn--email {
	background: transparent;
	color: #001840;
	border-color: rgba(0, 24, 64, 0.25);
}

.social-btn--email:hover {
	background: #0068ff;
	border-color: #0068ff;
	color: #ffffff;
}

.social-icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
	flex-shrink: 0;
}

/* ── Cards ───────────────────────────────────────── */

.cardContainer {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid rgba(0, 24, 64, 0.08);
	box-shadow: 0 2px 12px rgba(0, 24, 64, 0.06);
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
	border-color: rgba(0, 104, 255, 0.35);
	transform: translateY(-2px);
	box-shadow: 0 10px 36px rgba(0, 104, 255, 0.1);
}

.cardLeft {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 2.25rem 2.5rem;
	gap: 0.4rem;
}

.card-name {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 44px;
	font-weight: 400;
	letter-spacing: 0.05em;
	color: #001840;
	line-height: 1;
	margin: 0;
}

.card-name a {
	color: #001840;
	text-decoration: none;
	transition: color 0.15s ease;
}

.card-name a:hover {
	color: #0068ff;
	text-decoration: none;
}

.card-subtitle {
	font-size: 11px;
	font-weight: 500;
	color: #8faabf;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0;
}

.card-desc {
	font-size: 15px;
	color: #4a6070;
	line-height: 1.6;
	margin: 0.5rem 0 0.75rem;
}

.divider {
	width: 1px;
	background: rgba(0, 104, 255, 0.1);
	flex-shrink: 0;
}

.cardRight {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1.5rem;
	gap: 0.75rem;
	background: #f4f6f9;
}

.preview-pic {
	width: 30%;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0, 24, 64, 0.15);
}

.cardRight--landscape {
	flex-wrap: wrap;
	align-content: center;
}

.cardRight--landscape .preview-pic {
	width: calc(50% - 0.375rem);
	border-radius: 8px;
}

.coming-soon-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	padding: 2.5rem 2rem;
	border: 1px dashed rgba(0, 104, 255, 0.3);
	border-radius: 12px;
	background: #ffffff;
	color: #001840;
	min-width: 60%;
	text-align: center;
}

.coming-soon-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(0, 24, 64, 0.55);
}

.coming-soon-headline {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 2rem;
	letter-spacing: 0.04em;
	color: #0068ff;
}

/* ── Badge ───────────────────────────────────────── */

.badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 4px 10px;
	border-radius: 999px;
}

.badge--ios-app {
	background: rgba(0, 104, 255, 0.1);
	color: #0050c8;
}

.badge--web-app {
	background: rgba(0, 160, 100, 0.1);
	color: #006640;
}

.badge--website {
	background: rgba(120, 60, 200, 0.1);
	color: #5a00b4;
}

/* ── Stack Tags ──────────────────────────────────── */

.card-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin-bottom: 10px;
}

.tag {
	display: inline-block;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(0, 24, 64, 0.18);
	color: #4a6070;
	background: transparent;
	white-space: nowrap;
}

/* ── Button ──────────────────────────────────────── */

.btn {
	display: inline-block;
	background: #0068ff;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 22px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
	margin-top: 0.25rem;
}

.btn:hover {
	background: #0050c8;
	transform: translateY(-1px);
}

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 768px) {
	main {
		padding: 1.5rem 1rem;
	}

	.hero {
		padding: 2rem 0 1.5rem;
	}

	.hero h1 {
		font-size: 56px;
	}

	.hero p {
		font-size: 15px;
	}

	.card {
		flex-direction: column;
	}

	.cardLeft {
		padding: 1.5rem;
	}

	.cardRight {
		padding: 1.25rem 1.5rem 1.5rem;
		border-top: 1px solid rgba(0, 104, 255, 0.1);
	}

	.divider {
		display: none;
	}

	.card-name {
		font-size: 34px;
	}

	h1 {
		font-size: 36px;
	}

	h2 {
		font-size: 16px;
	}
}
