*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0d1117;
  --white: #f4f6fa;
  --accent: #2563eb;
  --accent-mid: #3b82f6;
  --accent-light: #bfdbfe;
  --gray: #6b7280;
  --light-gray: #e2e8f0;
  --card-bg: #ffffff;
  --topbar-h: 36px;
  --nav-h: 64px;
  --header-h: calc(var(--topbar-h) + var(--nav-h));
  --quickbar-h: 58px;
}

/* ─── TOPBAR ─── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 210;
  height: var(--topbar-h);
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; padding: 0 2.5rem;
}
.topbar-items { display: flex; align-items: center; gap: 2rem; flex-wrap: nowrap; }
.topbar-item {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.76rem; font-weight: 500; color: rgba(255,255,255,0.88);
  text-decoration: none; white-space: nowrap;
}
.topbar-item strong { color: white; font-weight: 700; }
.topbar-item .topbar-icon { font-size: 0.85rem; opacity: 0.85; }
.topbar-item.email-highlight {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px; padding: 0.18rem 0.65rem;
  color: white; font-weight: 600;
}
.topbar-item.email-highlight:hover { background: rgba(255,255,255,0.25); }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.25); }

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(244,246,250,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--light-gray);
  transition: box-shadow 0.3s;
}

.nav-logo {
  display: flex; align-items: center; gap: 0.55rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { height: 38px; width: 38px; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-text strong { font-family: 'DM Serif Display', serif; font-size: 0.95rem; color: var(--black); }
.nav-logo-text span { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }

.nav-center {
  display: flex; align-items: center; gap: 0.2rem;
  list-style: none;
}
.nav-center a {
  text-decoration: none; color: var(--gray); font-size: 0.82rem;
  font-weight: 500; padding: 0.38rem 0.7rem; border-radius: 6px;
  transition: all 0.18s; white-space: nowrap;
}
.nav-center a:hover { color: var(--black); background: var(--light-gray); }
.nav-center .hl a {
  color: var(--accent); background: #eff6ff;
  border: 1px solid #bfdbfe; font-weight: 600; font-size: 0.78rem;
}
.nav-center .hl a:hover { background: var(--accent); color: white; }

.nav-right {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.78rem;
}
.nav-right a { color: var(--gray); text-decoration: none; white-space: nowrap; }
.nav-right a:hover { color: var(--black); }
.nav-right .helpdesk-btn {
  background: var(--accent); color: white !important;
  padding: 0.38rem 0.9rem; border-radius: 6px;
  font-weight: 600; font-size: 0.78rem;
}
.nav-right .helpdesk-btn:hover { background: var(--accent-mid); }

/* ─── STUDENT LOGIN (attendance) — green, high-visibility ─── */
.nav-right .student-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #16a34a; color: white !important;
  padding: 0.38rem 0.9rem; border-radius: 6px;
  font-weight: 600; font-size: 0.78rem; text-decoration: none; white-space: nowrap;
  transition: background 0.18s;
}
.nav-right .student-btn:hover { background: #15803d; }
.nav-right .student-btn svg.lucide { width: 0.85rem; height: 0.85rem; display: inline-block; vertical-align: middle; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; z-index: 210;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay */
.overlay {
  display: none; position: fixed; inset: 0; z-index: 185;
  background: rgba(0,0,0,0.35);
}
.overlay.open { display: block; }

/* Mobile Drawer */
.mobile-menu {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: white; z-index: 190;
  border-bottom: 1px solid var(--light-gray);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 0.75rem 1.25rem 1.25rem;
  flex-direction: column; gap: 0.35rem;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }

.mob-section-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray);
  padding: 0.75rem 0.75rem 0.3rem;
}
.mobile-menu a {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--black);
  font-size: 0.92rem; font-weight: 500;
  padding: 0.72rem 0.75rem; border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu a:hover { background: #f0f4ff; }
.mobile-menu .mob-hl {
  background: #eff6ff; border: 1px solid #bfdbfe;
  color: var(--accent); font-weight: 600; font-size: 0.95rem;
}
.mobile-menu .mob-hl:hover { background: var(--accent); color: white; border-color: var(--accent); }
/* Important-link highlight (e.g. AcadLog) — amber, stands apart from the blue quick-access links */
.mobile-menu .mob-hl.important { background: #fff7ed; border-color: #fdba74; color: #c2410c; }
.mobile-menu .mob-hl.important:hover { background: #f97316; color: white; border-color: #f97316; }
.mobile-menu .mob-helpdesk {
  background: var(--accent); color: white !important;
  font-weight: 600; justify-content: center;
  margin-top: 0.4rem; border-radius: 8px;
}
.mobile-menu .mob-helpdesk:hover { background: var(--accent-mid); }
.mobile-menu .mob-student {
  background: #16a34a; color: white !important;
  border: 1px solid #16a34a; font-weight: 700; font-size: 0.95rem;
}
.mobile-menu .mob-student:hover { background: #15803d; border-color: #15803d; }
.mobile-menu .mob-student svg.lucide { color: #fff; }

/* ─── MOBILE QUICK-ACCESS BAR ─── */
.quick-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  height: var(--quickbar-h);
  background: #0d1117;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.quick-bar-inner { display: flex; height: 100%; }
.quick-bar-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: rgba(255,255,255,0.55);
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0 0.25rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: all 0.15s; -webkit-tap-highlight-color: transparent;
}
.quick-bar-item:last-child { border-right: none; }
.quick-bar-item:active { background: rgba(255,255,255,0.06); color: white; }
.quick-bar-item.primary { background: var(--accent); color: white; }
.quick-bar-item.primary:active { background: var(--accent-mid); }
.quick-bar-item.student { background: #16a34a; color: white; }
.quick-bar-item.student:active { background: #15803d; }
.quick-bar-item.acadlog { background: #f97316; color: white; }
.quick-bar-item.acadlog:active { background: #ea580c; }
.quick-bar-icon { font-size: 1.15rem; line-height: 1; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Slider track — each slide is stacked & cross-fades */
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }

/* Per-slide background (gradient + grid texture + left readability scrim) */
.hero-slide-bg { position: absolute; inset: 0; }
.hero-slide-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
  background-size: 55px 55px;
}
/* Full-bleed team/event photo layer — sits above the gradient, below the scrim.
   If the image file is missing, this layer is transparent and the gradient shows through. */
.hero-slide-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.hero-slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,10,25,0.94) 0%, rgba(5,10,25,0.78) 38%, rgba(5,10,25,0.5) 72%, rgba(5,10,25,0.42) 100%),
    linear-gradient(to top, rgba(5,10,25,0.6) 0%, rgba(5,10,25,0) 45%);
}
.bg-navy   { background: linear-gradient(135deg, #0b1a3e 0%, #0f2560 55%, #0d1f55 100%); }
.bg-blue   { background: linear-gradient(135deg, #082a63 0%, #0b3a86 55%, #0a2f6b 100%); }
.bg-purple { background: linear-gradient(135deg, #241a52 0%, #3b2172 55%, #201545 100%); }
.bg-teal   { background: linear-gradient(135deg, #062f3a 0%, #0a4c56 55%, #063038 100%); }
.bg-amber  { background: linear-gradient(135deg, #34240a 0%, #573a0d 55%, #2b1e08 100%); }

/* Slider controls */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 6; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(8px); transition: all 0.2s;
}
.hero-arrow:hover { background: rgba(37,99,235,0.92); border-color: transparent; transform: translateY(-50%) scale(1.06); }
.hero-arrow.prev { left: 1.5rem; }
.hero-arrow.next { right: 1.5rem; }
.hero-arrow svg { width: 1.25rem; height: 1.25rem; }
.hero-dots {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  z-index: 6; display: flex; gap: 0.55rem;
}
.hero-dot {
  width: 30px; height: 4px; border-radius: 100px; padding: 0; border: none;
  background: rgba(255,255,255,0.28); cursor: pointer; transition: all 0.3s;
}
.hero-dot.active { background: #fff; width: 48px; }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0b1a3e 0%, #0f2560 55%, #0d1f55 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 70% at 75% 50%, rgba(37,99,235,0.22) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.07) 1px, transparent 1px);
  background-size: 55px 55px;
}

/* Two-col layout.
   align-items:flex-start + margin:auto on the children centers them vertically ONLY when
   there is spare room. When the content is taller than the space below the fixed navbar,
   the auto margins collapse and the content stays pinned below the nav instead of
   overflowing upward under it. */
.hero-inner {
  position: relative; z-index: 3;
  height: 100%; width: 100%;
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: flex-start; gap: 3rem;
  padding: var(--header-h) 2.5rem 5rem;
}
/* Left text — transparent background overlaying the slide */
.hero-body {
  flex: 1 1 0; max-width: 600px;
  background: transparent;
  margin-top: auto; margin-bottom: auto;
  display: flex; flex-direction: column; justify-content: center;
}

/* Right visual panel */
.hero-panel {
  flex: 0 0 420px; display: flex;
  margin-top: auto; margin-bottom: auto;
  height: min(72vh, 580px);
}

/* Spotlight card used on the app-focused slides */
.hero-spotlight {
  flex: 1; align-self: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px; padding: 1.85rem;
  backdrop-filter: blur(12px);
  display: flex; flex-direction: column; gap: 1rem;
}
.hero-spot-top { display: flex; align-items: center; justify-content: space-between; }
.hero-spot-ic {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(37,99,235,0.2); color: #93c5fd;
  display: flex; align-items: center; justify-content: center;
}
.hero-spot-ic svg { width: 1.7rem; height: 1.7rem; }
.hero-spot-live {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #6ee7b7;
}
.hero-spot-name { font-family: 'DM Serif Display', serif; font-size: 1.55rem; color: #fff; line-height: 1.15; }
.hero-spot-desc { font-size: 0.86rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.hero-spot-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.hero-spot-chips span {
  font-size: 0.66rem; font-weight: 600;
  padding: 0.28rem 0.65rem; border-radius: 6px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-spot-link {
  margin-top: 0.25rem; display: inline-flex; align-items: center; gap: 0.4rem;
  color: #93c5fd; font-size: 0.82rem; font-weight: 600; text-decoration: none;
}
.hero-spot-link svg { width: 0.9rem; height: 0.9rem; }
.hero-spot-link:hover { color: #fff; }

/* Activity card stretches to fill panel */
.hero-activity-card {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
}
.hero-activity-header {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse-dot 2s infinite; flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50%       { box-shadow: 0 0 0 7px rgba(34,197,94,0.07); }
}
.hero-activity-title {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.activity-list { display: flex; flex-direction: column; flex: 1; }
.activity-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 0 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
  flex: 1;
}
.activity-row:last-child { border-bottom: none; }
.activity-row:hover { background: rgba(255,255,255,0.04); }
.act-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.act-body { flex: 1; min-width: 0; }
.act-name { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.92); margin-bottom: 0.5rem; }
.act-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.act-chip {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 0.22rem 0.6rem; border-radius: 5px; white-space: nowrap;
}
.act-chip.blue   { background: rgba(37,99,235,0.22);  color: #93c5fd; }
.act-chip.green  { background: rgba(16,185,129,0.22); color: #6ee7b7; }
.act-chip.purple { background: rgba(124,58,237,0.22); color: #c4b5fd; }
.act-chip.amber  { background: rgba(245,158,11,0.2);  color: #fcd34d; }
.act-pulse {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse-dot 2s infinite;
}

/* Inline stats below CTA */
.hero-inline-stats {
  display: flex; gap: 2rem; margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.his-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem; color: white; line-height: 1;
}
.his-label { font-size: 0.65rem; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.25rem; }

/* Hide panel on mobile */
@media (max-width: 1024px) {
  .hero-panel { display: none; }
  .hero-body { max-width: 100%; }
  .hero-inner { padding: calc(var(--header-h) + 1rem) 1.5rem 5rem; }
  .hero-inline-stats { gap: 1.5rem; }
  .hero-slide.active .hero-sw-pills { display: flex; }
}
@media (max-width: 480px) {
  .hero-inline-stats { gap: 1.25rem; flex-wrap: wrap; }
  .his-num { font-size: 1.5rem; }
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.11em;
  text-transform: uppercase; color: #93c5fd;
  border: 1px solid rgba(59,130,246,0.38); border-radius: 100px;
  padding: 0.32rem 1rem; margin-bottom: 1.75rem;
}
.hero-tag img { height: 16px; width: 16px; object-fit: contain; }

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.06; color: white; letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero h1 em { color: #93c5fd; font-style: italic; }

.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.58);
  line-height: 1.7; max-width: 460px; margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent); color: white;
  font-weight: 600; font-size: 0.88rem;
  padding: 0.78rem 1.5rem; border-radius: 8px;
  text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-mid); transform: translateY(-1px); }

/* Green Student-Login CTA used in the hero */
.btn-student {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: #16a34a; color: white;
  font-weight: 600; font-size: 0.88rem;
  padding: 0.78rem 1.5rem; border-radius: 8px;
  text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(22,163,74,0.32);
}
.btn-student:hover { background: #15803d; transform: translateY(-1px); }
.btn-student svg.lucide { width: 0.9rem; height: 0.9rem; display: inline-block; vertical-align: middle; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; color: white;
  font-weight: 500; font-size: 0.88rem;
  padding: 0.78rem 1.5rem; border-radius: 8px;
  text-decoration: none; transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.05); }

/* Platform shortcut buttons in hero */
.hero-platform-btns {
  display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem;
}
.btn-platform {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.65rem 1.1rem; border-radius: 10px;
  text-decoration: none; transition: all 0.22s;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
}
.btn-platform:hover { transform: translateY(-2px); background: rgba(255,255,255,0.09); }
.btn-platform-icon { font-size: 1.15rem; line-height: 1; flex-shrink: 0; }
.btn-platform-text strong { display: block; color: white; font-size: 0.83rem; font-weight: 600; line-height: 1.25; }
.btn-platform-text small { color: rgba(255,255,255,0.38); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.09em; }
.btn-platform-arrow { color: rgba(255,255,255,0.28); font-size: 0.8rem; margin-left: 0.2rem; transition: 0.2s; }
.btn-platform:hover .btn-platform-arrow { color: rgba(255,255,255,0.7); transform: translate(2px,-2px); }
.btn-platform-teal { border-color: rgba(20,184,166,0.35); }
.btn-platform-teal:hover { border-color: rgba(20,184,166,0.65); background: rgba(20,184,166,0.1); }
.btn-platform-teal .btn-platform-text strong { color: #5eead4; }
.btn-platform-amber { border-color: rgba(245,158,11,0.35); }
.btn-platform-amber:hover { border-color: rgba(245,158,11,0.65); background: rgba(245,158,11,0.1); }
.btn-platform-amber .btn-platform-text strong { color: #fcd34d; }

/* ─── SOFTWARE SHOWCASE (hero right panel) ─── */
.hero-software-card {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px; overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
}
.hero-sw-header {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.hero-sw-title {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.hero-sw-badge {
  margin-left: auto;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.07em;
  background: rgba(37,99,235,0.22); color: #93c5fd;
  border: 1px solid rgba(59,130,246,0.28);
  padding: 0.18rem 0.6rem; border-radius: 100px;
  text-transform: uppercase;
}
.sw-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; flex: 1;
  background: rgba(255,255,255,0.06);
}
.sw-item {
  display: flex; flex-direction: column;
  padding: 1.05rem 1.15rem;
  background: #0b1d58;
  text-decoration: none;
  transition: background 0.18s;
  position: relative;
}
.sw-item:hover { background: rgba(37,99,235,0.18); }
.sw-item-icon { font-size: 1.3rem; margin-bottom: 0.5rem; }
.sw-item-name {
  font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.88);
  line-height: 1.3; margin-bottom: 0.25rem;
}
.sw-item-tag {
  font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.sw-item-arrow {
  position: absolute; top: 0.75rem; right: 0.8rem;
  font-size: 0.65rem; color: rgba(255,255,255,0.1);
  transition: all 0.2s;
}
.sw-item:hover .sw-item-arrow { color: #93c5fd; transform: translate(2px,-2px); }
.sw-item.sw-blue  .sw-item-name { color: #93c5fd; }
.sw-item.sw-purple .sw-item-name { color: #c4b5fd; }
.sw-item.sw-green  .sw-item-name { color: #6ee7b7; }
.sw-item.sw-amber  .sw-item-name { color: #fcd34d; }
.sw-item.sw-teal   .sw-item-name { color: #5eead4; }

/* Mobile scrollable software pills */
.hero-sw-pills {
  display: none;
  overflow-x: auto; gap: 0.5rem;
  margin-top: 1.25rem; padding-bottom: 0.3rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hero-sw-pills::-webkit-scrollbar { display: none; }
.sw-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.38rem 0.85rem; border-radius: 100px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
  font-size: 0.75rem; font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: all 0.15s;
}
.sw-pill:hover { background: rgba(59,130,246,0.18); border-color: rgba(59,130,246,0.4); color: white; }
/* Important-link highlight (e.g. AcadLog) */
.sw-pill.important { background: rgba(249,115,22,0.16); border-color: rgba(249,115,22,0.4); color: #fdba74; font-weight: 600; }
.sw-pill.important:hover { background: rgba(249,115,22,0.28); border-color: rgba(249,115,22,0.65); color: #fff; }

/* ─── SECTIONS ─── */
.section { padding: 4.5rem 2.5rem; }
.section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1; letter-spacing: -0.02em; color: var(--black);
}
.section-sub { font-size: 0.95rem; color: var(--gray); line-height: 1.7; max-width: 480px; margin-top: 0.6rem; }

/* ─── PLATFORMS ─── */
.platforms { background: #0b1a3e; padding: 4.5rem 2.5rem; }
.platforms .section-title { color: white; }
.platforms .section-sub { color: rgba(255,255,255,0.48); }

.platform-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 2.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; overflow: hidden;
}
.platform-card {
  background: #0d1f55; padding: 2rem 1.75rem;
  text-decoration: none; position: relative; overflow: hidden;
  transition: background 0.22s;
}
.platform-card::after {
  content: '↗'; position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 1rem; color: rgba(255,255,255,0.18); transition: 0.2s;
}
.platform-card:hover { background: #0f2580; }
.platform-card:hover::after { color: #93c5fd; transform: translate(2px,-2px); }
.platform-card.featured { background: #0f2060; border: 1px solid rgba(59,130,246,0.35); }
.platform-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.25rem;
  background: rgba(255,255,255,0.07);
}
.platform-card.featured .platform-icon { background: rgba(59,130,246,0.16); }
.platform-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: white; margin-bottom: 0.5rem; }
.platform-card.featured h3 { color: #bfdbfe; }
.platform-card p { font-size: 0.82rem; color: rgba(255,255,255,0.38); line-height: 1.6; }
.platform-badge {
  display: inline-block; margin-top: 1rem;
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #93c5fd;
  border: 1px solid rgba(59,130,246,0.32);
  padding: 0.18rem 0.55rem; border-radius: 4px;
}

/* ─── EXPERTISE ─── */
.expertise-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1.25rem; margin-top: 2.5rem;
}
.expertise-card {
  background: var(--card-bg); border: 1px solid var(--light-gray);
  border-radius: 12px; padding: 1.75rem; transition: all 0.22s;
}
.expertise-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,0.09); }
.expertise-icon { font-size: 1.6rem; margin-bottom: 0.85rem; }
.expertise-card h4 { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.expertise-card p { font-size: 0.8rem; color: var(--gray); line-height: 1.6; }

/* ─── ASSETS ─── */
.assets { background: #f8fafc; }
.assets-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1.25rem; margin-top: 2.5rem;
}
.asset-card {
  background: white; border: 1px solid var(--light-gray);
  border-radius: 12px; overflow: hidden; transition: all 0.22s;
}
.asset-card:hover { border-color: var(--accent); box-shadow: 0 6px 24px rgba(0,0,0,0.07); transform: translateY(-2px); }
.asset-img {
  height: 130px;
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; position: relative;
}
.asset-count {
  position: absolute; top: 0.6rem; right: 0.6rem;
  background: var(--black); color: white;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.18rem 0.5rem; border-radius: 4px;
}
.asset-info { padding: 1rem 1.2rem 1.2rem; }
.asset-info h4 { font-weight: 600; font-size: 0.88rem; margin-bottom: 0.25rem; }
.asset-info p { font-size: 0.76rem; color: var(--gray); line-height: 1.55; }

/* ─── EVENT BANNER ─── */
.event-banner {
  background: linear-gradient(135deg, #0b1a3e 0%, #0d1f55 100%);
  border-radius: 14px; padding: 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  margin-top: 2.5rem;
  border: 1px solid rgba(59,130,246,0.22);
  position: relative; overflow: hidden;
}
.event-banner::before {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 70%);
}
.event-banner-text h3 { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: white; margin-bottom: 0.4rem; }
.event-banner-text p { font-size: 0.85rem; color: rgba(255,255,255,0.48); }
.btn-download {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--accent); color: white;
  font-weight: 700; font-size: 0.88rem;
  padding: 0.85rem 1.75rem; border-radius: 8px;
  text-decoration: none; white-space: nowrap;
  transition: all 0.2s; flex-shrink: 0; position: relative; z-index: 1;
}
.btn-download:hover { background: var(--accent-mid); transform: translateY(-1px); }

/* ─── CONTACT SECTION ─── */
.contact-section {
  background: var(--white); padding: 4.5rem 2.5rem;
}
.contact-section-inner { max-width: 900px; }
.contact-section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.contact-section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1; letter-spacing: -0.02em; color: var(--black); margin-bottom: 0.5rem;
}
.contact-section-sub { font-size: 0.95rem; color: var(--gray); line-height: 1.7; margin-bottom: 2rem; }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.contact-card {
  display: flex; align-items: flex-start; gap: 1.25rem;
  background: white; border: 1px solid var(--light-gray);
  border-radius: 14px; padding: 1.75rem;
  text-decoration: none; color: var(--black);
  transition: all 0.22s; position: relative;
}
.contact-card:hover { border-color: var(--accent); box-shadow: 0 8px 28px rgba(37,99,235,0.1); transform: translateY(-2px); }
.contact-card-primary {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #bfdbfe;
}
.contact-card-primary:hover { border-color: var(--accent); background: linear-gradient(135deg, #dbeafe, #bfdbfe); }

.contact-card-icon { font-size: 1.75rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-card-body { flex: 1; }
.contact-card-tag {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.4rem;
}
.contact-card-email {
  font-size: 1.15rem; font-weight: 700; color: var(--black);
  letter-spacing: -0.01em; margin-bottom: 0.5rem;
  word-break: break-all;
}
.contact-card-primary .contact-card-email { color: var(--accent); }
.contact-card-desc { font-size: 0.8rem; color: var(--gray); line-height: 1.6; }
.contact-card-arrow {
  font-size: 1.1rem; color: var(--accent); flex-shrink: 0;
  opacity: 0; transform: translate(-4px, 4px); transition: all 0.2s;
}
.contact-card:hover .contact-card-arrow { opacity: 1; transform: translate(0, 0); }

/* ─── CONTACT ─── */
.contact-strip {
  background: #0b1a3e; padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.contact-strip > p { font-size: 0.82rem; color: rgba(255,255,255,0.38); }
.contact-info-items { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.contact-item { font-size: 0.78rem; color: rgba(255,255,255,0.38); }
.contact-item strong { display: block; color: white; font-weight: 500; margin-bottom: 0.1rem; }
.contact-item a { color: #93c5fd; text-decoration: none; }

/* ─── FOOTER ─── */
footer {
  background: #060d1f; padding: 1.25rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,0.22); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.76rem; color: rgba(255,255,255,0.32); text-decoration: none; }
.footer-links a:hover { color: #93c5fd; }

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 1100px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .assets-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-center { display: none; }
  .nav-right .email-link { display: none; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  nav { top: 0; padding: 0 1.25rem; }
  .nav-right { display: none; }
  .hamburger { display: flex; }
  .quick-bar { display: block; }
  body { padding-bottom: var(--quickbar-h); }

  .hero { min-height: 100svh; }
  .hero-inner { padding: calc(var(--nav-h) + 1.5rem) 1.25rem 5.5rem; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: calc(var(--quickbar-h) + 1rem); }
  .hero-sub { font-size: 0.93rem; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-outline {
    justify-content: center; width: 100%;
    padding: 0.9rem 1.25rem; font-size: 0.95rem;
  }
  .hero-platform-btns { flex-direction: column; }
  .btn-platform { width: 100%; }

  .section { padding: 3rem 1.25rem; }
  .platforms { padding: 3rem 1.25rem; }

  .platform-grid { grid-template-columns: 1fr; margin-top: 1.5rem; border-radius: 10px; }
  .platform-card { padding: 1.4rem 1.25rem; }
  .platform-card::after { display: none; }

  .expertise-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.5rem; }
  .expertise-card { padding: 1.2rem; }

  .assets-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.5rem; }
  .asset-img { height: 100px; font-size: 2.2rem; }
  .asset-info { padding: 0.85rem 1rem 1rem; }

  .event-banner { flex-direction: column; align-items: flex-start; padding: 1.5rem; margin-top: 2rem; }
  .btn-download { width: 100%; justify-content: center; }

  .contact-cards { grid-template-columns: 1fr; }
  .contact-section { padding: 3rem 1.25rem; }
  .contact-card { padding: 1.4rem; }
  .contact-card-email { font-size: 1rem; }
  .contact-strip { padding: 1.75rem 1.25rem; flex-direction: column; align-items: flex-start; }
  .contact-info-items { gap: 1.25rem; }

  footer { padding: 1.25rem; flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-tag { font-size: 0.65rem; }
  .expertise-grid { grid-template-columns: 1fr; }
  .assets-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .quick-bar-item { font-size: 0.56rem; }
  .quick-bar-icon { font-size: 1rem; }
}

/* ─── ERP ACHIEVEMENT ─── */
.erp-section {
  background: var(--white);
  padding: 5rem 2.5rem;
  overflow: hidden;
}
.erp-header { margin-bottom: 3rem; }
.erp-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #f59e0b;
  border-radius: 100px; padding: 0.35rem 1rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #92400e;
  margin-bottom: 1rem;
}
.erp-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.02em; color: var(--black);
  margin-bottom: 0.75rem;
}
.erp-title span { color: var(--accent); }
.erp-sub { font-size: 1rem; color: var(--gray); line-height: 1.7; max-width: 560px; }

/* Modules grid */
.erp-modules-title {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray);
  margin-bottom: 1.25rem;
}
.erp-modules {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.erp-module {
  background: white; border: 1px solid var(--light-gray);
  border-radius: 10px; padding: 1rem 0.75rem;
  text-align: center; transition: all 0.2s;
}
.erp-module:hover { border-color: var(--accent); background: #eff6ff; transform: translateY(-2px); }
.erp-module.highlight {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: #bfdbfe;
}
.erp-module.highlight:hover { background: linear-gradient(135deg, #dbeafe, #bfdbfe); border-color: var(--accent); }
.erp-module-icon { font-size: 1.4rem; margin-bottom: 0.4rem; display: block; }
.erp-module-name { font-size: 0.72rem; font-weight: 600; color: var(--black); line-height: 1.3; }
.erp-module.highlight .erp-module-name { color: var(--accent); }

/* Tech strip */
.erp-tech-strip {
  background: var(--black);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.erp-tech-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); white-space: nowrap; }
.erp-tech-items { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.erp-tech-item {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; padding: 0.35rem 0.75rem;
  font-size: 0.76rem; font-weight: 500; color: rgba(255,255,255,0.7);
  white-space: nowrap;
}

/* School preview cards with iframe */
.erp-previews {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-bottom: 3rem;
}
.preview-card {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--light-gray);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  background: white;
  transition: all 0.25s;
}
.preview-card:hover { box-shadow: 0 12px 40px rgba(37,99,235,0.13); border-color: var(--accent); transform: translateY(-3px); }

/* Browser chrome bar */
.preview-browser-bar {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: #f1f3f6; border-bottom: 1px solid #e2e6ea;
}
.preview-dots { display: flex; gap: 5px; flex-shrink: 0; }
.preview-dots span {
  width: 11px; height: 11px; border-radius: 50%;
}
.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }
.preview-url {
  flex: 1; font-size: 0.73rem; color: #555;
  background: white; border: 1px solid #ddd;
  border-radius: 5px; padding: 0.22rem 0.65rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.preview-open {
  font-size: 0.7rem; font-weight: 600; color: var(--accent);
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.preview-open:hover { text-decoration: underline; }

/* iframe wrapper */
.preview-frame-wrap {
  position: relative; width: 100%; height: 340px;
  overflow: hidden; background: #f8f9fa;
}
.preview-frame-wrap iframe {
  width: 160%; height: 160%;
  transform: scale(0.625); transform-origin: top left;
  border: none; pointer-events: none;
  display: block;
}
/* Self-hosted screenshot poster (for sites that block iframe embedding) */
.preview-shot {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block; border: none;
}
.preview-frame-wrap .preview-shot-fallback {
  position: absolute; inset: 0;
  display: none; flex-direction: column; gap: 0.35rem;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #241a52, #3b2172);
  color: #fff; text-align: center; padding: 1rem;
}
.preview-frame-wrap .preview-shot-fallback strong { font-size: 0.95rem; }
.preview-frame-wrap .preview-shot-fallback span { font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.preview-overlay {
  position: absolute; inset: 0;
  background: rgba(13,17,23,0); cursor: pointer;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.5rem;
  transition: background 0.25s;
}
.preview-overlay:hover { background: rgba(13,17,23,0.45); }
.preview-overlay-btn {
  background: var(--accent); color: white;
  font-size: 0.8rem; font-weight: 700;
  padding: 0.55rem 1.25rem; border-radius: 7px;
  opacity: 0; transform: translateY(8px);
  transition: all 0.2s;
}
.preview-overlay:hover .preview-overlay-btn { opacity: 1; transform: translateY(0); }

/* Footer info */
.preview-footer {
  padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--light-gray);
}
.preview-info { display: flex; flex-direction: column; gap: 0.2rem; }
.preview-info strong { font-size: 0.88rem; font-weight: 700; color: var(--black); }
.preview-info span { font-size: 0.72rem; color: var(--gray); }
.preview-visit-btn {
  background: var(--accent); color: white;
  font-size: 0.76rem; font-weight: 600;
  padding: 0.4rem 0.9rem; border-radius: 6px;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
  transition: background 0.18s;
}
.preview-visit-btn:hover { background: var(--accent-mid); }

/* Mobile responsive */
@media (max-width: 1024px) {
  .erp-modules { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .erp-section { padding: 3rem 1.25rem; }
  .erp-previews { grid-template-columns: 1fr; gap: 1.25rem; }
  .preview-frame-wrap { height: 220px; }
  .erp-modules { grid-template-columns: repeat(3, 1fr); }
  .erp-tech-strip { padding: 1.25rem; }
}
@media (max-width: 480px) {
  .erp-modules { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .erp-module { padding: 0.75rem 0.5rem; }
  .erp-module-icon { font-size: 1.2rem; }
  .erp-module-name { font-size: 0.65rem; }
  .preview-frame-wrap { height: 190px; }
}

/* ─── NAV DROPDOWN / MEGA MENU ─── */
.nav-item-dd { position: relative; }
.nav-dd-trigger {
  display: inline-flex; align-items: center; gap: 0.35rem;
  cursor: pointer; color: var(--gray); font-size: 0.82rem; font-weight: 500;
  padding: 0.38rem 0.7rem; border-radius: 6px;
  background: none; border: none; font-family: inherit; transition: all 0.18s;
}
.nav-dd-trigger:hover,
.nav-item-dd.open .nav-dd-trigger { color: var(--black); background: var(--light-gray); }
.nav-dd-trigger .chev { width: 0.85rem; height: 0.85rem; transition: transform 0.2s; }
.nav-item-dd.open .chev { transform: rotate(180deg); }

.nav-mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 620px; max-width: 92vw;
  background: #fff; border: 1px solid var(--light-gray);
  border-radius: 14px; box-shadow: 0 24px 60px rgba(13,17,23,0.18);
  padding: 1.25rem; z-index: 300;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.22s;
}
.nav-item-dd.open .nav-mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-mega::before {
  content: ''; position: absolute; top: -7px; left: 50%;
  width: 14px; height: 14px; background: #fff;
  border-left: 1px solid var(--light-gray); border-top: 1px solid var(--light-gray);
  transform: translateX(-50%) rotate(45deg);
}
.nav-mega-col-title {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray);
  margin-bottom: 0.5rem; padding-left: 0.5rem;
}
.nav-mega-link {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0.5rem; border-radius: 9px;
  text-decoration: none; transition: background 0.15s;
}
.nav-mega-link:hover { background: #f0f4ff; }
/* Important-link highlight (e.g. AcadLog) — stands out from the rest of the mega-menu */
.nav-mega-link.important {
  background: #fff7ed; border: 1px solid #fdba74;
}
.nav-mega-link.important:hover { background: #ffedd5; }
.nav-mega-link.important .nav-mega-ic { background: #ffedd5; color: #c2410c; }
.nav-mega-link.important .nav-mega-tx strong { color: #c2410c; }
.nav-mega-ic {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #eff6ff; color: var(--accent);
}
.nav-mega-ic svg { width: 1.05rem; height: 1.05rem; }
.nav-mega-tx { display: flex; flex-direction: column; line-height: 1.25; }
.nav-mega-tx strong { font-size: 0.82rem; color: var(--black); font-weight: 600; }
.nav-mega-tx span { font-size: 0.7rem; color: var(--gray); }

/* Entrance animation — scoped to the active slide so text re-enters on each change.
   IMPORTANT: content is visible by default; the animation is purely additive. We do NOT
   set a blanket opacity:0, so if animations are disabled (prefers-reduced-motion) the hero
   text/panel still show. The staggered fade only runs when motion is welcome. */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.active .hero-tag          { animation: fadeUp 0.6s ease 0.15s both; }
  .hero-slide.active h1                 { animation: fadeUp 0.6s ease 0.28s both; }
  .hero-slide.active .hero-sub          { animation: fadeUp 0.6s ease 0.40s both; }
  .hero-slide.active .hero-cta          { animation: fadeUp 0.6s ease 0.52s both; }
  .hero-slide.active .hero-sw-pills     { animation: fadeUp 0.6s ease 0.60s both; }
  .hero-slide.active .hero-panel        { animation: fadeUp 0.6s ease 0.58s both; }
  .hero-slide.active .hero-inline-stats { animation: fadeUp 0.6s ease 0.68s both; }
}

/* ─── LUCIDE ICON SIZING ─── */
svg.lucide { display: block; flex-shrink: 0; }
.sw-item-icon svg.lucide    { width: 1.3rem;  height: 1.3rem; }
.platform-icon svg.lucide   { width: 1.4rem;  height: 1.4rem; }
.expertise-icon svg.lucide  { width: 1.65rem; height: 1.65rem; }
.erp-module-icon svg.lucide { width: 1.35rem; height: 1.35rem; }
.asset-img svg.lucide       { width: 2.6rem;  height: 2.6rem; color: var(--accent); }
.contact-card-icon svg.lucide { width: 1.7rem; height: 1.7rem; }
.quick-bar-icon svg.lucide  { width: 1.1rem;  height: 1.1rem; }
.topbar-icon svg.lucide     { width: 0.82rem; height: 0.82rem; }
svg.lucide.icon-inline { display: inline-block; vertical-align: middle; }
.btn-primary svg.lucide, .btn-outline svg.lucide,
.btn-download svg.lucide, .mob-helpdesk svg.lucide,
.sw-pill svg.lucide, .mob-hl svg.lucide,
.erp-tech-item svg.lucide, .erp-badge svg.lucide,
nav a svg.lucide, .preview-url svg.lucide { display: inline-block; vertical-align: middle; }
.btn-primary svg.lucide, .btn-outline svg.lucide { width: 0.9rem; height: 0.9rem; }
.btn-download svg.lucide  { width: 0.88rem; height: 0.88rem; }
.mob-helpdesk svg.lucide  { width: 0.95rem; height: 0.95rem; }
.sw-pill svg.lucide       { width: 0.82rem; height: 0.82rem; }
.mob-hl svg.lucide        { width: 1rem;    height: 1rem; }
.erp-tech-item svg.lucide { width: 0.88rem; height: 0.88rem; }
.erp-badge svg.lucide     { width: 0.9rem;  height: 0.9rem; }
nav a svg.lucide          { width: 0.82rem; height: 0.82rem; }
.preview-url svg.lucide   { width: 0.78rem; height: 0.78rem; }
