:root {
  --ink: #08101f;
  --ink-2: #0b1530;
  --muted: #5e6b7e;
  --subtle: #8a97aa;
  --line: #dde6f1;
  --line-strong: #c8d4e3;
  --paper: #f7faff;
  --panel: #ffffff;
  --soft: #eef5ff;
  --soft-2: #f3f7fc;
  --navy: #11254a;
  --navy-2: #0a1a3a;
  --blue: #1f5fd6;
  --blue-2: #2d9cff;
  --cyan: #16b6c9;
  --teal: #16b6c9;
  --teal-deep: #0e93a6;
  --violet: #6e6bff;
  --magenta: #c64bff;
  --success: #15a675;
  --warning: #f0b84a;
  --danger: #e46060;
  --whatsapp: #25d366;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(17, 45, 92, 0.16);
  --shadow-soft: 0 16px 44px rgba(28, 63, 112, 0.1);
  --shadow-glow: 0 0 0 1px rgba(22, 182, 201, 0.2), 0 24px 60px rgba(17, 37, 74, 0.22);
  --grad-tech: linear-gradient(135deg, #11254a 0%, #1f5fd6 45%, #16b6c9 100%);
  --grad-violet: linear-gradient(135deg, #1f5fd6 0%, #2d9cff 60%, #16b6c9 100%);
  --grad-text: linear-gradient(120deg, #11254a 0%, #1f5fd6 38%, #16b6c9 78%, #18c3d6 100%);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: #fbfdff;
  color: var(--ink);
  font-family: "Noto Sans HK", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }

/* Accessible keyboard focus ring (does not show on mouse/touch) */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.button:focus-visible,
.nav-cta:focus-visible,
.contact-form button:focus-visible,
.whatsapp-link:focus-visible,
.nav-toggle:focus-visible {
  outline-offset: 4px;
}

/* ============ Animated background mesh ============ */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-mesh .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.bg-mesh .orb-a {
  width: 560px; height: 560px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(45, 156, 255, 0.55), transparent 70%);
  animation: float-a 22s ease-in-out infinite;
}
.bg-mesh .orb-b {
  width: 520px; height: 520px;
  top: 28%; left: -180px;
  background: radial-gradient(circle, rgba(110, 107, 255, 0.45), transparent 70%);
  animation: float-b 28s ease-in-out infinite;
}
.bg-mesh .orb-c {
  width: 640px; height: 640px;
  bottom: -260px; left: 38%;
  background: radial-gradient(circle, rgba(50, 211, 255, 0.32), transparent 70%);
  animation: float-c 32s ease-in-out infinite;
}
.bg-mesh .grid-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(31, 103, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 103, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
}

@keyframes float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 60px) scale(1.08); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -50px) scale(1.12); }
}
@keyframes float-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -40px) scale(0.95); }
}

/* ============ Scroll progress bar ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 50;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad-tech);
  box-shadow: 0 0 18px rgba(45, 156, 255, 0.65);
  transition: width 0.08s linear;
}

/* ============ Header ============ */
.site-header {
  align-items: center;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  background: rgba(248, 251, 255, 0.72);
  border-bottom: 1px solid rgba(217, 227, 240, 0.7);
  display: flex;
  gap: 28px;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 5vw;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 30;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(248, 251, 255, 0.92);
  box-shadow: 0 8px 32px rgba(11, 29, 58, 0.06);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.08rem;
  font-weight: 800;
  gap: 12px;
}
.brand span:last-child { display: grid; gap: 1px; }
.brand strong { font-size: 1rem; line-height: 1.1; }
.brand small { color: var(--muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; }
.brand-logo {
  height: 30px;
  width: auto;
  display: block;
  transition: transform 0.3s var(--ease-out);
}
.brand:hover .brand-logo { transform: scale(1.03); }
.brand-by {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
}
.footer-logo { height: 32px; width: auto; display: block; }

.nav-links {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.94rem;
  font-weight: 700;
  gap: 6px;
  position: relative;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s var(--ease-out);
  z-index: 1;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-indicator {
  position: absolute;
  top: 50%;
  left: 0;
  height: 34px;
  border-radius: 8px;
  background: rgba(31, 103, 255, 0.08);
  border: 1px solid rgba(31, 103, 255, 0.14);
  transform: translateY(-50%);
  transition: left 0.4s var(--ease-snap), width 0.4s var(--ease-snap), opacity 0.3s;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
}
.nav-indicator.visible { opacity: 1; }

.nav-cta, .button, .contact-form button {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
  position: relative;
  will-change: transform;
}
.nav-cta {
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(11, 29, 58, 0.22);
  color: var(--white);
  padding: 0 18px;
  overflow: hidden;
}
.nav-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out);
}
.nav-cta:hover::before { transform: translateX(100%); }
.nav-cta svg { width: 14px; height: 14px; }

/* ============ Mobile nav toggle (hamburger) ============ */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  flex: none;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.nav-toggle:hover { border-color: var(--blue); }
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease-snap), opacity 0.2s var(--ease-out), top 0.3s var(--ease-snap);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.site-header.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }

