/* Features page — Doctorwow */

.features-page {
	--fc-gold: #d4a84b;
	--fc-gold-soft: rgba(212, 168, 75, 0.16);
	--fc-text: #c9c0b4;
	--fc-muted: #8f8578;
	--fc-panel: rgba(18, 16, 14, 0.78);
	--fc-line: rgba(212, 168, 75, 0.22);
	--fc-green: #6aab6a;
	--fc-blue: #6a8fb8;
	--fc-red: #c4785a;
	max-width: 980px;
	margin: 0 auto;
	padding: 8px 12px 48px;
	text-align: start;
	font-family: Vazirmatn, Tahoma, "Segoe UI", sans-serif;
}

.content_holder:has(.features-page) > .sub-page-title {
	display: none;
}

.features-page__hero {
	text-align: center;
	padding: 18px 14px 28px;
	margin-bottom: 8px;
	background:
		radial-gradient(ellipse 85% 65% at 50% 0%, rgba(212, 168, 75, 0.14), transparent 72%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent);
	border-radius: 14px;
	animation: features-hero-in 0.55s ease both;
}

.features-page__title {
	margin: 0 0 12px;
	font-size: clamp(1.75rem, 4vw, 2.35rem);
	font-weight: 700;
	color: var(--fc-gold);
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.features-page__lead {
	margin: 0 auto;
	max-width: 42em;
	font-size: 1rem;
	line-height: 1.85;
	color: var(--fc-muted);
}

.features-page__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 22px;
}

.features-page__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 8px;
	border: 1px solid var(--fc-line);
	background: rgba(0, 0, 0, 0.35);
	color: #e8dfd2;
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.features-page__btn:hover,
.features-page__btn:focus-visible {
	color: #f5ecd8;
	border-color: rgba(212, 168, 75, 0.5);
	background: rgba(212, 168, 75, 0.12);
	outline: none;
	transform: translateY(-1px);
}

.features-page__btn--primary {
	background: linear-gradient(180deg, rgba(212, 168, 75, 0.35), rgba(140, 100, 30, 0.45));
	border-color: rgba(212, 168, 75, 0.55);
	color: #1a160f;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.features-page__btn--primary:hover,
.features-page__btn--primary:focus-visible {
	background: linear-gradient(180deg, rgba(232, 188, 85, 0.5), rgba(160, 120, 40, 0.55));
	color: #120e08;
}

.features-page__section-title {
	margin: 18px 0 16px;
	font-size: 1.15rem;
	font-weight: 700;
	color: #e0d4c4;
	text-align: center;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.features-card {
	position: relative;
	padding: 20px 18px 18px;
	border-radius: 12px;
	background: var(--fc-panel);
	border: 1px solid var(--fc-line);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
	overflow: hidden;
	transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
	animation: features-card-in 0.5s ease both;
	animation-delay: var(--fc-delay, 0ms);
}

.features-card::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--fc-accent, var(--fc-gold)), transparent);
	opacity: 0.75;
}

.features-card--gold { --fc-accent: var(--fc-gold); }
.features-card--green { --fc-accent: var(--fc-green); }
.features-card--blue { --fc-accent: var(--fc-blue); }
.features-card--red { --fc-accent: var(--fc-red); }

.features-card:hover {
	border-color: rgba(212, 168, 75, 0.42);
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(212, 168, 75, 0.08);
	transform: translateY(-3px);
}

.features-card__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 28px;
	padding: 0 10px;
	margin-bottom: 12px;
	border-radius: 999px;
	border: 1px solid rgba(212, 168, 75, 0.28);
	background: var(--fc-gold-soft);
	color: var(--fc-accent, var(--fc-gold));
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
	direction: ltr;
}

.features-card__title {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #efe6d6;
	line-height: 1.4;
}

.features-card__desc {
	margin: 0 0 14px;
	font-size: 0.9rem;
	line-height: 1.75;
	color: var(--fc-muted);
}

.features-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--fc-gold);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.features-card__link:hover,
.features-card__link:focus-visible {
	color: #f0d48a;
	border-bottom-color: rgba(240, 212, 138, 0.55);
	outline: none;
}

@keyframes features-hero-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes features-card-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
	.features-grid {
		grid-template-columns: 1fr;
	}

	.features-page {
		padding: 4px 8px 36px;
	}

	.features-page__hero {
		padding: 12px 8px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.features-page__hero,
	.features-card {
		animation: none;
	}

	.features-card:hover,
	.features-page__btn:hover {
		transform: none;
	}
}
