/* Global Styles ------------------------------------------------------------ */

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

html,
body {
	height: 100%;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #d5dbdb;
	display: flex;
	flex-direction: column;
}

/* Layout ------------------------------------------------------------------- */

.container {
	max-width: 768px;
	margin: 0 auto;
	padding: 0 20px;
}

.main-content {
	flex: 1;
	overflow-y: auto;
	/* padding: 0 0 20px 0; */
}

/* Typography --------------------------------------------------------------- */

.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.font-large {
	font-size: 1.5rem;
}

.font-medium {
	font-size: 1.2rem;
}

.font-small {
	font-size: 0.9rem;
}

/* Spacing ------------------------------------------------------------------ */

.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;
}

.mt-1 {
	margin-top: 0.5rem;
}

.mt-2 {
	margin-top: 1rem;
}

.mt-3 {
	margin-top: 1.5rem;
}

.mt-4 {
	margin-top: 2rem;
}

.p-1 {
	padding: 0.5rem;
}

.p-2 {
	padding: 1rem;
}

.p-3 {
	padding: 1.5rem;
}

.p-4 {
	padding: 2rem;
}

/* Buttons ------------------------------------------------------------------ */

.btn {
	display: inline-block;
	padding: 5px 15px;
	background-color: #007bff;
	color: white;
	text-decoration: none;
	border-radius: 17px;
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

.btn:hover {
	background-color: #0056b3;
}

.btn-secondary {
	background-color: #6c757d;
}

.btn-secondary:hover {
	background-color: #545b62;
}

/* Header ------------------------------------------------------------------- */

header {
	background-color: #34495e;
	border-bottom: 1px solid #2c3e50;
	padding: 10px 0;
	flex-shrink: 0;
}

header nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header h1 {
	font-size: 1.5rem;
	margin: 0;
}

header h1 a {
	text-decoration: none;
	color: white;
	font-weight: normal;
}

header h1 a:hover {
	color: #bdc3c7;
}

.header-links {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.login-link {
	text-decoration: none;
	color: white;
}

.login-link:hover {
	color: #bdc3c7;
}

/* Footer ------------------------------------------------------------------- */

footer {
	background-color: #34495e;
	border-top: 1px solid #2c3e50;
	padding: 0.25rem 0;
	flex-shrink: 0;
	font-size: 0.8rem;
	color: white;
}

footer .container>div {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

footer p {
	margin: 0;
}

footer a {
	color: white;
	text-decoration: none;
}

footer a:hover {
	color: #bdc3c7;
}

/* Hero Section ------------------------------------------------------------- */

.hero {
	background: #2c3e50;
	color: white;
	padding: 1.5rem 0;
}

.hero-content {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.hero-main {
	display: flex;
	align-items: center;
	gap: 2rem;
	flex: 1;
	justify-content: center;
}

.hero-text {
	text-align: left;
	position: relative;
	top: -5px;
}

.hero-app-buttons {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
}

.hero-icon {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.hero-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-text h1 {
	font-size: 2rem;
	margin: 0;
	color: white;
	font-weight: normal;
	line-height: 1.4;
}

.hero-text h2 {
	font-size: 1.5rem;
	margin: 0;
	color: #DDDDDD;
	font-weight: normal;
	line-height: 1.4;
}

.hero-text p {
	font-size: 1.2rem;
	color: #bdc3c7;
	margin: 0;
}

/* What Section ------------------------------------------------------------- */

.what-section {
	padding: 2rem 0;
	background-color: #f7f9f9;
}

.what-section h2 {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 3rem;
	color: #333;
}

.what-intro {
	font-size: 1.33rem;
	padding-bottom: 40px;
	color: #333;
}

.what-demo-link {
	display: inline-block;
	color: #333;
	padding: 0 6px;
	/*
	margin: 0 2px;
	border: 1px solid #ccc;
	font-style: italic;
	*/
	border-radius: 5px;
	background: #e1f5fe;
	text-decoration: none;
}

.what-demo-link:hover {
	background: #b3e5fc;
}

.what-outro {
	font-size: 1rem;
	padding: 30px 0;
	color: #666;
}

.image-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.image-grid img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: top;
	border: 1px solid #cfd8dc;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.screenshot-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
}

.screenshot-row img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: top;
	border: 1px solid #cfd8dc;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* About Us Section ------------------------------------------------------------- */

.about-section {
	background-color: #d5dbdb;
	padding: 2rem 0;
}

.about-section h2 {
	text-align: center;
	font-size: 1.5rem;
	margin-bottom: 2rem;
	color: #34495e;
	position: relative;
	font-weight: normal;
}

.about-section h2::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 2px;
	background-color: #95a5a6;
}

.about-section p {
	text-align: center;
	font-size: 1.1rem;
	color: #5d6d7e;
	max-width: 500px;
	margin: 0 auto;
	line-height: 1.6;
}

.app-store-buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.app-store-btn {
	display: inline-block;
	width: 135px;
	height: 40px;
	border-radius: 6px;
	border: 1px solid #ccc;
	overflow: hidden;
	opacity: 0.7;
	transition: opacity 0.3s ease;
	cursor: not-allowed;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.app-store-btn:hover {
	opacity: 0.9;
}

.app-store-apple {
	background-image: url('img/getAppStore.svg');
}

.app-store-google {
	background-image: url('img/getGoogPlay.png');
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Terms of Service Section ------------------------------------------------- */

.legal-section {
	padding: 2rem 0;
}

.legal-section h1 {
	font-size: 1.5rem;
	margin: 0 0 15px 0;
	;
	font-weight: 500;
	text-align: center;
}

.legal-section h2 {
	font-size: 1.3rem;
	margin: 20px 0 10px 0;
	font-weight: 500;
}

.legal-section h3 {
	font-size: 1.1rem;
	margin: 0 0 10px 0;
	text-decoration: underline;
	font-weight: normal;
}

.legal-section p {
	font-size: 1rem;
	margin-bottom: 20px;
	line-height: 1.6;
	color: #333;
}

.legal-section ul {
	margin-left: 20px;
	margin-bottom: 20px;
}

.legal-section li {
	margin-bottom: 10px;
}

/* -------------------------------------------------------------------------- */
/* ----- Responsive --------------------------------------------------------- */
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {

	header h1 {
		font-size: 1.2rem;
	}

	header h2 {
		font-size: 1rem;
	}

	.login-link {
		font-size: 0.9rem;
	}

	.btn {
		font-size: 0.9rem;
	}

	.container {
		padding: 0 15px;
	}

	.hero {
		padding: 1rem 0;
	}

	.hero-content {
		gap: 1rem;
		flex-direction: column;
		text-align: center;
	}

	.hero-main {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 1rem;
		order: 1;
	}

	.hero-text {
		flex: 1;
	}

	.hero-app-buttons {
		order: 2;
		flex-direction: row;
		gap: 0.5rem;
	}

	.hero-app-buttons .app-store-btn {
		width: 100px;
		height: 30px;
	}

	.hero-app-buttons .app-store-google {
		width: 100px;
	}

	.hero-icon {
		width: 90px;
		height: 90px;
	}

	.hero-text h1 {
		font-size: 1.5rem;
	}

	.hero-text h2 {
		font-size: 1.25rem;
	}

	.hero-text p {
		font-size: 1.1rem;
	}

	.what-section {
		padding: 2rem 0;
	}

	.what-intro {
		font-size: 1.1rem;
		padding-bottom: 25px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.what-outro {
		font-size: 0.9rem;
		padding: 25px 20px;
	}

	.about-section {
		padding: 2rem 0;
	}

	.about-section p {
		font-size: 1rem;
		padding-left: 20px;
		padding-right: 20px;
	}

	.app-store-buttons {
		flex-direction: column;
		align-items: center;
		gap: 0.75rem;
	}

	.about-section h2 {
		font-size: 1.3rem;
	}

	.image-grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.image-grid img:not(:first-child) {
		display: none;
	}

	.screenshot-row {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.screenshot-row img:not(:first-child) {
		display: none;
	}

	footer p:first-child {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		flex: 1;
		min-width: 0;
	}

	.legal-section h1 {
		font-size: 1.4rem;
	}

	.legal-section h2 {
		font-size: 1.2rem;
	}
}