/**
 * Quran Landing Page for Elementor
 * Scoped to .qlp-landing so it cannot leak into the rest of the site.
 */

.qlp-landing {
	--qlp-ink: #1d2b2e;
	--qlp-muted: #56676a;
	--qlp-bg: #f8f4ec;
	--qlp-card: #fffdf8;
	--qlp-line: #e7dccb;
	--qlp-slate: #21363a;
	--qlp-slate-2: #2c474c;
	--qlp-cream: #f3ead8;
	--qlp-copper: #b4541f;
	--qlp-copper-dark: #8f4017;
	--qlp-copper-soft: #f6e3d4;
	--qlp-teal: #13727a;
	--qlp-teal-soft: #dff0ee;
	--qlp-radius: 14px;
	--qlp-shadow: 0 10px 30px rgba(20, 35, 38, .12);

	background: var(--qlp-bg);
	color: var(--qlp-ink);
	font-family: "Hind Siliguri", system-ui, sans-serif;
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	overflow: hidden;
}

.qlp-landing *,
.qlp-landing *::before,
.qlp-landing *::after {
	box-sizing: border-box;
}

.qlp-landing img {
	max-width: 100%;
	height: auto;
	display: block;
}

.qlp-landing h1,
.qlp-landing h2,
.qlp-landing h3 {
	font-family: "Noto Serif Bengali", serif;
	line-height: 1.35;
	margin: 0;
}

.qlp-landing p {
	margin: 0;
}

.qlp-landing a {
	color: inherit;
}

.qlp-landing button {
	font-family: inherit;
}

.qlp-landing [hidden] {
	display: none !important;
}

.qlp-wrap {
	width: min(1080px, calc(100% - 40px));
	margin-inline: auto;
}

.qlp-section {
	padding: 64px 0;
}

.qlp-section-title {
	font-size: clamp(24px, 4.2vw, 34px);
	text-align: center;
	margin-bottom: 10px;
	color: var(--qlp-ink);
}

.qlp-sub {
	text-align: center;
	color: var(--qlp-muted);
	max-width: 620px;
	margin: 0 auto 36px;
}

/* Top decorative band */
.qlp-band {
	height: 8px;
	background: repeating-linear-gradient(90deg, var(--qlp-copper) 0 14px, #d58a55 14px 18px, var(--qlp-copper-dark) 18px 26px, #d58a55 26px 30px);
}

/* Top bar */
.qlp-topbar {
	background: var(--qlp-slate);
	color: var(--qlp-cream);
}

.qlp-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
}

.qlp-brand {
	font-weight: 700;
	font-size: 18px;
}

.qlp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 99px;
	background: rgba(243, 234, 216, .12);
	border: 1px solid rgba(243, 234, 216, .25);
}

.qlp-badge svg {
	width: 16px;
	height: 16px;
}

/* Hero */
.qlp-hero {
	position: relative;
	background: radial-gradient(1200px 500px at 85% 0%, var(--qlp-slate-2), var(--qlp-slate) 60%);
	color: var(--qlp-cream);
	padding: 44px 0 60px;
}