/* ============ Mobile menu panel ============ */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 29;
  background: rgba(248, 251, 255, 0.96);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(11, 29, 58, 0.12);
  padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s var(--ease-snap), opacity 0.25s var(--ease-out), visibility 0s linear 0.3s;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.34s var(--ease-snap), opacity 0.25s var(--ease-out);
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
  transition: background 0.2s var(--ease-out);
}
.mobile-menu a::after {
  content: "→";
  color: var(--subtle);
  font-weight: 700;
}
.mobile-menu a:active { background: rgba(31, 103, 255, 0.08); }
.mobile-menu .mobile-cta {
  margin-top: 8px;
  justify-content: center;
  background: var(--grad-tech);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(31, 103, 255, 0.3);
}
.mobile-menu .mobile-cta::after { content: none; }
.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 28;
  background: rgba(8, 16, 31, 0.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0s linear 0.3s;
}
.menu-scrim.open { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease-out); }
body.menu-locked { overflow: hidden; }

/* ============ Hero ============ */
.hero {
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  min-height: calc(100vh - 72px);
  padding: 9vh 5vw 7vh;
  position: relative;
  z-index: 1;
}

.hero-copy { align-self: center; max-width: 720px; position: relative; z-index: 2; }

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(31, 103, 255, 0.08);
  border: 1px solid rgba(31, 103, 255, 0.18);
  border-radius: 100px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(31, 103, 255, 0.18);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(31, 103, 255, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(31, 103, 255, 0); }
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(3rem, 5.6vw, 5.6rem);
  line-height: 1;
  margin-bottom: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 .line {
  display: block;
  overflow: hidden;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
h3 { font-size: 1.18rem; line-height: 1.25; margin-bottom: 12px; font-weight: 800; }

.gradient-text {
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-flow 6s ease infinite;
}
.gradient-text-light {
  background: linear-gradient(120deg, #94c8ff 0%, #32d3ff 50%, #6e6bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.lead {
  color: #3f4d63;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.button { border: 1px solid rgba(11, 29, 58, 0.16); padding: 0 22px; }
.button svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.button:hover svg { transform: translateX(4px); }
.button.primary {
  background: var(--grad-tech);
  background-size: 200% 100%;
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(31, 103, 255, 0.32);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.button.primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-out);
}
.button.primary:hover::before { transform: translateX(100%); }
.button.primary:hover { background-position: 100% 0%; box-shadow: 0 20px 44px rgba(31, 103, 255, 0.4); }
.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  backdrop-filter: blur(8px);
}
.button.secondary:hover { background: var(--white); border-color: var(--line-strong); }

.hero-stats {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 28px;
}
.hero-stats strong {
  color: var(--navy);
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span { color: var(--muted); display: block; font-size: 0.86rem; line-height: 1.45; margin-top: 4px; }

/* ============ Hero visual / screen ============ */
.hero-visual {
  align-items: center;
  display: flex;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.screen {
  background: #f5f8fd;
  border: 1px solid rgba(144, 165, 193, 0.36);
  border-radius: 16px;
  box-shadow: var(--shadow);
  min-height: 580px;
  overflow: hidden;
  width: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease-out);
}
.screen-glow {
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  padding: 2px;
  background: conic-gradient(from 90deg, transparent, var(--cyan), transparent 25%, transparent 50%, var(--violet), transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  animation: spin-glow 8s linear infinite;
  pointer-events: none;
}
@keyframes spin-glow { to { transform: rotate(360deg); } }

.screen-topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}
.screen-topbar > span:nth-child(-n+3) { border-radius: 50%; display: block; height: 11px; width: 11px; }
.screen-topbar span:nth-child(1) { background: var(--danger); }
.screen-topbar span:nth-child(2) { background: var(--warning); }
.screen-topbar span:nth-child(3) { background: #66d3a6; }
.screen-topbar p { color: var(--muted); font-size: 0.82rem; font-weight: 800; margin: 0 0 0 12px; }

.live-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--success);
  background: rgba(21, 166, 117, 0.1);
  border: 1px solid rgba(21, 166, 117, 0.28);
  padding: 4px 8px;
  border-radius: 100px;
  font-family: "JetBrains Mono", monospace;
}
.live-pill i {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(21, 166, 117, 0.6);
  animation: pulse-live 1.6s ease-out infinite;
}
@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 rgba(21, 166, 117, 0.6); }
  100% { box-shadow: 0 0 0 8px rgba(21, 166, 117, 0); }
}

.screen-grid { display: grid; grid-template-columns: 160px 1fr; min-height: 532px; position: relative; z-index: 2; }

.mini-sidebar {
  background: linear-gradient(180deg, #0a1a33, #0d2447);
  color: rgba(255, 255, 255, 0.66);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 14px;
  position: relative;
}
.mini-sidebar strong { color: var(--white); margin-bottom: 18px; font-size: 0.85rem; letter-spacing: 0.02em; }
.mini-sidebar span { border-radius: 8px; font-size: 0.78rem; font-weight: 800; padding: 10px 11px; transition: background 0.25s; cursor: default; }
.mini-sidebar span:hover { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.9); }
.mini-sidebar .active {
  background: linear-gradient(90deg, rgba(45, 156, 255, 0.22), transparent);
  box-shadow: inset 3px 0 0 var(--cyan);
  color: var(--white);
}
.mini-foot {
  margin-top: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem !important;
  color: rgba(255, 255, 255, 0.36) !important;
  padding: 8px 11px !important;
  letter-spacing: 0.05em;
}

