/* ══════════════════════════════════════
   HOME — HOW IT WORKS / EDUCATIONAL / POPULAR ARTICLES / HADITH / FAQ / CTA
══════════════════════════════════════ */

/* ── How It Works ── */
.de-home-how {
	padding: 80px 0;
	border-top: 1px solid var(--border);
}

.de-steps-track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-radius: var(--r-lg);
	overflow: hidden;
	border: 1px solid var(--border-hi);
	margin-top: 44px;
}

.de-home-how__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 28px;
}

.de-step {
	background: var(--surface);
	padding: 40px 32px;
	border-right: 1px solid var(--border);
	transition: background .25s;
	position: relative;
}

.de-step:last-child {
	border-right: none;
}

.de-step:hover {
	background: var(--surface2);
}

.de-step::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--ocean), var(--gold));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--ease);
}

.de-step:hover::before {
	transform: scaleX(1);
}

.de-step__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ocean-dim);
	border: 1.5px solid var(--ocean-bdr);
	font-size: 15px;
	font-weight: 800;
	color: var(--ocean);
	margin-bottom: 20px;
}

.de-step h3 {
	font-size: 16px;
	font-weight: 700;
	color: var(--t1);
	margin-bottom: 10px;
}

.de-step p {
	font-size: 14.5px;
	color: var(--t2);
	line-height: 1.72;
}

/* ── Educational Material ── */
.de-home-educational {
	padding: 88px 0;
	border-top: 1px solid var(--border);
	background:
		radial-gradient(circle at 15% 15%, rgba(26,122,117,0.045), transparent 32%),
		radial-gradient(circle at 85% 70%, rgba(154,123,79,0.04), transparent 30%);
}

.de-educational-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
	gap: 56px;
	align-items: center;
}

.de-educational-copy {
	max-width: 760px;
}

.de-educational-copy .de-sec-title {
	margin-bottom: 24px;
}

.de-educational-copy p {
	font-size: 16px;
	line-height: 1.85;
	color: var(--t2);
	margin: 0 0 16px;
}

.de-educational-panel {
	background: var(--surface);
	border: 1px solid var(--border-hi);
	border-radius: var(--r-xl);
	padding: 34px;
	box-shadow: 0 18px 54px rgba(0,0,0,0.055);
	position: relative;
	overflow: hidden;
}

.de-educational-panel::before {
	content: '';
	position: absolute;
	top: -90px;
	right: -90px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(154,123,79,0.11), transparent 66%);
	pointer-events: none;
}

.de-educational-panel__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
	position: relative;
	z-index: 1;
}

.de-educational-panel__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ocean-dim);
	border: 1px solid var(--ocean-bdr);
	color: var(--ocean);
	font-size: 20px;
}

.de-educational-panel h3 {
	margin: 0;
	font-size: 20px;
	line-height: 1.2;
	color: var(--t1);
}

.de-approach-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	position: relative;
	z-index: 1;
}

.de-approach-item {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 14px;
	align-items: start;
	padding: 16px;
	background: var(--surface2);
	border: 1px solid var(--border);
	border-radius: var(--r);
	transition: transform .22s, border-color .22s, background .22s;
}

.de-approach-item:hover {
	transform: translateY(-2px);
	background: var(--surface);
	border-color: var(--ocean-bdr);
}

.de-approach-item span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(26,122,117,0.08);
	color: var(--ocean);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
}

.de-approach-item p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--t2);
}

/* Popular dream categories */
.de-home-categories {
	padding: 80px 0;
	border-top: 1px solid var(--border);
}

.de-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 38px;
}

.de-category-card {
	display: flex;
	flex-direction: column;
	min-height: 188px;
	padding: 24px;
	background: var(--surface);
	border: 1px solid var(--border-hi);
	border-radius: var(--r-lg);
	color: var(--t1);
	text-decoration: none;
	box-shadow: 0 8px 26px rgba(0,0,0,0.03);
	transition: transform .22s, border-color .22s, background .22s, box-shadow .22s;
}

.de-category-card:hover {
	transform: translateY(-2px);
	background: var(--surface2);
	border-color: var(--ocean-bdr);
	box-shadow: 0 14px 34px rgba(0,0,0,0.05);
}

