/* ========== realfit App page ========== */
.app-page {
	background: #fff;
}

.app-hero {
	position: relative;
	padding: 5.6rem 0 5.6rem;
	box-sizing: border-box;
	background-color: #e8eef3;
	background-image: url('../upload/service-and-support/realfit%20App-bg.jpg');
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: cover;
	overflow: hidden;
}

.app-hero-inner {
	position: relative;
	z-index: 1;
	width: 85%;
	max-width: 140rem;
	margin: 0 auto;
	text-align: center;
}

.app-hero-title {
	margin: 0;
	font-size: 5.6rem;
	line-height: 1.15;
	font-weight: 700;
	color: #000;
}

.app-hero-sub {
	margin: 1.2rem 0 0;
	font-family: 'Outfit', 'Microsoft YaHei', PingFang SC, -apple-system, Arial, sans-serif;
	font-size: 2.2rem;
	line-height: 1.4;
	font-weight: 400;
	color: #000;
}

.app-downloads {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1.6rem;
	margin-top: 2.4rem;
}

.app-dl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-width: 22rem;
	height: 5.2rem;
	padding: 0 2.4rem;
	border-radius: 1rem;
	background: #000;
	color: #fff;
	font-family: 'Outfit', 'Microsoft YaHei', PingFang SC, -apple-system, Arial, sans-serif;
	font-size: 1.6rem;
	line-height: 1;
	font-weight: 400;
	text-decoration: none;
	box-sizing: border-box;
	transition: opacity .2s ease;
}

.app-dl-btn:hover {
	opacity: 0.82;
	color: #fff;
}

.app-dl-btn img {
	display: block;
	width: auto;
	height: 2.4rem;
	object-fit: contain;
}

.app-hero-visual {
	/* Large enough to sit in the glow, close under buttons */
	width: min(86rem, 62%);
	margin: 6rem auto 0;
	line-height: 0;
}

.app-hero-visual img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 1440px) {
	.app-hero {
		padding-top: 4.8rem;
	}

	.app-hero-title {
		font-size: 4.8rem;
	}

	.app-hero-visual {
		width: min(76rem, 66%);
	}
}

@media (max-width: 1200px) {
	.app-hero-title {
		font-size: 4.2rem;
	}

	.app-hero-sub {
		font-size: 2rem;
	}

	.app-dl-btn {
		min-width: 20rem;
		height: 4.8rem;
	}

	.app-hero-visual {
		width: min(68rem, 70%);
	}
}

@media (max-width: 1024px) {
	.app-hero {
		padding-top: 4rem;
		background-size: cover;
	}

	.app-hero-title {
		font-size: 3.6rem;
	}

	.app-hero-sub {
		font-size: 1.8rem;
		margin-top: 1rem;
	}

	.app-downloads {
		margin-top: 2rem;
		gap: 1.2rem;
	}

	.app-dl-btn {
		min-width: 17rem;
		height: 4.4rem;
		font-size: 1.4rem;
		padding: 0 1.8rem;
	}

	.app-dl-btn img {
		height: 2rem;
	}

	.app-hero-visual {
		width: min(56rem, 78%);
	}
}

@media (max-width: 880px) {
	.app-hero {
		padding: 1.6rem 0 6.4rem;
		background-size: cover;
		background-position: center 80%;
	}

	.app-hero-inner {
		width: 90%;
	}

	.app-hero-title {
		font-size: 3.2rem;
	}

	.app-hero-sub {
		font-size: 1.7rem;
	}

	.app-downloads {
		margin-top: 1.6rem;
	}

	.app-dl-btn {
		min-width: 16rem;
		height: 4.4rem;
		border-radius: 0.8rem;
	}

	.app-hero-visual {
		width: min(36rem, 86%);
	}
}

@media (max-width: 480px) {
	.app-hero {
		padding: 4rem 0 5.6rem;
		background-size: cover;
		background-position: center 85%;
	}

	.app-hero-title {
		font-size: 2.8rem;
	}

	.app-hero-sub {
		font-size: 1.6rem;
	}

	.app-downloads {
		margin-top: 1.4rem;
		gap: 1rem;
	}

	.app-dl-btn {
		width: auto;
		min-width: 0;
	}

	.app-hero-visual {
		width: min(32rem, 92%);
	}
}