.dashboard-preview {
  background:
    radial-gradient(circle at 85% 12%, rgba(31, 103, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff, #eef4fb);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.preview-header, .metrics-row, .chart-title, .student-row { align-items: center; display: flex; }
.preview-header { justify-content: space-between; }
.preview-header p, .preview-header h2 { margin: 0; }
.preview-header p, .chart-title span, .student-row p, .metrics-row small { color: var(--muted); }
.preview-header h2 { color: var(--navy); font-size: 1.55rem; }

.status, .tag {
  background: rgba(21, 166, 117, 0.1);
  border: 1px solid rgba(21, 166, 117, 0.28);
  border-radius: 100px;
  color: var(--success);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 6px 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status i { width: 6px; height: 6px; background: var(--success); border-radius: 50%; animation: pulse-live 1.6s ease-out infinite; }
.tag {
  background: rgba(31, 103, 255, 0.08);
  border-color: rgba(31, 103, 255, 0.24);
  color: var(--blue);
  cursor: pointer;
  transition: background 0.2s;
}
.tag:hover { background: rgba(31, 103, 255, 0.16); }

.metrics-row { gap: 12px; }
.metrics-row article, .chart-card, .student-row {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(217, 227, 240, 0.9);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.metrics-row article { flex: 1; min-height: 110px; padding: 14px 16px; transition: transform 0.25s var(--ease-out), box-shadow 0.25s; }
.metrics-row article:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(31, 103, 255, 0.12); }
.metrics-row span, .metrics-row small { display: block; font-size: 0.76rem; }
.metrics-row strong { color: var(--navy); display: block; font-size: 1.4rem; margin: 6px 0 3px; font-weight: 800; }
.trend-up { color: var(--success); font-size: 0.7rem; }

.chart-card { padding: 18px; }
.chart-title { justify-content: space-between; margin-bottom: 16px; }
.chart-title strong { color: var(--navy); }

.bar-chart {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, 1fr);
  height: 160px;
}
.bar-chart span {
  background: var(--grad-tech);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 12px 24px rgba(31, 103, 255, 0.22);
  display: block;
  position: relative;
  height: 0;
  transition: height 1.2s var(--ease-snap);
}
.bar-chart.in-view span { height: var(--h); }
.bar-chart span:nth-child(1) { transition-delay: 0ms; }
.bar-chart span:nth-child(2) { transition-delay: 80ms; }
.bar-chart span:nth-child(3) { transition-delay: 160ms; }
.bar-chart span:nth-child(4) { transition-delay: 240ms; }
.bar-chart span:nth-child(5) { transition-delay: 320ms; }
.bar-chart span:nth-child(6) { transition-delay: 400ms; }
.bar-chart span i {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--navy);
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  opacity: 0;
  transition: opacity 0.3s 1s;
}
.bar-chart.in-view span i { opacity: 1; }

.student-row { gap: 14px; justify-content: space-between; padding: 14px; transition: transform 0.25s; }
.student-row:hover { transform: translateX(2px); }
.student-row div { flex: 1; }
.student-row p { font-size: 0.82rem; margin: 3px 0 0; }

.avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  border-radius: 10px;
  color: var(--white);
  display: inline-flex;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
  box-shadow: 0 8px 20px rgba(110, 107, 255, 0.32);
}

/* Floating chips around hero screen */
.floating-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(11, 29, 58, 0.14);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  animation: float-chip 5s ease-in-out infinite;
}
.floating-chip small { color: var(--muted); font-size: 0.7rem; display: block; }
.floating-chip strong { color: var(--navy); font-size: 0.92rem; display: block; }
.chip-a { top: 14%; left: -22px; animation-delay: 0s; }
.chip-b { bottom: 16%; right: -18px; animation-delay: -2.5s; }
.chip-dot {
  width: 10px; height: 10px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(21, 166, 117, 0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}
.chip-icon {
  width: 28px; height: 28px;
  background: var(--grad-tech);
  color: var(--white);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
}
@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  font-family: "JetBrains Mono", monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
}
.scroll-cue i {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--blue), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue i::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0; right: 0;
  height: 16px;
  background: var(--cyan);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { top: -16px; }
  100% { top: 32px; }
}

/* ============ Marquee ============ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.marquee-track i {
  color: var(--blue);
  font-style: normal;
  opacity: 0.5;
  font-size: 0.7rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Sections ============ */
.section { padding: 110px 5vw; position: relative; z-index: 1; }
.section-heading { max-width: 920px; margin-bottom: 56px; }
.section-lead { color: var(--muted); font-size: 1.06rem; line-height: 1.75; margin-bottom: 0; max-width: 830px; }
.section-heading p + h2 { margin-bottom: 24px; }
.section-heading h2 + .section-lead { margin-top: 16px; }