.de-category-card h3 {
	margin: 0 0 10px;
	font-family: var(--font-d);
	font-size: 25px;
	font-weight: 600;
	line-height: 1.15;
}

.de-category-card p {
	margin: 0;
	color: var(--t2);
	font-size: 14px;
	line-height: 1.65;
}

.de-category-card span {
	margin-top: auto;
	padding-top: 16px;
	color: var(--ocean);
	font-size: 12.5px;
	font-weight: 800;
}

/* ── Popular Articles ── */
.de-home-popular-articles {
	padding: 80px 0;
	border-top: 1px solid var(--border);
}

.de-sec-desc {
	max-width: 680px;
	margin-top: 16px;
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--t2);
}

.de-popular-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin-top: 44px;
}

.de-popular-card {
	display: flex;
	flex-direction: column;
	min-height: 240px;
	padding: 28px 26px;
	background: var(--surface);
	border: 1px solid var(--border-hi);
	border-radius: var(--r-lg);
	text-decoration: none;
	box-shadow: 0 10px 34px rgba(0,0,0,0.035);
	transition: transform .22s, border-color .22s, background .22s, box-shadow .22s;
}

.de-popular-card:hover {
	transform: translateY(-3px);
	background: var(--surface2);
	border-color: var(--ocean-bdr);
	box-shadow: 0 16px 44px rgba(0,0,0,0.06);
}

.de-popular-card__eyebrow {
	display: inline-flex;
	width: fit-content;
	margin-bottom: 18px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--ocean-dim);
	border: 1px solid var(--ocean-bdr);
	color: var(--ocean);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.de-popular-card h3 {
	margin: 0 0 12px;
	color: var(--t1);
	font-size: 18px;
	line-height: 1.35;
	font-weight: 750;
}

.de-popular-card p {
	margin: 0;
	color: var(--t2);
	font-size: 14.5px;
	line-height: 1.72;
}

.de-popular-card__link {
	margin-top: auto;
	padding-top: 22px;
	color: var(--ocean);
	font-size: 13px;
	font-weight: 800;
}

/* Latest guides */
.de-home-latest-articles {
	padding: 80px 0;
	border-top: 1px solid var(--border);
}

.de-latest-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
}

.de-latest-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin-top: 40px;
}

.de-latest-card {
	display: flex;
	flex-direction: column;
	min-height: 220px;
	padding: 26px;
	background: var(--surface2);
	border: 1px solid var(--border-hi);
	border-radius: var(--r-lg);
}

.de-latest-card__date {
	margin: 0 0 12px;
	color: var(--ocean);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.de-latest-card h3 {
	margin: 0 0 12px;
	font-size: 19px;
	line-height: 1.4;
}

.de-latest-card h3 a {
	color: var(--t1);
	text-decoration: none;
}

.de-latest-card h3 a:hover {
	color: var(--ocean);
}

.de-latest-card > p:not(.de-latest-card__date) {
	margin: 0;
	color: var(--t2);
	font-size: 14px;
	line-height: 1.65;
}

.de-latest-card__link {
	margin-top: auto;
	padding-top: 18px;
	color: var(--ocean);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

/* ── Hadith ── */
.de-home-hadith {
	padding: 72px 0;
}

.de-hadith-block {
	background: var(--surface2);
	border: 1px solid var(--border-hi);
	border-top: 2px solid var(--ocean);
	border-radius: var(--r-xl);
	padding: 72px 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0,0,0,0.04),
	            inset 0 1px 0 rgba(255,255,255,0.6);
}

.de-hadith-block::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 500px;
	height: 200px;
	background: radial-gradient(ellipse, rgba(26,122,117,0.05) 0%, transparent 65%);
	pointer-events: none;
}

.de-hadith-block::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 460px;
	height: 460px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%239A7B4F' stroke-width='0.7'%3E%3Cpath d='M100 12L112 60L160 48L128 88L175 100L128 112L160 152L112 140L100 188L88 140L40 152L72 112L25 100L72 88L40 48L88 60Z'/%3E%3Ccircle cx='100' cy='100' r='62'/%3E%3Ccircle cx='100' cy='100' r='44'/%3E%3Cpath d='M100 38L100 162M38 100L162 100M55 55L145 145M145 55L55 145'/%3E%3C/g%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	opacity: .05;
	pointer-events: none;
}