.qlp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: .06;
	pointer-events: none;
	background:
		radial-gradient(circle at 0 0, transparent 38px, #e8b48d 39px, #e8b48d 41px, transparent 42px) 0 0 / 80px 80px,
		radial-gradient(circle at 40px 40px, transparent 18px, #e8b48d 19px, #e8b48d 20px, transparent 21px) 0 0 / 80px 80px;
}

.qlp-has-video {
	padding-top: 22px;
}

.qlp-video-wrap {
	position: relative;
	z-index: 1;
	margin-bottom: 34px;
}

.qlp-video {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	overflow: hidden;
	background: #0c1416;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

.qlp-video iframe,
.qlp-video-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.qlp-video-poster {
	object-fit: cover;
	z-index: 2;
	transition: opacity .4s;
}

.qlp-video.is-playing .qlp-video-poster {
	opacity: 0;
	pointer-events: none;
}

.qlp-video-tap {
	all: unset;
	position: absolute;
	inset: 0;
	z-index: 3;
	cursor: pointer;
}

.qlp-video-tap::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 74px;
	height: 74px;
	margin: -37px 0 0 -37px;
	border-radius: 50%;
	background: rgba(12, 20, 22, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 34px no-repeat;
	border: 2px solid rgba(255, 255, 255, .8);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.qlp-video-tap:focus-visible {
	outline: 3px solid #ffd2b0;
	outline-offset: -3px;
}

.qlp-video-hint {
	text-align: center;
	color: #e7dfcf;
	font-size: 15px;
	margin-top: 10px !important;
}

.qlp-hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 48px;
	align-items: center;
}

.qlp-eyebrow {
	margin-bottom: 8px !important;
	color: #e8b48d;
	font-weight: 600;
	font-size: 16px;
}

.qlp-hero-title {
	font-size: clamp(40px, 7vw, 68px);
	font-weight: 800;
	color: #fff;
	letter-spacing: .2px;
}

.qlp-lead {
	font-size: clamp(17px, 2.2vw, 20px);
	color: #e7dfcf;
	margin: 14px 0 22px !important;
	max-width: 34em;
}

.qlp-price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-bottom: 18px;
}

.qlp-price-centered {
	justify-content: center;
}

.qlp-price-old {
	color: #c9bfae;
	text-decoration: line-through;
	text-decoration-color: #e07a45;
	text-decoration-thickness: 2px;
}

.qlp-price-new {
	font-size: clamp(30px, 5vw, 40px);
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}

.qlp-price-save {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	background: var(--qlp-copper);
	padding: 2px 10px;
	border-radius: 99px;
}

.qlp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--qlp-copper);
	color: #fff;
	text-decoration: none;
	font: 700 19px/1.4 "Hind Siliguri", sans-serif;
	padding: 15px 34px;
	border-radius: 12px;
	border: 0;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(180, 84, 31, .35);
	transition: transform .15s, background .15s;
}

.qlp-btn:hover {
	background: var(--qlp-copper-dark);
	transform: translateY(-1px);
	color: #fff;
}

.qlp-btn:focus-visible {
	outline: 3px solid #ffd2b0;
	outline-offset: 3px;
}

.qlp-btn svg {
	width: 20px;
	height: 20px;
	flex: none;
}

.qlp-ticks {
	list-style: none;
	padding: 0;
	margin: 20px 0 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: 15px;
	color: #e7dfcf;
}

.qlp-ticks li {
	display: flex;
	align-items: center;
	gap: 7px;
}

.qlp-ticks svg {
	width: 18px;
	height: 18px;
	color: #7fd1c4;
	flex: none;
}

.qlp-hero-visual {
	margin: 0;
	position: relative;
	justify-self: center;
	width: 440px;
	height: 470px;
}

.qlp-hero-visual::before {
	content: "";
	position: absolute;
	inset: 4% -8% -4% -8%;
	background: radial-gradient(closest-side, rgba(232, 180, 141, .28), transparent);
	z-index: 0;
}

.qlp-ring {
	position: absolute;
	right: 0;
	top: 0;
	width: 310px;
	height: 310px;
	border-radius: 50%;
	padding: 9px;
	background: conic-gradient(from 200deg, #b4541f, #e8b48d, #8f4017, #e8b48d, #b4541f);
	box-shadow: 0 26px 60px rgba(0, 0, 0, .45);
	z-index: 1;
}

.qlp-ring-img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 5px solid var(--qlp-slate);
}

.qlp-cover {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 235px;
	border-radius: 5px 9px 9px 5px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06);
	transform: rotate(-4deg);
	z-index: 2;
}

.qlp-hero-cap {
	position: absolute;
	right: 0;
	bottom: 44px;
	width: 190px;
	z-index: 3;
	background: rgba(16, 28, 30, .82);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(232, 180, 141, .35);
	border-radius: 14px;
	padding: 10px 14px;
	font-size: 13px;
	color: #e8b48d;
	font-weight: 600;
	line-height: 1.4;
}

.qlp-hero-cap b {
	display: block;
	font-size: 16px;
	color: #fff;
	font-weight: 700;
	margin-top: 2px;
}

