/* School Pro — Marketing landing page */
:root {
  --brand: #4338ca; --brand-600: #3730a3; --brand-soft: #eef0ff;
  --accent: #f59e0b; --ink: #12122b; --ink-2: #1d1d42;
  --text: #0f172a; --text-2: #5b6578; --border: #e6e9ef;
  --g-brand: linear-gradient(135deg, #6366f1 0%, #4338ca 50%, #3730a3 100%);
}
body { background: #fff; }
svg.lucide { width: 20px; height: 20px; stroke-width: 2; }
section { scroll-margin-top: 80px; }
.container { max-width: 1240px; }
.btn { border-radius: 12px; padding: 12px 22px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-accent { background: var(--accent); color: #111; }
.btn-accent:hover { background: #fbbf24; }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.sec { padding: 96px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.sec-head p { color: var(--text-2); font-size: 17px; margin: 0; }

/* Header */
.nav-bar { position: fixed; top: 0; inset-inline: 0; z-index: 50; transition: .25s; }
.nav-bar .container { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav-bar.scrolled { background: rgba(18,18,43,.92); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.logo-cp { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 21px; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--g-brand); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(99,102,241,.35); }
.brand-mark svg { color: #fff; width: 22px; height: 22px; }
.logo-cp .brand-logo { width: 42px; height: 42px; flex-shrink: 0; object-fit: contain; background: #fff; padding: 4px; border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.hero-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: #fff; font-weight: 800; font-size: 20px; }
.hero-logo img { width: 76px; height: 76px; object-fit: contain; background: #fff; padding: 7px; border-radius: 20px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.hero-logo small { display: block; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7); }
@media (max-width: 640px) { .hero-logo img { width: 60px; height: 60px; border-radius: 16px; } }
.menu { display: flex; gap: 4px; margin-inline-start: 24px; }
.menu a { color: rgba(255,255,255,.78); font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 10px; }
.menu a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta { margin-right: auto; display: flex; gap: 10px; align-items: center; }
.nav-burger { display: none; color: #fff; background: rgba(255,255,255,.1); border: 0; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; place-items: center; }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 150px 0 110px; overflow: hidden;
  background: linear-gradient(180deg, rgba(18,18,43,.86), rgba(18,18,43,.94)), url("https://images.unsplash.com/photo-1509062522246-3755977927d7?w=1800&q=70&auto=format&fit=crop") center/cover, var(--ink);
}
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,.35), transparent 65%); }
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero .eyebrow { background: rgba(245,158,11,.16); color: #fcd34d; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; line-height: 1.22; margin-bottom: 18px; }
.hero h1 span { background: linear-gradient(90deg, #fbbf24, #fde68a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; color: rgba(255,255,255,.78); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; align-items: center; gap: 14px; margin-top: 34px; color: rgba(255,255,255,.7); font-size: 14px; }
.trust .faces { display: flex; }
.trust .faces span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); margin-left: -10px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }

/* Dashboard mockup */
.mock { background: #f4f6f9; border-radius: 18px; box-shadow: 0 40px 100px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.1); overflow: hidden; color: var(--text); transform: perspective(1600px) rotateY(8deg) rotateX(2deg); transition: transform .5s; }
.mock:hover { transform: none; }
.mock-bar { height: 34px; background: #e9edf2; display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-bar i:nth-child(1) { background: #f87171; } .mock-bar i:nth-child(2) { background: #fbbf24; } .mock-bar i:nth-child(3) { background: #34d399; }
.mock-bar span { margin-right: auto; margin-left: auto; font-size: 11px; color: #64748b; background: #fff; padding: 2px 40px; border-radius: 6px; direction: ltr; }
.mock-body { display: grid; grid-template-columns: 1fr 120px; min-height: 360px; }
.mock-side { background: var(--ink); padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; order: 2; }
.mock-side b { color: #fff; font-size: 12px; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.mock-side b em { width: 18px; height: 18px; border-radius: 6px; background: var(--g-brand); display: inline-block; }
.mock-side span { height: 8px; border-radius: 4px; background: #1e2a44; }
.mock-side span.on { background: #f59e0b; }
.mock-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mock-welcome { border-radius: 12px; padding: 14px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #6366f1, #3730a3 50%, #12122b); font-size: 13px; font-weight: 700; }
.mock-welcome small { display: block; font-weight: 400; opacity: .8; font-size: 10px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mock-kpis div { background: #fff; border-radius: 10px; padding: 10px; border: 1px solid var(--border); }
.mock-kpis small { font-size: 9px; color: #64748b; display: block; }
.mock-kpis b { font-size: 15px; }
.mock-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; }
.mock-card { background: #fff; border-radius: 10px; border: 1px solid var(--border); padding: 10px; }
.mock-card small { font-size: 10px; font-weight: 700; display: block; margin-bottom: 8px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 92px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: #dfe2ff; animation: grow 1s ease both; }
.bars i:last-child { background: #4338ca; }
.donut { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto; background: conic-gradient(#f59e0b 0 10%, #4338ca 0 58%, #0891b2 0 82%, #7c3aed 0); position: relative; }
.donut::after { content: ""; position: absolute; inset: 22px; background: #fff; border-radius: 50%; }
.mock-table div { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #f1f5f9; font-size: 10px; }
.mock-table em { width: 18px; height: 18px; border-radius: 50%; background: #e2e8f0; }
.mock-table span { flex: 1; height: 6px; border-radius: 3px; background: #eef1f5; }
.mock-table b { font-size: 9px; padding: 1px 6px; border-radius: 99px; background: #d1fae5; color: #047857; }
.float-card { position: absolute; background: #fff; color: var(--text); border-radius: 14px; padding: 12px 14px; box-shadow: 0 20px 50px rgba(0,0,0,.3); display: flex; align-items: center; gap: 10px; font-size: 13px; animation: float 4s ease-in-out infinite; z-index: 2; }
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.float-card b { display: block; font-size: 14px; }
.float-card small { color: #64748b; }
.mock-wrap { position: relative; }
.fc-1 { bottom: -24px; right: -20px; }
.fc-2 { top: 40px; left: -28px; animation-delay: -2s; }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom; } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Stats */
.stats { margin-top: -54px; position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: 0 30px 60px rgba(15,23,42,.10); border: 1px solid var(--border); }
.stats-grid div { padding: 28px; text-align: center; }
.stats-grid div + div { border-right: 1px solid var(--border); }
.stats-grid b { display: block; font-size: 36px; font-weight: 800; color: var(--brand); line-height: 1.2; }
.stats-grid span { color: var(--text-2); font-weight: 600; }

/* Features */
.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px 20px; transition: .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,23,42,.08); border-color: #c7cbff; }
.feature .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.feature h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--text-2); margin: 0; }

/* Solutions */
.bg-soft { background: #f6f8fb; }
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--border); display: flex; flex-direction: column; }
.solution .img { height: 200px; background: var(--ink) center/cover; position: relative; }
.solution .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(18,18,43,.7)); }
.solution .img span { position: absolute; bottom: 14px; right: 16px; z-index: 1; color: #fff; font-weight: 800; font-size: 20px; }
.solution .body { padding: 22px; flex: 1; }
.solution ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.solution li { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); }
.solution li svg { color: var(--brand); width: 18px; flex-shrink: 0; margin-top: 2px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; right: 8%; left: 8%; height: 2px; background: repeating-linear-gradient(90deg, #c7cbff 0 8px, transparent 8px 16px); }
.step { text-align: center; position: relative; }
.step .num { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 16px; background: #fff; border: 2px solid var(--brand); color: var(--brand); display: grid; place-items: center; position: relative; box-shadow: 0 0 0 8px #fff; }
.step .num em { position: absolute; top: -6px; left: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #111; font-style: normal; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.step h4 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.step p { font-size: 13px; color: var(--text-2); margin: 0; }

/* Roles showcase */
.roles-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: center; }
.role-tabs { display: flex; flex-direction: column; gap: 10px; }
.role-tab { text-align: right; font: inherit; background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 18px; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; transition: .2s; }
.role-tab .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #f1f5f9; color: var(--text-2); flex-shrink: 0; }
.role-tab b { display: block; font-size: 16px; margin-bottom: 2px; }
.role-tab small { color: var(--text-2); font-size: 13px; }
.role-tab.active { border-color: var(--brand); box-shadow: 0 12px 30px rgba(67,56,202,.12); }
.role-tab.active .ic { background: var(--brand); color: #fff; }
.role-view { background: var(--ink); border-radius: 24px; padding: 28px; color: #fff; min-height: 420px; position: relative; overflow: hidden; }
.role-view::before { content: ""; position: absolute; width: 400px; height: 400px; left: -120px; bottom: -160px; background: radial-gradient(circle, rgba(99,102,241,.3), transparent 65%); }
.role-panel { display: none; position: relative; }
.role-panel.active { display: block; animation: fadeUp .35s ease; }
.role-panel h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.role-panel > p { color: rgba(255,255,255,.7); margin-bottom: 20px; }
.rp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.rp-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 14px; display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; }
.rp-item svg { color: #fbbf24; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* Apps */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.phones { display: flex; justify-content: center; gap: 24px; align-items: flex-end; }
.phone { width: 250px; height: 510px; border-radius: 42px; background: #12122b; padding: 12px; box-shadow: 0 40px 80px rgba(15,23,42,.25); position: relative; flex-shrink: 0; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; border-radius: 20px; background: #000; z-index: 3; }
.phone.tilt { transform: translateY(30px); }
.screen { height: 100%; border-radius: 32px; overflow: hidden; background: #f5f6fb; display: flex; flex-direction: column; font-size: 11px; }
.scr-head { padding: 48px 16px 18px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #6366f1, #3730a3 55%, #12122b); }
.scr-head small { opacity: .8; display: block; }
.scr-head b { font-size: 16px; }
.scr-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.m-card { border-radius: 16px; padding: 14px; color: #fff; background: linear-gradient(135deg, #12122b, #312e81); position: relative; overflow: hidden; min-height: 116px; }
.m-card::after { content: ""; position: absolute; width: 120px; height: 120px; left: -30px; bottom: -50px; border-radius: 50%; border: 18px solid rgba(255,255,255,.06); }
.m-card .qr-mini { position: absolute; left: 12px; top: 12px; width: 46px; height: 46px; background: #fff; border-radius: 8px; padding: 4px; display: grid; grid-template-columns: repeat(7, 1fr); }
.m-card .qr-mini i { background: #12122b; }
.m-card .qr-mini i:nth-child(3n) , .m-card .qr-mini i:nth-child(5n) { background: transparent; }
.m-row { background: #fff; border-radius: 12px; padding: 10px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); }
.m-row .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.m-row .ic svg { width: 15px; height: 15px; }
.m-row b { display: block; font-size: 11px; }
.m-row small { color: #64748b; font-size: 10px; }
.m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m-tiles span { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.t-p { background: #d1fae5; color: #047857; } .t-a { background: #fee2e2; color: #b91c1c; } .t-l { background: #fef3c7; color: #b45309; }
.tabbar { display: flex; justify-content: space-around; padding: 10px 6px 16px; background: #fff; border-top: 1px solid var(--border); }
.tabbar svg { width: 18px; height: 18px; color: #94a3b8; }
.tabbar svg.on { color: var(--brand); }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.store { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 18px; }
.store small { display: block; font-size: 11px; opacity: .7; line-height: 1; }
.store b { font-size: 15px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.check-list li svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* Club website promo */
.site-promo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.site-shot { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(15,23,42,.18); border: 1px solid var(--border); }
.site-hero { padding: 18px 22px 34px; color: #fff; background: linear-gradient(180deg, rgba(30,27,75,.72), rgba(30,27,75,.92)), url("https://images.unsplash.com/photo-1588072432836-e10032774350?w=900&q=60&auto=format&fit=crop") center/cover, #1e1b4b; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.site-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; font-size: 12px; }
.site-nav b { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav em { width: 20px; height: 20px; border-radius: 6px; background: #f59e0b; }
.site-nav span { width: 34px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.35); }
.site-promo u, .site-btns u { text-decoration: none; background: #f59e0b; color: #1e1b4b; font-weight: 800; font-size: 11px; padding: 5px 12px; border-radius: 8px; }
.site-hero h4 { font-size: 24px; font-weight: 900; line-height: 1.3; margin-bottom: 14px; }
.site-btns { display: flex; gap: 8px; }
.site-btns i { font-style: normal; font-size: 11px; border: 1px solid rgba(255,255,255,.4); padding: 4px 12px; border-radius: 8px; }
.site-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 18px 20px; margin-top: -10px; }
.site-cards span { background: #f6f8fb; border-radius: 12px; padding: 12px 6px; text-align: center; font-size: 22px; }
.site-cards small { display: block; font-size: 11px; font-weight: 700; color: var(--text-2); margin-top: 4px; }

/* Live bus highlight */
.bus-box { border-radius: 28px; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.bus-box .txt { padding: 52px; }
.bus-box h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.bus-box p { color: rgba(255,255,255,.72); }
.bus-vis { position: relative; background: radial-gradient(circle at 50% 40%, #312e81, var(--ink) 72%); padding: 36px; min-height: 340px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.bus-vis::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 34px 34px; }
.route-card { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 14px 16px; }
.route-card .rc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.route-card .rc-top b { display: flex; align-items: center; gap: 8px; }
.route-card .rc-top em { font-style: normal; font-size: 12px; padding: 2px 10px; border-radius: 99px; background: rgba(245,158,11,.18); color: #fcd34d; }
.route-card .rc-top em.ok { background: rgba(52,211,153,.16); color: #6ee7b7; }
.route-line { position: relative; height: 6px; border-radius: 99px; background: rgba(255,255,255,.12); margin: 18px 6px 6px; }
.route-line > span { position: absolute; inset-block: 0; right: 0; border-radius: 99px; background: var(--c, #f59e0b); animation: drive 6s ease-in-out infinite alternate; }
.route-line > i { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255,255,255,.5); transform: translate(50%, -50%); }
.route-line > .bus { position: absolute; top: 50%; width: 30px; height: 30px; border-radius: 10px; background: var(--c, #f59e0b); color: #111; display: grid; place-items: center; transform: translate(50%, -50%); box-shadow: 0 0 0 6px rgba(245,158,11,.18); animation: driveBus 6s ease-in-out infinite alternate; }
.route-line > .bus svg { width: 16px; height: 16px; }
.route-meta { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.55); margin-top: 8px; }
@keyframes drive { from { width: 30%; } to { width: 72%; } }
@keyframes driveBus { from { right: 30%; } to { right: 72%; } }

/* CTA + contact */
.cta { border-radius: 28px; padding: 60px; text-align: center; color: #fff; background: linear-gradient(135deg, rgba(55,48,163,.92), rgba(18,18,43,.95)), url("https://images.unsplash.com/photo-1497633762265-9d179a990aa6?w=1600&q=70&auto=format&fit=crop") center/cover, var(--ink); }
.cta h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,.8); font-size: 17px; margin-bottom: 26px; }
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; margin-top: 24px; }
.contact-info div { display: flex; gap: 12px; align-items: center; }
.contact-info .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: 0 20px 50px rgba(15,23,42,.06); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { font-size: 13px; font-weight: 600; color: var(--text-2); display: block; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 14px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

footer.site-foot { background: var(--ink); color: #94a3b8; padding: 48px 0 28px; margin-top: 96px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #2b2b5a; }
.foot-grid h5 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.foot-grid a { display: block; color: #94a3b8; padding: 4px 0; font-size: 14px; }
.foot-grid a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; font-size: 13px; flex-wrap: wrap; }
.foot-bottom a { color: #e2e8f0; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.foot-bottom img { width: 20px; height: 20px; }

.toast-l { position: fixed; bottom: 24px; left: 24px; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.25); display: flex; gap: 10px; align-items: center; z-index: 100; animation: fadeUp .25s ease; }
.toast-l svg { color: #fbbf24; }

/* Responsive */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .steps::before { display: none; }
  .roles-wrap { grid-template-columns: 1fr; }
  .role-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .role-tab { min-width: 240px; }
}
@media (max-width: 960px) {
  .menu { display: none; position: absolute; top: 76px; inset-inline: 16px; flex-direction: column; background: var(--ink); padding: 12px; border-radius: 16px; margin: 0; box-shadow: 0 20px 40px rgba(0,0,0,.3); }
  .menu.open { display: flex; }
  .nav-burger { display: grid; }
  .nav-cta .btn-glass { display: none; }
  .hero { padding: 120px 0 100px; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .mock { transform: none; }
  .fc-2 { left: 8px; }
  .fc-1 { right: 8px; }
  .solutions, .apps, .bus-box, .contact, .site-promo { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(3) { border-right: 0; }
  .stats-grid div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .bus-box .txt { padding: 36px 28px; }
  .bus-vis { padding: 24px 18px; }
}
@media (max-width: 640px) {
  .sec { padding: 64px 0; }
  .features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature { padding: 18px 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .float-card { display: none; }
  .stats-grid b { font-size: 28px; }
  .stats-grid div { padding: 20px 12px; }
  .rp-grid { grid-template-columns: 1fr; }
  .phone { width: 210px; height: 440px; }
  .phones .phone.tilt { display: none; }
  .cta { padding: 40px 22px; }
  .contact-form { grid-template-columns: 1fr; padding: 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .nav-cta .btn { padding: 10px 14px; font-size: 14px; }
}

/* School Pro additions */
.mock-table b.warn { background: #fee2e2; color: #b91c1c; }
.mock-table b.late { background: #fef3c7; color: #b45309; }
.site-cards span svg { width: 22px; height: 22px; color: var(--brand); }
.grade-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.grade-tiles span { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 8px; font-size: 10px; color: #64748b; }
.grade-tiles b { display: block; font-size: 14px; color: var(--text); }
.chat { display: flex; flex-direction: column; gap: 6px; }
.chat p { margin: 0; padding: 7px 10px; border-radius: 12px; font-size: 10px; line-height: 1.6; max-width: 88%; }
.chat .in { background: #fff; border: 1px solid var(--border); align-self: flex-start; }
.chat .out { background: var(--brand); color: #fff; align-self: flex-end; }
.role-tab .ic.t-admin { --rc: #4338ca; } .role-tab .ic.t-teacher { --rc: #0891b2; } .role-tab .ic.t-parent { --rc: #f59e0b; } .role-tab .ic.t-student { --rc: #db2777; }
.role-tab.active .ic { background: var(--rc, var(--brand)); }