.de-hadith-block__arabic {
	font-size: 30px;
	line-height: 2;
	direction: rtl;
	color: var(--gold);
	opacity: .65;
	margin-bottom: 32px;
	position: relative;
	z-index: 1;
}

.de-hadith-block__quote {
	font-family: var(--font-d);
	font-style: italic;
	font-size: clamp(22px,2.8vw,33px);
	font-weight: 300;
	line-height: 1.55;
	color: var(--t1);
	max-width: 700px;
	margin: 0 auto 28px;
	position: relative;
	z-index: 1;
}

.de-hadith-block__quote::before {
	content: '\201C';
	position: absolute;
	left: -14px;
	top: 18px;
	font-size: 72px;
	line-height: 0;
	color: var(--ocean);
	opacity: .18;
	font-family: var(--font-d);
}

.de-hadith-block__source {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ocean);
	position: relative;
	z-index: 1;
	opacity: .9;
}

/* ── FAQ ── */
.de-home-faq {
	padding: 80px 0;
	border-top: 1px solid var(--border);
}

.de-faq-grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 72px;
	align-items: start;
}

.de-faq-sticky {
	position: sticky;
	top: 86px;
}

.de-faq-sticky .de-sec-title {
	font-size: clamp(30px,3.5vw,44px);
	margin-bottom: 14px;
}

.de-faq-desc {
	font-size: 15px;
	color: var(--t2);
	line-height: 1.72;
	margin-bottom: 28px;
}

.de-faq-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	background: var(--ocean);
	color: #fff;
	font-size: 13.5px;
	font-weight: 700;
	border-radius: 50px;
	box-shadow: 0 4px 16px rgba(26,122,117,0.2);
	transition: transform .2s, box-shadow .2s, background .2s;
}

.de-faq-cta:hover {
	transform: translateY(-1px);
	background: var(--ocean-lt);
	box-shadow: 0 6px 22px rgba(26,122,117,.35);
}

.de-faq-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.de-faq-item {
	background: var(--surface);
	border: 1.5px solid var(--border);
	border-radius: var(--r);
	overflow: hidden;
	transition: border-color .22s, background .22s;
}

.de-faq-item:hover {
	border-color: var(--border-hi);
}

.de-faq-item.is-open {
	background: var(--surface2);
	border-color: var(--ocean-bdr);
}

.de-faq-item__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 20px 22px;
	color: var(--t1);
	font-size: 15px;
	font-weight: 700;
	text-align: left;
	gap: 16px;
	background: none;
	border: none;
	cursor: pointer;
	transition: color .2s;
}

.de-faq-item.is-open .de-faq-item__btn {
	color: var(--t1);
}

.de-faq-item__icon {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--surface2);
	border: 1.5px solid var(--border-hi);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: var(--t3);
	font-weight: 300;
	transition: transform .3s var(--spring), background .2s, border-color .2s, color .2s;
}

.de-faq-item.is-open .de-faq-item__icon {
	transform: rotate(45deg);
	background: var(--ocean);
	border-color: var(--ocean);
	color: #fff;
}

.de-faq-item__body {
	max-height: 0;
	overflow: hidden;
	transition: max-height .4s var(--ease);
}

.de-faq-item.is-open .de-faq-item__body {
	max-height: 320px;
}

.de-faq-item__inner {
	padding: 18px 22px 22px;
	font-size: 14.5px;
	color: var(--t2);
	line-height: 1.78;
	border-top: 1px solid var(--border);
}

/* ── CTA ── */
.de-home-cta {
	padding: 72px 0 100px;
}

.de-cta-block {
	background: var(--surface);
	border: 1px solid var(--border-hi);
	border-radius: var(--r-xl);
	padding: 80px 64px;
	text-align: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}

.de-cta-block::before {
	content: '';
	position: absolute;
	top: -100px;
	left: 50%;
	transform: translateX(-50%);
	width: 600px;
	height: 380px;
	background: radial-gradient(ellipse, rgba(154,123,79,0.04) 0%, transparent 65%);
	pointer-events: none;
}

.de-cta-block::after {
	content: '';
	position: absolute;
	bottom: -80px;
	right: -60px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(26,122,117,0.03) 0%, transparent 65%);
	pointer-events: none;
}