/* Stats */
.qlp-stats {
	background: var(--qlp-card);
	border-bottom: 1px solid var(--qlp-line);
}

.qlp-stats ul {
	list-style: none;
	margin: 0;
	padding: 22px 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	text-align: center;
}

.qlp-stats b {
	display: block;
	font-family: "Noto Serif Bengali", serif;
	font-size: 26px;
	color: var(--qlp-teal);
	line-height: 1.3;
}

.qlp-stats span {
	font-size: 15px;
	color: var(--qlp-muted);
}

/* Benefits */
.qlp-benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.qlp-benefit {
	background: var(--qlp-card);
	border: 1px solid var(--qlp-line);
	border-radius: var(--qlp-radius);
	padding: 24px;
}

.qlp-benefit-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--qlp-teal-soft);
	color: var(--qlp-teal);
	margin-bottom: 12px;
}

.qlp-benefit-icon svg {
	width: 24px;
	height: 24px;
}

.qlp-benefit-title {
	font-size: 20px;
	margin-bottom: 6px;
}

.qlp-benefit p {
	color: var(--qlp-muted);
}

/* Inside every surah */
.qlp-inside {
	background: var(--qlp-slate);
	color: var(--qlp-cream);
}

.qlp-inside .qlp-section-title {
	color: #fff;
}

.qlp-inside .qlp-sub {
	color: #cfc6b4;
}

.qlp-parts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	counter-reset: qlp-part;
}

.qlp-part {
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(243, 234, 216, .14);
	border-radius: var(--qlp-radius);
	padding: 20px;
}

.qlp-part::before {
	counter-increment: qlp-part;
	content: counter(qlp-part, bengali);
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--qlp-copper);
	color: #fff;
	font-weight: 700;
	margin-bottom: 10px;
}

.qlp-part-title {
	font-size: 18px;
	color: #fff;
	margin-bottom: 4px;
}

.qlp-part p {
	margin: 0;
	font-size: 15px;
	color: #d6cdbb;
	line-height: 1.65;
}

/* Sample pages */
.qlp-gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.qlp-gallery-item {
	all: unset;
	cursor: zoom-in;
	display: block;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: var(--qlp-shadow);
	transition: transform .2s;
}

.qlp-gallery-item:hover {
	transform: translateY(-4px);
}

.qlp-gallery-item:focus-visible {
	outline: 3px solid var(--qlp-teal);
	outline-offset: 3px;
}

.qlp-page-img {
	width: 100%;
	aspect-ratio: 720 / 1100;
	object-fit: cover;
	object-position: top;
}

.qlp-gallery-note {
	text-align: center;
	color: var(--qlp-muted);
	font-size: 15px;
	margin-top: 16px !important;
}

.qlp-viewer {
	border: 0;
	padding: 0;
	background: transparent;
	max-width: min(92vw, 720px);
	max-height: 92vh;
}

.qlp-viewer::backdrop,
.qlp-checkout::backdrop {
	background: rgba(10, 18, 20, .82);
}

.qlp-viewer img {
	max-height: 86vh;
	width: auto;
	margin: auto;
	border-radius: 8px;
}

