/* Aluswa Online Makthab: children learning at home. Starry violet night, tablet mock, chunky friendly buttons. */
:root {
	--bg: #f7f4ff; --ink: #241553; --muted: #5d5282; --accent: #6342c4; --night: #1d1147; --gold: #ffd35a;
	--line: rgba(36, 21, 83, .14); --card: #fff; --radius: 26px; --btn-radius: 18px;
	--font-head: "Baloo 2", "Nunito", system-ui, sans-serif; --font-body: "Nunito", system-ui, sans-serif;
	--head-bg: #1d1147; --head-ink: #fff; --foot-bg: #150c35; --foot-ink: #bdb2e4;
}
.brand-mark { background: #fff; }
.brand-text b { font-size: 20px; font-weight: 700; }
.hd-nav ul a { font-weight: 800; }
.hd-nav ul a:hover { border-bottom-color: var(--gold); }
.btn { font-weight: 800; box-shadow: 0 5px 0 rgba(0, 0, 0, .22); }
.hd .btn, .mk-hero .btn:not(.btn-line) { background: var(--gold); border-color: var(--gold); color: var(--night); }
.mk-hero .btn-line { color: #fff; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.mk-hero .btn-line:hover { background: #fff; color: var(--night); }
.sec h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.sec p { color: var(--muted); }

.mk-hero { position: relative; padding: 76px 0 110px; background: linear-gradient(170deg, #1d1147, #3b2390 70%, #6342c4); color: #fff; border-radius: 0 0 50% 50% / 0 0 54px 54px; overflow: hidden; }
.mk-sky { position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 20px 30px, #fff, transparent), radial-gradient(1.5px 1.5px at 110px 90px, #fff, transparent), radial-gradient(1px 1px at 180px 40px, #fff, transparent), radial-gradient(2.5px 2.5px at 70px 150px, #ffe9a8, transparent); background-size: 220px 190px; opacity: .55; animation: mk-twinkle 4s ease-in-out infinite alternate; }
@keyframes mk-twinkle { to { opacity: .2; } }
.mk-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mk-chip { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 8px 18px; border-radius: 50px; background: rgba(255, 255, 255, .13); color: var(--gold); font-weight: 800; font-size: 14px; }
.mk-hero h1 { font-size: clamp(40px, 5vw, 70px); font-weight: 800; line-height: 1.08; }
.mk-hero h1 span { display: block; color: var(--gold); }
.mk-hero p { max-width: 460px; margin-bottom: 32px; color: #d9d0ff; font-size: 18px; }

.mk-device { position: relative; justify-self: end; width: 100%; max-width: 480px; padding: 30px 0; }
.mk-tablet { padding: 18px; border-radius: 40px; background: #0e0826; box-shadow: 0 40px 70px rgba(0, 0, 0, .45); transform: rotate(3deg); }
.mk-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; aspect-ratio: 4 / 3; border-radius: 26px; background: linear-gradient(160deg, #fff7dc, #ffe1f0); color: var(--night); }
.mk-screen-top { display: flex; align-items: center; gap: 8px; font: 700 20px var(--font-head); }
.mk-tiles { display: flex; gap: 14px; }
.mk-tiles b { display: grid; place-items: center; width: 84px; height: 94px; border-radius: 20px; background: #6342c4; color: #fff; font: 700 46px "Amiri", serif; box-shadow: 0 7px 0 rgba(36, 21, 83, .3); animation: mk-hop 3s ease-in-out infinite; }
.mk-tiles b:nth-child(2) { background: #178a7c; animation-delay: .4s; }
.mk-tiles b:nth-child(3) { background: #d1533a; animation-delay: .8s; }
@keyframes mk-hop { 50% { transform: translateY(-8px); } }
.mk-line { width: 56%; height: 12px; border-radius: 20px; background: rgba(36, 21, 83, .14); }
.mk-line2 { width: 36%; margin-top: -6px; }
.mk-star { position: absolute; color: var(--gold); }
.mk-star .ico { width: 1em; height: 1em; fill: currentColor; }
.mk-star1 { left: -6px; bottom: 20px; font-size: 52px; }
.mk-star2 { right: 14%; top: -8px; font-size: 30px; }
.mk-moon { position: absolute; left: 4%; top: -4px; width: 62px; height: 62px; border-radius: 50%; box-shadow: -16px 10px 0 0 var(--gold); transform: translateX(16px) translateY(-8px); }

.mk-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.mk-head span { color: var(--accent); font-weight: 800; font-size: 13.5px; letter-spacing: 1.6px; text-transform: uppercase; }
.mk-head p { margin: 0; }
.mk-left { margin: 0 0 14px; text-align: left; }
.mk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mk-card { padding: 34px 28px; border-radius: var(--radius); border-bottom: 8px solid var(--accent); background: #fff; box-shadow: 0 16px 34px rgba(36, 21, 83, .09); }
.mk-card:nth-child(2) { border-bottom-color: #178a7c; }
.mk-card:nth-child(3) { border-bottom-color: #d1533a; }
.mk-card i { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 20px; border-radius: 20px; background: var(--bg); color: var(--accent); font-size: 28px; font-style: normal; }
.mk-card h3 { font-size: 24px; font-weight: 700; }
.mk-card p { margin: 0; }

.mk-play { background: #ece5ff; }
.mk-board { display: grid; grid-template-columns: 260px 1fr; gap: 30px; max-width: 920px; margin: 0 auto; padding: 30px; border-radius: 36px; background: #fff; box-shadow: 0 26px 54px rgba(36, 21, 83, .14); }
.mk-out { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 230px; border-radius: var(--radius); background: var(--night); color: #fff; }
.mk-out b { font: 700 110px/1.35 "Amiri", serif; color: var(--gold); }
.mk-out span { font: 700 28px var(--font-head); }
.mk-letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 12px; align-content: center; }
.mk-letters button { aspect-ratio: 1; border: 0; border-radius: 18px; background: var(--bg); color: var(--night); font: 700 32px "Amiri", serif; cursor: pointer; box-shadow: 0 5px 0 rgba(36, 21, 83, .16); transition: transform .15s, background .15s; }
.mk-letters button:hover { transform: translateY(-3px); }
.mk-letters button.is-on { background: var(--accent); color: #fff; }

.mk-parents { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.mk-checks { display: grid; gap: 14px; }
.mk-checks li { display: flex; gap: 20px; align-items: center; padding: 20px 24px; border: 2px solid var(--line); border-radius: 22px; background: #fff; }
.mk-checks .ico { color: var(--accent); font-size: 30px; }
.mk-checks b { display: block; font: 700 20px/1.3 var(--font-head); }
.mk-checks span { color: var(--muted); font-size: 15px; }

.mk-enquire { background: var(--night); color: #fff; }
.sec.mk-enquire p { color: #d9d0ff; }
.sec.mk-enquire .mk-verse { margin: 0; color: var(--gold); font-size: 44px; line-height: 1.8; text-align: left; }
.mk-enquire .clist .ico { color: var(--gold); }
.mk-enquire-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.mk-form { padding: 38px; border-radius: 32px; background: #fff; color: var(--ink); }
.sec.mk-enquire .mk-form p { color: var(--muted); }

@media (max-width: 860px) {
	.mk-hero { padding: 48px 0 80px; }
	.mk-hero-grid, .mk-cards, .mk-parents, .mk-enquire-grid, .mk-board { grid-template-columns: minmax(0, 1fr); }
	.mk-device { justify-self: center; max-width: 400px; }
	.mk-board { padding: 18px; }
}
@media (max-width: 560px) {
	.mk-tiles b { width: 62px; height: 72px; font-size: 34px; }
	.mk-tablet { padding: 12px; border-radius: 30px; }
	.mk-letters { grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 9px; }
	.mk-form { padding: 24px 18px; }
}
