/* ==========================================================================
   AI Seekhain — design system
   ========================================================================== */
:root {
	--bg: #fafaf7;
	--surface: #ffffff;
	--soft: #f3f2ed;
	--ink: #0a0a0b;
	--ink-2: #27272a;
	--ink-3: #3f3f46;
	--muted: #6b6b76;
	--line: #e7e5df;
	--line-2: #efede8;
	--brand: #5b4bff;
	--brand-d: #4636f0;
	--brand-soft: #eeebff;
	--lime: #d4ff3f;
	--ok: #12b76a;
	--ok-soft: #e8f8ef;
	--warn: #dc6803;
	--warn-soft: #fff6e6;
	--err: #d92d20;
	--err-soft: #fef1f0;
	--wa: #25d366;

	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--sh-1: 0 1px 2px rgba(10, 10, 11, .05);
	--sh-2: 0 1px 2px rgba(10, 10, 11, .04), 0 8px 24px -12px rgba(10, 10, 11, .12);
	--sh-3: 0 2px 4px rgba(10, 10, 11, .04), 0 24px 60px -20px rgba(10, 10, 11, .22);

	--sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--serif: "Instrument Serif", ui-serif, Georgia, serif;
	--urdu: "Noto Nastaliq Urdu", serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, iframe, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.1; letter-spacing: -.025em; font-weight: 600; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.h4 { font-size: 1.05rem; letter-spacing: -.01em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; background: var(--soft); padding: .15em .45em; border-radius: 6px; }
button { font: inherit; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.icon { flex: none; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--ink); }
.link:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------ */
.btn {
	--b: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 18px; border-radius: 999px; border: 1px solid var(--b);
	font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 8px 14px; font-size: .875rem; }
.btn--lg { padding: 14px 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 20px -8px rgba(91, 75, 255, .6); }
.btn--primary:hover { background: var(--brand-d); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--ghost, .btn--ghost-dark { --b: var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.btn--ghost:hover, .btn--ghost-dark:hover { --b: #d4d2cb; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #e0ff6b; }
.btn--wa { background: var(--wa); color: #06331a; }
.btn--done { background: var(--ok-soft); color: #067647; --b: #abefc6; }
.btn__meta { font-weight: 500; opacity: .75; padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, .35); }
.btn.is-pending { background: var(--warn-soft); color: var(--warn); --b: #fedf89; cursor: default; transform: none; box-shadow: none; }
form > .btn { margin: 0; }

/* --------------------------------------------------------------------------
   Logo / nav
   ------------------------------------------------------------------------ */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { color: var(--ink); }
.logo__word { font-weight: 700; font-size: 1.1rem; letter-spacing: -.03em; }
.logo__img { max-height: 36px; width: auto; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 247, .78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.nav__links { display: flex; gap: 28px; margin-right: auto; }
.nav__links a, .nav__login { font-size: .93rem; color: var(--ink-3); text-decoration: none; font-weight: 500; }
.nav__links a:hover, .nav__login:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }
.nav__drawer { display: grid; gap: 4px; padding: 8px 20px 20px; border-top: 1px solid var(--line); }
.nav__drawer a { padding: 12px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-2); }
.nav__drawer[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 104px) 0 0; }
.hero__bg {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(48% 42% at 18% 8%, rgba(91, 75, 255, .16), transparent 70%),
		radial-gradient(38% 36% at 86% 14%, rgba(212, 255, 63, .28), transparent 70%),
		radial-gradient(40% 40% at 60% 70%, rgba(91, 75, 255, .08), transparent 70%);
}
.hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 56px 56px; opacity: .45;
	mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
	-webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
}
.hero__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); font-size: .85rem; font-weight: 500; text-decoration: none; color: var(--ink-3); margin-bottom: 28px; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(18, 183, 106, .15); }
.hero__title { font-size: clamp(3rem, 9vw, 6.6rem); font-weight: 600; letter-spacing: -.055em; line-height: .95; margin-bottom: 18px; }
.hero__title em { color: var(--brand); padding-right: .05em; }
.hero__urdu { font-family: var(--urdu); font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 2.3; color: var(--ink-3); margin: 0 0 14px; }
.hero__lead { max-width: 620px; font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); margin-bottom: 32px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 10px 24px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: .88rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust .icon { color: var(--ink-3); }

/* Product mockup */
.mock { position: relative; margin: 64px auto 0; max-width: 1080px; border-radius: 18px 18px 0 0; background: var(--surface); border: 1px solid var(--line); border-bottom: 0; box-shadow: 0 -2px 0 rgba(255, 255, 255, .6) inset, 0 40px 100px -40px rgba(30, 20, 120, .35); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: #fcfcfa; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e4e2dc; }
.mock__url { margin: 0 auto; font-size: .75rem; color: var(--muted); background: var(--soft); padding: 4px 14px; border-radius: 999px; transform: translateX(-20px); }
.mock__body { display: grid; grid-template-columns: 1fr 300px; }
.mock__main { padding: 20px; }
.mock__video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--ink); }
.mock__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mock__poster { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; color: #fff; background: radial-gradient(60% 80% at 30% 20%, rgba(91, 75, 255, .55), transparent 70%), radial-gradient(50% 70% at 85% 90%, rgba(212, 255, 63, .25), transparent 70%), #0d0d12; }
.mock__play { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25); padding-left: 3px; }
.mock__caption { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.mock__prompt { font-size: clamp(.8rem, 1.6vw, 1.05rem); color: rgba(255, 255, 255, .6); }
.mock__k { display: inline-block; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; }
.mock__k:nth-child(1) { background: rgba(91, 75, 255, .5); }
.mock__k:nth-child(4) { background: var(--lime); color: var(--ink); }
.mock__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; text-align: left; }
.mock__eyebrow { margin: 0; font-size: .75rem; color: var(--muted); }
.mock__title { margin: 0; font-weight: 600; letter-spacing: -.01em; }
.mock__btn { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; background: var(--brand); color: #fff; white-space: nowrap; }
.mock__side { border-left: 1px solid var(--line-2); padding: 20px; text-align: left; background: #fcfcfa; }
.mock__side-h { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.mock__side-h b { color: var(--ink); }
.mock__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 4px; font-size: .85rem; }
.mock__list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink-3); }
.mock__list li span { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: .7rem; font-weight: 600; background: var(--soft); color: var(--muted); }
.mock__list li.is-done span { background: var(--ok); color: #fff; }
.mock__list li.is-current { background: var(--brand-soft); color: var(--ink); font-weight: 600; }
.mock__list li.is-current span { background: var(--brand); color: #fff; }

/* Tools marquee */
.tools { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.tools__label { text-align: center; font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.tools__track { mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tools__row { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.tools__row span { font-size: 1.35rem; font-weight: 600; letter-spacing: -.03em; color: #a3a3ab; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Stats */
.stats { padding: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.stats__grid div { padding: 36px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; }
.stats__grid span { color: var(--muted); font-size: .9rem; }

/* --------------------------------------------------------------------------
   Sections
   ------------------------------------------------------------------------ */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; }
.head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.head--left { text-align: left; margin: 0; }
.head__sub { color: var(--muted); font-size: 1.08rem; margin: 10px 0 0; }
.head__sub a { color: var(--brand); }
.head--light .eyebrow { color: var(--lime); }
.head--light .head__sub { color: #a1a1aa; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; box-shadow: var(--sh-1); position: relative; overflow: hidden; }
.tile h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tile p { color: var(--muted); margin: 0; font-size: .95rem; }
.tile--urdu { grid-column: span 3; grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); justify-content: space-between; }
.tile--urdu p { color: #a1a1aa; }
.tile--urdu::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 80%; height: 80%; background: radial-gradient(closest-side, rgba(91, 75, 255, .45), transparent); }
.tile .tile__big { position: relative; font-family: var(--urdu); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 2; color: #fff !important; margin: 0 0 auto !important; text-align: right; }
.tile--tasks, .tile--progress { grid-column: span 3; }
.tile--mobile, .tile--community { grid-column: span 2; min-height: 220px; }
.tile--cert { grid-column: span 2; min-height: 220px; }
.tile__ui { margin-bottom: auto; padding-bottom: 20px; }
.task { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; margin-bottom: 8px; background: var(--bg); }
.task .icon { color: #fff; background: var(--ok); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
.task.is-done { color: var(--muted); text-decoration: line-through; text-decoration-color: #c4c4cb; }
.task span { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #d4d2cb; }
.tile--progress .tile__ui { display: flex; align-items: center; gap: 20px; }
.ring { --p: 50; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--brand-soft) 0); }
.ring span { width: 74px; height: 74px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.ring__legend b { display: block; font-size: 1.4rem; letter-spacing: -.03em; }
.ring__legend small { color: var(--muted); }
.tile__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: auto; }
.tile__icon--wa { background: #e7faef; color: #0b8a43; }
.cert-mini { position: relative; margin-bottom: auto; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: linear-gradient(135deg, #fffef8, #f7f5ec); }
.cert-mini p { margin: 0; color: var(--ink); }
.cert-mini__k { font-size: .62rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) !important; }
.cert-mini__n { font-family: var(--serif); font-style: italic; font-size: 1.5rem !important; line-height: 1.2; }
.cert-mini__c { font-size: .78rem !important; font-weight: 600; }
.cert-mini__seal { position: absolute; right: 12px; bottom: 12px; color: var(--brand); }

/* Tabs */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; margin: -24px auto 40px; overflow-x: auto; }
.tabs__btn { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs__btn.is-active { background: var(--ink); color: #fff; }

/* Syllabus */
.syllabus { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.syllabus[hidden] { display: none; }
.syllabus__info { position: sticky; top: 100px; }
.syllabus__info h3 { font-size: 1.9rem; letter-spacing: -.035em; }
.syllabus__level { display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.syllabus__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { margin-top: 3px; color: var(--ok); }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }

/* Curriculum */
.curriculum { display: grid; gap: 10px; }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.module summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 18px 20px; cursor: pointer; }
.module summary::-webkit-details-marker { display: none; }
.module__title { font-weight: 600; letter-spacing: -.01em; margin-right: auto; }
.module__meta { font-size: .82rem; color: var(--muted); }
.module summary .icon { color: var(--muted); transition: transform .25s var(--ease); }
.module[open] summary .icon { transform: rotate(180deg); }
.module__list { list-style: none; padding: 0 8px 8px; margin: 0; border-top: 1px solid var(--line-2); }
.lrow a, .lrow > span { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: .94rem; }
.lrow a:hover { background: var(--bg); }
.lrow__icon { color: var(--muted); display: grid; }
.lrow__title { margin-right: auto; }
.lrow__title small { color: var(--muted); margin-right: 2px; }
.lrow__dur { white-space: nowrap; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.lrow.is-done .lrow__icon { color: var(--ok); }
.lrow.is-locked > span { color: var(--muted); }
.lrow.is-current a { background: var(--brand-soft); color: var(--ink); font-weight: 600; }
.lrow.is-current .lrow__icon { color: var(--brand); }
.tag { font-size: .7rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tag--free { background: #e7faef; color: #067647; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 32px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.steps__n { display: block; font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--brand); margin-bottom: 28px; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); margin: 0; }

/* Plans */
.plans { display: grid; gap: 16px; justify-content: center; }
.plans--1 { grid-template-columns: minmax(0, 460px); }
.plans--2 { grid-template-columns: repeat(2, minmax(0, 460px)); }
.plans--3 { grid-template-columns: repeat(3, 1fr); }
.plan { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 32px; border-radius: var(--r-lg); background: #131316; border: 1px solid #26262b; color: #fff; }
.plan--featured { background: linear-gradient(180deg, #1b1830, #131316 60%); border-color: rgba(91, 75, 255, .6); box-shadow: 0 0 0 1px rgba(91, 75, 255, .25), 0 30px 80px -30px rgba(91, 75, 255, .5); }
.plan__badge { position: absolute; top: 20px; right: 20px; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); }
.plan__head { display: grid; gap: 6px; }
.plan__level { margin: 0; font-size: .8rem; color: #a1a1aa; }
.plan__title { font-size: 1.5rem; margin: 0; letter-spacing: -.03em; }
.plan__title a { text-decoration: none; }
.plan__desc { margin: 0; color: #a1a1aa; font-size: .95rem; }
.plan__price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.plan__price .price { font-size: 3rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.plan__price small { width: 100%; color: #a1a1aa; font-size: .85rem; }
.price-old { color: #a1a1aa; font-size: 1.1rem; }
.plan__list { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid #26262b; display: grid; gap: 12px; font-size: .94rem; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; color: #d4d4d8; }
.plan__list .icon { color: var(--lime); margin-top: 2px; }
.plan__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: #a1a1aa; text-decoration: none; }
.plan__more:hover { color: #fff; }
.plan .btn--dark { background: #fff; color: var(--ink); }
.plan .btn.is-pending { background: rgba(247, 144, 9, .12); color: #fdb022; --b: rgba(247, 144, 9, .3); }
.plans--light .plan { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-2); }
.plans--light .plan--featured { background: var(--surface); border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--sh-3); }
.plans--light .plan__desc, .plans--light .plan__level, .plans--light .plan__price small, .plans--light .plan__more { color: var(--muted); }
.plans--light .plan__list { border-color: var(--line); }
.plans--light .plan__list li { color: var(--ink-2); }
.plans--light .plan__list .icon { color: var(--ok); }
.plans--light .plan .btn--dark { background: var(--ink); color: #fff; }
.plans--light .plan__more:hover { color: var(--ink); }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 32px 0 0; color: #a1a1aa; font-size: .9rem; }

/* Instructor */
.instructor { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: center; max-width: 1000px; }
.instructor__photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, var(--brand), #2a1fa8); display: grid; place-items: center; box-shadow: var(--sh-3); }
.instructor__photo img { width: 100%; height: 100%; object-fit: cover; }
.instructor__mono { font-family: var(--serif); font-style: italic; font-size: 6rem; color: #fff; line-height: 1; }
.instructor__mono--sm { width: 64px; height: 64px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 1.8rem; background: linear-gradient(160deg, var(--brand), #2a1fa8); }
.instructor__role { color: var(--brand); font-weight: 600; margin-top: -4px; }
.instructor__bio { color: var(--muted); font-size: 1.08rem; max-width: 560px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--muted); transition: transform .25s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Final CTA */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(80px, 11vw, 140px) 0; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 50% 0%, rgba(91, 75, 255, .45), transparent 70%), radial-gradient(30% 40% at 80% 100%, rgba(212, 255, 63, .15), transparent 70%); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.cta h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); letter-spacing: -.045em; margin: 0; }
.cta h2 em { color: var(--lime); }
.countdown { display: flex; gap: 10px; }
.countdown div { min-width: 82px; padding: 14px 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.countdown b { display: block; font-size: 2rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown small { font-size: .75rem; color: #a1a1aa; }
.cta__note { color: #a1a1aa; font-size: .9rem; margin: 0; }

/* Footer */
.footer { background: var(--ink); color: #a1a1aa; padding: 72px 0 32px; border-top: 1px solid #1f1f23; }
.footer .logo { color: #fff; --logo-ink: var(--ink); }
.footer .logo__mark { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin: 16px 0 20px; max-width: 320px; font-size: .94rem; }
.footer__h { color: #fff; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer a { text-decoration: none; }
.footer ul a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #1f1f23; font-size: .85rem; }
.footer__bottom p { margin: 0; }
.urdu-sm { font-family: var(--urdu); line-height: 2; }

/* Page hero (archive, pages) */
.page-hero { position: relative; padding: clamp(64px, 9vw, 112px) 0 clamp(32px, 4vw, 48px); text-align: center; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -.05em; }
.page-hero--sm { text-align: left; padding-bottom: 0; }
.page-hero--sm h1 { font-size: clamp(2rem, 4.5vw, 3rem); }

/* --------------------------------------------------------------------------
   Course page
   ------------------------------------------------------------------------ */
.course-hero { position: relative; overflow: hidden; padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.course-hero__inner { position: relative; max-width: 1200px; }
.course-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -.05em; max-width: 760px; }
.course-hero__sub { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.meta-row { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.meta-row li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 500; }
.course-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.course-main { display: grid; gap: 40px; min-width: 0; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.box .checks { margin-top: 16px; }
.box--instructor { display: flex; gap: 20px; align-items: flex-start; }
.box--instructor p { margin: 0; }
.course-curr__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.course-curr__head h2 { margin: 0; }
.course-side { position: sticky; top: 92px; margin-top: -160px; }
.buy { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); }
.buy__media { aspect-ratio: 16 / 9; background: var(--ink); }
.buy__media img { width: 100%; height: 100%; object-fit: cover; }
.buy__media--gen, .ccard__gen { display: grid; place-items: center; padding: 20px; text-align: center; color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.9rem; line-height: 1.1; background: radial-gradient(70% 90% at 20% 10%, rgba(91, 75, 255, .9), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(212, 255, 63, .45), transparent 70%), #0f0f14; }
.buy__body { padding: 24px; display: grid; gap: 12px; }
.buy__body p { margin: 0; }
.buy__price .price { font-size: 2.4rem; font-weight: 600; letter-spacing: -.04em; }
.buy__owned { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #067647; }
.buy__h { font-weight: 600; font-size: .9rem; margin-top: 8px !important; }
.plan__list--compact { padding-top: 0; border: 0; gap: 10px; font-size: .9rem; }
.plan__list--compact li { color: var(--ink-2); }
.plan__list--compact .icon { color: var(--ok); }
.buy__help { display: inline-flex; align-items: center; gap: 8px; justify-content: center; font-size: .88rem; color: var(--muted); text-decoration: none; padding-top: 12px; border-top: 1px solid var(--line-2); }
.buy__help:hover { color: var(--ink); }

/* Prose */
.prose { font-size: 1.04rem; line-height: 1.75; color: var(--ink-2); }
.prose h2, .prose h3 { color: var(--ink); margin: 1.6em 0 .5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--brand); }
.prose img { border-radius: var(--r); height: auto; }
.prose ul, .prose ol { padding-left: 1.3em; }

/* --------------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------------ */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: .875rem; font-weight: 600; color: var(--ink-2); padding: 0; }
.field legend { margin-bottom: 7px; }
.field__row { display: flex; justify-content: space-between; }
.field__row a { font-weight: 500; color: var(--brand); text-decoration: none; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"], .field input[type="number"] {
	width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #a8a8b0; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91, 75, 255, .14); }
.pw { position: relative; display: block; }
.pw input { padding-right: 46px !important; }
.pw__toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px; color: var(--muted); cursor: pointer; border-radius: 8px; }
.pw__toggle:hover { color: var(--ink); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-3); }
.check input, .radios input { accent-color: var(--brand); width: 16px; height: 16px; }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radios label { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 600; cursor: pointer; box-shadow: var(--sh-1); }
.radios label:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91, 75, 255, .12); }

.notice { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 12px; font-size: .92rem; margin-bottom: 18px; border: 1px solid; }
.notice .icon { margin-top: 1px; }
.notice--err { background: var(--err-soft); border-color: #fecdca; color: #912018; }
.notice--ok { background: var(--ok-soft); border-color: #abefc6; color: #05603a; }
.notice--wait { background: var(--warn-soft); border-color: #fedf89; color: #93370d; }

.progress { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #8b7dff); transition: width .6s var(--ease); }
.progress__label { display: block; font-size: .78rem; color: var(--muted); margin-top: 6px; }

.avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: linear-gradient(140deg, var(--brand), #9d8cff); color: #fff; font-weight: 600; letter-spacing: 0; }
.avatar--xs { width: 22px; height: 22px; font-size: .62rem; }
.avatar--sm { width: 32px; height: 32px; font-size: .75rem; }
.avatar--md { width: 38px; height: 38px; font-size: .85rem; }

.copy { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink-2); }
.copy:hover { border-color: #d4d2cb; }
.copy.is-copied { background: var(--ok-soft); border-color: #abefc6; color: #067647; }

.empty { text-align: center; padding: 48px 24px; border: 1px dashed #d8d6cf; border-radius: var(--r-lg); background: var(--surface); }
.empty__icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.empty h3 { font-size: 1.15rem; }

/* --------------------------------------------------------------------------
   Auth
   ------------------------------------------------------------------------ */
body.auth { background: var(--surface); }
.auth__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100vh; min-height: 100dvh; }
.auth__art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 40px; background: var(--ink); color: #fff; }
.auth__art .hero__bg { background: radial-gradient(60% 50% at 20% 0%, rgba(91, 75, 255, .55), transparent 70%), radial-gradient(50% 40% at 100% 100%, rgba(212, 255, 63, .22), transparent 70%); }
.auth__art .hero__bg::after { background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); opacity: 1; }
.auth__art .logo, .auth__art .logo__mark { position: relative; color: #fff; --logo-ink: var(--ink); }
.auth__pitch { position: relative; max-width: 460px; }
.auth__urdu { font-family: var(--urdu); line-height: 2.2; color: #c4c4cc; margin-bottom: 8px; }
.auth__pitch h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.045em; }
.auth__pitch h2 em { color: var(--lime); }
.auth__pitch ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: #d4d4d8; }
.auth__pitch li { display: flex; gap: 10px; align-items: center; }
.auth__pitch .icon { color: var(--lime); }
.auth__foot { position: relative; margin: 0; font-size: .85rem; color: #71717a; }
.auth__main { display: flex; flex-direction: column; padding: 32px; }
.auth__top { display: flex; justify-content: space-between; align-items: center; }
.auth__top .logo { visibility: hidden; }
.auth__top a.muted { text-decoration: none; }
.auth__card { width: 100%; max-width: 420px; margin: auto; padding: 40px 0; }
.auth__card h1 { font-size: 2.2rem; letter-spacing: -.045em; margin-bottom: 8px; }
.auth__card > .muted { margin-bottom: 28px; }
.auth__switch { text-align: center; margin-top: 28px; color: var(--muted); font-size: .92rem; }
.auth__switch a { color: var(--brand); font-weight: 600; text-decoration: none; }

/* --------------------------------------------------------------------------
   App shell (dashboard, profile, checkout)
   ------------------------------------------------------------------------ */
body.app { background: var(--bg); }
.app__shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 28px; padding: 24px 16px; border-right: 1px solid var(--line); background: var(--surface); }
.side > .logo { padding: 0 10px; }
.side__nav { display: grid; gap: 2px; }
.side__nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .94rem; color: var(--ink-3); }
.side__nav a:hover { background: var(--bg); color: var(--ink); }
.side__nav a.is-active { background: var(--ink); color: #fff; }
.side__user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 10px 0; border-top: 1px solid var(--line); }
.side__who { min-width: 0; flex: 1; }
.side__who b, .side__who small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side__who b { font-size: .9rem; font-weight: 600; }
.side__who small { color: var(--muted); font-size: .78rem; }
.side__out { color: var(--muted); padding: 6px; border-radius: 8px; }
.side__out:hover { color: var(--err); background: var(--err-soft); }
.app__main { min-width: 0; }
.topbar-m { display: none; }
.app__content { padding: 40px clamp(20px, 4vw, 56px) 80px; max-width: 1180px; }
.tabbar { display: none; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.page-head h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); letter-spacing: -.045em; margin: 0; }
.page-head p { margin: 0 0 2px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); text-decoration: none; margin-bottom: 8px; }
.back:hover { color: var(--ink); }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.kpi { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.kpi__icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.kpi b { font-size: 1.6rem; letter-spacing: -.04em; line-height: 1.1; }
.kpi small { color: var(--muted); font-size: .83rem; }

.resume { display: flex; align-items: center; gap: 20px; padding: 22px 24px; border-radius: var(--r-lg); text-decoration: none; color: #fff; background: radial-gradient(60% 120% at 0% 0%, rgba(91, 75, 255, .9), transparent 70%), radial-gradient(40% 100% at 100% 100%, rgba(212, 255, 63, .25), transparent 70%), var(--ink); box-shadow: var(--sh-3); margin-bottom: 40px; transition: transform .2s var(--ease); }
.resume:hover { transform: translateY(-2px); }
.resume__play { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); padding-left: 3px; }
.resume__body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.resume__body small { color: #c4c4cc; font-size: .82rem; }
.resume__body b { font-size: 1.15rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resume .progress { background: rgba(255, 255, 255, .15); margin-top: 6px; max-width: 360px; }
.resume .progress span { background: var(--lime); }
.resume .progress__label { color: #c4c4cc; }
.resume__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); white-space: nowrap; }

.block { margin-bottom: 44px; }
.block__h { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: 16px; }
.ccards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ccard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); transition: box-shadow .2s, transform .2s var(--ease); }
.ccard:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.ccard__media { position: relative; aspect-ratio: 16 / 9; display: block; text-decoration: none; background: var(--ink); }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; }
.ccard__gen { position: absolute; inset: 0; font-size: 1.5rem; }
.ccard__badge { position: absolute; top: 12px; left: 12px; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); }
.ccard__body { padding: 18px; display: grid; gap: 8px; flex: 1; align-content: start; }
.ccard__body h3 { font-size: 1.05rem; margin: 0; letter-spacing: -.015em; }
.ccard__body h3 a { text-decoration: none; }
.ccard__body p { margin: 0; }
.ccard__actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ccard__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; }
.ccard__foot .price { font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }
.ccard__foot .price-old { color: var(--muted); font-size: .85rem; }
.ccard--shop .ccard__body { align-content: stretch; }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table th { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; background: #fcfcfa; }
.table tr:last-child td { border-bottom: 0; }
.status { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.status--pending { background: var(--warn-soft); color: var(--warn); }
.status--approved { background: var(--ok-soft); color: #067647; }
.status--rejected { background: var(--err-soft); color: var(--err); }

/* Profile */
.card-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.card-form__section { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 28px; border-bottom: 1px solid var(--line-2); }
.card-form__fields { display: grid; gap: 16px; max-width: 480px; }
.card-form__foot { display: flex; justify-content: flex-end; padding: 18px 28px; background: #fcfcfa; border-radius: 0 0 var(--r-lg) var(--r-lg); }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.pay-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pay-steps > li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-1); }
.pay-steps__head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.pay-steps__head span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 600; }
.pay-steps__head h2 { margin: 0; }
.pay-steps .muted.small { margin-left: 40px; }
.accounts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.account { position: relative; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.account::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.account--ep::before { background: #2fb34a; }
.account--jc::before { background: #d71920; }
.account p { margin: 0; }
.account__name { font-size: .8rem; font-weight: 600; color: var(--muted); }
.account__num { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: 4px 0 !important; }
.account__title { font-size: .85rem; color: var(--ink-3); margin-bottom: 12px !important; }
.pay-steps .form { margin-top: 18px; }
.summary { position: sticky; top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-2); }
.summary__h { font-weight: 600; margin-bottom: 16px; }
.summary__course { display: flex; gap: 12px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.summary__thumb { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
.summary__course b, .summary__course small { display: block; }
.summary__course small { color: var(--muted); font-size: .82rem; }
.summary__rows { margin: 0; padding: 14px 0; display: grid; gap: 10px; border-bottom: 1px solid var(--line-2); }
.summary__rows div { display: flex; justify-content: space-between; }
.summary__rows dt { color: var(--muted); }
.summary__rows dd { margin: 0; font-weight: 600; }
.summary__total dt, .summary__total dd { color: var(--ink) !important; font-size: 1.15rem; font-weight: 700; }
.summary__trust { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; font-size: .88rem; color: var(--muted); }
.summary__trust li { display: flex; gap: 8px; align-items: center; }
.summary__trust a { color: var(--brand); text-decoration: none; }

/* --------------------------------------------------------------------------
   Lesson player
   ------------------------------------------------------------------------ */
body.player { background: var(--bg); }
.pbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.pbar__back { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); }
.pbar__back:hover { background: var(--bg); }
.pbar__title { flex: 1; min-width: 0; display: grid; gap: 6px; }
.pbar__title > a { font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbar__prog { display: flex; align-items: center; gap: 10px; max-width: 320px; }
.pbar__prog .progress { flex: 1; }
.pbar__prog span { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pbar__toggle { display: none; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .85rem; cursor: pointer; }
.pbar__me { text-decoration: none; }
.pwrap { display: grid; grid-template-columns: 1fr 380px; align-items: start; }
.pmain { padding: 28px clamp(16px, 3vw, 40px) 64px; min-width: 0; max-width: 1040px; width: 100%; margin: 0 auto; }
.stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #0d0d12; box-shadow: var(--sh-3); }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage__locked, .stage__empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 12px; padding: 24px; color: #fff; background: radial-gradient(60% 80% at 30% 20%, rgba(91, 75, 255, .5), transparent 70%), #0d0d12; }
.stage__locked h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 0; }
.stage__locked p, .stage__empty p { color: #c4c4cc; margin: 0 0 6px; max-width: 420px; }
.stage__lock { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.lesson-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin: 28px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.lesson-head h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.04em; margin: 0; }
.lesson-head__k { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.lesson-head__form { flex: none; }
.lesson-body { display: grid; gap: 28px; }
.resources { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; }
.resources__h { font-weight: 600; font-size: .9rem; padding: 10px 12px 6px; margin: 0; }
.resources a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.resources a span { flex: 1; }
.resources a:hover { background: var(--bg); }
.resources .icon--file { color: var(--brand); }
.resources .icon--external { color: var(--muted); }
.pnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; }
.pnav__link { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; max-width: 48%; min-width: 0; box-shadow: var(--sh-1); }
.pnav__link:hover { border-color: #d4d2cb; }
.pnav__link span { min-width: 0; font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pnav__link small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.pnav__link--next { margin-left: auto; text-align: right; }
.pside { position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; border-left: 1px solid var(--line); background: var(--surface); padding: 16px; }
.pside__head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 12px; }
.pside__head p { margin: 0; font-weight: 600; }
.pside__close { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--muted); }
.pside .module { border-radius: 12px; }
.pside .module summary { padding: 14px 14px; }
.pside .module__list { padding: 0 6px 6px; }
.pside .lrow a, .pside .lrow > span { font-size: .88rem; padding: 10px; }
.pside__cta { margin-top: 16px; padding: 18px; border-radius: var(--r); background: var(--brand-soft); display: grid; gap: 12px; }
.pside__cta p { margin: 0; }
.pside__scrim { display: none; }
.celebrate { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--r-lg); margin-bottom: 20px; color: #fff; background: radial-gradient(60% 140% at 0% 0%, rgba(91, 75, 255, .9), transparent 70%), var(--ink); flex-wrap: wrap; }
.celebrate > div { flex: 1; min-width: 200px; }
.celebrate h2 { font-size: 1.3rem; margin: 0 0 2px; }
.celebrate p { margin: 0; color: #c4c4cc; }
.celebrate__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); }

/* --------------------------------------------------------------------------
   Certificate
   ------------------------------------------------------------------------ */
body.certpage { background: #e9e7e1; }
.certbar { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; max-width: 1100px; margin: 0 auto; }
.certscale { padding: 0 20px 40px; }
.cert { position: relative; max-width: 1060px; aspect-ratio: 1.414 / 1; margin: 0 auto; background: #fffefa; padding: 6% 8%; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: var(--sh-3); overflow: hidden; }
.cert::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 0% 0%, rgba(91, 75, 255, .1), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(212, 255, 63, .25), transparent 70%); }
.cert__border { position: absolute; inset: 2.2%; border: 1.5px solid #d9d4c4; pointer-events: none; }
.cert__border::after { content: ""; position: absolute; inset: 6px; border: 1px solid #ebe7da; }
.cert > * { position: relative; }
.cert__top { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.cert__id { margin: 0; text-align: right; font-size: .7rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.cert__id b { color: var(--ink); font-size: .85rem; letter-spacing: .04em; }
.cert__k { font-size: clamp(.7rem, 1.4vw, .95rem); letter-spacing: .32em; text-transform: uppercase; font-weight: 600; color: var(--brand); margin: 0 0 2% !important; }
.cert__lead { margin: 0; color: var(--muted); font-size: clamp(.75rem, 1.4vw, 1rem); }
.cert__name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2rem, 6.5vw, 4.6rem); letter-spacing: -.01em; line-height: 1.1; margin: 1.5% 0 2%; padding-bottom: 1.2%; border-bottom: 1px solid #d9d4c4; min-width: 60%; }
.cert__course { font-size: clamp(1.1rem, 3vw, 2rem); letter-spacing: -.035em; margin: 1.2% 0 .6%; }
.cert__meta { color: var(--muted); font-size: clamp(.7rem, 1.2vw, .9rem); margin: 0; }
.cert__foot { width: 80%; display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
.cert__foot div { display: grid; gap: 4px; min-width: 30%; padding-top: 10px; border-top: 1px solid #cfcab9; font-size: clamp(.7rem, 1.3vw, .95rem); }
.cert__foot span { color: var(--muted); font-size: .8em; text-transform: uppercase; letter-spacing: .1em; }
.cert__sign { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.4em; }
.cert__foot .cert__seal { width: clamp(56px, 9vw, 92px); height: clamp(56px, 9vw, 92px); border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 30%, #8b7dff, var(--brand) 60%, #3a2bd6); box-shadow: 0 0 0 6px rgba(91, 75, 255, .12); }

@media print {
	@page { size: A4 landscape; margin: 0; }
	body.certpage { background: #fff; }
	.certbar, #wpadminbar { display: none !important; }
	.certscale { padding: 0; }
	.cert { box-shadow: none; max-width: none; width: 100vw; height: 100vh; aspect-ratio: auto; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	html { margin-top: 0 !important; }
}

/* Posts (blog fallback) */
.posts { display: grid; gap: 8px; }
.post-row { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-row h2 a { text-decoration: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------ */
@media (max-width: 1080px) {
	.mock__body { grid-template-columns: 1fr; }
	.mock__side { display: none; }
	.syllabus { grid-template-columns: 1fr; gap: 32px; }
	.syllabus__info { position: static; }
	.faq { grid-template-columns: 1fr; gap: 32px; }
	.course-layout { grid-template-columns: 1fr; }
	.course-side { position: static; margin-top: 0; order: -1; }
	.plans--3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
	.pwrap { grid-template-columns: 1fr; }
	.pbar__toggle { display: inline-flex; }
	.pside { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(380px, 92vw); height: 100%; transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--sh-3); }
	body.curr-open .pside { transform: none; }
	.pside__close { display: block; }
	.pside__scrim { position: fixed; inset: 0; z-index: 55; background: rgba(10, 10, 11, .4); }
	body.curr-open .pside__scrim { display: block; }
	.checkout { grid-template-columns: 1fr; }
	.summary { position: static; order: -1; }
}

@media (max-width: 900px) {
	.nav__links, .nav__login { display: none; }
	.nav__toggle { display: inline-grid; }
	.nav__inner { gap: 12px; justify-content: space-between; }
	.bento { grid-template-columns: 1fr 1fr; }
	.tile--urdu, .tile--tasks, .tile--progress { grid-column: span 2; }
	.tile--urdu { grid-row: auto; min-height: 300px; }
	.tile--mobile, .tile--community, .tile--cert { grid-column: span 1; }
	.steps { grid-template-columns: 1fr; }
	.plans--2 { grid-template-columns: minmax(0, 520px); }
	.instructor { grid-template-columns: 1fr; gap: 32px; }
	.instructor__photo { max-width: 280px; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__brand { grid-column: span 2; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.auth__wrap { grid-template-columns: 1fr; }
	.auth__art { display: none; }
	.auth__top .logo { visibility: visible; }
	.auth__main { padding: 20px; }
	.app__shell { grid-template-columns: 1fr; }
	.side { display: none; }
	.topbar-m { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
	.topbar-m > a:last-child { text-decoration: none; }
	.app__content { padding: 24px 20px 110px; }
	.tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); }
	.tabbar a { display: grid; justify-items: center; gap: 3px; padding: 6px 0; font-size: .7rem; font-weight: 500; color: var(--muted); text-decoration: none; }
	.tabbar a.is-active { color: var(--brand); }
	.card-form__section { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
	.card-form__foot { padding: 16px 22px; }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.wrap { width: calc(100% - 32px); }
	.hero__cta { width: 100%; flex-direction: column; }
	.hero__cta .btn { width: 100%; }
	.mock { margin-top: 44px; border-radius: 14px 14px 0 0; }
	.mock__main { padding: 12px; }
	.mock__meta { flex-direction: column; align-items: flex-start; gap: 10px; }
	.mock__url { display: none; }
	.mock__prompt { display: none; }
	.tools__row span { font-size: 1.1rem; }
	.tools__row { gap: 36px; }
	.stats__grid div { padding: 24px 18px; }
	.bento { grid-template-columns: 1fr; }
	.tile--urdu, .tile--tasks, .tile--progress, .tile--mobile, .tile--community, .tile--cert { grid-column: auto; }
	.tile { padding: 22px; min-height: 0; }
	.tile__ui { padding-bottom: 16px; }
	.tile__icon { margin-bottom: 18px; }
	.cert-mini { margin-bottom: 18px; }
	.tabs { margin-top: -16px; }
	.checks--2 { grid-template-columns: 1fr; }
	.plan { padding: 24px; }
	.countdown div { min-width: 0; flex: 1; padding: 12px 6px; }
	.countdown b { font-size: 1.5rem; }
	.cta__btns, .cta__btns .btn { width: 100%; }
	.footer__grid { grid-template-columns: 1fr; }
	.footer__brand { grid-column: auto; }
	.footer__bottom { flex-direction: column; align-items: flex-start; }
	.box { padding: 22px; }
	.box--instructor { flex-direction: column; }
	.kpis { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
	.kpi { grid-template-columns: 1fr; padding: 14px; text-align: left; }
	.kpi__icon { grid-row: auto; width: 34px; height: 34px; margin-bottom: 8px; }
	.kpi__icon .icon { width: 17px; height: 17px; }
	.kpi b { font-size: 1.3rem; }
	.kpi small { font-size: .72rem; line-height: 1.3; }
	.resume { flex-wrap: wrap; padding: 18px; gap: 14px; }
	.resume__play { width: 46px; height: 46px; }
	.resume__go { width: 100%; justify-content: center; }
	.page-head { flex-direction: column; align-items: flex-start; }
	.accounts { grid-template-columns: 1fr; }
	.pay-steps > li { padding: 20px; }
	.pay-steps .muted.small { margin-left: 0; }
	.lesson-head { flex-direction: column; }
	.lesson-head__form, .lesson-head__form .btn { width: 100%; }
	.pmain { padding-top: 0; padding-left: 0; padding-right: 0; }
	.stage { border-radius: 0; }
	.lesson-head, .lesson-body, .pnav, .celebrate { margin-left: 16px; margin-right: 16px; }
	.celebrate { margin-top: 16px; }
	.pbar { padding: 0 12px; gap: 10px; }
	.pbar__toggle span { display: none; }
	.pnav__link { max-width: none; flex: 1; }
	.pnav__link span { white-space: normal; }
	.cert { aspect-ratio: auto; min-height: 520px; padding: 40px 24px; }
	.cert__top { flex-direction: column; align-items: center; gap: 12px; margin-bottom: 28px; }
	.cert__id { text-align: center; }
	.cert__foot { width: 100%; margin-top: 32px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}