.qlp-close {
	position: fixed;
	top: 14px;
	right: 14px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: #fff;
	color: var(--qlp-ink);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

/* Author */
.qlp-author {
	background: linear-gradient(180deg, var(--qlp-bg), #f1e7d6);
}

.qlp-author-inner {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: 48px;
	align-items: center;
}

.qlp-author-photo {
	margin: 0;
	position: relative;
}

.qlp-author-photo::before {
	content: "";
	position: absolute;
	inset: -14px 14px 14px -14px;
	border: 3px solid var(--qlp-copper);
	border-radius: 22px;
	opacity: .55;
}

.qlp-author-img {
	position: relative;
	width: 100%;
	border-radius: 20px;
	box-shadow: var(--qlp-shadow);
	aspect-ratio: 1;
	object-fit: cover;
}

.qlp-kicker {
	margin-bottom: 6px !important;
	font-weight: 700;
	color: var(--qlp-copper);
	letter-spacing: .3px;
}

.qlp-author-title {
	text-align: left;
	margin-bottom: 14px;
}

.qlp-author-text > p:not(.qlp-kicker) {
	color: var(--qlp-muted);
	margin-bottom: 18px !important;
}

.qlp-creds {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.qlp-creds li {
	background: var(--qlp-card);
	border: 1px solid var(--qlp-line);
	border-left: 4px solid var(--qlp-copper);
	border-radius: 12px;
	padding: 10px 16px;
}

.qlp-creds b {
	display: block;
	font-size: 16px;
}

.qlp-creds span {
	font-size: 15px;
	color: var(--qlp-muted);
}

/* Trust + steps */
.qlp-trust {
	padding-top: 0;
}

.qlp-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.qlp-panel {
	background: var(--qlp-card);
	border: 1px solid var(--qlp-line);
	border-radius: var(--qlp-radius);
	padding: 28px;
}

.qlp-panel-title {
	font-size: 22px;
	margin-bottom: 14px;
}

.qlp-checks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.qlp-checks li {
	display: flex;
	gap: 10px;
}

.qlp-checks svg {
	width: 22px;
	height: 22px;
	flex: none;
	color: var(--qlp-teal);
	margin-top: 3px;
}

.qlp-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
	counter-reset: qlp-step;
}

.qlp-steps li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.qlp-steps li::before {
	counter-increment: qlp-step;
	content: counter(qlp-step, bengali);
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--qlp-copper-soft);
	color: var(--qlp-copper-dark);
	font-weight: 700;
}

.qlp-steps b {
	display: block;
}

.qlp-steps span {
	color: var(--qlp-muted);
	font-size: 15px;
}

/* FAQ */
.qlp-faq-section {
	padding-top: 0;
}

.qlp-faq {
	max-width: 760px;
	margin: 0 auto;
	display: grid;
	gap: 12px;
}

.qlp-faq details {
	background: var(--qlp-card);
	border: 1px solid var(--qlp-line);
	border-radius: 12px;
	padding: 4px 20px;
}

.qlp-faq summary {
	cursor: pointer;
	font-weight: 600;
	padding: 14px 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

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

.qlp-faq summary::after {
	content: "+";
	font-size: 24px;
	line-height: 1;
	color: var(--qlp-copper);
}

.qlp-faq details[open] summary::after {
	content: "\2013";
}

.qlp-faq details p {
	margin-bottom: 16px;
	color: var(--qlp-muted);
}

/* Final call to action */
.qlp-final {
	background: linear-gradient(160deg, var(--qlp-slate-2), var(--qlp-slate));
	color: var(--qlp-cream);
	text-align: center;
}

.qlp-final .qlp-section-title {
	color: #fff;
}

.qlp-final .qlp-sub {
	color: #d6cdbb;
}

/* Footer */
.qlp-footer {
	background: #172628;
	color: #a9b5b3;
	font-size: 14px;
	padding: 28px 0;
	text-align: center;
}

.qlp-footer p {
	margin: 4px 0;
}

.qlp-footer a {
	color: #e8b48d;
}

/* Sticky mobile bar */
.qlp-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 20;
	background: rgba(255, 253, 248, .97);
	backdrop-filter: blur(8px);
	border-top: 1px solid var(--qlp-line);
	box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	transform: translateY(110%);
	transition: transform .25s;
}

.qlp-sticky.show {
	transform: none;
}

.qlp-sticky-price {
	line-height: 1.25;
	text-align: left;
}

.qlp-sticky-price small {
	display: block;
	color: var(--qlp-muted);
	font-size: 13px;
}

.qlp-sticky-price b {
	font-size: 22px;
	color: var(--qlp-ink);
}

.qlp-btn.qlp-sticky-btn {
	padding: 12px 22px;
	font-size: 17px;
	box-shadow: none;
}

/* Checkout dialog */
.qlp-checkout {
	border: 0;
	border-radius: 18px;
	padding: 0;
	width: min(440px, calc(100% - 24px));
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
	color: var(--qlp-ink);
	background: var(--qlp-card);
}

.qlp-checkout form {
	position: relative;
	padding: 26px 24px 22px;
}

.qlp-checkout h3 {
	font-size: 24px;
	margin-bottom: 2px;
}

.qlp-order-sum {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	background: var(--qlp-copper-soft);
	border-radius: 10px;
	padding: 10px 14px;
	margin: 12px 0 18px;
	font-weight: 600;
}

.qlp-field {
	display: block;
	margin-bottom: 14px;
}

.qlp-field span {
	display: block;
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 5px;
}

.qlp-field input {
	width: 100%;
	font: 500 18px "Hind Siliguri", sans-serif;
	padding: 11px 14px;
	border: 1.5px solid #d9ccb8;
	border-radius: 10px;
	background: #fff;
	color: var(--qlp-ink);
}

.qlp-field input:focus {
	outline: none;
	border-color: var(--qlp-teal);
	box-shadow: 0 0 0 3px var(--qlp-teal-soft);
}

.qlp-checkout .qlp-btn {
	width: 100%;
	margin-top: 6px;
}

.qlp-form-note {
	font-size: 14px;
	color: var(--qlp-muted);
	text-align: center;
	margin-top: 12px !important;
}

.qlp-form-error {
	background: #fdecec;
	border: 1px solid #f3c2c2;
	color: #8a2323;
	border-radius: 10px;
	padding: 10px 14px;
	margin-bottom: 14px;
	font-size: 15px;
}

.qlp-checkout .qlp-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 38px;
	height: 38px;
	font-size: 24px;
	background: transparent;
}