/* ============ Bento grid ============ */
.bento-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
.bento {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
  grid-column: span 1;
}
.bento::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(45, 156, 255, 0.1), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.bento:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); border-color: rgba(45, 156, 255, 0.3); }
.bento:hover::before { opacity: 1; }
.bento-lg { grid-column: span 2; }
.bento-tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(31, 103, 255, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.bento h3 { color: var(--navy); margin-bottom: 10px; }
.bento p { color: var(--muted); line-height: 1.7; font-size: 0.94rem; margin: 0 0 16px; }

.bento-visual { margin-top: auto; }
.time-bar { display: grid; gap: 8px; margin-top: 8px; }
.time-bar span {
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.time-bar .t-old {
  background: linear-gradient(90deg, #b8c4d6, #d4ddea);
  color: var(--navy);
  width: 100%;
}
.time-bar .t-new {
  background: var(--grad-tech);
  width: 0;
  transition: width 1.4s var(--ease-snap) 0.2s;
  box-shadow: 0 8px 18px rgba(31, 103, 255, 0.32);
}
.bento.in-view .time-bar .t-new { width: 22%; }
.time-bar i { font-style: normal; }

.bento-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.bento-chips span {
  background: rgba(31, 103, 255, 0.08);
  border: 1px solid rgba(31, 103, 255, 0.16);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 100px;
  transition: transform 0.2s, background 0.2s;
}
.bento-chips span:hover { background: rgba(31, 103, 255, 0.16); transform: translateY(-2px); }

.mini-heatmap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin-top: 8px;
}
.mini-heatmap i {
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(31, 103, 255, 0.1);
  transition: background 0.3s;
}
.bento.in-view .mini-heatmap i:nth-child(3n) { background: rgba(31, 103, 255, 0.4); }
.bento.in-view .mini-heatmap i:nth-child(5n) { background: rgba(50, 211, 255, 0.6); }
.bento.in-view .mini-heatmap i:nth-child(7n) { background: rgba(110, 107, 255, 0.5); }
.bento.in-view .mini-heatmap i:nth-child(11n) { background: rgba(31, 103, 255, 0.8); }

.mini-line { height: 90px; margin-top: 8px; }
.mini-line svg { width: 100%; height: 100%; }
.mini-line path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.8s var(--ease-snap) 0.2s;
}
.bento.in-view .mini-line path { stroke-dashoffset: 0; }

/* ============ Difference / comparison ============ */
.difference { background: linear-gradient(180deg, transparent, rgba(238, 245, 255, 0.6), transparent); }
.comparison { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comparison-column {
  border-radius: 16px;
  padding: 36px;
  position: relative;
  transition: transform 0.4s var(--ease-out);
}
.comparison-column:hover { transform: translateY(-4px); }
.comparison-column.muted {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.comparison-column.muted h3 { color: var(--subtle); }
.comparison-column.highlighted {
  background:
    radial-gradient(circle at 85% 12%, rgba(50, 211, 255, 0.22), transparent 35%),
    linear-gradient(135deg, #06122a, #0a1a33 50%, #0f3979);
  color: var(--white);
  box-shadow: var(--shadow-glow), var(--shadow);
  overflow: hidden;
}
.comparison-column.highlighted::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 80% 10%, black, transparent 70%);
  pointer-events: none;
}
.comparison-column.highlighted h3 { color: var(--white); font-size: 1.6rem; }
.hl-badge {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(50, 211, 255, 0.12);
  border: 1px solid rgba(50, 211, 255, 0.3);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.hl-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 211, 255, 0.3), transparent 70%);
  bottom: -80px; right: -80px;
  pointer-events: none;
  filter: blur(40px);
}
.comparison ul { list-style: none; margin: 22px 0 0; padding: 0; }
.comparison li {
  border-top: 1px solid rgba(94, 107, 126, 0.18);
  padding: 16px 0 16px 26px;
  position: relative;
  line-height: 1.65;
  color: var(--muted);
}
.comparison li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 14px;
  height: 1px;
  background: var(--subtle);
}
.comparison-column.highlighted li { color: rgba(255, 255, 255, 0.8); border-color: rgba(255, 255, 255, 0.12); }
.comparison-column.highlighted li::before {
  background: var(--cyan);
  width: 16px;
  height: 2px;
  box-shadow: 0 0 8px var(--cyan);
}

/* ============ Dashboard section ============ */
.dashboard-section {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1fr);
}
.dashboard-copy { max-width: 720px; }
.dashboard-copy p { color: var(--muted); line-height: 1.75; font-size: 1.04rem; }

.insight-board { display: grid; gap: 16px; }
.insight-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 24px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.insight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.insight-card p { margin: 18px 0 0; color: var(--muted); line-height: 1.7; font-size: 0.94rem; }

.skill-map { display: grid; gap: 14px; margin-top: 18px; }
.skill-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 84px 1fr 38px;
}
.skill-row span, .skill-row strong { font-size: 0.82rem; font-weight: 900; }
.skill-row strong { font-family: "JetBrains Mono", monospace; color: var(--navy); }
.skill-row div {
  background: #e5edf8;
  border-radius: 100px;
  height: 10px;
  overflow: hidden;
  position: relative;
}
.skill-row i {
  background: var(--grad-tech);
  border-radius: inherit;
  box-shadow: 0 4px 14px rgba(31, 103, 255, 0.32);
  display: block;
  height: 100%;
  width: 0;
  transition: width 1.4s var(--ease-snap);
  position: relative;
}
.skill-row i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s linear infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.insight-card.in-view .skill-row i { width: var(--w); }
.insight-card.in-view .skill-row:nth-child(1) i { transition-delay: 0ms; }
.insight-card.in-view .skill-row:nth-child(2) i { transition-delay: 120ms; }
.insight-card.in-view .skill-row:nth-child(3) i { transition-delay: 240ms; }
.insight-card.in-view .skill-row:nth-child(4) i { transition-delay: 360ms; }