.de-cta-block h2 {
	font-family: var(--font-d);
	font-size: clamp(36px,4.5vw,58px);
	font-weight: 300;
	color: var(--t1);
	margin-bottom: 16px;
	letter-spacing: -.015em;
	position: relative;
}

.de-cta-block h2 em {
	font-style: italic;
	color: var(--gold);
}

.de-cta-block p {
	font-size: 17px;
	color: var(--t2);
	max-width: 520px;
	margin: 0 auto 44px;
	line-height: 1.72;
	position: relative;
}

.de-cta-block__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	position: relative;
}

.de-cta-block__secondary-note {
	max-width: 620px !important;
	margin: 22px auto 0 !important;
	font-size: 13px !important;
	line-height: 1.6 !important;
	color: var(--t3) !important;
}

.de-cta-block .de-waitlist-form {
	position: relative;
	z-index: 1;
	max-width: 640px;
	margin: 28px auto 0;
}

.de-cta-block .de-waitlist-form__row {
	display: flex;
	gap: 12px;
	align-items: stretch;
	justify-content: center;
}

.de-cta-block .de-waitlist-form input[type="email"] {
	flex: 1;
	min-width: 0;
	min-height: 50px;
	padding: 0 18px;
	background: var(--surface2);
	border: 1px solid var(--border-hi);
	border-radius: 999px;
	color: var(--t1);
	font: inherit;
	font-size: 14px;
	outline: none;
	transition: border-color .2s, box-shadow .2s, background .2s;
}

.de-cta-block .de-waitlist-form input[type="email"]:focus {
	background: var(--surface);
	border-color: var(--ocean);
	box-shadow: 0 0 0 3px rgba(26,122,117,0.12);
}

.de-cta-block .de-waitlist-form__consent {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 9px;
	margin-top: 12px;
	color: var(--t3);
	font-size: 13px;
	line-height: 1.55;
}

.de-cta-block .de-waitlist-form__consent input {
	margin-top: 3px;
	accent-color: var(--ocean);
}

.de-cta-block .de-waitlist-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.de-cta-block .de-waitlist-form__status {
	margin: 12px auto 0 !important;
	font-size: 13px !important;
	line-height: 1.55 !important;
	color: var(--t3) !important;
}

.de-cta-block .de-waitlist-form__status[data-status="success"] {
	color: var(--ocean) !important;
	font-weight: 700;
}

.de-cta-block .de-waitlist-form__status[data-status="error"] {
	color: #9b3d2f !important;
	font-weight: 700;
}

.de-cta-block .de-waitlist-form button[disabled] {
	opacity: .72;
	cursor: wait;
}

/* ── Responsive ── */
@media (max-width: 980px) {
	.de-popular-grid,
	.de-category-grid,
	.de-latest-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.de-steps-track {
		grid-template-columns: 1fr;
	}

	.de-step {
		border-right: none;
		border-bottom: 1px solid var(--border);
	}

	.de-step:last-child {
		border-bottom: none;
	}

	.de-educational-layout {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.de-educational-panel {
		padding: 28px;
	}

	.de-faq-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.de-faq-sticky {
		position: static;
	}

	.de-hadith-block {
		padding: 52px 28px;
	}

	.de-cta-block {
		padding: 60px 28px;
	}
}

@media (max-width: 640px) {
	.de-home-educational {
		padding: 64px 0;
	}

	.de-educational-panel {
		padding: 24px;
	}

	.de-approach-item {
		grid-template-columns: 36px 1fr;
		padding: 14px;
	}

	.de-popular-grid {
		grid-template-columns: 1fr;
	}

	.de-category-grid,
	.de-latest-grid {
		grid-template-columns: 1fr;
	}

	.de-home-categories,
	.de-home-popular-articles,
	.de-home-latest-articles {
		padding: 64px 0;
	}

	.de-popular-card,
	.de-category-card,
	.de-latest-card {
		min-height: auto;
	}

	.de-latest-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.de-cta-block .de-waitlist-form__row {
		flex-direction: column;
	}

	.de-cta-block .de-waitlist-form .de-btn-primary {
		width: 100%;
		justify-content: center;
	}
}
