/* Hero Section module — mobile-first, loaded only on pages that render it. */

.myio-hero {
	position: relative;
	overflow: hidden;
	background: var(--myio-hero-bg, linear-gradient(135deg, #fff0f3 0%, #ffe4ea 100%));
	padding: 24px 0 28px;
}

.myio-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.myio-hero__text {
	min-width: 0;
}

.myio-hero__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #ff4d72;
}

.myio-hero__heading {
	margin: 0 0 10px;
	font-size: 26px;
	line-height: 1.25;
	font-weight: 800;
	color: #1a1a1a;
}

.myio-hero__heading-highlight {
	display: block;
	color: #ff4d72;
}

.myio-hero__desc {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: #555;
	max-width: 520px;
}

.myio-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

.myio-hero__badge {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #333;
}

.myio-hero__badge-icon {
	display: inline-flex;
	width: 16px;
	height: 16px;
	color: #ff4d72;
	flex-shrink: 0;
}

.myio-hero__badge-icon svg {
	width: 100%;
	height: 100%;
}

.myio-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.myio-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.myio-hero__cta--primary {
	background: #ff4d72;
	color: #fff;
}

.myio-hero__cta--secondary {
	background: transparent;
	color: #ff4d72;
	border: 1.5px solid #ff4d72;
}

.myio-hero__media {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	position: relative;
}

.myio-hero__media-item {
	position: relative;
	max-width: 30%;
}

.myio-hero__media-item img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.myio-hero__media-item--phone {
	max-width: 38%;
	z-index: 1;
}

.myio-hero__media-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
}

.myio-hero__media-play svg {
	width: 20px;
	height: 20px;
}

.myio-hero__petal {
	position: absolute;
	pointer-events: none;
	opacity: 0.5;
	width: 60px;
}

.myio-hero__petal img {
	width: 100%;
	display: block;
}

.myio-hero__petal--1 {
	top: -10px;
	left: -15px;
}

.myio-hero__petal--2 {
	bottom: -10px;
	right: -15px;
	transform: scaleX(-1);
}

/* ── Tablet and up ── */
@media (min-width: 768px) {
	.myio-hero {
		padding: 48px 0;
	}

	.myio-hero__inner {
		flex-direction: row;
		align-items: center;
		gap: 40px;
	}

	.myio-hero__text {
		flex: 1 1 55%;
	}

	.myio-hero__heading {
		font-size: 38px;
	}

	.myio-hero__heading-highlight {
		display: inline;
	}

	.myio-hero__desc {
		font-size: 16px;
	}

	.myio-hero__badges {
		gap: 16px 28px;
	}

	.myio-hero__badge {
		font-size: 13px;
	}

	.myio-hero__media {
		flex: 1 1 45%;
	}

	.myio-hero__petal {
		width: 90px;
	}
}

/* ── Desktop ── */
@media (min-width: 1024px) {
	.myio-hero__heading {
		font-size: 44px;
	}
}