/* Responsive */
@media (max-width: 900px) {
	.qlp-parts {
		grid-template-columns: repeat(2, 1fr);
	}

	.qlp-benefits {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.qlp-landing {
		font-size: 16px;
	}

	.qlp-section {
		padding: 48px 0;
	}

	.qlp-hero {
		padding: 22px 0 40px;
	}

	.qlp-hero-inner {
		grid-template-columns: 1fr;
		gap: 16px;
		text-align: center;
	}

	.qlp-hero-visual {
		order: -1;
		width: 290px;
		height: 250px;
	}

	.qlp-ring {
		width: 180px;
		height: 180px;
		padding: 6px;
		right: 6px;
	}

	.qlp-ring-img {
		border-width: 4px;
	}

	.qlp-cover {
		width: 128px;
		left: 18px;
	}

	.qlp-hero-cap {
		width: 150px;
		bottom: 10px;
		right: 0;
		padding: 7px 10px;
		font-size: 11px;
		text-align: left;
	}

	.qlp-hero-cap b {
		font-size: 13px;
	}

	.qlp-author-inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.qlp-author-photo {
		max-width: 320px;
		margin: 0 auto;
	}

	.qlp-author-title,
	.qlp-kicker {
		text-align: center;
	}

	.qlp-lead {
		margin: 10px auto 16px !important;
	}

	.qlp-price {
		justify-content: center;
	}

	.qlp-btn.qlp-btn-big {
		width: 100%;
	}

	.qlp-ticks {
		justify-content: center;
	}

	.qlp-stats ul {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px 8px;
	}

	.qlp-gallery {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 68%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding: 4px 20px 18px;
		margin-inline: -20px;
		scrollbar-width: none;
	}

	.qlp-gallery::-webkit-scrollbar {
		display: none;
	}

	.qlp-gallery-item {
		scroll-snap-align: center;
	}

	.qlp-two {
		grid-template-columns: 1fr;
	}

	.qlp-panel {
		padding: 22px;
	}

	.qlp-parts {
		gap: 12px;
	}

	.qlp-part {
		padding: 16px;
	}

	.qlp-has-video .qlp-hero-visual {
		display: none;
	}

	.qlp-video-wrap {
		margin-bottom: 22px;
	}

	.qlp-sticky {
		display: flex;
	}
}

@media (min-width: 761px) {
	.qlp-sticky {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.qlp-landing *,
	.qlp-landing *::before,
	.qlp-landing *::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