.progress-chart {
  background:
    linear-gradient(rgba(31, 103, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 103, 255, 0.04) 1px, transparent 1px),
    #f8fbff;
  background-size: 30px 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 220px;
  margin-top: 18px;
  padding: 10px;
}
.progress-chart svg { display: block; height: 100%; width: 100%; overflow: visible; }
.progress-chart .grid-line { fill: none; stroke: #d7e2ef; stroke-width: 1; }
.progress-chart .trend {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 2s var(--ease-snap);
}
.progress-chart .trend-main { stroke: url(#main-grad); stroke: var(--blue); filter: drop-shadow(0 4px 12px rgba(31, 103, 255, 0.4)); }
.progress-chart .trend-soft { opacity: 0.6; stroke: #8eb4dc; stroke-width: 3; transition-delay: 0.2s; }
.progress-chart circle { fill: var(--white); stroke: var(--blue); stroke-width: 3; transform-origin: center; transform: scale(0); transition: transform 0.4s var(--ease-snap); }
.insight-card.in-view .progress-chart .trend { stroke-dashoffset: 0; }
.insight-card.in-view .progress-chart circle { transform: scale(1); }
.insight-card.in-view .progress-chart circle:nth-of-type(1) { transition-delay: 0.6s; }
.insight-card.in-view .progress-chart circle:nth-of-type(2) { transition-delay: 0.9s; }
.insight-card.in-view .progress-chart circle:nth-of-type(3) { transition-delay: 1.2s; }
.insight-card.in-view .progress-chart circle:nth-of-type(4) { transition-delay: 1.5s; }
.insight-card.in-view .progress-chart circle:nth-of-type(5) { transition-delay: 1.8s; }

/* ============ Student platform / Adaptive learning ============ */
.student-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: start;
}

.student-mock {
  border-radius: 18px;
  border: 1px solid rgba(144, 165, 193, 0.36);
  background: #f5f8fd;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.sm-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}
.sm-bar > span:nth-child(-n+3) { width: 11px; height: 11px; border-radius: 50%; display: block; }
.sm-bar span:nth-child(1) { background: var(--danger); }
.sm-bar span:nth-child(2) { background: var(--warning); }
.sm-bar span:nth-child(3) { background: #66d3a6; }
.sm-bar p { margin: 0 0 0 10px; color: var(--muted); font-size: 0.82rem; font-weight: 800; }
.sm-adaptive {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--violet);
  background: rgba(110, 107, 255, 0.1);
  border: 1px solid rgba(110, 107, 255, 0.28);
  padding: 4px 8px;
  border-radius: 100px;
}
.sm-adaptive i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(110, 107, 255, 0.18);
  animation: pulse-dot 2s ease-in-out infinite;
}

.sm-body {
  padding: 20px;
  display: grid;
  gap: 14px;
  background:
    radial-gradient(circle at 85% 8%, rgba(110, 107, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #f8fbff, #eef4fb);
}
.sm-head { display: flex; align-items: center; gap: 12px; }
.sm-head strong { color: var(--navy); font-size: 0.98rem; display: block; }
.sm-head small { color: var(--muted); font-size: 0.78rem; }
.sm-avatar {
  width: 40px; height: 40px;
  border-radius: 10px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), var(--blue));
  box-shadow: 0 8px 20px rgba(110, 107, 255, 0.32);
}
.sm-weak {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--danger);
  background: rgba(228, 96, 96, 0.1);
  border: 1px solid rgba(228, 96, 96, 0.26);
  padding: 5px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.sm-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 227, 240, 0.9);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}
.sm-q { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.sm-qtag {
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--danger);
  background: rgba(228, 96, 96, 0.1);
  border: 1px solid rgba(228, 96, 96, 0.26);
  padding: 3px 9px;
  border-radius: 100px;
  font-family: "JetBrains Mono", monospace;
}
.sm-q p { margin: 0; color: var(--navy); font-size: 0.9rem; font-weight: 700; }

.ask-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.ask-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ask-box {
  width: 22px; height: 22px;
  border-radius: 7px;
  flex: none;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.ask-box svg { width: 13px; height: 13px; opacity: 0; transform: scale(0.6); transition: opacity 0.2s var(--ease-snap), transform 0.2s var(--ease-snap); }
.ask-text { font-size: 0.86rem; font-weight: 800; color: var(--blue); }
.ask-done {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--success);
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.ask-toggle input:checked + .ask-box { background: var(--grad-tech); border-color: transparent; box-shadow: 0 6px 14px rgba(31, 103, 255, 0.3); }
.ask-toggle input:checked + .ask-box svg { opacity: 1; transform: scale(1); }
.ask-toggle input:checked ~ .ask-done { opacity: 1; transform: none; }
.ask-toggle input:checked ~ .ask-text { color: var(--muted); }
.ask-toggle input:focus-visible + .ask-box { outline: 2px solid var(--blue); outline-offset: 2px; }

.sm-history small { color: var(--muted); font-size: 0.74rem; font-weight: 800; display: block; margin-bottom: 8px; }
.sm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sm-chips span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(31, 103, 255, 0.08);
  border: 1px solid rgba(31, 103, 255, 0.16);
  padding: 5px 10px;
  border-radius: 100px;
}
.sm-chips span:last-child { color: var(--muted); background: transparent; border-style: dashed; }

.sm-prow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sm-prow strong { color: var(--navy); font-size: 0.9rem; }
.sm-diff { display: inline-flex; align-items: center; gap: 5px; font-size: 0.7rem; font-weight: 800; color: var(--muted); }
.sm-diff i { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.sm-diff i.off { background: rgba(110, 107, 255, 0.25); }
.sm-pbar { height: 8px; border-radius: 100px; background: #e5edf8; overflow: hidden; margin-bottom: 8px; }
.sm-pbar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad-tech); transition: width 1.4s var(--ease-snap); }
.student-mock.in-view .sm-pbar i { width: var(--w); }
.sm-practice small { color: var(--muted); font-size: 0.78rem; }

.student-features { display: grid; gap: 14px; }
.student-feat {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px 22px 64px;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}
.student-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); border-color: rgba(45, 156, 255, 0.3); }
.feat-tag {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 30px; height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--grad-tech);
  box-shadow: 0 8px 18px rgba(31, 103, 255, 0.28);
  font-family: "JetBrains Mono", monospace;
}
.student-feat h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.08rem; }
.student-feat p { color: var(--muted); line-height: 1.7; font-size: 0.92rem; margin: 0; }

