/* Digischool portal — brand: navy #0D3B8C · blue #0D6EF0 · teal #14C8C4 */
:root {
  --navy-900: #050F2C;
  --navy-800: #071A44;
  --navy: #0D3B8C;
  --blue: #0D6EF0;
  --teal: #14C8C4;
  --ink: #0B1630;
  --text: #33405E;
  --muted: #6A7895;
  --line: #E3E9F5;
  --bg: #F6F8FD;
  --card: #FFFFFF;
  --grad: linear-gradient(120deg, #0D6EF0 0%, #14C8C4 100%);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(13, 30, 70, .05), 0 12px 32px -12px rgba(13, 30, 70, .16);
  --shadow-lg: 0 30px 80px -24px rgba(5, 20, 60, .45);
  --font: 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-family: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', system-ui, Tahoma, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; position: relative; }
svg.lucide { width: 1.1em; height: 1.1em; flex: none; }
html[dir="ltr"] .dir-ico { transform: scaleX(-1); }

/* ---------- Buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; border: 0; transition: transform .25s, box-shadow .25s, background .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-glow { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(20, 200, 196, .6), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-glow:hover { box-shadow: 0 16px 40px -8px rgba(20, 200, 196, .75); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 13px; color: #DCE8FF; }

/* Glow icon (the app's signature gradient badge) */
.gi { --c1: var(--blue); --c2: var(--teal); width: 48px; height: 48px; border-radius: 15px; display: inline-grid; place-items: center; color: #fff; flex: none;
  background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: 0 10px 22px -8px var(--c1), inset 0 1px 0 rgba(255,255,255,.35); }
.gi svg.lucide { width: 24px; height: 24px; }
.gi.sm { width: 36px; height: 36px; border-radius: 11px; }
.gi.sm svg.lucide { width: 18px; height: 18px; }
.gi.lg { width: 64px; height: 64px; border-radius: 20px; }
.gi.lg svg.lucide { width: 30px; height: 30px; }

/* ---------- Header ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.solid { background: rgba(6, 18, 52, .78); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 rgba(255,255,255,.07); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 22px; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.02em; direction: ltr; }
.brand img { border-radius: 10px; background: #fff; padding: 3px; }
.brand b { font-weight: 800; color: #8FD0FF; }
.links { display: flex; gap: 4px; margin-inline-start: auto; }
.links a { color: #C9D7F2; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; transition: color .2s, background .2s; }
.links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.lang:hover { background: rgba(255,255,255,.18); }
.burger { display: none; background: none; border: 0; color: #fff; padding: 8px; }
.burger svg.lucide { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% -10%, #12408F 0%, transparent 60%), linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #DCE6FA; padding: 130px 0 70px; }
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 18s ease-in-out infinite; }
.aurora span:nth-child(1) { width: 520px; height: 520px; background: #0D6EF0; top: -120px; inset-inline-start: -120px; }
.aurora span:nth-child(2) { width: 460px; height: 460px; background: #14C8C4; bottom: -160px; inset-inline-end: 10%; animation-delay: -6s; opacity: .4; }
.aurora span:nth-child(3) { width: 300px; height: 300px; background: #7C5CFF; top: 30%; inset-inline-end: -80px; animation-delay: -12s; opacity: .35; }
.aurora.soft span { opacity: .28; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 30px) scale(.95); } }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(20, 200, 196, .12); border: 1px solid rgba(20, 200, 196, .35); color: #7FF0EC; font-size: 14px; font-weight: 600; }
.hero h1 { color: #fff; font-size: clamp(40px, 6vw, 72px); font-weight: 800; margin: 22px 0 20px; }
.grad { background: linear-gradient(100deg, #5EB8FF 0%, #14C8C4 55%, #9BF5E8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: #B9C8E6; max-width: 600px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.avail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; color: #8EA3CC; }

/* Phone mockup */
.hero-vis { position: relative; display: grid; place-items: center; min-height: 640px; }
.phone { width: 310px; height: 630px; border-radius: 46px; background: #0A0F1E; padding: 11px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.12), inset 0 0 0 2px #1E2742; position: relative; }
.phone.tilt { animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(-1deg); } }
.notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #0A0F1E; border-radius: 20px; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #F2F6FD; color: var(--ink); padding: 46px 14px 0; display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.ph-top { display: flex; justify-content: space-between; align-items: center; }
.ph-top small { display: block; color: var(--muted); font-size: 10px; }
.ph-top b { font-size: 16px; color: var(--navy); }
.bell { position: relative; width: 34px; height: 34px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--navy); box-shadow: var(--shadow); }
.bell em { position: absolute; top: -4px; inset-inline-end: -4px; background: #F0437B; color: #fff; font-style: normal; font-size: 9px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; }
.child-card { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 18px; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -10px rgba(13,110,240,.6); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: none; }
.avatar.sm { width: 40px; height: 40px; font-size: 15px; }
.avatar.xs { width: 28px; height: 28px; font-size: 12px; background: #E6EEFC; }
.avatar.lg { width: 76px; height: 76px; font-size: 28px; }
.avatar.teacher { background: linear-gradient(140deg, #7C5CFF, #0D6EF0); color: #fff; }
.avatar.kid { background: linear-gradient(140deg, #F0437B, #FF8A3D); color: #fff; }
.cc-info b { font-size: 15px; display: block; }
.cc-info small { opacity: .85; }
.cc-chips { display: flex; gap: 6px; margin-top: 6px; }
.cc-chips > span { display: inline-flex; align-items: center; gap: 4px; background: #fff; color: var(--navy); border-radius: 999px; padding: 3px 8px; font-size: 10px; font-weight: 600; }
.cc-chips svg { color: #22C55E; width: 12px; height: 12px; }
.day-bar { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 12px; }
.tl { display: flex; flex-direction: column; gap: 8px; flex: 1; overflow: hidden; }
.tl-item { display: grid; grid-template-columns: 34px 1fr; gap: 6px; align-items: start; }
.tl-time { color: var(--muted); font-size: 10px; padding-top: 10px; direction: ltr; }
.tl-card { background: #fff; border-radius: 14px; padding: 9px 11px; border: 1.5px solid var(--line); }
.tl-card .tag { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; }
.tl-card .tag em { margin-inline-start: auto; font-style: normal; background: var(--blue); color: #fff; padding: 1px 7px; border-radius: 999px; font-size: 9px; animation: pulse 1.8s infinite; }
.tl-card b { display: block; font-size: 12px; margin-top: 3px; }
.tl-card p { font-size: 10.5px; color: var(--muted); line-height: 1.5; }
.tl-card.blue { border-color: #B8D4FF; } .tl-card.blue .tag { color: var(--blue); }
.tl-card.orange { border-color: #FFD7B5; } .tl-card.orange .tag { color: #E5731E; }
.tl-card.pink { border-color: #FBC3D5; } .tl-card.pink .tag { color: #D62F68; }
.tl-card.green { border-color: #BDEBCB; } .tl-card.green .tag { color: #16A34A; }
.tl-item.now .tl-card { box-shadow: 0 0 0 3px rgba(13,110,240,.15); }
.due { display: inline-block; margin-top: 4px; background: #FFF1E6; color: #E5731E; border-radius: 999px; padding: 1px 8px; font-size: 10px; font-weight: 600; }
.pics { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4px; margin-top: 6px; height: 46px; }
.pics span { border-radius: 8px; background: linear-gradient(140deg, #9BD2FF, #4C9BFF); }
.pics span:nth-child(2) { background: linear-gradient(140deg, #A6F0D6, #14C8C4); }
.pics span:nth-child(3) { background: linear-gradient(140deg, #FFD59B, #FF8A3D); }
.likes { display: flex; align-items: center; gap: 4px; margin-top: 5px; color: #F0437B; font-size: 10px; }
.likes svg { fill: #F0437B; width: 12px; height: 12px; }
.tabbar { display: flex; justify-content: space-around; background: #fff; margin: 0 -14px; padding: 8px 6px 16px; border-top: 1px solid var(--line); }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #93A0BC; font-size: 9px; }
.tabbar span.on { color: var(--blue); font-weight: 700; }
.tabbar svg { width: 18px; height: 18px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* Floating toasts */
.toast { position: absolute; z-index: 4; background: rgba(255,255,255,.95); color: var(--ink); padding: 11px 16px; border-radius: 16px; font-weight: 600; font-size: 14px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.45); white-space: nowrap; backdrop-filter: blur(8px); animation: toast 8s ease-in-out infinite; opacity: 0; }
.toast.t1 { top: 9%; inset-inline-start: -6%; animation-delay: 0s; }
.toast.t2 { top: 34%; inset-inline-end: -8%; animation-delay: 2s; }
.toast.t3 { bottom: 26%; inset-inline-start: -10%; animation-delay: 4s; }
.toast.t4 { bottom: 6%; inset-inline-end: -4%; animation-delay: 6s; }
@keyframes toast { 0% { opacity: 0; transform: translateY(14px) scale(.95); } 6%, 40% { opacity: 1; transform: translateY(0) scale(1); } 48%, 100% { opacity: 0; transform: translateY(-10px) scale(.97); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 70px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(10px); }
.stats > div { background: rgba(7, 26, 68, .7); padding: 24px 16px; text-align: center; }
.stats b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; background: linear-gradient(100deg, #8FD0FF, #14C8C4); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; }
.stats span { font-size: 14px; color: #A9BADC; }

/* ---------- Sections ---------- */
.sec { padding: 110px 0; position: relative; }
.sec.dark { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #C9D7F2; overflow: hidden; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.head h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin: 12px 0 14px; }
.head p { font-size: 18px; color: var(--muted); }
.sec.dark .head p { color: #A9BADC; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--blue); background: rgba(13,110,240,.08); padding: 6px 14px; border-radius: 999px; }
.sec.dark .eyebrow { color: #7FF0EC; background: rgba(20,200,196,.12); }
.eyebrow.sm { font-size: 13px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(13,30,70,.25); }
.why-card h3 { font-size: 20px; margin: 18px 0 8px; }
.why-card p { color: var(--muted); font-size: 15px; }
.why-grid .why-card:nth-child(2) { transition-delay: .08s; } .why-grid .why-card:nth-child(3) { transition-delay: .16s; } .why-grid .why-card:nth-child(4) { transition-delay: .24s; }

/* Bento */
.feats { background: radial-gradient(900px 500px at 50% 0%, #E6F0FF 0%, transparent 70%), var(--bg); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; grid-auto-flow: dense; }
.tile { position: relative; text-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.tile::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, var(--c2), transparent 70%); opacity: .0; transition: opacity .4s; pointer-events: none; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -20px rgba(13,30,70,.28); border-color: transparent; }
.tile:hover::after { opacity: .16; }
.tile h3 { font-size: 18px; margin-top: 6px; }
.tile p { color: var(--muted); font-size: 14.5px; }
.tile.big { grid-column: span 2; background: linear-gradient(160deg, #fff 40%, #F3F8FF); }
.tile.big h3 { font-size: 22px; }
.tile ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tile ul li { position: relative; padding-inline-start: 20px; font-size: 14px; color: var(--text); }
.tile ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 8px; height: 8px; border-radius: 3px; background: linear-gradient(140deg, var(--c1), var(--c2)); }
.tile .more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--c1); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(5, 15, 44, .6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { position: relative; background: #fff; border-radius: 28px; width: min(620px, 100%); max-height: 88vh; overflow: auto; padding: 32px; box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.97); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.modal.open .modal-box { transform: none; }
.modal-x { position: absolute; top: 16px; inset-inline-end: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #F0F4FB; display: grid; place-items: center; }
.m-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; padding-inline-end: 40px; }
.m-head h3 { font-size: 24px; }
.m-head p { color: var(--muted); margin-top: 4px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li svg { flex: none; margin-top: 4px; color: #fff; background: var(--grad); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

/* Roles */
.role-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.rtab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #C9D7F2; font-weight: 600; transition: all .25s; }
.rtab:hover { background: rgba(255,255,255,.1); color: #fff; }
.rtab.on { background: linear-gradient(140deg, var(--c1), var(--c2)); color: #fff; border-color: transparent; box-shadow: 0 10px 30px -10px var(--c1); }
.role-panel { display: grid; grid-template-columns: 360px 1fr; gap: 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 28px; padding: 24px; backdrop-filter: blur(10px); }
.role-panel.swap .rp-side, .role-panel.swap .rp-list li { animation: swapIn .5s both; }
.role-panel.swap .rp-list li { animation-delay: var(--d); }
@keyframes swapIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.rp-side { border-radius: 22px; padding: 28px; background: linear-gradient(160deg, color-mix(in srgb, var(--c1) 35%, transparent), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 8px; }
.rp-side h3 { font-size: 28px; margin-top: 10px; }
.rp-side p { color: #C9D7F2; margin-bottom: 12px; }
.rp-side small { color: #8EA3CC; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.where { color: #fff; font-weight: 600; }
.mini-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-tabs span { font-size: 12px; padding: 5px 10px; border-radius: 10px; background: rgba(255,255,255,.08); color: #DCE6FA; }
.mini-tabs span.on { background: #fff; color: var(--navy); font-weight: 700; }
.rp-list { list-style: none; margin: 0; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.rp-list li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); color: #E3EBFA; font-size: 15px; transition: background .2s; }
.rp-list li:hover { background: rgba(255,255,255,.09); }
.rp-list li svg { flex: none; margin-top: 4px; color: #14C8C4; }

/* Types */
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.type { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; gap: 12px; transition: transform .3s; }
.type:hover { transform: translateY(-6px); }
.type::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.type h3 { font-size: 24px; margin-top: 6px; }
.type > p { color: var(--muted); }
.mini-phone { margin: 8px 0; border-radius: 18px; background: #F2F6FD; padding: 10px; border: 1px solid var(--line); }
.mp-bar { display: flex; justify-content: space-around; background: #fff; border-radius: 12px; padding: 8px 4px; box-shadow: var(--shadow); }
.mp-bar span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: #93A0BC; text-align: center; }
.mp-bar span i { width: 18px; height: 18px; border-radius: 6px; background: #E3E9F5; }
.mp-bar span.on { color: var(--c1); font-weight: 700; }
.mp-bar span.on i { background: linear-gradient(140deg, var(--c1), var(--c2)); }
.type .ticks li { font-size: 14.5px; }
.type .ticks li svg { background: linear-gradient(140deg, var(--c1), var(--c2)); }

/* Tour / spotlights */
.tour { background: linear-gradient(180deg, var(--bg), #EEF3FC); }
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.spot + .spot { border-top: 1px dashed #D6DFEF; }
.spot.rev .spot-copy { order: 2; }
.spot.wide { grid-template-columns: .8fr 1.2fr; }
.spot-copy h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 14px 0 12px; }
.spot-copy > p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.spot-copy .ticks li { font-size: 15.5px; }
.spot-vis { position: relative; display: grid; place-items: center; }

/* Story card */
.story-card { width: min(400px, 100%); background: #fff; border-radius: 26px; padding: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.sc-head { display: flex; align-items: center; gap: 10px; }
.sc-head b { display: block; color: var(--ink); }
.sc-head small { color: var(--muted); font-size: 12px; direction: ltr; display: inline-block; }
.tag-pill { margin-inline-start: auto; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag-pill.blue { background: #E6F0FF; color: var(--blue); }
.story-card > p { margin: 12px 0; font-size: 15px; color: var(--ink); }
.carousel { position: relative; border-radius: 18px; overflow: hidden; height: 220px; }
.slides { --i: 0; display: flex; height: 100%; width: 300%; transform: translateX(calc(var(--i) * -33.333%)); transition: transform .7s cubic-bezier(.6,0,.2,1); }
html[dir="rtl"] .slides { transform: translateX(calc(var(--i) * 33.333%)); }
.slides span { flex: 1; display: grid; place-items: center; color: rgba(255,255,255,.85); }
.slides span svg { width: 56px; height: 56px; }
.slides .s1 { background: linear-gradient(140deg, #6FB6FF, #0D6EF0); }
.slides .s2 { background: linear-gradient(140deg, #6FF0D9, #14A3C4); }
.slides .s3 { background: linear-gradient(140deg, #FFC27A, #F0437B); }
.counter { position: absolute; top: 10px; inset-inline-end: 10px; background: rgba(0,0,0,.45); color: #fff; font-style: normal; font-size: 12px; padding: 2px 10px; border-radius: 999px; direction: ltr; }
.dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); transition: all .3s; }
.dots i.on { background: #fff; }
.dots i.on { width: 18px; border-radius: 4px; }
.sc-actions { display: flex; gap: 18px; padding: 12px 4px; color: var(--muted); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--line); }
.sc-actions span { display: inline-flex; align-items: center; gap: 6px; }
.sc-actions .liked { color: #F0437B; }
.sc-actions .liked svg { fill: #F0437B; animation: beat 2.4s infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.25); } 20% { transform: scale(1); } }
.comment { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.comment p { background: #F2F6FD; padding: 8px 12px; border-radius: 14px; font-size: 14px; color: var(--ink); }
.comment b { color: var(--navy); margin-inline-end: 4px; }

/* Bus map */
.map-card { width: min(500px, 100%); background: #fff; border-radius: 26px; padding: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.map-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.map-head b { display: block; color: var(--ink); }
.map-head small { color: var(--muted); }
.live-dot { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; background: #FFEDEE; color: #E11D48; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E11D48; animation: pulse 1.2s infinite; }
.map { width: 100%; height: auto; border-radius: 18px; display: block; direction: ltr; }
.route-dash { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.pin circle { fill: #fff; stroke: #0D6EF0; stroke-width: 4; }
.pin text, .school-pin text { font: 700 13px 'Plus Jakarta Sans', sans-serif; text-anchor: middle; fill: #0D3B8C; }
.pin.done circle { fill: #22C55E; stroke: #fff; }
.pin.done text { fill: #fff; }
.pin.you circle { fill: #0D6EF0; stroke: #fff; animation: ping 1.6s infinite; transform-origin: 420px 210px; transform-box: view-box; }
.pin.you text { fill: #fff; }
@keyframes ping { 0%, 100% { stroke-width: 4; } 50% { stroke-width: 9; stroke: rgba(13,110,240,.3); } }
.school-pin rect { fill: #0D3B8C; }
.school-pin text { font-size: 22px; }
.map-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pill-y, .pill-call { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.pill-y { background: #FFF6DB; color: #B07800; }
.pill-call { background: var(--grad); color: #fff; }
.stack { position: absolute; inset-inline-end: -18px; bottom: -28px; display: grid; gap: 8px; }
.note { background: rgba(255,255,255,.97); padding: 10px 14px; border-radius: 14px; box-shadow: 0 14px 30px -12px rgba(13,30,70,.4); font-weight: 600; font-size: 13.5px; color: var(--ink); opacity: 0; animation: noteIn 9s infinite; border: 1px solid var(--line); max-width: 280px; }
.note.n2 { animation-delay: 1.5s; } .note.n3 { animation-delay: 3s; }
@keyframes noteIn { 0% { opacity: 0; transform: translateX(20px); } 8%, 70% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(-6px); } }
html[dir="rtl"] .note { animation-name: noteInR; }
@keyframes noteInR { 0% { opacity: 0; transform: translateX(-20px); } 8%, 70% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(-6px); } }

/* Care card */
.care-card { width: min(420px, 100%); background: #fff; border-radius: 26px; padding: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.care-head { display: flex; gap: 10px; align-items: center; }
.care-head b { display: block; color: var(--ink); font-size: 17px; }
.care-head small { color: var(--muted); }
.care-warn { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.care-warn span { background: #FFECEC; color: #DC2626; font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 10px; }
.care-warn .need { background: #FFF6DB; color: #B07800; }
.care-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.care-sum span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); font-weight: 700; font-size: 14px; }
.care-log { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; position: relative; }
.care-log li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #F7F9FD; opacity: 0; animation: logIn 10s infinite; }
.care-log li:nth-child(1) { animation-delay: 0s; } .care-log li:nth-child(2) { animation-delay: .5s; } .care-log li:nth-child(3) { animation-delay: 1s; } .care-log li:nth-child(4) { animation-delay: 1.5s; } .care-log li:nth-child(5) { animation-delay: 2s; }
@keyframes logIn { 0% { opacity: 0; transform: translateY(8px); } 5%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.care-log li > svg { width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: var(--c); color: #fff; flex: none; }
.care-log b { display: block; color: var(--ink); font-size: 14px; }
.care-log small { color: var(--muted); direction: ltr; display: inline-block; }

/* Quran card */
.quran-card { width: min(420px, 100%); background: linear-gradient(170deg, #0F6B4D, #0B3D33); color: #DFF7EC; border-radius: 26px; padding: 20px; box-shadow: var(--shadow-lg); }
.q-top { display: flex; gap: 16px; align-items: center; }
.ring { position: relative; width: 100px; height: 100px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; }
.r-bg { stroke: rgba(255,255,255,.12); }
.r-fg { stroke: #F6C453; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1.8s cubic-bezier(.2,.8,.2,1); }
.reveal.in .r-fg { stroke-dashoffset: 242; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; color: #fff; direction: ltr; }
.q-info > b { color: #fff; display: block; }
.q-nums { display: flex; gap: 16px; margin-top: 6px; }
.q-nums span b { display: block; font-size: 22px; color: #F6C453; }
.q-nums small, .q-of { color: #A9DCC6; font-size: 12px; }
.q-today { margin: 16px 0 12px; background: rgba(255,255,255,.07); border-radius: 16px; padding: 12px; }
.q-today > small, .q-label, .podium > small { color: #A9DCC6; font-size: 12px; font-weight: 600; }
.q-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 14px; }
.q-row em { font-style: normal; font-weight: 800; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 3px solid; font-size: 13px; }
.q-row .g9 { border-color: #34D399; color: #34D399; }
.q-row .g8 { border-color: #F6C453; color: #F6C453; }
.juz { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin: 8px 0 14px; direction: ltr; }
.juz span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,.08); font-size: 10px; color: #A9DCC6; font-weight: 600; }
.juz span.full { background: #22C55E; color: #fff; }
.juz span.part { background: linear-gradient(0deg, #F6C453 var(--p), rgba(255,255,255,.1) var(--p)); color: #0B3D33; }
.podium > div { display: flex; justify-content: center; align-items: flex-end; gap: 8px; margin-top: 8px; direction: ltr; }
.podium span { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; width: 80px; border-radius: 12px 12px 4px 4px; background: rgba(255,255,255,.1); padding-top: 8px; font-size: 22px; }
.podium span b { font-size: 12px; color: #fff; }
.podium .p1 { height: 92px; background: linear-gradient(180deg, rgba(246,196,83,.45), rgba(246,196,83,.1)); }
.podium .p2 { height: 74px; } .podium .p3 { height: 62px; }

/* Live card */
.live-card { width: min(460px, 100%); background: #0B1022; border-radius: 26px; padding: 12px; box-shadow: var(--shadow-lg); }
.live-stage { position: relative; height: 290px; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 30% 30%, #2A3A7A, #10173A 70%); }
.live-badge { position: absolute; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; background: #E11D48; color: #fff; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 8px; z-index: 2; }
.live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1s infinite; }
.live-count { position: absolute; top: 12px; inset-inline-end: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(0,0,0,.4); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 8px; z-index: 2; }
.teacher-cam { position: absolute; inset-inline-start: 24px; top: 60px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; }
.eq { display: flex; gap: 3px; height: 18px; align-items: flex-end; }
.eq i { width: 4px; background: #14C8C4; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .15s; } .eq i:nth-child(3) { animation-delay: .3s; } .eq i:nth-child(4) { animation-delay: .45s; } .eq i:nth-child(5) { animation-delay: .6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.board { position: absolute; inset-inline-end: 20px; top: 56px; width: 52%; height: 128px; border-radius: 14px; background: #F8FAFF; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.board b { font-size: 30px; color: var(--navy); font-family: 'Plus Jakarta Sans', sans-serif; direction: ltr; }
.board small { color: var(--muted); font-size: 12px; text-align: center; padding: 0 8px; }
.mini-cams { position: absolute; bottom: 12px; inset-inline-start: 12px; display: flex; gap: 6px; }
.mini-cams span { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(140deg, #334, #445a9a); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.mini-cams span:nth-child(2) { background: linear-gradient(140deg, #7C5CFF, #0D6EF0); }
.mini-cams span:nth-child(3) { background: linear-gradient(140deg, #14C8C4, #0D6EF0); }
.hand-toast { position: absolute; bottom: 12px; inset-inline-end: 12px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 8px 8px 8px 12px; font-size: 13px; font-weight: 600; color: var(--ink); animation: handIn 6s infinite; }
html[dir="rtl"] .hand-toast { padding: 8px 12px 8px 8px; }
.hand-toast button { border: 0; background: var(--grad); color: #fff; font-weight: 700; padding: 6px 12px; border-radius: 10px; font-size: 12px; }
@keyframes handIn { 0%, 15% { opacity: 0; transform: translateY(10px); } 22%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
.live-bar { display: flex; justify-content: space-around; padding: 12px 4px 4px; }
.live-bar span { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #8EA3CC; font-size: 11px; }
.live-bar span svg { width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.live-bar span.on svg { background: #F5B300; color: #0B1022; }

/* Browser (dashboard) */
.browser { width: 100%; max-width: 640px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.b-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1F4FA; border-bottom: 1px solid var(--line); direction: ltr; }
.b-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.b-bar i:nth-child(2) { background: #FEBC2E; } .b-bar i:nth-child(3) { background: #28C840; }
.b-bar span { margin-inline-start: 12px; background: #fff; border-radius: 8px; padding: 3px 12px; font-size: 12px; color: var(--muted); flex: 1; }
.b-body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.b-side { background: linear-gradient(180deg, #0D3B8C, #071A44); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.b-side img { width: 32px; height: 32px; border-radius: 9px; background: #fff; padding: 2px; margin-bottom: 10px; }
.b-side span { font-size: 12px; color: #B9C8E6; padding: 6px 10px; border-radius: 8px; }
.b-side span.on { background: rgba(255,255,255,.14); color: #fff; font-weight: 700; }
.b-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #F7F9FD; }
.b-title { color: var(--ink); font-size: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpis div { background: #fff; border-radius: 14px; padding: 12px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.kpis svg { width: 30px; height: 30px; padding: 7px; border-radius: 9px; color: #fff; background: linear-gradient(140deg, var(--c1), var(--c2)); }
.kpis b { font-size: 20px; color: var(--ink); font-family: 'Plus Jakarta Sans', sans-serif; }
.kpis small { color: var(--muted); font-size: 11px; }
.b-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.b-chart, .b-rings { background: #fff; border-radius: 14px; padding: 12px; box-shadow: var(--shadow); }
.b-chart small { color: var(--muted); font-size: 11px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 8px; }
.bars i { flex: 1; height: 0; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #14C8C4, #0D6EF0); transition: height 1.2s cubic-bezier(.2,.8,.2,1); }
.reveal.in .bars i { height: var(--h); }
.reveal.in .bars i:nth-child(2) { transition-delay: .08s; } .reveal.in .bars i:nth-child(3) { transition-delay: .16s; } .reveal.in .bars i:nth-child(4) { transition-delay: .24s; } .reveal.in .bars i:nth-child(5) { transition-delay: .32s; } .reveal.in .bars i:nth-child(6) { transition-delay: .4s; } .reveal.in .bars i:nth-child(7) { transition-delay: .48s; }
.b-rings { display: flex; justify-content: space-around; align-items: center; }
.mini-ring { width: 76px; height: 76px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), #E8EEF8 0); display: grid; place-items: center; position: relative; text-align: center; }
.mini-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.mini-ring b, .mini-ring small { position: relative; display: block; line-height: 1.1; }
.mini-ring b { font-size: 15px; color: var(--ink); direction: ltr; }
.mini-ring small { font-size: 8.5px; color: var(--muted); max-width: 54px; }

/* Notifications marquee */
.notifs { padding-bottom: 90px; overflow: hidden; background: #EEF3FC; }
.notifs .head { margin-bottom: 36px; }
.marquee { overflow: hidden; padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); direction: ltr; }
.track { display: flex; gap: 14px; width: max-content; animation: scrollX 60s linear infinite; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(-50%); } }
.nchip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 10px 16px 10px 10px; border-radius: 16px; box-shadow: var(--shadow); font-weight: 600; color: var(--ink); white-space: nowrap; font-size: 15px; }
html[dir="rtl"] .nchip span { direction: rtl; }
.nchip img { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); }

/* Scenarios */
.scen { background: var(--bg); }
.scen-tools { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 32px; }
.search { display: flex; align-items: center; gap: 10px; width: min(520px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 18px; box-shadow: var(--shadow); color: var(--muted); }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(13,110,240,.12); }
.search input { flex: 1; border: 0; outline: 0; padding: 10px 0; font: inherit; color: var(--ink); background: transparent; min-width: 0; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: var(--text); transition: all .2s; }
.fchip em { font-style: normal; font-size: 12px; background: #EEF3FC; color: var(--muted); border-radius: 999px; padding: 0 8px; }
.fchip:hover { border-color: var(--blue); color: var(--blue); }
.fchip.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -8px rgba(13,110,240,.6); }
.fchip.on em { background: rgba(255,255,255,.25); color: #fff; }
.scen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.scard { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .3s, border-color .3s; animation: swapIn .45s both; }
.scard.open { border-color: #C9DBFB; box-shadow: 0 20px 44px -22px rgba(13,60,140,.35); }
.sc-top { width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: none; border: 0; text-align: start; }
.sid { font: 800 13px 'Plus Jakarta Sans', sans-serif; color: var(--blue); background: #E9F1FF; border-radius: 10px; padding: 6px 8px; min-width: 44px; text-align: center; }
.sc-title { flex: 1; min-width: 0; }
.sc-title b { display: block; color: var(--ink); font-size: 17px; }
.actors { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.actors em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 11%, #fff); padding: 2px 9px; border-radius: 999px; }
.sc-n { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.sc-n svg { transition: transform .3s; }
.scard.open .sc-n svg { transform: rotate(180deg); }
.sc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2,.8,.2,1); }
.scard.open .sc-body { grid-template-rows: 1fr; }
.sc-body > div { overflow: hidden; }
.steps { list-style: none; margin: 0; padding: 4px 20px 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; position: relative; padding-bottom: 16px; }
.steps li:not(:last-child)::before { content: ""; position: absolute; top: 32px; bottom: 0; inset-inline-start: 15px; width: 2px; background: linear-gradient(var(--c), #E3E9F5); }
.num { width: 32px; height: 32px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; box-shadow: 0 6px 14px -6px var(--c); }
.steps em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--c); }
.steps p { color: var(--text); font-size: 15px; }
.outcome { display: flex; gap: 12px; align-items: flex-start; margin: 0 20px 20px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(120deg, #EAF3FF, #E6FBF9); }
.outcome > svg { color: var(--blue); margin-top: 3px; }
.outcome small { font-weight: 700; color: var(--blue); font-size: 12px; }
.outcome p { color: var(--ink); font-weight: 600; font-size: 15px; }
.empty { text-align: center; color: var(--muted); padding: 30px; }

/* Security */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sitem { padding: 24px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s; }
.sitem:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.sico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(20,200,196,.14); color: #5FF0E8; }
.sico svg { width: 22px; height: 22px; }
.sitem h3 { font-size: 17px; margin: 14px 0 6px; }
.sitem p { font-size: 14.5px; color: #A9BADC; }

/* Releases */
.timeline { position: relative; display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 39px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #C9DBFB, #0D6EF0 70%, #14C8C4); }
.rel-item { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; position: relative; }
.v { justify-self: center; z-index: 1; font: 800 14px 'Plus Jakarta Sans', sans-serif; background: #fff; color: var(--blue); border: 3px solid #C9DBFB; border-radius: 999px; padding: 5px 10px; direction: ltr; }
.rel-item.now .v { background: var(--grad); color: #fff; border-color: #fff; box-shadow: 0 0 0 6px rgba(20,200,196,.25); }
.rel-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); }
.rel-item.now .rel-card { border-color: #9FD9F6; background: linear-gradient(120deg, #fff, #EAFBFA); }
.rel-card small { color: var(--muted); font-size: 12.5px; }
.rel-card h3 { font-size: 18px; margin: 2px 0 4px; }
.rel-card p { color: var(--text); font-size: 15px; }

/* Get the app */
.get { padding-top: 40px; }
.get-box { position: relative; overflow: hidden; text-align: center; border-radius: 36px; padding: 70px 24px; background: radial-gradient(600px 300px at 15% 110%, rgba(20,200,196,.45), transparent 70%), radial-gradient(700px 360px at 90% -10%, rgba(13,110,240,.7), transparent 70%), linear-gradient(160deg, #0B2E78, #061440); color: #C9D7F2; box-shadow: var(--shadow-lg); }
.get-box > *:not(.aurora) { position: relative; }
.get-logo { margin: 0 auto 22px; border-radius: 24px; background: #fff; padding: 8px; box-shadow: 0 20px 50px -10px rgba(20,200,196,.5); animation: bob 6s ease-in-out infinite; }
.get-box h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.get-box p { max-width: 600px; margin: 14px auto 32px; font-size: 18px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 16px; background: #fff; color: var(--ink); min-width: 200px; transition: transform .25s, box-shadow .25s; text-align: start; }
.store:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -12px rgba(20,200,196,.6); }
.store > svg { width: 30px; height: 30px; color: var(--blue); }
.store small { display: block; font-size: 12px; color: var(--muted); }
.store b { font-size: 18px; }
.store.soon { opacity: .75; }

/* Footer */
.foot { background: var(--navy-900); color: #8EA3CC; padding: 56px 0 28px; margin-top: 110px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 380px; }
.foot-brand img { background: #fff; border-radius: 12px; padding: 6px 12px; width: auto; margin-bottom: 14px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links b { color: #fff; margin-bottom: 4px; }
.foot-links a:hover { color: #fff; }
.foot-copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 20px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .links a { padding: 8px 8px; font-size: 14px; }
}
@media (max-width: 960px) {
  .links { position: absolute; top: 72px; inset-inline: 16px; flex-direction: column; background: rgba(7, 26, 68, .97); backdrop-filter: blur(16px); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-lg); display: none; }
  .nav.menu .links { display: flex; }
  .nav.menu { background: rgba(6, 18, 52, .9); }
  .links a { padding: 12px 14px; font-size: 16px; }
  .burger { display: inline-grid; }
  .hide-sm { display: none; }
  .nav-end { margin-inline-start: auto; }
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .cta, .avail { justify-content: center; }
  .hero-vis { min-height: 0; padding: 20px 0; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .spot, .spot.wide { grid-template-columns: 1fr; gap: 36px; }
  .spot.rev .spot-copy { order: 0; }
  .role-panel { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .scen-grid { grid-template-columns: 1fr; }
  .stack { position: static; margin-top: 14px; width: min(500px, 100%); }
  .note { max-width: none; }
}
@media (max-width: 640px) {
  .sec { padding: 76px 0; }
  .hero { padding-top: 110px; }
  .bento { grid-template-columns: 1fr; }
  .tile.big { grid-column: auto; }
  .why-grid, .sec-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:last-child { grid-column: span 2; }
  .rp-list { grid-template-columns: 1fr; }
  .phone { width: 280px; height: 580px; }
  .toast { font-size: 12.5px; padding: 9px 12px; }
  .toast.t1 { inset-inline-start: 0; } .toast.t3 { inset-inline-start: 0; }
  .toast.t2, .toast.t4 { inset-inline-end: 0; }
  .b-body { grid-template-columns: 1fr; }
  .b-side { flex-direction: row; overflow: hidden; align-items: center; padding: 8px; }
  .b-side img { margin: 0 6px 0 0; width: 26px; height: 26px; }
  .b-side span { white-space: nowrap; }
  .b-row { grid-template-columns: 1fr; }
  .sc-top { flex-wrap: wrap; padding: 16px; }
  .sc-n { width: 100%; justify-content: flex-end; }
  .steps { padding-inline: 16px; }
  .outcome { margin-inline: 16px; }
  .rel-item { grid-template-columns: 64px 1fr; gap: 10px; }
  .timeline::before { inset-inline-start: 31px; }
  .board { width: 56%; }
  .teacher-cam { inset-inline-start: 12px; }
  .stores { flex-direction: column; align-items: stretch; }
  .lang span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .toast, .note, .care-log li, .hand-toast { opacity: 1; }
}
