* { box-sizing: border-box; }
body.alfayed-student-page { margin: 0; color: #17324a; background: #f3f7fa; font-family: Arial, Tahoma, sans-serif; }
.alfayed-skip-link { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; z-index: 9999; }.alfayed-skip-link:focus { inset-block-start: .5rem; inset-inline-start: .5rem; width: auto; height: auto; overflow: visible; clip-path: none; padding: .65rem 1rem; background: #fff; color: #17324a; border-radius: 8px; }
.alfayed-site-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 5vw; background: #fff; border-bottom: 1px solid #dfe8ef; }
.alfayed-brand { display: inline-flex; align-items: center; gap: .65rem; color: #17324a; text-decoration: none; font-weight: 800; }
.alfayed-brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(135deg,#0f5f8c,#178f9d); direction: ltr; }
.alfayed-site-header nav { display: flex; gap: .5rem; }
.alfayed-site-header nav a { min-height: 44px; display: inline-flex; align-items: center; padding: .45rem .7rem; border-radius: 9px; color: #31536b; text-decoration: none; }
.alfayed-page-container { width: min(1180px,92vw); margin: 0 auto; padding: 2rem 0 4rem; }
.alfayed-dashboard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.alfayed-dashboard h1,.alfayed-dashboard h2,.alfayed-dashboard h3,.alfayed-auth-card h1 { margin-top: 0; color: #17324a; }
.alfayed-dashboard h1 { font-size: clamp(1.6rem,3vw,2.35rem); margin-bottom: 0; }
.alfayed-eyebrow { color: #167b88; font-weight: 800; margin: 0 0 .35rem; }
.alfayed-text-link { min-height: 44px; display: inline-flex; align-items: center; padding-inline: .35rem; color: #0f648d; font-weight: 700; }
.alfayed-continue-card { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: clamp(1.4rem,4vw,2.5rem); color: #fff; background: linear-gradient(125deg,#123c5a,#116f80); border-radius: 22px; box-shadow: 0 18px 45px rgba(20,60,87,.15); }
.alfayed-continue-card h2,.alfayed-continue-card .alfayed-eyebrow { color: #fff; }
.alfayed-continue-card p { color: #dcecf1; }
.alfayed-button,.alfayed-secondary-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.15rem; border: 0; border-radius: 12px; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; }
.alfayed-button { background: #f2c14e; color: #17324a; }
.alfayed-secondary-button { background: #e9f3f6; color: #0f648d; white-space: nowrap; }
.alfayed-progress-ring { --progress:0; width: 132px; height: 132px; flex: 0 0 132px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle closest-side,#155c70 76%,transparent 77% 99%),conic-gradient(#f2c14e calc(var(--progress)*1%),rgba(255,255,255,.2) 0); }
.alfayed-progress-ring strong { font-size: 1.65rem; }.alfayed-progress-ring span { font-size: .8rem; }
.alfayed-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 1rem 0; }
.alfayed-stats article,.alfayed-panel { background: #fff; border: 1px solid #e0e8ee; border-radius: 16px; }
.alfayed-stats article { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.2rem; }.alfayed-stats strong { font-size: 1.5rem; }.alfayed-stats span { color: #587184; }
.alfayed-dashboard-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(260px,1fr); gap: 1rem; }.alfayed-dashboard-grid aside { display: grid; gap: 1rem; align-content: start; }
.alfayed-panel,.alfayed-support-card { padding: 1.3rem; }.alfayed-panel h2,.alfayed-support-card h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.alfayed-course-list { display: grid; gap: .85rem; }.alfayed-course-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; background: #f8fbfc; border-radius: 13px; }.alfayed-course-card>div { flex: 1; }.alfayed-course-card h3 { margin-bottom: .3rem; }.alfayed-course-card p,.alfayed-empty { color: #60798b; }
.alfayed-progress-bar { height: 7px; overflow: hidden; background: #dfe9ee; border-radius: 99px; }.alfayed-progress-bar span { display: block; height: 100%; background: #168795; border-radius: inherit; }
.alfayed-panel dl { margin: 0; }.alfayed-panel dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid #e7edf1; }.alfayed-panel dt { color: #617789; }.alfayed-panel dd { margin: 0; font-weight: 700; }
.alfayed-result-list { list-style: none; padding: 0; margin: 0; }.alfayed-result-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid #e7edf1; }
.alfayed-support-card { color: #17324a; background: #fff4d5; border: 1px solid #f2d88c; border-radius: 16px; }.alfayed-support-card p { margin-bottom: 0; }
.alfayed-auth-card { width: min(680px,100%); margin: 3vh auto; padding: clamp(1.4rem,4vw,2.5rem); background: #fff; border: 1px solid #dfe8ef; border-radius: 22px; box-shadow: 0 18px 50px rgba(30,68,91,.1); }
.alfayed-alert,.alfayed-device-note { padding: .8rem 1rem; border-radius: 10px; }.alfayed-alert { color: #7f1d1d; background: #fef2f2; border: 1px solid #fecaca; }.alfayed-device-note { color: #664d03; background: #fff8dd; border: 1px solid #f4df96; }
.alfayed-device-denied{width:min(680px,100%);margin:8vh auto;padding:clamp(1.5rem,5vw,3rem);text-align:center;background:#fff;border:1px solid #fecaca;border-radius:22px;box-shadow:0 18px 50px rgba(30,68,91,.1)}.alfayed-device-denied>span{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 1rem;border-radius:20px;background:#fef2f2;font-size:2rem}.alfayed-device-denied h1{font-size:clamp(1.4rem,4vw,2.1rem);overflow-wrap:anywhere}.alfayed-device-denied p:not(.alfayed-eyebrow){color:#5f7180;line-height:1.8}
.alfayed-auth-form { display: grid; gap: 1rem; margin-top: 1.25rem; }.alfayed-auth-form label { display: grid; gap: .4rem; color: #304f64; font-weight: 700; }.alfayed-auth-form input,.alfayed-auth-form select { width: 100%; min-height: 48px; padding: .65rem .8rem; border: 1px solid #bdccd7; border-radius: 10px; background: #fff; color: #17324a; font: inherit; }.alfayed-auth-form input:focus,.alfayed-auth-form select:focus { outline: 3px solid rgba(22,135,149,.2); border-color: #168795; }.alfayed-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }.alfayed-check { display: flex!important; grid-template-columns: auto 1fr; align-items: center; }.alfayed-check input { width: 20px; min-height: 20px; }.alfayed-honeypot { position: absolute!important; inset-inline-start: -10000px; }.alfayed-auth-switch { text-align: center; margin-bottom: 0; }.alfayed-auth-switch a { color: #0f648d; font-weight: 800; }
.alfayed-auth-form fieldset{margin:0;padding:1rem;border:1px solid #dfe8ef;border-radius:12px}.alfayed-auth-form legend{padding-inline:.5rem;font-weight:800}.alfayed-auth-options{display:grid;gap:.75rem;margin-top:1rem;text-align:center}.alfayed-google-button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:.7rem 1rem;border:1px solid #bdccd7;border-radius:12px;background:#fff;color:#17324a;font-weight:800;text-decoration:none}.alfayed-alert-info{color:#174a61;background:#edf8fb;border-color:#b8e0e8}.alfayed-muted{color:#60798b;line-height:1.7}.alfayed-account-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:1rem}.alfayed-account-grid aside{display:grid;gap:1rem;align-content:start}.alfayed-header-actions{display:flex;align-items:center;gap:.75rem}.alfayed-auth-form [dir="ltr"],.alfayed-panel dd[dir="ltr"]{unicode-bidi:isolate;overflow-wrap:anywhere}
[dir="ltr"] .alfayed-chemical-formula,[dir="rtl"] .alfayed-chemical-formula { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 768px) { .alfayed-page-container { width: min(94vw,720px); padding-top: 1.25rem; }.alfayed-dashboard-grid,.alfayed-account-grid { grid-template-columns: 1fr; }.alfayed-course-card { align-items: flex-start; }.alfayed-site-header { padding-inline: 3vw; } }
@media (max-width: 520px) { .alfayed-site-header { min-height: 64px; }.alfayed-brand span:last-child { display: none; }.alfayed-continue-card { align-items: flex-start; }.alfayed-progress-ring { width: 86px; height: 86px; flex-basis: 86px; }.alfayed-progress-ring strong { font-size: 1.2rem; }.alfayed-stats { grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }.alfayed-stats article { padding: .8rem .65rem; }.alfayed-stats strong { font-size: 1.2rem; }.alfayed-stats span { font-size: .78rem; }.alfayed-course-card { flex-direction: column; }.alfayed-secondary-button { width: 100%; }.alfayed-form-grid { grid-template-columns: 1fr; } }
.alfayed-public{display:grid;gap:2rem}.alfayed-public-hero{min-height:min(680px,78vh);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);align-items:center;gap:clamp(2rem,6vw,5rem);padding:clamp(2rem,5vw,5rem);border:1px solid #dbe8ee;border-radius:30px;background:radial-gradient(circle at 85% 15%,rgba(28,163,171,.18),transparent 34%),linear-gradient(145deg,#fff,#eef7f8);box-shadow:0 24px 70px rgba(20,64,82,.1)}.alfayed-kicker{margin:0 0 .65rem;color:#117986;font-weight:900;letter-spacing:.16em}.alfayed-public h1{margin:0;color:#123149;font-size:clamp(2.2rem,6vw,5.4rem);line-height:1.04}.alfayed-public-lead{max-width:650px;color:#466678;font-size:clamp(1.1rem,2vw,1.5rem);line-height:1.8}.alfayed-public-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.5rem}.alfayed-hero-media{min-width:0}.alfayed-hero-image,.alfayed-hero-placeholder{width:100%;aspect-ratio:4/5;border-radius:26px;object-fit:cover}.alfayed-hero-placeholder{display:flex;align-items:center;justify-content:center;gap:1rem;color:#fff;background:linear-gradient(145deg,#123d58,#148c98);font-size:clamp(1.5rem,4vw,3rem);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}.alfayed-hero-placeholder i{font-style:normal;color:#9be4df}.alfayed-public-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.alfayed-public-proof article{display:grid;gap:.35rem;padding:1.3rem;border-radius:18px;background:#fff;border:1px solid #dbe8ee}.alfayed-public-proof strong{font-size:1.45rem;color:#126e7c}.alfayed-contact{width:min(900px,100%);margin:auto}.alfayed-contact header{text-align:center;padding:2rem}.alfayed-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.alfayed-contact-grid>a{min-height:76px;display:flex;align-items:center;gap:1rem;padding:1rem 1.2rem;border:1px solid #d7e5ec;border-radius:16px;background:#fff;color:#17324a;text-decoration:none}.alfayed-contact-grid>a span{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#e9f7f6;color:#117986}.alfayed-public-footer{display:flex;justify-content:space-between;gap:1rem;padding:1.5rem 5vw;border-top:1px solid #dbe8ee;background:#fff}.alfayed-public-footer nav{display:flex;gap:1rem}.alfayed-catalog{display:grid;gap:1.5rem}.alfayed-catalog-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.alfayed-catalog-head h1{margin:.25rem 0}.alfayed-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.alfayed-catalog-card{overflow:hidden;display:flex;flex-direction:column;border:1px solid #dbe8ee;border-radius:20px;background:#fff;box-shadow:0 14px 34px rgba(22,58,75,.07)}.alfayed-course-image{aspect-ratio:16/10;background:#eaf4f5}.alfayed-course-image img,.alfayed-course-image-fallback{width:100%;height:100%;object-fit:cover}.alfayed-course-image-fallback{display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#154762,#15909a);font-size:1.6rem}.alfayed-catalog-card-body{display:grid;gap:.8rem;align-content:start;flex:1;padding:1.15rem}.alfayed-catalog-card h2{margin:0;font-size:1.2rem}.alfayed-catalog-card p{margin:0;color:#617789;line-height:1.65}.alfayed-status{justify-self:start;padding:.35rem .65rem;border-radius:999px;background:#edf4f7;color:#36596e;font-size:.8rem;font-weight:900}.alfayed-status.is-enrolled,.alfayed-status.is-free{background:#e7f7ed;color:#166534}.alfayed-price{font-size:1.1rem}.alfayed-catalog-card .alfayed-button{margin-top:auto}.alfayed-catalog-pagination{display:flex;justify-content:center;align-items:center;gap:1rem}.alfayed-catalog-pagination a{min-height:44px;display:inline-flex;align-items:center;padding:.5rem 1rem;border-radius:10px;background:#fff}.alfayed-subscribe-state{width:min(680px,100%);margin:8vh auto;padding:clamp(2rem,6vw,4rem);text-align:center;border:1px solid #dbe8ee;border-radius:24px;background:#fff}.alfayed-subscribe-state .alfayed-button{margin-top:1rem}
@media(max-width:1024px){.alfayed-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.alfayed-public-hero{grid-template-columns:1fr 360px}}
@media(max-width:768px){.alfayed-public-hero{grid-template-columns:1fr;min-height:0}.alfayed-hero-media{width:min(420px,100%);margin:auto}.alfayed-catalog-grid{grid-template-columns:1fr}.alfayed-contact-grid{grid-template-columns:1fr}}
@media(max-width:520px){.alfayed-public-hero{padding:1.35rem;border-radius:22px}.alfayed-public-proof{grid-template-columns:1fr}.alfayed-public-actions>*{width:100%}.alfayed-catalog-head,.alfayed-public-footer{flex-direction:column}.alfayed-site-header nav{gap:.15rem}.alfayed-site-header nav a{padding:.35rem .45rem;font-size:.85rem}}
.alfayed-checkout-shell{width:min(920px,100%);margin:auto;display:grid;gap:1rem}.alfayed-checkout-title{text-align:center;padding:1rem 0}.alfayed-checkout-title h1{margin:.2rem 0;color:#123149;font-size:clamp(1.8rem,4vw,2.7rem)}.alfayed-checkout-title p:last-child{color:#60798b}.alfayed-checkout-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:1rem}.alfayed-checkout-card{padding:clamp(1rem,3vw,1.5rem);border:1px solid #dbe8ee;border-radius:20px;background:#fff;box-shadow:0 14px 34px rgba(22,58,75,.06)}.alfayed-checkout-card h2{margin-top:0;color:#17324a}.alfayed-checkout-course{display:flex;align-items:center;gap:1rem}.alfayed-checkout-course img{width:120px;aspect-ratio:4/3;object-fit:cover;border-radius:14px}.alfayed-checkout-course span,.alfayed-checkout-total span{color:#60798b}.alfayed-checkout-course h2{margin:.3rem 0}.alfayed-checkout-total{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1.25rem;padding-top:1rem;border-top:1px solid #e3ebef}.alfayed-checkout-total strong{color:#116f80;font-size:1.35rem}.alfayed-checkout-facts{margin:0}.alfayed-checkout-facts div{display:grid;grid-template-columns:minmax(90px,.45fr) 1fr;gap:.75rem;padding:.65rem 0;border-bottom:1px solid #edf2f5}.alfayed-checkout-facts dt{color:#60798b}.alfayed-checkout-facts dd{margin:0;font-weight:800;overflow-wrap:anywhere}.alfayed-checkout-note,.alfayed-secure-note{color:#60798b;line-height:1.7}.alfayed-payment-card{display:grid;gap:.9rem}.alfayed-payment-card form{display:grid;gap:1rem}.alfayed-terms{display:flex;align-items:flex-start;gap:.65rem;line-height:1.6}.alfayed-terms input{width:22px;height:22px;flex:0 0 22px}.alfayed-payment-card .alfayed-button{width:100%;min-height:50px}.alfayed-payment-card .alfayed-button:disabled{cursor:not-allowed;opacity:.6}.alfayed-secure-note{text-align:center;margin:0;font-size:.9rem}
@media(max-width:768px){.alfayed-checkout-grid{grid-template-columns:1fr}}
@media(max-width:520px){.alfayed-checkout-title{text-align:start}.alfayed-checkout-course{align-items:flex-start}.alfayed-checkout-course img{width:92px}.alfayed-checkout-card{border-radius:16px}.alfayed-checkout-facts div{grid-template-columns:1fr;gap:.2rem}}

/* AL-FAYED 0.14 — unified premium academic interface */
body.alfayed-student-page,
body.alfayed-public-page {
	margin: 0;
	background:
		radial-gradient(circle at 12% 0%, rgba(18,136,149,.055), transparent 28rem),
		linear-gradient(180deg, #fbfcfd 0%, var(--alfayed-bg) 100%);
	color: var(--alfayed-ink);
	font-family: var(--alfayed-font);
}
body.alfayed-public-page { min-height: 100vh; display: flex; flex-direction: column; }
body.alfayed-public-page > .alfayed-page-container { flex: 1; }

.alfayed-site-header {
	position: relative;
	z-index: 20;
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0 max(4vw, 24px);
	background: rgba(255,255,255,.96);
	border-bottom: 1px solid rgba(220,230,237,.92);
	box-shadow: 0 1px 0 rgba(10,40,61,.02);
}
.alfayed-brand { gap: .75rem; color: var(--alfayed-navy-900); font-weight: 900; }
.alfayed-brand-mark {
	width: 42px; height: 42px; border-radius: 13px;
	background: linear-gradient(145deg,var(--alfayed-navy-900),var(--alfayed-teal-600));
	box-shadow: 0 7px 18px rgba(12,116,128,.18);
	font-size: .92rem; letter-spacing: .03em;
}
.alfayed-brand-name { white-space: nowrap; }
.alfayed-site-nav { display:flex; align-items:center; flex-wrap:wrap; gap:.25rem; }
.alfayed-site-header nav a {
	min-height: 42px; padding: .55rem .75rem; border-radius: 10px;
	color: #36566d; font-weight: 700; transition: background .18s ease,color .18s ease;
}
.alfayed-site-header nav a:hover { background: #edf4f7; color: var(--alfayed-navy-900); }
.alfayed-site-header nav a[aria-current="page"] { color: var(--alfayed-teal-700); background: var(--alfayed-teal-100); }
.alfayed-language-switch { display:inline-flex; padding:.18rem; border:1px solid var(--alfayed-line); border-radius:11px; background:#f8fafc; }
.alfayed-language-switch a { min-height: 36px !important; padding:.35rem .55rem !important; font-size:.85rem; }
.alfayed-nav-login { border:1px solid var(--alfayed-line); }
.alfayed-nav-logout { color:#7a4c4c !important; }

.alfayed-page-container { width:min(var(--alfayed-content),92vw); padding:clamp(1.5rem,4vw,3.5rem) 0 4rem; }
.alfayed-public-container { width:min(1260px,94vw); }
.alfayed-button,.alfayed-secondary-button {
	min-height: 48px; border-radius: 12px; padding:.78rem 1.25rem;
	font-weight: 900; transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.alfayed-button { color:#122b3e; background:linear-gradient(180deg,#f0c252,var(--alfayed-gold-500)); box-shadow:0 8px 20px rgba(201,144,30,.15); }
.alfayed-button:hover { transform:translateY(-1px); box-shadow:0 11px 24px rgba(201,144,30,.21); }
.alfayed-secondary-button { color:var(--alfayed-navy-900); background:#fff; border:1px solid #cddce5; }
.alfayed-secondary-button:hover { background:#f5f9fb; transform:translateY(-1px); }
.alfayed-text-link { color:var(--alfayed-teal-700); }

/* Landing */
.alfayed-public { display:grid; gap:2rem; }
.alfayed-public-hero {
	min-height: min(680px, calc(100vh - 150px));
	display:grid; grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);
	align-items:center; gap:clamp(2.5rem,7vw,7rem);
	padding:clamp(2.2rem,6vw,5.75rem);
	border:1px solid #d8e5ec; border-radius:32px;
	background:
		radial-gradient(circle at 88% 18%, rgba(18,136,149,.15), transparent 34%),
		radial-gradient(circle at 10% 100%, rgba(226,173,54,.08), transparent 30%),
		linear-gradient(145deg,#fff 0%,#f6fbfc 100%);
	box-shadow:var(--alfayed-shadow-md); overflow:hidden;
}
.alfayed-hero-copy { position:relative; z-index:2; }
.alfayed-kicker { margin:0 0 .8rem; color:var(--alfayed-teal-700); font-weight:900; letter-spacing:.15em; font-size:.92rem; }
.alfayed-public h1 { margin:0; color:var(--alfayed-navy-900); font-size:clamp(2.4rem,5.6vw,5.2rem); line-height:1.12; letter-spacing:-.025em; }
.alfayed-public-lead { max-width:650px; margin:1.35rem 0 0; color:#506c7f; font-size:clamp(1.05rem,1.8vw,1.35rem); line-height:1.9; }
.alfayed-public-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.8rem; }
.alfayed-chemistry-visual {
	position:relative; width:min(470px,100%); aspect-ratio:1/1; justify-self:center;
	border-radius:50%; isolation:isolate;
	background:
		radial-gradient(circle at 50% 50%,rgba(255,255,255,.95) 0 12%,transparent 12.5%),
		radial-gradient(circle at 50% 50%,#10354f 0 3%,transparent 3.5%),
		linear-gradient(145deg,#0a263c,#0c5563);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 28px 60px rgba(8,39,58,.20);
	overflow:hidden;
}
.alfayed-chemistry-visual::before { content:""; position:absolute; inset:9%; border:1px solid rgba(255,255,255,.08); border-radius:50%; }
.alfayed-orbit { position:absolute; inset:17%; border:1.5px solid rgba(137,224,228,.58); border-radius:50%; }
.alfayed-orbit-a { transform:rotate(0deg) scaleY(.48); }
.alfayed-orbit-b { transform:rotate(60deg) scaleY(.48); }
.alfayed-orbit-c { transform:rotate(-60deg) scaleY(.48); }
.alfayed-orbit span { position:absolute; width:11px; height:11px; border-radius:50%; background:#f2c24f; box-shadow:0 0 18px rgba(242,194,79,.75); top:49%; left:-5px; }
.alfayed-nucleus { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); width:86px; height:86px; display:grid; place-items:center; border-radius:50%; color:#fff; background:radial-gradient(circle at 35% 30%,#1eb0b8,#0c6070 55%,#07364c); box-shadow:0 0 0 10px rgba(255,255,255,.035),0 12px 28px rgba(0,0,0,.22); }
.alfayed-nucleus b { font-size:2rem; line-height:1; }
.alfayed-nucleus small { position:absolute; inset-block-end:15px; font-size:.72rem; color:#bfe8eb; }
.alfayed-equation { position:absolute; inset:auto 8% 9%; display:flex; align-items:center; justify-content:center; gap:.45rem; padding:.72rem .9rem; border:1px solid rgba(255,255,255,.15); border-radius:13px; color:#fff; background:rgba(4,29,45,.72); backdrop-filter:blur(10px); font-size:clamp(1rem,2.4vw,1.45rem); font-weight:800; box-shadow:0 10px 28px rgba(0,0,0,.15); }

/* Public titles, contact, legal and errors */
.alfayed-public-title { width:min(760px,100%); margin:0 auto 1.2rem; padding:clamp(1rem,3vw,2rem) 0; text-align:center; }
.alfayed-public-title h1 { font-size:clamp(2.1rem,5vw,3.6rem); }
.alfayed-public-title > p:last-child { color:var(--alfayed-muted); line-height:1.85; font-size:1.05rem; }
.alfayed-contact { width:min(880px,100%); margin:auto; }
.alfayed-contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.alfayed-contact-card { min-height:94px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:1rem; padding:1.05rem 1.15rem; border:1px solid var(--alfayed-line); border-radius:17px; background:#fff; color:var(--alfayed-ink); text-decoration:none; box-shadow:var(--alfayed-shadow-sm); transition:transform .16s ease,border .16s ease; }
.alfayed-contact-card:hover { transform:translateY(-2px); border-color:#b8d3dc; }
.alfayed-contact-symbol { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; color:#fff; background:linear-gradient(145deg,var(--alfayed-teal-700),var(--alfayed-navy-800)); font-weight:900; direction:ltr; }
.alfayed-contact-card.is-whatsapp .alfayed-contact-symbol { background:linear-gradient(145deg,#168b50,#126b3e); }
.alfayed-contact-copy { display:grid; gap:.25rem; min-width:0; }
.alfayed-contact-copy strong { overflow-wrap:anywhere; }
.alfayed-contact-copy small { color:var(--alfayed-muted); }
.alfayed-contact-arrow { color:var(--alfayed-teal-700); font-size:1.35rem; direction:ltr; }
.alfayed-legal { width:min(900px,100%); margin:auto; }
.alfayed-legal-card { display:grid; gap:0; border:1px solid var(--alfayed-line); border-radius:22px; background:#fff; box-shadow:var(--alfayed-shadow-sm); overflow:hidden; }
.alfayed-legal-card section { padding:clamp(1.25rem,3vw,1.8rem); border-bottom:1px solid #e9eff3; }
.alfayed-legal-card section:last-child { border-bottom:0; }
.alfayed-legal-card h2 { margin:0 0 .55rem; color:var(--alfayed-navy-900); font-size:1.18rem; }
.alfayed-legal-card p { margin:0; color:#557083; line-height:1.9; }
.alfayed-legal-card .alfayed-secondary-button { margin-top:1rem; }
.alfayed-error-page { width:min(760px,90vw); margin:auto; padding:clamp(4rem,10vw,8rem) 0; text-align:center; }
.alfayed-error-code { color:#dbe8ee; font-size:clamp(5rem,18vw,11rem); font-weight:900; line-height:.8; letter-spacing:-.06em; }
.alfayed-error-page h1 { margin:.6rem 0; color:var(--alfayed-navy-900); font-size:clamp(2rem,5vw,3.2rem); }
.alfayed-error-page > p:not(.alfayed-kicker) { color:var(--alfayed-muted); line-height:1.8; }
.alfayed-error-page .alfayed-public-actions { justify-content:center; }

/* Footer */
.alfayed-public-footer { margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.35rem max(4vw,24px); border-top:1px solid var(--alfayed-line); background:#fff; color:#62798a; font-size:.9rem; }
.alfayed-public-footer p { margin:0; }
.alfayed-public-footer nav { display:flex; align-items:center; flex-wrap:wrap; gap:.3rem .9rem; }
.alfayed-public-footer a { color:#395d72; text-decoration:none; font-weight:700; }
.alfayed-public-footer a:hover { color:var(--alfayed-teal-700); }

/* Auth and account */
.alfayed-auth-card { border-color:#dbe5eb; border-radius:24px; box-shadow:0 22px 60px rgba(13,52,77,.10); }
.alfayed-auth-card::before { content:""; display:block; width:54px; height:4px; margin:0 0 1.35rem; border-radius:99px; background:linear-gradient(90deg,var(--alfayed-gold-500),var(--alfayed-teal-600)); }
.alfayed-auth-form input,.alfayed-auth-form select { min-height:50px; border-color:#c7d6df; border-radius:11px; background:#fbfdff; }
.alfayed-auth-form input:focus,.alfayed-auth-form select:focus { background:#fff; outline:3px solid rgba(18,136,149,.14); border-color:var(--alfayed-teal-600); }

/* Dashboard/catalog */
.alfayed-continue-card { background:linear-gradient(130deg,var(--alfayed-navy-900),#0e6573); border-radius:24px; box-shadow:0 22px 48px rgba(11,37,64,.17); }
.alfayed-stats article,.alfayed-panel { border-color:#dde7ed; box-shadow:0 8px 26px rgba(13,52,77,.045); }
.alfayed-course-card { border:1px solid #e3ebef; background:#fbfdfe; }
.alfayed-catalog-card { border-color:#dbe5eb; border-radius:20px; box-shadow:0 14px 38px rgba(13,52,77,.075); transition:transform .16s ease,box-shadow .16s ease; }
.alfayed-catalog-card:hover { transform:translateY(-2px); box-shadow:0 18px 44px rgba(13,52,77,.105); }
.alfayed-course-image-fallback { background:linear-gradient(135deg,var(--alfayed-navy-900),var(--alfayed-teal-600)); }
.alfayed-status { border:1px solid #d8e5eb; background:#f1f6f8; }
.alfayed-status.is-enrolled,.alfayed-status.is-free { border-color:#c7e6d2; background:#edf9f1; }

/* Checkout */
.alfayed-checkout-title .alfayed-kicker { letter-spacing:.11em; }
.alfayed-checkout-card { border-color:#dbe5eb; border-radius:20px; box-shadow:0 12px 34px rgba(13,52,77,.06); }
.alfayed-payment-methods { display:grid; gap:.65rem; margin:0; padding:0; border:0; }
.alfayed-payment-methods legend { margin-bottom:.6rem; color:var(--alfayed-navy-900); font-weight:900; }
.alfayed-payment-methods label { min-height:52px; display:flex; align-items:center; gap:.7rem; padding:.75rem .9rem; border:1px solid var(--alfayed-line); border-radius:12px; background:#fbfdfe; cursor:pointer; }
.alfayed-payment-methods label:has(input:checked) { border-color:#8dc2ca; background:#f0fafb; box-shadow:0 0 0 3px rgba(18,136,149,.09); }
.alfayed-payment-methods input { width:20px; height:20px; }

@media (max-width: 1024px) {
	.alfayed-public-hero { grid-template-columns:1fr 360px; gap:2.5rem; }
	.alfayed-site-header { align-items:flex-start; padding-block:14px; }
}
@media (max-width: 820px) {
	.alfayed-public-hero { grid-template-columns:1fr; min-height:0; text-align:start; }
	.alfayed-chemistry-visual { width:min(420px,86vw); }
	.alfayed-site-header { flex-direction:column; gap:.7rem; }
	.alfayed-site-nav { width:100%; overflow-x:auto; flex-wrap:nowrap; scrollbar-width:none; }
	.alfayed-site-nav::-webkit-scrollbar { display:none; }
	.alfayed-contact-grid { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
	.alfayed-page-container,.alfayed-public-container { width:min(94vw,720px); padding-top:1.25rem; }
	.alfayed-site-header { min-height:auto; padding:12px 3vw; }
	.alfayed-brand-name { font-size:.93rem; }
	.alfayed-brand-mark { width:38px; height:38px; border-radius:11px; }
	.alfayed-public-hero { padding:1.4rem; border-radius:22px; }
	.alfayed-public h1 { font-size:clamp(2rem,10vw,3rem); }
	.alfayed-public-actions > * { width:100%; }
	.alfayed-chemistry-visual { width:min(360px,86vw); }
	.alfayed-equation { font-size:.95rem; }
	.alfayed-public-footer { align-items:flex-start; flex-direction:column; }
	.alfayed-contact-card { grid-template-columns:auto 1fr; }
	.alfayed-contact-arrow { display:none; }
}