/* ============ Tech grid ============ */
.features { background: linear-gradient(180deg, transparent, rgba(247, 250, 255, 0.6), transparent); }
.tech-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
.tech-card {
  background:
    radial-gradient(circle at 90% 0%, rgba(50, 211, 255, 0.08), transparent 35%),
    rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.tech-card:hover { transform: translateY(-4px); border-color: rgba(45, 156, 255, 0.3); box-shadow: var(--shadow-glow); }
.tech-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.tech-card:hover::before { opacity: 1; }
.tech-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.tech-card h3 { color: var(--navy); }
.tech-card p { color: var(--muted); line-height: 1.7; margin-bottom: 18px; }

.tech-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.86);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0;
  border: 1px solid rgba(50, 211, 255, 0.18);
  line-height: 1.7;
  overflow: hidden;
}
.tech-code .c-key { color: var(--cyan); }
.tech-code .c-op { color: var(--magenta); }
.tech-code .c-str { color: #a8e6a8; }

.tech-folders { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-folders span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  background: rgba(31, 103, 255, 0.06);
  border: 1px solid rgba(31, 103, 255, 0.16);
  color: var(--navy);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}
.tech-folders span:hover { background: rgba(31, 103, 255, 0.14); transform: translateY(-2px); }

.tech-tokens { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tokens .tk {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
}
.tk-a { background: rgba(31, 103, 255, 0.1); color: var(--blue); border-color: rgba(31, 103, 255, 0.24); }
.tk-b { background: rgba(50, 211, 255, 0.12); color: #0a85b3; border-color: rgba(50, 211, 255, 0.32); }
.tk-c { background: rgba(228, 96, 96, 0.1); color: var(--danger); border-color: rgba(228, 96, 96, 0.28); }
.tk-d { background: rgba(21, 166, 117, 0.1); color: var(--success); border-color: rgba(21, 166, 117, 0.28); }
.tk-e { background: rgba(110, 107, 255, 0.1); color: var(--violet); border-color: rgba(110, 107, 255, 0.28); }

.tech-dash { display: grid; grid-template-columns: repeat(8, 1fr); align-items: end; height: 80px; gap: 6px; margin-top: 8px; }
.tech-dash i {
  background: var(--grad-tech);
  border-radius: 4px 4px 0 0;
  height: 0;
  transition: height 1.2s var(--ease-snap);
}
.tech-card.in-view .tech-dash i { height: var(--h); }
.tech-card.in-view .tech-dash i:nth-child(1) { transition-delay: 0ms; }
.tech-card.in-view .tech-dash i:nth-child(2) { transition-delay: 60ms; }
.tech-card.in-view .tech-dash i:nth-child(3) { transition-delay: 120ms; }
.tech-card.in-view .tech-dash i:nth-child(4) { transition-delay: 180ms; }
.tech-card.in-view .tech-dash i:nth-child(5) { transition-delay: 240ms; }
.tech-card.in-view .tech-dash i:nth-child(6) { transition-delay: 300ms; }
.tech-card.in-view .tech-dash i:nth-child(7) { transition-delay: 360ms; }
.tech-card.in-view .tech-dash i:nth-child(8) { transition-delay: 420ms; }

/* ============ Roles ============ */
.roles { background: rgba(248, 251, 255, 0.5); }
.role-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.role-grid article {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.role-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.role-grid article p { color: var(--muted); line-height: 1.7; }

.role-icon {
  display: inline-flex;
  width: 48px; height: 48px;
  background: var(--grad-tech);
  color: var(--white);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 12px 24px rgba(31, 103, 255, 0.3);
}
.role-icon svg { width: 22px; height: 22px; }

.role-bar {
  height: 6px;
  background: #e5edf8;
  border-radius: 100px;
  overflow: hidden;
  margin-top: 20px;
}
.role-bar i {
  display: block;
  height: 100%;
  background: var(--grad-tech);
  width: 0;
  border-radius: inherit;
  transition: width 1.4s var(--ease-snap);
  position: relative;
}
.role-bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2.4s linear infinite;
}
.role-grid article.in-view .role-bar i { width: var(--w); }

/* ============ Pilot ============ */
.pilot-card {
  background:
    radial-gradient(circle at 82% 10%, rgba(50, 211, 255, 0.22), transparent 32%),
    radial-gradient(circle at 10% 90%, rgba(110, 107, 255, 0.22), transparent 32%),
    linear-gradient(135deg, #06122a, #0a1a33 50%, #0f3979);
  border: 1px solid rgba(144, 191, 255, 0.22);
  border-radius: 20px;
  box-shadow: var(--shadow);
  color: var(--white);
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.pilot-card .eyebrow { color: #94c8ff; background: rgba(148, 200, 255, 0.1); border-color: rgba(148, 200, 255, 0.2); }
.pilot-card .eyebrow .dot { background: var(--cyan); box-shadow: 0 0 0 4px rgba(50, 211, 255, 0.24); }
.pilot-card h2 { color: var(--white); margin-bottom: 18px; }
.pilot-card p { color: rgba(255, 255, 255, 0.74); line-height: 1.8; margin-bottom: 24px; }
.pilot-bg { position: absolute; inset: 0; pointer-events: none; }
.pilot-bg span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 211, 255, 0.4), transparent 70%);
  filter: blur(40px);
}
.pilot-bg span:nth-child(1) { width: 300px; height: 300px; top: -100px; right: 20%; }
.pilot-bg span:nth-child(2) { width: 280px; height: 280px; bottom: -80px; left: 30%; background: radial-gradient(circle, rgba(110, 107, 255, 0.4), transparent 70%); }
.pilot-bg span:nth-child(3) {
  width: 100%; height: 100%; top: 0; left: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  filter: none;
  mask-image: radial-gradient(circle at 60% 50%, black, transparent 80%);
}
.pilot-text { position: relative; z-index: 2; }
.pilot-points { display: grid; gap: 14px; position: relative; z-index: 2; }
.pilot-points article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(182, 213, 255, 0.16);
  border-radius: 12px;
  display: grid;
  gap: 6px;
  padding: 20px;
  position: relative;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.pilot-points article:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(50, 211, 255, 0.3);
}
.p-step {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.pilot-points strong { color: var(--white); font-size: 1.02rem; }
.pilot-points span:last-child { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; line-height: 1.6; }

/* ============ Contact ============ */
.contact {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
}
.contact p { color: var(--muted); line-height: 1.75; font-size: 1.04rem; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.contact-list li { color: var(--muted); display: flex; align-items: center; gap: 10px; font-size: 0.96rem; }
.ck {
  width: 22px; height: 22px;
  background: var(--grad-tech);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(31, 103, 255, 0.3);
}

.contact-form {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
}
.form-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.form-head strong { color: var(--navy); font-size: 1rem; }
.form-meta { color: var(--muted); font-size: 0.78rem; margin-left: auto; font-family: "JetBrains Mono", monospace; }
.form-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(21, 166, 117, 0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}
.contact-form label { color: var(--muted); display: grid; font-size: 0.86rem; font-weight: 800; gap: 8px; }
.contact-form input, .contact-form select {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 0 14px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.contact-form input:hover, .contact-form select:hover { border-color: var(--line-strong); }
.contact-form input:focus, .contact-form select:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(31, 103, 255, 0.14);
  outline: 0;
}
.contact-form button {
  background: var(--grad-tech);
  background-size: 200% 100%;
  border: 0;
  box-shadow: 0 14px 30px rgba(31, 103, 255, 0.32);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  min-height: 50px;
  overflow: hidden;
  position: relative;
}
.contact-form button::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-out);
}
.contact-form button:hover::before { transform: translateX(100%); }
.contact-form button:hover { background-position: 100% 0%; box-shadow: 0 20px 44px rgba(31, 103, 255, 0.42); }
.form-note { color: var(--muted); font-size: 0.78rem; line-height: 1.55; margin: 0; }

/* ============ Demo video ============ */
.demo-video .section-heading { text-align: center; margin-left: auto; margin-right: auto; }
.video-frame {
  position: relative;
  width: min(960px, 100%);
  margin: 40px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(22, 182, 201, 0.28), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}
.video-placeholder p { color: var(--white); font-size: 1.1rem; font-weight: 800; margin: 0; }
.video-placeholder span { color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; font-family: "JetBrains Mono", monospace; letter-spacing: 0.04em; }
.video-play {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: grid;
  place-content: center;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.video-play svg { width: 34px; height: 34px; margin-left: 4px; }
.video-play::after {
  content: "";
  position: absolute;
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: video-ring 2.4s ease-out infinite;
}
.video-play:hover { transform: scale(1.08); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }
@keyframes video-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ============ WhatsApp quick link ============ */
.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(37, 211, 102, 0.3);
  background: linear-gradient(120deg, rgba(37, 211, 102, 0.1), rgba(22, 182, 201, 0.06));
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.14);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.whatsapp-link:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.22);
}
.wa-icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-content: center;
  color: var(--white);
  background: var(--whatsapp);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.4);
}
.wa-icon svg { width: 24px; height: 24px; }
.whatsapp-link strong { display: block; color: var(--ink); font-size: 0.98rem; }
.whatsapp-link small { color: var(--muted); font-size: 0.82rem; font-family: "JetBrains Mono", monospace; }
.wa-arrow { width: 16px; height: 16px; margin-left: auto; color: var(--whatsapp); transition: transform 0.3s var(--ease-out); }
.whatsapp-link:hover .wa-arrow { transform: translateX(4px); }

