/* PYQ Enhancements 2.0 — matches PYQ theme navy/gold */
:root {
	--enh-navy: #16233D;
	--enh-gold: #C6821F;
	--enh-gold2: #B4571C;
	--enh-muted: #64748b;
	--enh-line: #E7E0CE;
	--enh-paper: #F6F3EB;
	--enh-radius: 16px;
}

/* Promo rail (Coursera-style) */
.pyq-enh-promo-rail {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 0 22px;
}
.pyq-enh-promo {
	display: flex;
	align-items: stretch;
	gap: 0;
	border-radius: var(--enh-radius);
	overflow: hidden;
	background: var(--promo-bg, var(--enh-navy));
	color: var(--promo-fg, #fff);
	box-shadow: 0 8px 28px rgba(22, 35, 61, 0.12);
	min-height: 120px;
}
.pyq-enh-promo--coursera {
	flex-direction: row;
}
.pyq-enh-promo__media {
	flex: 0 0 38%;
	min-height: 120px;
	background-size: cover;
	background-position: center;
}
.pyq-enh-promo__body {
	flex: 1;
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}
.pyq-enh-promo__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
}
.pyq-enh-promo__sub {
	margin: 0;
	opacity: 0.9;
	font-size: 0.95rem;
	line-height: 1.5;
	font-weight: 500;
}
.pyq-enh-promo__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
	align-self: flex-start;
	padding: 12px 20px;
	border-radius: 999px;
	background: #fff;
	color: var(--enh-navy);
	font-weight: 800;
	text-decoration: none;
	font-size: 0.9rem;
}
.pyq-enh-promo__cta:hover {
	filter: brightness(0.97);
}
.pyq-enh-promo--banner .pyq-enh-promo__media {
	display: none;
}
.pyq-enh-promo--minimal {
	min-height: 0;
	box-shadow: none;
	border: 1px solid var(--enh-line);
}
.pyq-enh-promo--card {
	flex-direction: column;
}
.pyq-enh-promo--card .pyq-enh-promo__media {
	flex: none;
	height: 140px;
	width: 100%;
}

@media (max-width: 700px) {
	.pyq-enh-promo--coursera {
		flex-direction: column;
	}
	.pyq-enh-promo__media {
		flex: none;
		height: 140px;
		width: 100%;
	}
}

/* Overlays */
.pyq-enh-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(15, 23, 42, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.pyq-enh-overlay[hidden] {
	display: none !important;
}
.pyq-enh-modal {
	position: relative;
	background: #fff;
	color: var(--enh-navy);
	border-radius: 18px;
	padding: 28px 26px 24px;
	max-width: 440px;
	width: 100%;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.pyq-enh-modal--celebrate {
	text-align: center;
}
.pyq-enh-modal--lead {
	max-width: 480px;
}
.pyq-enh-x {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: #f1f5f9;
	font-size: 1.25rem;
	cursor: pointer;
	color: #475569;
	line-height: 1;
}
.pyq-enh-modal-title {
	margin: 0 0 12px;
	font-size: 1.3rem;
	font-weight: 800;
	padding-right: 28px;
	line-height: 1.3;
}
.pyq-enh-modal-body {
	margin: 0 0 12px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #334155;
	white-space: pre-line;
}
.pyq-enh-modal-meta {
	font-size: 0.82rem;
	color: var(--enh-muted);
	font-weight: 600;
	margin: 0 0 16px;
}
.pyq-enh-modal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.pyq-enh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 12px;
	font-weight: 800;
	font-size: 0.92rem;
	border: none;
	cursor: pointer;
	text-decoration: none;
	font-family: inherit;
	min-height: 46px;
}
.pyq-enh-btn.primary {
	background: linear-gradient(135deg, var(--enh-gold), var(--enh-gold2));
	color: #fff;
}
.pyq-enh-btn.ghost {
	background: #f8fafc;
	color: var(--enh-navy);
	border: 1px solid var(--enh-line);
}
.pyq-enh-emoji {
	font-size: 2.5rem;
	margin-bottom: 8px;
}

/* Lead form */
.pyq-enh-lead-form label {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	color: #475569;
	margin-bottom: 10px;
}
.pyq-enh-lead-form input[type="text"],
.pyq-enh-lead-form input[type="tel"],
.pyq-enh-lead-form input[type="email"] {
	display: block;
	width: 100%;
	margin-top: 4px;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font-size: 0.95rem;
	box-sizing: border-box;
}
.pyq-enh-coaching-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 14px;
}
.pyq-enh-coaching-list label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 700;
	color: var(--enh-navy);
}
.pyq-enh-otp-row {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}
.pyq-enh-otp-row input {
	flex: 1;
	min-width: 120px;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}
.pyq-enh-lead-err {
	color: #b91c1c;
	font-weight: 700;
	font-size: 0.88rem;
}
.pyq-enh-lead-intro {
	color: var(--enh-muted);
	font-size: 0.92rem;
	margin: 0 0 14px;
	line-height: 1.5;
}

/* Paid materials page */
.pyq-enh-paid-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 28px 20px 56px;
}
.pyq-enh-paid-banner {
	background: linear-gradient(135deg, #16233D, #1e3054);
	color: #fff;
	border-radius: 18px;
	padding: 28px 26px;
	margin-bottom: 28px;
}
.pyq-enh-paid-banner h1 {
	margin: 0 0 10px;
	font-size: 1.6rem;
	font-weight: 800;
}
.pyq-enh-paid-banner p {
	margin: 0;
	opacity: 0.9;
	line-height: 1.6;
	font-size: 0.95rem;
}
.pyq-enh-paid-h2 {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--enh-navy);
	margin: 24px 0 14px;
}
.pyq-enh-paid-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}
.pyq-enh-paid-card {
	background: #fff;
	border: 1px solid var(--enh-line);
	border-radius: 14px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	box-shadow: 0 2px 10px rgba(22, 35, 61, 0.05);
}
.pyq-enh-paid-card h3 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--enh-navy);
	line-height: 1.35;
}
.pyq-enh-paid-card .meta {
	margin: 0;
	font-size: 0.85rem;
	color: var(--enh-muted);
	font-weight: 600;
}
.pyq-enh-paid-card .price {
	margin: 4px 0 0;
	font-size: 1.35rem;
	font-weight: 800;
	color: #6d28d9;
}
.pyq-enh-paid-buy {
	margin-top: auto;
	width: 100%;
	padding: 12px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #7c3aed, #5b21b6);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.95rem;
}
.pyq-enh-paid-login {
	padding: 14px;
	background: #fff7ed;
	border-radius: 10px;
	font-weight: 600;
}
.pyq-enh-paid-empty {
	color: var(--enh-muted);
	font-weight: 600;
}
