/* ==========================================================================
   App sales pages (e.g. SafeJot), on top of clinic-software.css.
   Loaded only on the app templates (inc/apps.php).
   ========================================================================== */

.app-hero__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
}

.app-hero__brand img { width: 52px; height: 52px; border-radius: 14px; }

.app-hero__visual { display: flex; justify-content: center; }

.app-hero__icon {
	width: min(260px, 70%);
	aspect-ratio: 1;
	border-radius: 22%;
	overflow: hidden;
	box-shadow: 0 30px 80px -24px rgba(34, 211, 238, 0.55);
}

.app-hero__icon img { display: block; width: 100%; height: 100%; }

/* Phone frame around a screenshot. */
.app-phone {
	display: block;
	width: min(280px, 72vw);
	margin: 0;
	padding: 10px;
	border: 1px solid var(--c-on-dark-line);
	border-radius: 38px;
	background: #0b1024;
	box-shadow: 0 30px 80px -30px rgba(34, 211, 238, 0.45);
}

.app-phone img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 28px;
}

.app-shots {
	display: grid;
	gap: 32px;
	justify-items: center;
}

@media (min-width: 760px) {
	.app-shots { grid-template-columns: repeat(3, 1fr); }
}

.app-shots__item { margin: 0; text-align: center; }
.app-shots__item .app-phone { width: min(250px, 70vw); box-shadow: var(--sh-md); }
.app-shots__item figcaption { margin-top: 14px; font-size: 0.92rem; color: var(--c-muted); }

@media (min-width: 760px) {
	.app-steps { grid-template-columns: repeat(3, 1fr); }
}

.app-plan { max-width: 520px; margin-inline: auto; }
.app-plan .btn-row { gap: 12px; }
.app-plan__note { margin: 16px 0 0; font-size: 0.88rem; }

.app-tech__stats { margin-bottom: clamp(32px, 5vw, 56px); }

/* Persian page: Latin terms (AES-256, SHA-256, RFC 7914) keep Latin digits. */
.app-landing.clinic-landing--fa,
.app-landing.clinic-landing--fa :is(h1, h2, h3, p, li, summary, .btn) { font-family: "Inter", "Vazirmatn", ui-sans-serif, system-ui, sans-serif; }

/* Website products: screenshots in a browser window instead of a phone. */
.app-hero__figure { margin: 0; }
.app-hero__visual--web { align-self: center; }
.app-hero__visual--web .app-hero__figure { width: 100%; }

.app-browser {
	display: block;
	width: 100%;
	border: 1px solid var(--c-on-dark-line);
	border-radius: 14px;
	overflow: hidden;
	background: #0b1024;
	box-shadow: 0 30px 80px -30px rgba(34, 211, 238, 0.45);
}

.app-browser__bar {
	display: flex;
	gap: 6px;
	padding: 9px 12px;
	background: #151b33;
}

.app-browser__bar i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
}

.app-browser img {
	display: block;
	width: 100%;
	height: auto;
	background: #fff;
}

.app-shots--web { justify-items: stretch; gap: 36px 28px; }

@media (min-width: 760px) {
	.app-shots--web { grid-template-columns: repeat(2, 1fr); }
}

.app-shots--web .app-browser { box-shadow: var(--sh-md); border-color: var(--c-line, rgba(0, 0, 0, 0.08)); }