/* ============ Subject checkboxes ============ */
.subject-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.subject-field legend { color: var(--muted); font-size: 0.86rem; font-weight: 800; padding: 0; margin-bottom: 10px; }
.subject-options { display: flex; flex-wrap: wrap; gap: 8px; }
.subject-chip { cursor: pointer; }
.subject-chip input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.subject-chip span {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fbff;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.2s var(--ease-out);
}
.subject-chip:hover span { border-color: var(--line-strong); color: var(--ink); }
.subject-chip input:checked + span {
  border-color: transparent;
  background: var(--grad-tech);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(22, 182, 201, 0.28);
}
.subject-chip input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ============ Bigger submit button ============ */
.contact-form .form-submit {
  min-height: 60px;
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-top: 4px;
}
.contact-form .form-submit .wa-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.contact-form .form-submit .wa-icon svg { width: 16px; height: 16px; }
.contact-form .form-submit > svg { width: 16px; height: 16px; flex: none; }

/* ============ Download service detail ============ */
.download-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding: 40px 44px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
}
.download-glow {
  position: absolute;
  width: 460px; height: 460px;
  right: -120px; top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 182, 201, 0.4), transparent 70%);
  pointer-events: none;
}
.download-text { position: relative; z-index: 1; max-width: 640px; }
.download-text .eyebrow { color: rgba(255, 255, 255, 0.75); }
.download-text .eyebrow .dot { background: var(--teal); }
.download-text h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin: 14px 0 12px; line-height: 1.2; }
.download-text p { color: rgba(255, 255, 255, 0.72); line-height: 1.7; margin: 0; }
.download-meta { display: flex; gap: 10px; margin-top: 18px; }
.download-meta span {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: "JetBrains Mono", monospace;
}
.download-btn {
  position: relative;
  z-index: 1;
  flex: none;
  min-height: 56px;
  padding: 0 28px;
  font-size: 1rem;
}
.download-btn svg { width: 18px; height: 18px; }

