/* =========================================================
   AJ Connect — Content Section
   Modern, card-driven layout for the article body.
========================================================= */

.ajc {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.ajc-intro p {
	color: color-mix(in srgb, var(--color) 82%, transparent);
	line-height: 1.7;
}

.ajc-intro p + p {
	margin-top: 0.6rem;
}

/* ---------------------------------------------------------
   Google Play CTA
--------------------------------------------------------- */
.ajc-cta {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	padding: 1.25rem 1.4rem;
	border-radius: 1rem;
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
	box-shadow: 0 10px 25px -10px color-mix(in srgb, var(--primary-color) 55%, transparent);
	position: relative;
	overflow: hidden;
}

.ajc-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 85% -10%, rgba(255, 255, 255, 0.25), transparent 55%);
	pointer-events: none;
}

.ajc-cta-icon {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(2px);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.ajc-cta-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 14px;
}

.ajc-cta-text {
	flex: 1 1 auto;
	min-width: 0;
	color: #fff;
	z-index: 1;
}

.ajc-cta-text h4 {
	font-weight: 700;
	margin-bottom: 0.2rem;
	color: #fff;
}

.ajc-cta-text p {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.5;
}

.ajc-cta-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.65rem 1.1rem;
	border-radius: 0.6rem;
	background: #fff;
	color: #374144;
	font-weight: 700;
	font-size: 0.88rem;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	z-index: 1;
}

.ajc-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.ajc-cta-btn .material-symbols-outlined {
	font-size: 1.2rem;
}

/* ---------------------------------------------------------
   Dashboard screenshot
--------------------------------------------------------- */
.ajc-shot {
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid var(--border-color);
	/* background: var(--secondary-surface-bg); */
    display:flex; justify-content:center;
}

.ajc-shot img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------------------------------------------------------
   Section shell (Key Features / Timeline)
--------------------------------------------------------- */
.ajc-section {
	padding: 1.4rem;
	border-radius: 1rem;
	border: 1px solid var(--border-color);
	background: var(--secondary-surface-bg);
}

.ajc-section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.ajc-section-title .material-symbols-outlined {
	font-size: 1.3rem;
	font-variation-settings: 'FILL' 1, 'wght' 500;
}

.ajc-section-sub {
	color: color-mix(in srgb, var(--color) 80%, transparent);
	margin-bottom: 1rem;
}

/* ---------------------------------------------------------
   Feature grid
--------------------------------------------------------- */
.ajc-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 0.85rem;
}

.ajc-feature {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	padding: 0.85rem;
	border-radius: 0.7rem;
	background: var(--background);
	border: 1px solid var(--border-color);
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ajc-feature:hover {
	border-color: color-mix(in srgb, var(--primary-color) 55%, var(--border-color));
	transform: translateY(-2px);
	box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--primary-color) 60%, transparent);
}

.ajc-feature-icon {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	display: grid;
	place-items: center;
	background: color-mix(in srgb, var(--primary-color) 16%, transparent);
	color: var(--primary-color);
}

.ajc-feature-icon .material-symbols-outlined {
	font-size: 1.15rem;
}

.ajc-feature p {
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--color);
}

/* ---------------------------------------------------------
   Examination timeline
--------------------------------------------------------- */
.ajc-timeline {
	display: flex;
	align-items: flex-start;
	gap: 0;
	padding: 0.5rem 0 1rem;
}

.ajc-step {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
	min-width: 0;
}

.ajc-step::before {
	content: "";
	position: absolute;
	top: 18px;
	left: -50%;
	width: 100%;
	height: 2px;
	background: color-mix(in srgb, var(--primary-color) 35%, var(--border-color));
	z-index: 0;
}

.ajc-step:first-child::before {
	content: none;
}

.ajc-step-dot {
	position: relative;
	z-index: 1;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--background);
	border: 2px solid color-mix(in srgb, var(--primary-color) 55%, var(--border-color));
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.ajc-step-dot .material-symbols-outlined {
	font-size: 1.15rem;
}

.ajc-step-label {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--color);
	padding: 0 0.25rem;
}

.ajc-timeline-note {
	font-size: 0.85rem;
	color: color-mix(in srgb, var(--color) 75%, transparent);
	text-align: center;
}

@media (max-width: 640px) {
	.ajc-timeline {
		flex-direction: column;
		align-items: stretch;
		gap: 0.9rem;
	}

	.ajc-step {
		flex-direction: row;
		text-align: left;
		align-items: center;
		gap: 0.7rem;
	}

	.ajc-step::before {
		top: 0;
		left: 18px;
		width: 2px;
		height: 100%;
		transform: translateY(-100%);
	}

	.ajc-step-dot {
		margin-bottom: 0;
		flex: 0 0 38px;
	}

	.ajc-step-label {
		padding: 0;
	}
}

/* ---------------------------------------------------------
   FAQ
--------------------------------------------------------- */
.ajc-faq {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.ajc-faq-item {
	border: 1px solid var(--border-color);
	border-radius: 0.7rem;
	background: var(--background);
	padding: 0.85rem 1rem;
}

.ajc-faq-item + .ajc-faq-item {
	margin-top: 0;
}

.ajc-faq-item summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--color);
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
}

.ajc-faq-item summary::-webkit-details-marker {
	display: none;
}

.ajc-faq-item summary::after {
	content: "expand_more";
	font-family: "Material Symbols Outlined";
	font-size: 1.3rem;
	color: var(--primary-color);
	flex: 0 0 auto;
	transition: transform 0.2s ease;
}

.ajc-faq-item[open] summary::after {
	transform: rotate(180deg);
}

.ajc-faq-item p {
	margin-top: 0.6rem;
	font-size: 0.9rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--color) 82%, transparent);
}

/* ---------------------------------------------------------
   Disclaimer
--------------------------------------------------------- */
.ajc-disclaimer {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	padding: 0.9rem 1rem;
	border-radius: 0.7rem;
	background: var(--info-bg);
	border: var(--info-border);
	color: var(--info-text);
	font-size: 0.85rem;
	line-height: 1.6;
}

.ajc-disclaimer .material-symbols-outlined {
	flex: 0 0 auto;
	font-size: 1.2rem;
	margin-top: 0.1rem;
}

.ajc-disclaimer strong {
	color: inherit;
}

/* Responsive tweaks */
@media (max-width: 560px) {
	.ajc-cta {
		flex-wrap: wrap;
	}

	.ajc-cta-btn {
		width: 100%;
		justify-content: center;
	}
}