/* ============ Footer ============ */
.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  color: var(--muted);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 32px 5vw;
  position: relative;
  z-index: 2;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { color: var(--ink); font-weight: 900; display: block; font-size: 0.96rem; }
.footer-brand p { margin: 2px 0 0; font-size: 0.82rem; }
.footer-meta { margin: 0; font-size: 0.82rem; font-family: "JetBrains Mono", monospace; }

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: 0ms;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-column: span 2; }
  .tech-grid { grid-template-columns: 1fr; }
  .pilot-card { padding: 40px; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 76px 5vw; }
  .section-heading { margin-bottom: 40px; }
  .hero, .dashboard-section, .pilot-card, .contact { grid-template-columns: 1fr; }
  .student-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 48px 5vw 56px; gap: 40px; }
  .hero-copy { max-width: none; }
  .hero-visual { justify-content: center; }
  .scroll-cue { display: none; }
  .floating-chip { display: none; }
  .role-grid { grid-template-columns: 1fr; }
  .comparison { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { height: 64px; padding: 0 16px; gap: 12px; }
  .mobile-menu { top: 64px; }
  .nav-cta { display: none; }
  .brand strong { font-size: 0.92rem; }
  .brand-logo { height: 26px; }
  .brand-by { display: none; }
  .section { padding: 60px 18px; }
  .section-heading { margin-bottom: 32px; }
  .download-card { padding: 28px 22px; }
  .download-btn { width: 100%; }
  .video-play { width: 60px; height: 60px; }
  .video-play::after { width: 60px; height: 60px; }
  .video-play svg { width: 26px; height: 26px; }
  .hero { padding: 36px 18px 48px; gap: 32px; }
  h1 { font-size: clamp(2.4rem, 11vw, 3rem); margin-bottom: 22px; }
  .lead { font-size: 1.02rem; line-height: 1.7; margin-bottom: 26px; }
  .hero-actions { gap: 10px; margin-bottom: 32px; }
  .hero-actions .button { flex: 1 1 auto; }
  .hero-stats { gap: 10px; padding-top: 22px; }
  .hero-stats strong { font-size: 1.32rem; }
  .hero-stats span { font-size: 0.74rem; }
  .intro-grid, .role-grid, .metrics-row { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-lg { grid-column: span 1; }
  .bento { padding: 24px; }
  .metrics-row { display: grid; }
  .screen { min-height: 0; }
  .screen-grid { grid-template-columns: 1fr; }
  .mini-sidebar { display: none; }
  .dashboard-preview { padding: 18px; }
  .preview-header, .student-row { align-items: flex-start; flex-direction: column; }
  .bar-chart { height: 140px; }
  .comparison-column { padding: 28px 24px; }
  .pilot-card { padding: 28px; gap: 28px; }
  .contact-form { padding: 24px 20px; }
  .skill-row { grid-template-columns: 72px 1fr 36px; }
  .footer { align-items: flex-start; flex-direction: column; }
  .marquee-track span { font-size: 1.05rem; }
}
