@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&family=Sora:wght@400;500;600;700&display=swap");

:root {
  font-family: "Inter Tight", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0d0d12;
  --background: #f1f4f6;
  --surface: #ffffff;
  --surface-muted: #f8f9fa;
  --rail: #0d0d12;
  --rail-soft: #11141d;
  --rail-lift: #191d2a;
  --primary: #227eff;
  --primary-strong: #0f62d9;
  --primary-soft: rgba(34, 126, 255, 0.1);
  --cyan: #5ddcf6;
  --purple: #8d59ff;
  --logo-navy: #07182c;
  --logo-navy-soft: #0a2038;
  --logo-silver: #cfd6dc;
  --text: #0d0d12;
  --muted: rgba(13, 13, 18, 0.6);
  --border: rgba(7, 8, 5, 0.18);
  --danger: #fb2c36;
  --success: #227eff;
  --shadow: 0 24px 80px rgba(13, 13, 18, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top right, rgba(34, 126, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #f8f9fa 0%, var(--background) 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  background:
    radial-gradient(circle at top left, rgba(34, 126, 255, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(141, 89, 255, 0.14), transparent 28%),
    linear-gradient(180deg, var(--rail-soft), var(--rail));
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px 18px;
}

.brand {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
  padding: 4px 6px 12px;
}

.brand-mark {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(34, 126, 255, 0.18);
  color: var(--rail);
  display: grid;
  flex: 0 0 auto;
  font-weight: 800;
  height: 46px;
  place-items: center;
  width: 46px;
}

.brand-label {
  font-family: "Sora", "Inter Tight", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
}

.brand-tag {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.84rem;
  margin: 4px 0 0;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar nav a {
  align-items: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.64);
  display: flex;
  font-weight: 500;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sidebar nav a::before {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  content: "";
  height: 8px;
  width: 8px;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(2px);
}

.sidebar nav a.active::before {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(34, 126, 255, 0.18);
}

.sidebar-footer {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: auto;
  padding: 14px;
}

.main {
  min-width: 0;
  padding: 26px;
}

.aviation-main {
  display: grid;
  gap: 22px;
}

.main::before {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(7, 8, 5, 0.1);
  border-radius: var(--radius);
  color: rgba(13, 13, 18, 0.6);
  content: "Exam Portal Workspace";
  display: flex;
  font-size: 0.86rem;
  font-weight: 600;
  justify-content: space-between;
  margin-bottom: 18px;
  min-height: 48px;
  padding: 0 18px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.home-panel {
  overflow: hidden;
}

.home-hero {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero-console {
  background:
    radial-gradient(circle at top right, rgba(34, 126, 255, 0.28), transparent 34%),
    linear-gradient(180deg, var(--rail-lift), var(--rail));
  border-radius: 20px;
  color: #ffffff;
  display: grid;
  gap: 14px;
  min-height: 280px;
  padding: 22px;
}

.console-header {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.console-header span {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

.console-row {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  padding: 14px;
}

.console-row span {
  color: rgba(255, 255, 255, 0.64);
}

.subject-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.subject-pill {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: none;
  color: var(--text);
  min-height: 38px;
}

.subject-pill.active,
.subject-pill:hover {
  background: var(--rail);
  color: #ffffff;
}

.interactive-card {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 14px;
  padding: 20px;
}

.aviation-hero {
  border-radius: 28px;
  box-shadow: var(--shadow);
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.aviation-hero img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.aviation-hero::after {
  background:
    linear-gradient(90deg, rgba(13, 13, 18, 0.92) 0%, rgba(13, 13, 18, 0.64) 44%, rgba(13, 13, 18, 0.08) 100%),
    linear-gradient(0deg, rgba(13, 13, 18, 0.55), transparent 44%);
  content: "";
  inset: 0;
  position: absolute;
}

.aviation-overlay {
  color: #ffffff;
  max-width: 720px;
  padding: clamp(28px, 6vw, 72px);
  position: relative;
  z-index: 1;
}

.aviation-overlay h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  max-width: 680px;
}

.aviation-overlay p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 580px;
}

.dark-button {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.dark-button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.site-body {
  background:
    radial-gradient(circle at top right, rgba(34, 126, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #f8f9fa 0%, var(--background) 58%, #ffffff 100%);
  color: #ffffff;
  overflow-x: hidden;
}

.site-body::before {
  background:
    linear-gradient(rgba(13, 13, 18, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 13, 18, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72) 16%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.site-nav {
  align-items: center;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(90deg, rgba(7, 24, 44, 0.9), rgba(10, 32, 56, 0.62), rgba(7, 24, 44, 0.36)),
    rgba(7, 24, 44, 0.62);
  border-bottom: 1px solid rgba(207, 214, 220, 0.08);
  box-shadow: 0 18px 60px rgba(3, 20, 33, 0.18);
  color: #ffffff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 10px clamp(16px, 3vw, 38px) 10px clamp(6px, 1.2vw, 18px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.education-banner {
  align-items: center;
  background: #07182c;
  border-bottom: 1px solid rgba(93, 220, 246, 0.32);
  color: #ffffff;
  display: flex;
  height: 42px;
  left: 0;
  justify-content: center;
  overflow: hidden;
  padding: 0 18px;
  position: absolute;
  right: 0;
  top: 116px;
  z-index: 80;
}

.education-banner-content {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.education-banner-content strong {
  align-items: center;
  color: var(--cyan);
  display: flex;
  font-size: 0.74rem;
  gap: 7px;
  text-transform: uppercase;
  white-space: nowrap;
}

.education-banner-content strong span {
  animation: educationPulse 1.8s ease-in-out infinite;
  background: #31d16b;
  border: 3px solid rgba(49, 209, 107, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(49, 209, 107, 0.65);
  height: 9px;
  width: 9px;
}

.education-banner-content p {
  animation: educationMessage 0.8s ease both, educationTextGlow 3.8s 0.8s ease-in-out infinite;
  color: #000000;
  font-size: 0.86rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.64);
}

.education-banner-content p span {
  animation: educationSubline 3.8s 1s ease-in-out infinite;
  color: #000000;
  display: block;
  font-size: 0.78rem;
  margin-top: 1px;
}

.education-banner-sweep {
  animation: educationSweep 4.6s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  inset: 0;
  position: absolute;
  transform: translateX(-100%);
}

.has-education-banner .site-nav {
  top: 0;
}

.has-education-banner .site-hero {
  padding-top: 204px;
}

@keyframes educationPulse {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes educationMessage {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes educationTextGlow {
  0%, 100% {
    opacity: 0.82;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.9);
  }
}

@keyframes educationSubline {
  0%, 100% {
    opacity: 0.7;
    transform: translateY(2px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes educationSweep {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 720px) {
  .education-banner {
    height: 54px;
    padding: 6px 12px;
    top: 190px;
  }

  .education-banner-content {
    gap: 5px;
    line-height: 1.25;
  }

  .education-banner-content strong {
    font-size: 0.67rem;
  }

  .education-banner-content p {
    font-size: 0.72rem;
  }

  .has-education-banner .site-nav {
    top: 0;
  }

  .has-education-banner .site-hero {
    padding-top: 272px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .education-banner-content strong span,
  .education-banner-content p,
  .education-banner-content p span,
  .education-banner-sweep {
    animation: none;
  }
}

.site-brand {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-left: -95px;
  min-width: 0;
  text-decoration: none;
}

.site-brand img {
  display: block;
  border-radius: 8px;
  filter:
    brightness(0.82)
    contrast(1.08)
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.22))
    drop-shadow(0 0 22px rgba(207, 214, 220, 0.08));
  height: 96px;
  mix-blend-mode: lighten;
  object-fit: contain;
  opacity: 0.96;
  width: min(430px, 46vw);
}

.site-brand > span {
  background: #ffffff;
  border-radius: 8px;
  color: #05070d;
  display: grid;
  flex: 0 0 auto;
  font-weight: 800;
  height: 44px;
  place-items: center;
  width: 44px;
}

.site-brand strong,
.site-brand small {
  display: block;
}

.site-brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  margin-top: 2px;
}

.site-nav nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.site-nav nav a {
  border-radius: 8px;
  color: rgba(207, 214, 220, 0.82);
  font-weight: 700;
  padding: 10px 12px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav nav a:hover {
  background: rgba(207, 214, 220, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  background: linear-gradient(135deg, #f7fbff, var(--logo-silver));
  color: var(--logo-navy);
}

.site-main {
  position: relative;
  z-index: 1;
}

.aviation-vector-layer {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 2;
}

.site-nav,
.site-main {
  position: relative;
  z-index: 3;
}

.site-nav {
  z-index: 60;
}

.vector-plane {
  fill: none;
  opacity: 0.22;
  position: absolute;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.vector-plane-one {
  animation: vectorPlaneDrift 16s ease-in-out infinite;
  --plane-angle: -4deg;
  --plane-angle-active: 3deg;
  right: 5vw;
  top: 18vh;
  width: 112px;
}

.vector-plane-two {
  animation: vectorPlaneDrift 19s ease-in-out infinite reverse;
  --plane-angle: 18deg;
  --plane-angle-active: 25deg;
  bottom: 18vh;
  left: 4vw;
  opacity: 0.16;
  width: 88px;
}

.vector-pilot {
  bottom: 7vh;
  opacity: 0.16;
  position: absolute;
  right: 3vw;
  width: min(138px, 16vw);
}

.pilot-shadow {
  fill: rgba(13, 13, 18, 0.18);
}

.pilot-face,
.pilot-neck {
  fill: rgba(250, 205, 168, 0.72);
}

.pilot-hat,
.pilot-body,
.pilot-cap {
  fill: var(--rail);
}

.pilot-shirt {
  fill: #ffffff;
}

.pilot-tie {
  fill: var(--primary);
}

.pilot-visor,
.pilot-stripe {
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-width: 4;
}

.vector-runway {
  animation: runwayVectorGlow 4.2s ease-in-out infinite;
  bottom: 5vh;
  display: grid;
  gap: 16px;
  left: 50%;
  opacity: 0.16;
  position: absolute;
  transform: perspective(420px) rotateX(62deg) translateX(-50%);
  width: min(220px, 22vw);
}

.vector-runway span {
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  border-radius: 999px;
  height: 3px;
}

.auth-body {
  background: var(--logo-navy);
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

.auth-body::before {
  background:
    linear-gradient(90deg, rgba(7, 24, 44, 0.92), rgba(7, 24, 44, 0.52)),
    linear-gradient(0deg, rgba(7, 24, 44, 0.88), rgba(7, 24, 44, 0.2)),
    url("assets/atpl-cockpit-hero.png") center / cover no-repeat;
  content: "";
  inset: 0;
  position: fixed;
  z-index: -2;
}

.auth-body::after {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.auth-nav {
  position: fixed;
}

.auth-page {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  min-height: 100vh;
  padding: 128px clamp(18px, 5vw, 72px) 48px;
}

.auth-copy {
  animation: fadeUp 0.8s ease both;
  max-width: 720px;
}

.auth-copy h1 {
  color: #ffffff;
  font-size: clamp(2.8rem, 7vw, 6.6rem);
  line-height: 0.95;
  max-width: 780px;
}

.auth-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.1rem;
  max-width: 560px;
}

.auth-card {
  animation: fadeUp 0.8s ease 0.1s both;
  backdrop-filter: blur(20px);
  background: rgba(7, 24, 44, 0.76);
  border: 1px solid rgba(207, 214, 220, 0.18);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  padding: clamp(22px, 4vw, 34px);
}

.auth-card form {
  max-width: none;
}

.auth-card label,
.auth-card h1,
.auth-card h2,
.auth-card h3 {
  color: #ffffff;
}

.auth-card p,
.auth-card a {
  color: rgba(255, 255, 255, 0.74);
}

.auth-card a {
  font-weight: 800;
}

.auth-card input {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(207, 214, 220, 0.42);
}

.auth-card button {
  margin-top: 20px;
  width: 100%;
}

.verification-step {
  border-top: 1px solid rgba(207, 214, 220, 0.16);
  margin-top: 20px;
  padding-top: 4px;
}

.verification-step[hidden] {
  display: none;
}

.verification-step input {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
}

.auth-title {
  border-bottom-color: rgba(207, 214, 220, 0.16);
}

.auth-title p {
  color: rgba(255, 255, 255, 0.66);
}

.student-body {
  background:
    radial-gradient(circle at 82% 12%, rgba(93, 220, 246, 0.14), transparent 28%),
    linear-gradient(180deg, var(--logo-navy), #061426);
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

.student-vector-layer {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 1;
}

.student-nav,
.student-page {
  position: relative;
  z-index: 3;
}

.student-vector-plane {
  animation: studentPlaneCruise 18s ease-in-out infinite;
  fill: none;
  left: 4vw;
  opacity: 0.18;
  position: absolute;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  top: 24vh;
  width: min(150px, 16vw);
}

.student-vector-pilot {
  bottom: 6vh;
  opacity: 0.12;
  position: absolute;
  right: 4vw;
  width: min(118px, 13vw);
}

.student-vector-radar {
  animation: studentRadarFloat 12s ease-in-out infinite;
  border: 1px solid rgba(93, 220, 246, 0.28);
  border-radius: 50%;
  height: min(260px, 26vw);
  left: 12vw;
  opacity: 0.34;
  position: absolute;
  top: 46vh;
  width: min(260px, 26vw);
}

.student-vector-radar::before,
.student-vector-radar::after {
  border: 1px solid rgba(93, 220, 246, 0.18);
  border-radius: 50%;
  content: "";
  inset: 20%;
  position: absolute;
}

.student-vector-radar::after {
  animation: studentRadarSweep 4.5s linear infinite;
  background: linear-gradient(70deg, rgba(93, 220, 246, 0.32), transparent 46%);
  border: 0;
  border-radius: 50%;
  clip-path: polygon(50% 50%, 100% 16%, 100% 50%);
  inset: 0;
  transform-origin: center;
}

.student-vector-radar span {
  background: rgba(93, 220, 246, 0.82);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(93, 220, 246, 0.46);
  height: 8px;
  position: absolute;
  width: 8px;
}

.student-vector-radar span:nth-child(1) {
  left: 30%;
  top: 38%;
}

.student-vector-radar span:nth-child(2) {
  right: 25%;
  top: 58%;
}

.student-vector-radar span:nth-child(3) {
  left: 57%;
  top: 24%;
}

.student-vector-runway {
  animation: studentRunwayPulse 4s ease-in-out infinite;
  bottom: 7vh;
  display: grid;
  gap: 14px;
  left: 47%;
  opacity: 0.14;
  position: absolute;
  transform: perspective(500px) rotateX(64deg) translateX(-50%);
  width: min(260px, 24vw);
}

.student-vector-runway span {
  background: linear-gradient(90deg, transparent, rgba(207, 214, 220, 0.92), var(--cyan), transparent);
  border-radius: 999px;
  height: 3px;
}

.student-nav {
  position: fixed;
  z-index: 70;
}

.student-page {
  padding: 132px clamp(18px, 4vw, 54px) 54px;
}

.profile-page {
  max-width: 1280px;
  margin: 0 auto;
}

.student-hero {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 240px;
  margin-bottom: 28px;
  overflow: hidden;
  position: relative;
}

.student-hero > :not(.student-hero-orbit) {
  position: relative;
  z-index: 2;
}

.student-hero-orbit {
  border: 1px solid rgba(93, 220, 246, 0.18);
  border-radius: 50%;
  height: 190px;
  opacity: 0.68;
  position: absolute;
  right: 210px;
  top: 6px;
  width: 190px;
  z-index: 1;
}

.student-hero-orbit::before {
  animation: studentOrbitSweep 6s linear infinite;
  border-top: 2px solid rgba(93, 220, 246, 0.62);
  border-radius: 50%;
  content: "";
  inset: 18px;
  position: absolute;
}

.student-hero-orbit span {
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(93, 220, 246, 0.5);
  height: 7px;
  position: absolute;
  width: 7px;
}

.student-hero-orbit span:nth-child(1) {
  right: 20px;
  top: 46px;
}

.student-hero-orbit span:nth-child(2) {
  bottom: 34px;
  left: 54px;
}

.student-hero-orbit span:nth-child(3) {
  bottom: 72px;
  right: 62px;
}

.student-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 5rem);
  max-width: 900px;
}

.student-hero #welcome-title {
  font-size: 2.5rem;
}

@media (max-width: 720px) {
  .student-hero #welcome-title {
    font-size: 1.6rem;
  }
}

.student-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  max-width: 680px;
}

.student-status,
.student-panel,
.student-workspace,
.theory-card {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(207, 214, 220, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.student-status {
  padding: 18px;
}

.student-status span,
.panel-heading span,
.student-subject span,
.mode-card small {
  color: rgba(255, 255, 255, 0.62);
}

.student-status strong {
  color: var(--logo-silver);
  display: block;
  font-size: 1.4rem;
  margin-top: 6px;
}

.student-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
}

.student-panel,
.student-workspace {
  padding: 20px;
  position: relative;
}

.student-panel {
  overflow: hidden;
}

.student-panel > :not(.student-panel-figure) {
  position: relative;
  z-index: 2;
}

.student-panel-figure {
  border: 1px solid rgba(93, 220, 246, 0.18);
  border-radius: 50%;
  height: 150px;
  opacity: 0.45;
  position: absolute;
  right: -48px;
  top: -42px;
  width: 150px;
  z-index: 1;
}

.student-panel-figure::before {
  background: linear-gradient(180deg, rgba(93, 220, 246, 0.38), transparent);
  content: "";
  height: 70px;
  left: 50%;
  position: absolute;
  top: 14px;
  transform: translateX(-50%);
  width: 2px;
}

.student-panel-figure span {
  background: rgba(93, 220, 246, 0.8);
  border-radius: 999px;
  height: 4px;
  left: 44px;
  position: absolute;
  width: 62px;
}

.student-panel-figure span:nth-child(1) {
  top: 46px;
}

.student-panel-figure span:nth-child(2) {
  top: 68px;
  width: 44px;
}

.student-panel-figure span:nth-child(3) {
  top: 90px;
  width: 56px;
}

.panel-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-heading strong {
  color: var(--cyan);
  font-size: 1.8rem;
}

.student-subject-list {
  display: grid;
  gap: 10px;
}

.student-subject {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(207, 214, 220, 0.14);
  box-shadow: none;
  color: #ffffff;
  display: grid;
  justify-items: start;
  min-height: 68px;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
}

.student-subject.active,
.student-subject:hover {
  background: linear-gradient(135deg, #ffffff, var(--logo-silver));
  color: var(--logo-navy);
}

.student-subject.active span,
.student-subject:hover span {
  color: rgba(7, 24, 44, 0.66);
}

.workspace-top {
  border-bottom: 1px solid rgba(207, 214, 220, 0.14);
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.workspace-top h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.workspace-top p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.mode-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-bottom: 18px;
}

.topic-filter {
  align-items: end;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(207, 214, 220, 0.13);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1fr);
  margin: 18px 0;
  padding: 14px;
}

.topic-filter label {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.topic-filter select {
  background: rgba(255, 255, 255, 0.95);
}

.mode-card {
  align-items: start;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(207, 214, 220, 0.16);
  box-shadow: none;
  color: #ffffff;
  display: grid;
  justify-items: start;
  min-height: 130px;
  padding: 16px;
  position: relative;
  text-align: left;
}

.mode-card::after {
  background: linear-gradient(90deg, transparent, rgba(93, 220, 246, 0.2), transparent);
  content: "";
  height: 1px;
  inset: auto 14px 12px;
  position: absolute;
}

.mode-icon {
  fill: none;
  height: 42px;
  justify-self: end;
  opacity: 0.68;
  position: absolute;
  right: 14px;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  top: 14px;
  width: 42px;
}

.mode-card span {
  color: var(--logo-silver);
  font-family: "Sora", "Inter Tight", sans-serif;
}

.mode-card.active,
.mode-card:hover {
  background:
    radial-gradient(circle at top left, rgba(93, 220, 246, 0.34), transparent 42%),
    linear-gradient(135deg, rgba(34, 126, 255, 0.9), rgba(15, 98, 217, 0.92));
  transform: translateY(-2px);
}

.mode-card.active .mode-icon,
.mode-card:hover .mode-icon {
  animation: modeIconPulse 1.8s ease-in-out infinite;
  opacity: 0.95;
  stroke: #ffffff;
}

.study-area {
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 14px;
  min-height: 220px;
}

.theory-card {
  padding: 22px;
}

.theory-card h3,
.student-question h3 {
  color: #ffffff;
}

.theory-card p {
  color: rgba(255, 255, 255, 0.72);
}

.theory-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.theory-list div {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(207, 214, 220, 0.12);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  padding: 12px;
}

.theory-list span {
  background: #31d16b;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(49, 209, 107, 0.12);
  height: 9px;
  width: 9px;
}

.theory-module-list {
  gap: 14px;
}

.theory-module-list article {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(207, 214, 220, 0.12);
  border-radius: 8px;
  padding: 14px;
}

.theory-module-list article strong {
  color: #ffffff;
  display: block;
  margin-bottom: 8px;
}

.theory-module-list article p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
  white-space: pre-wrap;
}

.chapter-tree {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.chapter-tree-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(207, 214, 220, 0.14);
  border-radius: 8px;
  box-shadow: none;
  color: #ffffff;
  display: grid;
  gap: 6px;
  justify-items: start;
  min-height: 68px;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
}

.chapter-tree-row span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.chapter-tree-row em {
  background: rgba(49, 209, 107, 0.16);
  border: 1px solid rgba(49, 209, 107, 0.34);
  border-radius: 999px;
  color: #8ef7b2;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  padding: 4px 9px;
}

.chapter-tree-row.studied {
  border-color: rgba(49, 209, 107, 0.34);
}

.chapter-tree-row:hover,
.question-bank-row:hover {
  border-color: rgba(0, 197, 255, 0.42);
  transform: translateY(-1px);
}

.question-bank-row {
  background: linear-gradient(135deg, rgba(34, 126, 255, 0.28), rgba(0, 197, 255, 0.12));
}

.theory-section-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.theory-section-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(207, 214, 220, 0.12);
  border-radius: 8px;
  padding: 16px;
}

.theory-section-card strong {
  color: var(--cyan);
  display: block;
  font-size: 0.92rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.theory-section-card h4 {
  color: #ffffff;
  margin: 12px 0 6px;
}

.theory-section-card p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
  white-space: pre-wrap;
}

.theory-pdf-link {
  background: linear-gradient(135deg, rgba(34, 126, 255, 0.92), rgba(0, 197, 255, 0.82));
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 800;
  margin-top: 12px;
  padding: 10px 14px;
  text-decoration: none;
}

.flashcard-deck {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.flashcard-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(207, 214, 220, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
}

.flashcard-item summary {
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
}

.flashcard-item p {
  margin-top: 10px;
}

.detailed-manual {
  display: grid;
  gap: 18px;
}

.manual-overview {
  border-left: 3px solid var(--cyan);
  padding-left: 12px;
}

.manual-section-grid {
  display: grid;
  gap: 12px;
}

.manual-section {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(207, 214, 220, 0.12);
  border-radius: 8px;
  padding: 14px;
}

.manual-section h5 {
  color: #ffffff;
  font-size: 1rem;
  margin: 0 0 8px;
}

.manual-section p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
  white-space: pre-wrap;
}

.manual-diagrams {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.manual-diagrams figure {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(207, 214, 220, 0.12);
  border-radius: 8px;
  margin: 0;
  padding: 12px;
}

.manual-svg {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  overflow: hidden;
}

.manual-svg svg {
  display: block;
  height: auto;
  width: 100%;
}

.manual-diagrams figcaption {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 800;
  margin-top: 8px;
}

.manual-summary-table {
  border-collapse: collapse;
  overflow: hidden;
  width: 100%;
}

.manual-summary-table th,
.manual-summary-table td {
  border: 1px solid rgba(207, 214, 220, 0.14);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.manual-summary-table th {
  background: rgba(0, 197, 255, 0.16);
  color: #ffffff;
}

.manual-summary-table td {
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.75);
}

.exam-facts-box,
.memory-aid-box {
  border-radius: 8px;
  padding: 14px;
}

.exam-facts-box {
  background: rgba(49, 209, 107, 0.1);
  border: 1px solid rgba(49, 209, 107, 0.28);
}

.memory-aid-box {
  background: rgba(0, 197, 255, 0.1);
  border: 1px solid rgba(0, 197, 255, 0.24);
}

.exam-facts-box strong,
.memory-aid-box strong {
  color: #ffffff;
  display: block;
  margin-bottom: 8px;
}

.exam-facts-box ul {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 900px) {
  .manual-diagrams {
    grid-template-columns: 1fr;
  }
}

.mock-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.mock-lobby {
  background:
    radial-gradient(circle at 92% 12%, rgba(93, 220, 246, 0.14), transparent 26%),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(207, 214, 220, 0.14);
  border-radius: 8px;
  padding: 18px;
}

.mock-lobby-head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mock-lobby-head h3 {
  color: #ffffff;
  margin: 0 0 6px;
}

.mock-lobby-head p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  max-width: 720px;
}

.mock-lobby-badge {
  background: rgba(93, 220, 246, 0.12);
  border: 1px solid rgba(93, 220, 246, 0.24);
  border-radius: 8px;
  color: var(--cyan);
  flex: 0 0 auto;
  font-weight: 800;
  padding: 10px 12px;
}

.mock-pill {
  min-height: 42px;
  padding: 9px 12px;
}

.mock-pill.active {
  background: var(--primary);
  border-color: rgba(93, 220, 246, 0.55);
  color: #ffffff;
}

.mock-meta {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 16px;
}

.mock-start-row {
  display: flex;
  justify-content: flex-end;
}

.student-question {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(207, 214, 220, 0.14);
  color: #ffffff;
}

.student-question label {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(207, 214, 220, 0.12);
  color: rgba(255, 255, 255, 0.86);
}

.student-actions {
  margin-top: 18px;
}

.site-hero {
  align-items: end;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  padding: 116px clamp(18px, 5vw, 64px) 64px;
  position: relative;
}

.site-hero img {
  animation: heroDrift 16s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.04);
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transform: scale(1.03);
  width: 100%;
  z-index: -3;
}

.site-hero::after {
  background:
    linear-gradient(90deg, rgba(13, 13, 18, 0.95) 0%, rgba(17, 20, 29, 0.76) 44%, rgba(13, 13, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 13, 18, 0.95) 0%, rgba(13, 13, 18, 0.12) 42%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -2;
}

.skyline {
  background:
    linear-gradient(90deg, transparent, rgba(93, 220, 246, 0.42), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 94px);
  bottom: 17%;
  height: 1px;
  left: 6%;
  opacity: 0.7;
  position: absolute;
  right: 6%;
}

.flight-path {
  border-top: 1px dashed rgba(93, 220, 246, 0.58);
  bottom: calc(30% + 5cm);
  height: 1px;
  left: 24%;
  position: absolute;
  right: 18%;
  top: auto;
  transform: rotate(-18deg);
  transform-origin: center;
  z-index: 3;
}

.plane-mark {
  animation: flyAcross 7.5s ease-in-out infinite;
  background: #ffffff;
  box-shadow: 0 0 28px rgba(93, 220, 246, 0.88);
  clip-path: polygon(0 50%, 38% 42%, 22% 0, 100% 42%, 100% 58%, 22% 100%, 38% 58%);
  display: block;
  height: 18px;
  position: absolute;
  left: 0;
  top: -9px;
  width: 38px;
}

@keyframes flyAcross {
  0% {
    opacity: 0;
    left: 0;
    transform: translateX(-20px);
  }

  14%,
  84% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    left: 100%;
    transform: translateX(20px);
  }
}

.runway-lights {
  bottom: auto;
  height: 19%;
  left: 56.2%;
  pointer-events: none;
  position: absolute;
  top: calc(24.8% - 1cm);
  transform: translateX(-50%);
  width: min(360px, 28vw);
  z-index: 2;
}

.runway-lights::before,
.runway-lights::after {
  background: linear-gradient(180deg, transparent, rgba(93, 220, 246, 0.62), rgba(255, 255, 255, 0.9));
  bottom: 0;
  content: "";
  height: 100%;
  opacity: 0.34;
  position: absolute;
  width: 1px;
}

.runway-lights::before {
  left: 42%;
  transform: rotate(13deg);
  transform-origin: bottom;
}

.runway-lights::after {
  right: 42%;
  transform: rotate(-13deg);
  transform-origin: bottom;
}

.runway-lights span {
  animation: runwayPulse 1.65s linear infinite;
  background: #ffffff;
  border-radius: 999px;
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.9),
    0 0 34px rgba(93, 220, 246, 0.78);
  display: block;
  height: 8px;
  left: 50%;
  opacity: 0.16;
  position: absolute;
  transform: translateX(-50%);
  width: 8px;
}

.runway-lights span::before,
.runway-lights span::after {
  background: inherit;
  border-radius: inherit;
  box-shadow: inherit;
  content: "";
  height: inherit;
  position: absolute;
  top: 0;
  width: inherit;
}

.runway-lights span::before {
  left: calc(var(--spread) * -1);
}

.runway-lights span::after {
  right: calc(var(--spread) * -1);
}

.runway-lights span:nth-child(1) {
  --spread: 18px;
  animation-delay: 0.9s;
  bottom: 82%;
  height: 4px;
  width: 4px;
}

.runway-lights span:nth-child(2) {
  --spread: 28px;
  animation-delay: 0.72s;
  bottom: 67%;
  height: 5px;
  width: 5px;
}

.runway-lights span:nth-child(3) {
  --spread: 42px;
  animation-delay: 0.54s;
  bottom: 51%;
  height: 6px;
  width: 6px;
}

.runway-lights span:nth-child(4) {
  --spread: 62px;
  animation-delay: 0.36s;
  bottom: 34%;
}

.runway-lights span:nth-child(5) {
  --spread: 88px;
  animation-delay: 0.18s;
  bottom: 17%;
  height: 10px;
  width: 10px;
}

.runway-lights span:nth-child(6) {
  --spread: 124px;
  animation-delay: 0s;
  bottom: 2%;
  height: 12px;
  width: 12px;
}

.site-hero-content {
  animation: fadeUp 0.8s ease both;
  color: #ffffff;
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.site-hero-content h1 {
  color: #ffffff;
  font-size: 4.5rem;
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 20px;
  max-width: 900px;
}

.site-hero-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  max-width: 650px;
}

.site-hero-content .hero-training-copy {
  animation: heroCopyReveal 0.9s 0.28s ease both;
  padding-bottom: 14px;
  position: relative;
}

.site-hero-content .hero-training-copy::after {
  animation: heroCopyScan 4.8s 1.2s ease-in-out infinite;
  background: rgba(93, 220, 246, 0.78);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform-origin: left;
  width: 100%;
}

@keyframes heroCopyReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCopyScan {
  0%, 100% {
    opacity: 0.24;
    transform: scaleX(0.16);
  }
  45%, 60% {
    opacity: 0.9;
    transform: scaleX(1);
  }
}

.hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  max-width: 760px;
}

.hero-tabs span {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: var(--rail);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 10px 13px;
}

.site-hero .button-row {
  margin-top: 28px;
}

.hero-glass {
  animation: floatGlass 4.5s ease-in-out infinite;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  bottom: 66px;
  color: #ffffff;
  min-width: 190px;
  padding: 18px;
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  z-index: 2;
}

.hero-glass span,
.hero-glass p {
  color: rgba(255, 255, 255, 0.66);
  margin: 0;
}

.hero-glass strong {
  color: var(--primary);
  display: block;
  font-family: "Sora", "Inter Tight", sans-serif;
  font-size: 4rem;
  line-height: 1;
  margin: 6px 0;
}

.website-section {
  background:
    radial-gradient(circle at 88% 8%, rgba(34, 126, 255, 0.12), transparent 28%),
    linear-gradient(180deg, var(--background), #ffffff);
  color: var(--text);
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 64px);
  position: relative;
}

.website-section > :not(.section-vector) {
  position: relative;
  z-index: 2;
}

.section-vector {
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.section-vector-runway {
  bottom: 14px;
  display: grid;
  gap: 14px;
  opacity: 0.18;
  right: clamp(22px, 7vw, 110px);
  transform: perspective(520px) rotateX(66deg) rotateZ(-8deg);
  width: min(300px, 32vw);
}

.section-vector-runway span {
  background: linear-gradient(90deg, transparent, var(--primary), var(--cyan), transparent);
  border-radius: 999px;
  height: 4px;
}

.section-vector-plane {
  border: 2px solid rgba(93, 220, 246, 0.32);
  border-left-color: transparent;
  border-radius: 50%;
  height: min(240px, 24vw);
  left: clamp(14px, 4vw, 70px);
  opacity: 0.52;
  top: 34px;
  width: min(240px, 24vw);
}

.section-vector-plane::after {
  border-color: transparent transparent transparent rgba(93, 220, 246, 0.48);
  border-style: solid;
  border-width: 12px 0 12px 36px;
  content: "";
  left: 58%;
  position: absolute;
  top: 17%;
  transform: rotate(-28deg);
}

.section-vector-pilot-badge {
  border: 2px solid rgba(34, 126, 255, 0.18);
  border-radius: 50%;
  height: 172px;
  opacity: 0.5;
  right: clamp(18px, 6vw, 90px);
  top: 42px;
  width: 172px;
}

.section-vector-pilot-badge::before {
  background:
    linear-gradient(var(--rail), var(--rail)) 50% 20% / 76px 18px no-repeat,
    radial-gradient(circle at 50% 42%, rgba(250, 205, 168, 0.62) 0 26px, transparent 27px),
    linear-gradient(135deg, transparent 30%, rgba(13, 13, 18, 0.16) 31% 69%, transparent 70%);
  border: 2px solid rgba(93, 220, 246, 0.24);
  border-radius: 50%;
  content: "";
  inset: 20px;
  position: absolute;
}

.section-vector-pilot-badge span {
  background: rgba(93, 220, 246, 0.42);
  border-radius: 999px;
  height: 5px;
  left: 58px;
  position: absolute;
  top: 47px;
  width: 58px;
}

.section-vector-route {
  bottom: 30px;
  display: flex;
  gap: 34px;
  left: clamp(20px, 8vw, 120px);
  opacity: 0.55;
}

.section-vector-route::before {
  background: repeating-linear-gradient(90deg, rgba(34, 126, 255, 0.24) 0 16px, transparent 16px 30px);
  content: "";
  height: 2px;
  left: 14px;
  position: absolute;
  right: 14px;
  top: 12px;
}

.section-vector-route span {
  animation: routeDot 2.8s ease-in-out infinite;
  background: var(--cyan);
  border: 4px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(93, 220, 246, 0.34);
  height: 26px;
  width: 26px;
}

.section-vector-route span:nth-child(2) {
  animation-delay: 0.35s;
}

.section-vector-route span:nth-child(3) {
  animation-delay: 0.7s;
}

.website-section:nth-of-type(odd) {
  background:
    radial-gradient(circle at 12% 12%, rgba(93, 220, 246, 0.1), transparent 26%),
    linear-gradient(180deg, #ffffff, var(--background));
}

.website-section > h2,
.split-section h2 {
  color: var(--rail);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  max-width: 880px;
}

.workflow-section > .workflow-heading {
  font-size: 3.25rem;
}

.subjects-section > .subjects-heading {
  font-size: 3.25rem;
}

.split-section .experience-heading {
  font-size: 3.25rem;
}

.section-kicker {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.website-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.website-card {
  animation: fadeUp 0.8s ease both;
  background: #ffffff;
  border: 1px solid rgba(7, 8, 5, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(13, 13, 18, 0.08);
  color: var(--text);
  min-height: 230px;
  padding: 24px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.website-card h3 {
  color: var(--rail);
}

.website-card p,
.split-section p {
  color: rgba(13, 13, 18, 0.62);
}

.website-card:nth-child(2) {
  animation-delay: 0.12s;
}

.website-card:nth-child(3) {
  animation-delay: 0.24s;
}

.website-card:hover {
  background: #ffffff;
  border-color: rgba(34, 126, 255, 0.32);
  box-shadow: 0 24px 80px rgba(13, 13, 18, 0.14);
  transform: translateY(-8px);
}

.website-card span {
  color: var(--primary);
  display: block;
  font-family: "Sora", "Inter Tight", sans-serif;
  font-size: 2rem;
  margin-bottom: 38px;
}

.workflow-section {
  overflow: hidden;
  position: relative;
}

.workflow-section::before {
  animation: workflowSweep 8s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(34, 126, 255, 0.22), rgba(93, 220, 246, 0.18), transparent);
  content: "";
  height: 2px;
  left: 8%;
  position: absolute;
  right: 8%;
  top: clamp(178px, 19vw, 248px);
  transform-origin: left;
}

.workflow-grid {
  position: relative;
}

.workflow-grid::before {
  background: repeating-linear-gradient(90deg, rgba(34, 126, 255, 0.34) 0 18px, transparent 18px 30px);
  content: "";
  height: 1px;
  left: 11%;
  opacity: 0.5;
  position: absolute;
  right: 11%;
  top: 52px;
}

.workflow-grid .website-card {
  overflow: hidden;
  position: relative;
}

.workflow-grid .website-card::before {
  animation: cardScan 5.8s ease-in-out infinite;
  background: linear-gradient(115deg, transparent 0%, rgba(93, 220, 246, 0.12) 45%, transparent 72%);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-120%);
}

.workflow-grid .website-card > * {
  position: relative;
  z-index: 1;
}

.workflow-visual {
  height: 54px;
  margin: -22px 0 18px;
  position: relative;
}

.workflow-id {
  border: 1px solid rgba(34, 126, 255, 0.16);
  border-radius: 8px;
  max-width: 164px;
}

.workflow-id i {
  animation: idPulse 2.6s ease-in-out infinite;
  background: rgba(34, 126, 255, 0.12);
  border-radius: 999px;
  display: block;
  height: 7px;
  left: 18px;
  position: absolute;
  right: 18px;
}

.workflow-id i:nth-child(1) {
  top: 13px;
}

.workflow-id i:nth-child(2) {
  animation-delay: 0.18s;
  top: 25px;
}

.workflow-id i:nth-child(3) {
  animation-delay: 0.36s;
  top: 37px;
  width: 54%;
}

.workflow-study i {
  animation: studyPage 3s ease-in-out infinite;
  background: #ffffff;
  border: 1px solid rgba(34, 126, 255, 0.2);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(13, 13, 18, 0.08);
  display: block;
  height: 44px;
  left: 12px;
  position: absolute;
  top: 4px;
  width: 34px;
}

.workflow-study i:nth-child(2) {
  animation-delay: 0.18s;
  left: 42px;
}

.workflow-study i:nth-child(3) {
  animation-delay: 0.36s;
  left: 72px;
}

.workflow-mock {
  align-items: end;
  display: flex;
  gap: 8px;
}

.workflow-mock i {
  animation: scoreBars 2.8s ease-in-out infinite;
  background: linear-gradient(180deg, var(--primary), var(--cyan));
  border-radius: 999px 999px 4px 4px;
  display: block;
  height: 24px;
  width: 12px;
}

.workflow-mock i:nth-child(2) {
  animation-delay: 0.18s;
  height: 38px;
}

.workflow-mock i:nth-child(3) {
  animation-delay: 0.36s;
  height: 50px;
}

.website-section.subjects-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 126, 255, 0.2), transparent 26%),
    radial-gradient(circle at 18% 80%, rgba(93, 220, 246, 0.08), transparent 30%),
    linear-gradient(180deg, var(--rail-soft), var(--rail));
  color: #ffffff;
}

.website-section.subjects-section h2,
.website-section.subjects-section h3 {
  color: #ffffff;
}

.website-section.subjects-section p {
  color: rgba(255, 255, 255, 0.7);
}

.site-subject-strip {
  margin: 28px 0;
}

.site-subject-strip .subject-pill {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(207, 214, 220, 0.92));
  border-color: rgba(207, 214, 220, 0.72);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  color: var(--logo-navy);
  font-weight: 800;
  overflow: hidden;
  position: relative;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.site-subject-strip .subject-pill::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  content: "";
  height: 100%;
  left: -85%;
  position: absolute;
  top: 0;
  transform: skewX(-18deg);
  transition: left 0.58s ease;
  width: 52%;
}

.site-subject-strip .subject-pill.active,
.site-subject-strip .subject-pill:hover {
  background:
    radial-gradient(circle at top left, rgba(93, 220, 246, 0.48), transparent 42%),
    linear-gradient(135deg, var(--primary), var(--primary-strong));
  border-color: rgba(93, 220, 246, 0.74);
  box-shadow:
    0 16px 36px rgba(34, 126, 255, 0.28),
    0 0 0 1px rgba(93, 220, 246, 0.18);
  color: #ffffff;
  transform: translateY(-3px);
}

.site-subject-strip .subject-pill:hover::before,
.site-subject-strip .subject-pill.active::before {
  left: 132%;
}

.site-subject-strip .subject-pill.active {
  animation: subjectPulse 2.4s ease-in-out infinite;
}

.subject-showcase {
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(34, 126, 255, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 280px;
  min-height: 330px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  position: relative;
}

.subject-showcase::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  opacity: 0.45;
  position: absolute;
}

.subject-showcase > * {
  position: relative;
  z-index: 1;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.topic-list span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(207, 214, 220, 0.18);
  border-radius: 999px;
  color: #e9f2f8;
  font-size: 0.82rem;
  line-height: 1.2;
  padding: 8px 11px;
}

.topic-list[hidden] {
  display: none;
}

.instrument-stack {
  display: grid;
  gap: 18px;
}

.subject-map-animation {
  aspect-ratio: 1.48;
  border: 1px solid rgba(207, 214, 220, 0.18);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  display: block;
  object-fit: cover;
  overflow: hidden;
  width: 100%;
}

.subject-animation {
  aspect-ratio: 1.45;
  background:
    radial-gradient(circle at 50% 50%, rgba(93, 220, 246, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(207, 214, 220, 0.16);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.scene-orbit,
.scene-track,
.scene-pulse {
  display: block;
  position: absolute;
}

.scene-orbit {
  border: 1px solid rgba(93, 220, 246, 0.5);
  border-radius: 50%;
  inset: 20%;
}

.scene-track {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  height: 3px;
  left: 18%;
  top: 50%;
  transform-origin: center;
  width: 64%;
}

.scene-track.one {
  animation: subjectTrackOne 2.8s ease-in-out infinite;
}

.scene-track.two {
  animation: subjectTrackTwo 3.2s ease-in-out infinite;
}

.scene-pulse {
  animation: subjectPulseDot 2.1s ease-in-out infinite;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(93, 220, 246, 0.9);
  height: 12px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
}

.subject-meteorology .subject-animation {
  background:
    radial-gradient(circle at 28% 34%, rgba(255, 255, 255, 0.42), transparent 17%),
    radial-gradient(circle at 52% 40%, rgba(255, 255, 255, 0.34), transparent 20%),
    linear-gradient(135deg, rgba(93, 220, 246, 0.18), rgba(7, 24, 44, 0.8));
}

.subject-meteorology .scene-orbit {
  animation: cloudDrift 4.2s ease-in-out infinite;
  border: 0;
  border-radius: 999px;
  box-shadow:
    22px 8px 0 rgba(255, 255, 255, 0.28),
    52px 14px 0 rgba(255, 255, 255, 0.2);
  height: 28px;
  inset: 30% auto auto 18%;
  width: 68px;
}

.subject-instrument .scene-track.one {
  transform: rotate(-18deg);
}

.subject-instrument .scene-track.two {
  animation-name: subjectTrackTwo;
  transform: rotate(24deg);
}

.subject-radio .scene-orbit {
  animation: radarSpin 3.2s linear infinite;
  background: conic-gradient(rgba(93, 220, 246, 0.75), transparent 24%, transparent);
  border-color: rgba(93, 220, 246, 0.22);
}

.subject-radio .scene-track {
  animation: radioWave 2s ease-out infinite;
  background: transparent;
  border: 1px solid rgba(93, 220, 246, 0.55);
  border-radius: 50%;
  height: 34%;
  left: 33%;
  top: 33%;
  width: 34%;
}

.subject-a320 .subject-animation {
  background:
    linear-gradient(90deg, transparent 49%, rgba(93, 220, 246, 0.36) 50%, transparent 51%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(7, 24, 44, 0.88));
}

.subject-a320 .scene-track {
  animation: cockpitFlow 2.4s linear infinite;
  height: 4px;
}

.subject-regulations .scene-orbit {
  animation: stampPulse 2.4s ease-in-out infinite;
  border-radius: 8px;
  inset: 28% 22%;
}

.subject-regulations .scene-track {
  animation: ruleScan 2.2s ease-in-out infinite;
  left: 28%;
  width: 44%;
}

.subject-visual {
  aspect-ratio: 1;
  border: 1px solid rgba(93, 220, 246, 0.25);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  position: relative;
}

.subject-visual::before,
.subject-visual::after,
.visual-mark {
  content: "";
  display: block;
  position: absolute;
}

.subject-meteorology .subject-visual {
  background:
    linear-gradient(180deg, rgba(93, 220, 246, 0.22), rgba(7, 24, 44, 0.92)),
    #0b111b;
}

.subject-meteorology .subject-visual::before {
  animation: cloudDrift 4.2s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow:
    28px -8px 0 8px rgba(255, 255, 255, 0.58),
    58px 2px 0 2px rgba(255, 255, 255, 0.48);
  height: 28px;
  left: 20%;
  top: 28%;
  width: 92px;
}

.subject-meteorology .subject-visual::after {
  background:
    linear-gradient(rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.08)),
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.55) 47% 53%, transparent 54%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  bottom: 18%;
  height: 58px;
  right: 22%;
  width: 18px;
}

.subject-meteorology .visual-mark.one {
  background: #ffffff;
  border-radius: 50%;
  bottom: 21%;
  height: 12px;
  right: calc(22% + 3px);
  width: 12px;
}

.meteorology-pressure-figure {
  background:
    radial-gradient(circle at 72% 18%, rgba(93, 220, 246, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(7, 24, 44, 0.94), rgba(10, 32, 56, 0.78));
  border: 1px solid rgba(93, 220, 246, 0.26);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  display: none;
  overflow: hidden;
  padding: 10px;
}

.subject-meteorology .meteorology-pressure-figure {
  display: block;
}

.meteorology-pressure-figure svg {
  display: block;
  width: 100%;
}

.meteorology-pressure-figure circle {
  animation: pressurePulse 4.8s ease-in-out infinite;
  fill: none;
  stroke: rgba(207, 214, 220, 0.58);
  stroke-width: 2;
}

.meteorology-pressure-figure .wind-line,
.meteorology-pressure-figure .cross-flow {
  animation: windTrace 2.7s linear infinite;
  fill: none;
  marker-end: url("#met-arrow");
  stroke: var(--cyan);
  stroke-dasharray: 36 18;
  stroke-linecap: round;
  stroke-width: 3;
}

.meteorology-pressure-figure .cross-flow {
  opacity: 0.78;
  stroke-width: 2.6;
}

.meteorology-pressure-figure .delay-one {
  animation-delay: 0.25s;
}

.meteorology-pressure-figure .delay-two {
  animation-delay: 0.5s;
}

.meteorology-pressure-figure .delay-three {
  animation-delay: 0.75s;
}

.meteorology-pressure-figure marker path {
  fill: var(--cyan);
}

.pressure-letter {
  dominant-baseline: middle;
  font-family: "Sora", "Inter Tight", sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-anchor: middle;
}

.high-letter {
  fill: var(--cyan);
}

.low-letter {
  fill: #ff5b66;
}

.pressure-number {
  fill: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 800;
  text-anchor: middle;
}

.hemi-label {
  fill: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 800;
}

.subject-instrument .subject-visual {
  background:
    linear-gradient(90deg, transparent 48%, rgba(93, 220, 246, 0.28) 49% 51%, transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(7, 24, 44, 0.92));
}

.subject-instrument .subject-visual::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  height: 3px;
  left: 18%;
  top: 42%;
  transform: rotate(-18deg);
  width: 66%;
}

.subject-instrument .subject-visual::after {
  animation: subjectTrackTwo 3.2s ease-in-out infinite;
  border: 1px solid rgba(93, 220, 246, 0.58);
  border-radius: 50%;
  height: 52%;
  inset: 24%;
}

.subject-instrument .visual-mark.one,
.subject-instrument .visual-mark.two {
  background: rgba(255, 255, 255, 0.72);
  height: 34%;
  top: 56%;
  width: 3px;
}

.subject-instrument .visual-mark.one {
  left: 40%;
  transform: rotate(18deg);
}

.subject-instrument .visual-mark.two {
  right: 40%;
  transform: rotate(-18deg);
}

.subject-general .subject-visual {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(93, 220, 246, 0.18), rgba(7, 24, 44, 0.94));
  background-size: 28px 28px, 28px 28px, auto;
}

.subject-general .subject-visual::before {
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  height: 46%;
  left: 27%;
  top: 17%;
  width: 46%;
}

.subject-general .subject-visual::after {
  background: linear-gradient(135deg, #ffffff 0 48%, rgba(93, 220, 246, 0.88) 49% 100%);
  clip-path: polygon(50% 0, 62% 45%, 100% 50%, 62% 58%, 50% 100%, 38% 58%, 0 50%, 38% 45%);
  height: 36%;
  left: 32%;
  top: 22%;
  width: 36%;
}

.subject-general .visual-mark.one {
  background: rgba(255, 255, 255, 0.78);
  bottom: 20%;
  height: 3px;
  left: 18%;
  transform: rotate(-12deg);
  width: 68%;
}

.subject-radio .subject-visual {
  background:
    conic-gradient(from 0deg, rgba(93, 220, 246, 0.8), transparent 26%, transparent),
    radial-gradient(circle, transparent 0 24%, rgba(93, 220, 246, 0.16) 25% 26%, transparent 27% 44%, rgba(93, 220, 246, 0.14) 45% 46%, transparent 47%),
    #0b111b;
  border-radius: 50%;
}

.subject-radio .subject-visual::after {
  animation: radarPulse 2.2s ease-in-out infinite;
  border: 1px solid rgba(93, 220, 246, 0.55);
  border-radius: 50%;
  inset: 28%;
}

.subject-a320 .subject-visual {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(7, 24, 44, 0.95));
  background-size: 33.33% 100%, auto;
}

.subject-a320 .subject-visual::before {
  background:
    radial-gradient(circle, rgba(93, 220, 246, 0.85) 0 8%, transparent 9%),
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 6%, transparent 7%),
    linear-gradient(90deg, transparent 46%, rgba(93, 220, 246, 0.6) 47% 53%, transparent 54%);
  border: 1px solid rgba(93, 220, 246, 0.32);
  border-radius: 50%;
  height: 46%;
  left: 27%;
  top: 14%;
  width: 46%;
}

.subject-a320 .visual-mark.one,
.subject-a320 .visual-mark.two,
.subject-a320 .visual-mark.three {
  background: rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  bottom: 20%;
  height: 7px;
  width: 24%;
}

.subject-a320 .visual-mark.one {
  left: 12%;
}

.subject-a320 .visual-mark.two {
  left: 38%;
}

.subject-a320 .visual-mark.three {
  right: 12%;
}

.subject-regulations .subject-visual {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(7, 24, 44, 0.94));
}

.subject-regulations .subject-visual::before {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  box-shadow:
    0 18px 0 rgba(255, 255, 255, 0.72),
    0 36px 0 rgba(255, 255, 255, 0.54);
  height: 5px;
  left: 22%;
  top: 28%;
  width: 56%;
}

.subject-regulations .subject-visual::after {
  animation: stampPulse 2.4s ease-in-out infinite;
  border: 2px solid rgba(93, 220, 246, 0.72);
  border-radius: 8px;
  bottom: 18%;
  height: 28%;
  left: 28%;
  transform: rotate(-8deg);
  width: 44%;
}

.split-section {
  align-items: center;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
}

.split-section > div:first-child p {
  font-size: 1.05rem;
  max-width: 620px;
}

.ops-panel {
  background: linear-gradient(180deg, var(--logo-navy-soft), var(--logo-navy));
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(5, 7, 13, 0.22);
  color: #ffffff;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.ops-panel div {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  font-weight: 700;
  gap: 12px;
  min-height: 58px;
  padding: 12px 14px;
}

.ops-panel span {
  animation: statusBlink 1.8s ease-in-out infinite;
  background: #31d16b;
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(49, 209, 107, 0.14);
  flex: 0 0 auto;
  height: 10px;
  width: 10px;
}

.contact-section {
  display: grid;
  gap: 34px;
}

.contact-section > div:first-child p {
  color: rgba(13, 13, 18, 0.62);
  font-size: 1.05rem;
  max-width: 650px;
}

.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-card {
  background: #ffffff;
  border: 1px solid rgba(7, 8, 5, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(13, 13, 18, 0.08);
  color: var(--rail);
  min-height: 190px;
  padding: 24px;
}

.contact-card span {
  color: var(--primary);
  display: block;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  font-family: "Sora", "Inter Tight", sans-serif;
  font-size: 1.22rem;
  line-height: 1.25;
}

.contact-card p {
  color: rgba(13, 13, 18, 0.62);
  margin: 14px 0 0;
}

.contact-card a {
  color: var(--primary);
  display: inline-block;
  font-weight: 800;
  margin-top: 18px;
  text-decoration: none;
}

.contact-page-body {
  background:
    radial-gradient(circle at 18% 20%, rgba(34, 126, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #f4f7fb 0%, #ffffff 48%, #eef4fa 100%);
  min-height: 100vh;
}

.contact-page {
  margin: 0 auto;
  max-width: 1180px;
  padding: 150px 20px 70px;
  position: relative;
  z-index: 2;
}

.contact-hero {
  max-width: 760px;
}

.contact-hero h1 {
  color: var(--logo-navy);
  font-family: "Sora", "Inter Tight", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 12px 0 18px;
}

.contact-hero p {
  color: rgba(13, 13, 18, 0.68);
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 0;
}

.contact-method-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.contact-method-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(7, 8, 5, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(7, 24, 44, 0.12);
  color: var(--rail);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 26px;
}

.contact-method-card span {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-method-card strong {
  color: var(--logo-navy);
  display: block;
  font-family: "Sora", "Inter Tight", sans-serif;
  font-size: 1.45rem;
  line-height: 1.2;
  margin-top: 16px;
  overflow-wrap: anywhere;
}

.contact-method-card p {
  color: rgba(13, 13, 18, 0.62);
  line-height: 1.6;
  margin: 14px 0 22px;
}

.contact-method-card .button {
  margin-top: auto;
  width: fit-content;
}

.whatsapp-card {
  background:
    linear-gradient(135deg, rgba(37, 211, 102, 0.13), rgba(255, 255, 255, 0.94) 52%),
    #ffffff;
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(-1.6%, -1%, 0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vectorPlaneDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--plane-angle, -4deg));
  }

  50% {
    transform: translate3d(-18px, 10px, 0) rotate(var(--plane-angle-active, 3deg));
  }
}

@keyframes runwayVectorGlow {
  0%,
  100% {
    opacity: 0.12;
    filter: drop-shadow(0 0 0 rgba(93, 220, 246, 0));
  }

  50% {
    opacity: 0.26;
    filter: drop-shadow(0 0 16px rgba(93, 220, 246, 0.42));
  }
}

@keyframes routeDot {
  0%,
  100% {
    transform: translateY(0) scale(0.92);
  }

  50% {
    transform: translateY(-5px) scale(1.08);
  }
}

@keyframes studentPlaneCruise {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-7deg);
  }

  50% {
    transform: translate3d(22px, -12px, 0) rotate(2deg);
  }
}

@keyframes studentRadarFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes studentRadarSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes studentRunwayPulse {
  0%,
  100% {
    opacity: 0.1;
  }

  50% {
    opacity: 0.2;
  }
}

@keyframes studentOrbitSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes modeIconPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-2px) scale(1.04);
  }
}

@keyframes mockSweep {
  to {
    left: 102%;
  }
}

@keyframes clockTick {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.84);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes activeDotOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes workflowSweep {
  0%,
  100% {
    opacity: 0.18;
    transform: scaleX(0.1);
  }

  45%,
  60% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes cardScan {
  0%,
  35% {
    transform: translateX(-120%);
  }

  72%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes idPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleX(0.72);
    transform-origin: left;
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes studyPage {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-5px) rotate(-2deg);
  }
}

@keyframes scoreBars {
  0%,
  100% {
    filter: saturate(0.85);
    transform: scaleY(0.72);
    transform-origin: bottom;
  }

  50% {
    filter: saturate(1.25);
    transform: scaleY(1);
  }
}

@keyframes floatGlass {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes radarPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1.24);
  }
}

@keyframes statusBlink {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

@keyframes subjectPulse {
  0%,
  100% {
    box-shadow:
      0 16px 36px rgba(34, 126, 255, 0.22),
      0 0 0 1px rgba(93, 220, 246, 0.16);
  }

  50% {
    box-shadow:
      0 18px 42px rgba(34, 126, 255, 0.34),
      0 0 0 5px rgba(93, 220, 246, 0.1);
  }
}

@keyframes subjectTrackOne {
  0%,
  100% {
    opacity: 0.45;
    transform: rotate(-10deg) translateX(-8px);
  }

  50% {
    opacity: 1;
    transform: rotate(-10deg) translateX(10px);
  }
}

@keyframes subjectTrackTwo {
  0%,
  100% {
    opacity: 0.35;
    transform: rotate(22deg) translateX(8px);
  }

  50% {
    opacity: 0.95;
    transform: rotate(22deg) translateX(-10px);
  }
}

@keyframes subjectPulseDot {
  0%,
  100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.8);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

@keyframes cloudDrift {
  0%,
  100% {
    transform: translateX(-8px);
  }

  50% {
    transform: translateX(18px);
  }
}

@keyframes windTrace {
  to {
    stroke-dashoffset: -108;
  }
}

@keyframes pressurePulse {
  0%,
  100% {
    opacity: 0.62;
  }

  50% {
    opacity: 1;
  }
}

@keyframes radarSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes radioWave {
  0% {
    opacity: 0.85;
    transform: scale(0.45);
  }

  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

@keyframes cockpitFlow {
  0% {
    opacity: 0;
    transform: translateY(-34px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(34px);
  }
}

@keyframes stampPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes ruleScan {
  0%,
  100% {
    transform: translateY(-26px);
  }

  50% {
    transform: translateY(26px);
  }
}

@keyframes runwayPulse {
  0%,
  100% {
    filter: brightness(0.45);
    opacity: 0.14;
    transform: translateX(-50%) scale(0.78);
  }

  8% {
    filter: brightness(2.25);
    opacity: 1;
    transform: translateX(-50%) scale(1.34);
  }

  18% {
    filter: brightness(1.05);
    opacity: 0.38;
    transform: translateX(-50%) scale(0.96);
  }

  30% {
    filter: brightness(0.45);
    opacity: 0.14;
    transform: translateX(-50%) scale(0.78);
  }
}

.aviation-panel {
  background:
    radial-gradient(circle at top right, rgba(34, 126, 255, 0.08), transparent 24%),
    #ffffff;
}

.flight-status-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
}

.flight-status-grid article {
  background: var(--rail);
  border-radius: 16px;
  color: #ffffff;
  min-height: 150px;
  padding: 20px;
}

.flight-status-grid span {
  color: var(--cyan);
  display: block;
  font-family: "Sora", "Inter Tight", sans-serif;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.flight-status-grid strong {
  display: block;
  font-family: "Sora", "Inter Tight", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.flight-status-grid p {
  color: rgba(255, 255, 255, 0.64);
}

.aviation-title {
  margin-top: 8px;
}

.aviation-preview {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 180px;
}

.instrument-card {
  background:
    radial-gradient(circle, rgba(93, 220, 246, 0.22), transparent 56%),
    linear-gradient(180deg, #191d2a, #0d0d12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: #ffffff;
  display: grid;
  min-height: 150px;
  padding: 18px;
  place-items: center;
  text-align: center;
}

.instrument-card span,
.instrument-card small {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.instrument-card strong {
  color: var(--cyan);
  font-family: "Sora", "Inter Tight", sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
}

.aviation-card {
  border-left: 4px solid var(--primary);
}

.section-title {
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 22px;
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: 0;
  margin-top: 0;
}

h1 {
  font-family: "Sora", "Inter Tight", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  margin-bottom: 10px;
  font-weight: 500;
}

h2 {
  font-family: "Sora", "Inter Tight", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

h3 {
  font-family: "Sora", "Inter Tight", sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.button-row,
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
button {
  align-items: center;
  background: var(--primary);
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(34, 126, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
  text-decoration: none;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.button:hover,
button:hover {
  background: var(--primary-strong);
  box-shadow: 0 18px 40px rgba(34, 126, 255, 0.26);
  transform: translateY(-1px);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button-secondary {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: none;
  color: var(--text);
}

.button-secondary:hover {
  background: #dbe2e6;
  color: var(--text);
}

.button-danger {
  background: var(--danger);
  box-shadow: 0 12px 24px rgba(251, 44, 54, 0.16);
}

.button-danger:hover {
  background: #9f3528;
}

form {
  max-width: 540px;
}

label {
  color: var(--text);
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 16px;
}

input,
textarea,
select {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.98rem;
  outline: none;
  padding: 12px 13px;
  transition: border 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(34, 126, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(34, 126, 255, 0.12);
}

input[type="radio"] {
  accent-color: var(--primary);
  margin-right: 8px;
  width: auto;
}

input[type="file"] {
  background: var(--surface-muted);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.feature-grid,
.stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.admin-grid,
.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid {
  margin-top: 16px;
}

.feature-card,
.stat-card,
.question-block,
.question-item,
.admin-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.feature-card {
  background: #f8f9fa;
  min-height: 136px;
}

.feature-card h3,
.stat-card h3 {
  margin-bottom: 8px;
}

.feature-card p,
.stat-card p {
  margin-bottom: 0;
}

.admin-panel {
  margin-top: 16px;
}

.question-block {
  margin-top: 14px;
}

.question-block h3 {
  margin-bottom: 14px;
}

.question-block label {
  align-items: center;
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  font-weight: 600;
  margin: 8px 0;
  min-height: 44px;
  padding: 10px 12px;
}

.student-question {
  background: #ffffff;
  border-color: rgba(7, 8, 5, 0.12);
  color: var(--rail);
}

.student-question h3 {
  color: var(--rail);
}

.question-media-badge {
  background: rgba(0, 197, 255, 0.14);
  border: 1px solid rgba(0, 197, 255, 0.32);
  border-radius: 999px;
  color: #075985;
  display: inline-flex;
  font-size: 0.72rem;
  margin-left: 10px;
  padding: 3px 8px;
  vertical-align: middle;
}

.question-media {
  background: #f8fafc;
  border: 1px solid rgba(7, 8, 5, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 12px;
}

.question-media img {
  border-radius: 6px;
  display: block;
  height: auto;
  max-height: 520px;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.student-question label {
  background: #f8f9fa;
  border-color: rgba(7, 8, 5, 0.12);
  color: rgba(13, 13, 18, 0.82);
}

.student-question label.correct-option {
  background: rgba(49, 209, 107, 0.14);
  border-color: rgba(49, 209, 107, 0.64);
  color: #0f5f2d;
}

.student-question label.wrong-option {
  background: rgba(251, 44, 54, 0.12);
  border-color: rgba(251, 44, 54, 0.58);
  color: #9f1d26;
}

.instant-answer-feedback {
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 800;
  margin: 12px 0 0;
  padding: 10px 12px;
}

.instant-answer-feedback.correct {
  background: rgba(49, 209, 107, 0.14);
  color: #0f5f2d;
}

.instant-answer-feedback.wrong {
  background: rgba(251, 44, 54, 0.12);
  color: #9f1d26;
}

.student-question.answered-correct {
  border-color: rgba(49, 209, 107, 0.58);
}

.student-question.answered-wrong {
  border-color: rgba(251, 44, 54, 0.52);
}

.student-question[data-locked="true"] label {
  cursor: not-allowed;
}

.chapter-bank-builder {
  background: #ffffff;
  border: 1px solid rgba(7, 8, 5, 0.12);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(7, 8, 5, 0.1);
  color: var(--rail);
  padding: 24px;
}

.chapter-bank-head {
  align-items: start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.chapter-bank-head h3 {
  color: var(--rail);
  font-size: 1.45rem;
  margin: 4px 0 8px;
}

.chapter-bank-head p:not(.eyebrow) {
  color: rgba(13, 13, 18, 0.66);
  margin: 0;
  max-width: 720px;
}

.chapter-bank-total {
  background: var(--rail);
  border-radius: 8px;
  color: #ffffff;
  flex: 0 0 150px;
  padding: 15px;
  text-align: center;
}

.chapter-bank-total strong,
.chapter-bank-total span {
  display: block;
}

.chapter-bank-total strong {
  color: var(--cyan);
  font-size: 1.7rem;
}

.chapter-bank-total span {
  font-size: 0.76rem;
  margin-top: 2px;
}

.chapter-bank-toolbar {
  align-items: center;
  border-bottom: 1px solid rgba(7, 8, 5, 0.1);
  display: flex;
  gap: 10px;
  margin: 22px 0 16px;
  padding-bottom: 12px;
}

.chapter-bank-toolbar > span {
  color: rgba(13, 13, 18, 0.62);
  margin-right: auto;
}

.chapter-bank-tool {
  background: transparent;
  border: 0;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 7px 5px;
}

.chapter-bank-tool:hover {
  color: var(--rail);
}

.chapter-bank-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 520px;
  overflow: auto;
  padding-right: 5px;
}

.chapter-bank-option {
  align-items: center;
  background: #f7f9fb;
  border: 1px solid rgba(7, 8, 5, 0.11);
  border-radius: 7px;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 22px minmax(0, 1fr);
  margin: 0;
  min-height: 68px;
  padding: 12px 14px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.chapter-bank-option:hover {
  border-color: rgba(34, 126, 255, 0.42);
  transform: translateY(-1px);
}

.chapter-bank-option.selected {
  background: rgba(34, 126, 255, 0.08);
  border-color: rgba(34, 126, 255, 0.62);
}

.chapter-bank-option input {
  accent-color: var(--primary);
  height: 18px;
  margin: 0;
  width: 18px;
}

.chapter-bank-option strong,
.chapter-bank-option small {
  display: block;
}

.chapter-bank-option strong {
  color: var(--rail);
  font-size: 0.9rem;
  line-height: 1.35;
}

.chapter-bank-option small {
  color: rgba(13, 13, 18, 0.56);
  margin-top: 4px;
}

.chapter-bank-controls {
  background: rgba(34, 126, 255, 0.055);
  border: 1px solid rgba(34, 126, 255, 0.13);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1.4fr repeat(2, minmax(120px, 0.45fr));
  margin-top: 16px;
  padding: 14px;
}

.chapter-bank-controls label {
  color: rgba(13, 13, 18, 0.68);
  display: grid;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 7px;
  margin: 0;
  text-transform: uppercase;
}

.chapter-bank-controls select,
.chapter-bank-controls input {
  background: #ffffff;
  border: 1px solid rgba(7, 8, 5, 0.14);
  border-radius: 7px;
  color: var(--rail);
  font: inherit;
  font-size: 0.92rem;
  min-height: 42px;
  padding: 9px 10px;
}

.chapter-bank-start {
  align-items: center;
  border-top: 1px solid rgba(7, 8, 5, 0.1);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
}

.chapter-bank-start p {
  color: rgba(13, 13, 18, 0.62);
  margin: 0;
}

.chapter-bank-session-head {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(34, 126, 255, 0.24);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  color: var(--rail);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 18px 20px;
}

.chapter-bank-session-head span,
.chapter-bank-session-head strong,
.chapter-bank-session-head small {
  display: block;
}

.chapter-bank-session-head span {
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.chapter-bank-session-head strong {
  font-size: 1rem;
  margin: 3px 0 5px;
}

.chapter-bank-session-head small {
  color: rgba(13, 13, 18, 0.58);
  line-height: 1.5;
}

.mock-exam-shell {
  background: #ffffff;
  border: 1px solid rgba(7, 8, 5, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(13, 13, 18, 0.08);
  margin-top: 16px;
  overflow: hidden;
  padding: 16px;
  position: relative;
}

.mock-exam-shell::before {
  animation: mockSweep 5.5s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(34, 126, 255, 0.16), transparent);
  content: "";
  height: 100%;
  left: -42%;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 42%;
}

.mock-exam-shell > * {
  position: relative;
  z-index: 2;
}

.mock-exam-top {
  align-items: center;
  background:
    radial-gradient(circle at 98% 18%, rgba(93, 220, 246, 0.2), transparent 24%),
    linear-gradient(135deg, rgba(7, 24, 44, 0.06), rgba(34, 126, 255, 0.05));
  border: 1px solid rgba(7, 8, 5, 0.08);
  border-radius: 8px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 14px;
}

.mock-exam-top strong {
  color: var(--rail);
  display: block;
  font-size: 1.05rem;
}

.mock-exam-top span,
.mock-clock-grid span {
  color: rgba(13, 13, 18, 0.58);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
}

.mock-clock-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(104px, 1fr));
}

.mock-clock-grid div {
  background: rgba(34, 126, 255, 0.06);
  border: 1px solid rgba(34, 126, 255, 0.12);
  border-radius: 8px;
  padding: 9px 12px;
  position: relative;
}

.mock-clock-grid div::after {
  animation: clockTick 1.6s ease-in-out infinite;
  background: var(--primary);
  border-radius: 999px;
  content: "";
  height: 6px;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 6px;
}

.mock-clock-grid strong {
  color: var(--rail);
  font-variant-numeric: tabular-nums;
}

.mock-clock-grid strong.urgent {
  color: #b91c1c;
}

.mock-clock-grid strong.paused {
  color: var(--primary);
}

.mock-pause-button {
  align-self: stretch;
  min-width: 132px;
}

.mock-palette {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
  margin: 16px 0;
}

.mock-question-dot {
  align-items: center;
  aspect-ratio: 1;
  background: #ffffff;
  border: 1px solid rgba(7, 8, 5, 0.16);
  border-radius: 8px;
  color: rgba(13, 13, 18, 0.72);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-width: 0;
  position: relative;
}

.mock-question-dot.active::after {
  animation: activeDotOrbit 1.8s linear infinite;
  border: 1px solid rgba(34, 126, 255, 0.48);
  border-radius: 50%;
  content: "";
  inset: -5px;
  position: absolute;
}

.mock-question-dot.active {
  border-color: rgba(0, 197, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(0, 197, 255, 0.14);
  color: var(--rail);
}

.mock-question-dot.answered {
  background: rgba(0, 197, 255, 0.12);
  border-color: rgba(0, 197, 255, 0.42);
}

.mock-question-dot.correct {
  background: rgba(49, 209, 107, 0.15);
  border-color: rgba(49, 209, 107, 0.65);
  color: #0f5f2d;
}

.mock-question-dot.wrong {
  background: rgba(251, 44, 54, 0.12);
  border-color: rgba(251, 44, 54, 0.58);
  color: #9f1d26;
}

.mock-nav-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 120px 1fr 120px;
  margin-top: 14px;
}

.mock-nav-row span {
  color: rgba(13, 13, 18, 0.68);
  font-weight: 800;
  text-align: center;
}

.mock-paused-panel {
  background:
    radial-gradient(circle at 92% 18%, rgba(34, 126, 255, 0.14), transparent 24%),
    #f8f9fa;
  border: 1px solid rgba(34, 126, 255, 0.18);
  border-radius: 8px;
  color: var(--rail);
  margin: 14px 0;
  padding: 24px;
  text-align: center;
}

.mock-paused-panel h3 {
  color: var(--rail);
  margin: 0 0 8px;
}

.mock-paused-panel p {
  margin: 0 auto;
  max-width: 520px;
}

@media (max-width: 640px) {
  .mock-exam-top {
    align-items: stretch;
    display: grid;
  }

  .mock-clock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-palette {
    grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
  }

  .mock-nav-row {
    grid-template-columns: 1fr;
  }

  .mock-lobby-head {
    display: grid;
  }

  .chapter-bank-head,
  .chapter-bank-start,
  .chapter-bank-session-head {
    align-items: stretch;
    display: grid;
  }

  .chapter-bank-total {
    width: 100%;
  }

  .chapter-bank-grid {
    grid-template-columns: 1fr;
  }

  .chapter-bank-controls {
    grid-template-columns: 1fr;
  }

  .chapter-bank-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .chapter-bank-toolbar > span {
    flex-basis: 100%;
  }

  .mock-start-row {
    justify-content: stretch;
  }
}

.incomplete-dialog {
  background: transparent;
  border: 0;
  max-width: min(560px, calc(100vw - 32px));
  padding: 0;
}

.incomplete-dialog::backdrop {
  background: rgba(3, 10, 20, 0.72);
  backdrop-filter: blur(7px);
}

.incomplete-card {
  background: #ffffff;
  border: 1px solid rgba(0, 197, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  color: var(--rail);
  padding: 24px;
}

.incomplete-card h3 {
  color: var(--rail);
  font-size: 1.4rem;
  margin: 6px 0 10px;
}

.incomplete-card p {
  color: rgba(13, 13, 18, 0.72);
  margin: 0 0 14px;
}

.unanswered-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  max-height: 170px;
  overflow: auto;
}

.unanswered-list span {
  background: rgba(251, 44, 54, 0.11);
  border: 1px solid rgba(251, 44, 54, 0.24);
  border-radius: 999px;
  color: #9f1d26;
  font-weight: 800;
  padding: 6px 10px;
}

.performance-panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(207, 214, 220, 0.13);
  border-radius: 8px;
  margin-top: 22px;
  padding: 16px;
}

.performance-head {
  align-items: end;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.performance-panel h3 {
  color: #ffffff;
  margin-bottom: 0;
}

.performance-head label {
  color: rgba(255, 255, 255, 0.68);
  display: grid;
  font-size: 0.82rem;
  gap: 6px;
  margin: 0;
  min-width: 220px;
}

.performance-head select {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(207, 214, 220, 0.4);
  border-radius: 8px;
  color: var(--rail);
  padding: 10px 12px;
}

.performance-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}

.performance-summary div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(207, 214, 220, 0.12);
  border-radius: 8px;
  padding: 10px;
}

.performance-summary span {
  color: rgba(255, 255, 255, 0.58);
  display: block;
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.performance-summary strong {
  color: #ffffff;
  font-size: 1.1rem;
}

.attempt-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(207, 214, 220, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(140px, 1.2fr) minmax(140px, 1fr) 84px 62px minmax(120px, 0.9fr);
  margin-top: 8px;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

.attempt-row strong {
  color: #ffffff;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attempt-row span {
  color: rgba(255, 255, 255, 0.76);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attempt-row b,
.attempt-row em {
  color: var(--cyan);
  font-weight: 800;
  font-style: normal;
}

.attempt-row small {
  color: rgba(255, 255, 255, 0.62);
  text-align: right;
}

.attempt-row:hover:not(:disabled) {
  border-color: rgba(0, 197, 255, 0.45);
  transform: translateY(-1px);
}

.attempt-row:disabled {
  cursor: default;
  opacity: 0.72;
}

.profile-data-panel,
.profile-editor-panel {
  background:
    radial-gradient(circle at 96% 10%, rgba(93, 220, 246, 0.16), transparent 24%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(207, 214, 220, 0.13);
  border-radius: 8px;
  margin-top: 18px;
  overflow: hidden;
  padding: 16px;
}

.profile-editor-panel {
  background:
    radial-gradient(circle at 92% 14%, rgba(34, 126, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  margin-top: 22px;
}

.profile-data-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.profile-data-head h3 {
  color: #ffffff;
  margin: 0;
}

.profile-data-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
  margin: 4px 0 0;
}

.profile-data-content {
  border-top: 1px solid rgba(207, 214, 220, 0.12);
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
}

.profile-editor-content {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.profile-data-content[hidden] {
  display: none;
}

.profile-data-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-editor-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-page-grid {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
}

.profile-help-panel {
  background:
    radial-gradient(circle at 90% 12%, rgba(93, 220, 246, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(207, 214, 220, 0.13);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  padding: 18px;
}

.profile-help-panel h3 {
  color: #ffffff;
  margin: 0 0 8px;
}

.profile-help-panel p,
.profile-help-list div {
  color: rgba(255, 255, 255, 0.68);
}

.profile-help-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.profile-help-list div {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(207, 214, 220, 0.11);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  padding: 10px;
}

.profile-help-list span {
  background: var(--cyan);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(93, 220, 246, 0.1);
  height: 8px;
  width: 8px;
}

.profile-data-grid article,
.profile-data-columns section,
.profile-edit-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(207, 214, 220, 0.12);
  border-radius: 8px;
  padding: 12px;
}

.profile-data-grid span {
  color: rgba(255, 255, 255, 0.58);
  display: block;
  font-size: 0.78rem;
  margin-bottom: 5px;
}

.profile-data-grid strong,
.profile-data-columns h4,
.profile-data-row strong {
  color: #ffffff;
}

.profile-data-grid strong {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.profile-data-columns {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-full-width {
  grid-column: 1 / -1;
}

.profile-data-columns h4 {
  margin: 0 0 10px;
}

.profile-data-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(207, 214, 220, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(140px, 0.8fr) minmax(160px, 1fr) minmax(120px, 0.7fr);
  margin-top: 8px;
  padding: 10px;
}

.profile-attempt-row {
  grid-template-columns: minmax(140px, 0.9fr) minmax(160px, 1fr) minmax(100px, 0.5fr) minmax(130px, 0.7fr);
}

.profile-data-row span,
.profile-data-row small {
  color: rgba(255, 255, 255, 0.66);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-data-row b {
  color: var(--cyan);
}

.profile-edit-form {
  max-width: none;
}

.profile-edit-head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.profile-edit-head h4 {
  color: #ffffff;
  margin: 0 0 4px;
}

.profile-edit-head p {
  color: rgba(255, 255, 255, 0.64);
  margin: 0;
}

.profile-edit-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-edit-form label {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.profile-edit-form input {
  background: rgba(255, 255, 255, 0.96);
  margin-top: 7px;
  width: 100%;
}

.profile-edit-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 12px;
}

.profile-view-actions {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(207, 214, 220, 0.12);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

#profile-edit-message {
  color: var(--cyan);
  font-weight: 800;
}

@media (max-width: 760px) {
  .admin-user-log-summary,
  .contact-method-grid {
    grid-template-columns: 1fr;
  }

  .selected-user-log-head {
    align-items: stretch;
    flex-direction: column;
  }

  .attempt-row {
    grid-template-columns: 1fr 68px;
  }

  .performance-head {
    align-items: stretch;
    display: grid;
  }

  .performance-head label {
    min-width: 0;
  }

  .performance-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .attempt-row span,
  .attempt-row small {
    grid-column: 1 / -1;
    text-align: left;
  }

  .profile-data-head {
    align-items: stretch;
    display: grid;
  }

  .profile-data-grid,
  .profile-data-columns,
  .profile-edit-grid,
  .profile-data-row,
  .profile-attempt-row {
    grid-template-columns: 1fr;
  }

  .profile-edit-actions,
  .profile-view-actions {
    align-items: stretch;
    display: grid;
  }

  .profile-full-width {
    grid-column: auto;
  }

  .profile-data-row span,
  .profile-data-row small {
    white-space: normal;
  }
}

.question-item {
  margin-top: 12px;
}

.question-item p {
  margin: 6px 0;
}

.import-report {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.import-file {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.import-file h3 {
  margin-bottom: 8px;
}

.import-file ul {
  color: var(--muted);
  line-height: 1.7;
  margin: 8px 0 0;
  padding-left: 22px;
}

.admin-body {
  background:
    radial-gradient(circle at top right, rgba(34, 126, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #f8f9fa 0%, var(--background) 100%);
}

.admin-body .app-shell {
  background: transparent;
}

.admin-shell {
  min-height: 100vh;
}

.admin-body .sidebar {
  background:
    radial-gradient(circle at top left, rgba(34, 126, 255, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(141, 89, 255, 0.14), transparent 28%),
    linear-gradient(180deg, var(--rail-soft), var(--rail));
}

.admin-body .brand-mark {
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(34, 126, 255, 0.18);
  color: var(--rail);
}

.admin-body .main {
  background:
    radial-gradient(circle at 88% 8%, rgba(34, 126, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f1f4f6, #ffffff);
}

.admin-body .panel {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.admin-body .section-title {
  background:
    radial-gradient(circle at top right, rgba(34, 126, 255, 0.22), transparent 36%),
    linear-gradient(135deg, var(--rail-soft), var(--rail));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(13, 13, 18, 0.16);
  color: #ffffff;
  padding: clamp(20px, 3vw, 32px);
}

.admin-body .section-title h1 {
  color: #ffffff;
}

.admin-body .section-title p {
  color: rgba(255, 255, 255, 0.68);
}

.admin-body .stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-body .stat-card,
.admin-body .admin-panel,
.admin-body .question-item {
  background: #ffffff;
  border: 1px solid rgba(7, 8, 5, 0.08);
  box-shadow: 0 18px 60px rgba(13, 13, 18, 0.08);
}

.admin-body .stat-card h3,
.admin-body .admin-panel h2,
.admin-body .question-item h3 {
  color: var(--rail);
}

.admin-body .stat-card p {
  color: var(--primary);
  font-weight: 800;
}

.admin-workbench {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 230px minmax(0, 1fr);
  margin-top: 22px;
}

.admin-tabs {
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(34, 126, 255, 0.18), transparent 34%),
    linear-gradient(180deg, var(--rail-soft), var(--rail));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(13, 13, 18, 0.16);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 8px;
  position: sticky;
  top: 18px;
}

.admin-tab {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.64);
  display: flex;
  justify-content: flex-start;
  min-height: 42px;
  width: 100%;
}

.admin-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #ffffff;
}

.admin-tab.active {
  background: #ffffff;
  border-color: rgba(93, 220, 246, 0.4);
  box-shadow: 0 16px 36px rgba(34, 126, 255, 0.18);
  color: var(--rail);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

.admin-tab-panel > .admin-panel:first-child,
.admin-tab-panel > .admin-grid:first-child {
  margin-top: 0;
}

.user-authority-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
}

.user-directory {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.user-row {
  align-items: start;
  background: #f8f9fa;
  border: 1px solid rgba(7, 8, 5, 0.08);
  box-shadow: none;
  color: var(--rail);
  display: grid;
  gap: 3px;
  justify-items: start;
  min-height: auto;
  padding: 12px;
  text-align: left;
}

.user-row:hover,
.user-row.active {
  background: rgba(34, 126, 255, 0.08);
  border-color: rgba(34, 126, 255, 0.26);
  box-shadow: none;
  color: var(--rail);
  transform: none;
}

.user-row strong {
  color: var(--rail);
}

.user-row span,
.user-row small {
  color: rgba(13, 13, 18, 0.58);
}

.selected-user-head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.status-chip {
  background: rgba(13, 13, 18, 0.08);
  border-radius: 999px;
  color: rgba(13, 13, 18, 0.62);
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 10px;
}

.status-chip.active {
  background: rgba(34, 126, 255, 0.1);
  color: var(--primary);
}

.status-chip.inactive {
  background: rgba(251, 44, 54, 0.1);
  color: var(--danger);
}

.selected-access-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.selected-access-item {
  align-items: center;
  background: #f8f9fa;
  border: 1px solid rgba(7, 8, 5, 0.08);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

.selected-access-item p {
  margin: 0;
}

.selected-user-edit {
  border-top: 1px solid rgba(7, 8, 5, 0.08);
  margin-top: 18px;
  padding-top: 16px;
}

.selected-user-edit summary {
  color: var(--primary);
  cursor: pointer;
  font-weight: 800;
  margin-bottom: 12px;
}

.user-directory-panel input[type="search"] {
  margin-top: 8px;
}

.selected-user-log {
  border-top: 1px solid rgba(7, 8, 5, 0.08);
  margin-top: 18px;
  padding-top: 16px;
}

.selected-user-log-head {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.selected-user-log-head h3,
.selected-user-log-head p {
  margin: 0;
}

.selected-user-log-head p {
  color: rgba(13, 13, 18, 0.58);
  font-size: 0.92rem;
  margin-top: 4px;
}

.admin-user-log-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.admin-user-log-summary article,
.admin-user-log-block {
  background: #f8f9fa;
  border: 1px solid rgba(7, 8, 5, 0.08);
  border-radius: 8px;
}

.admin-user-log-summary article {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.admin-user-log-summary span,
.admin-log-row span,
.admin-log-row small {
  color: rgba(13, 13, 18, 0.58);
}

.admin-user-log-summary strong {
  color: var(--rail);
  font-size: 1.25rem;
}

.admin-user-log-block {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
}

.admin-user-log-block h4,
.admin-user-log-block p {
  margin: 0;
}

.admin-log-row {
  background: #ffffff;
  border: 1px solid rgba(7, 8, 5, 0.07);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.admin-log-row strong {
  color: var(--rail);
}

.admin-attempt-log-row b {
  color: var(--primary);
}

.selected-user-edit form {
  max-width: none;
}

.preset-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.preset-subjects span {
  background: rgba(34, 126, 255, 0.08);
  border: 1px solid rgba(34, 126, 255, 0.18);
  border-radius: 999px;
  color: var(--rail);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 7px 10px;
}

.subject-command {
  align-items: end;
  background:
    radial-gradient(circle at top right, rgba(34, 126, 255, 0.18), transparent 36%),
    linear-gradient(135deg, var(--rail-soft), var(--rail));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(13, 13, 18, 0.16);
  color: #ffffff;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  margin-bottom: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.subject-command span {
  color: var(--cyan);
  display: block;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.subject-command h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  margin: 0;
}

.subject-command p {
  color: rgba(255, 255, 255, 0.68);
  margin: 10px 0 0;
}

.subject-command label {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0;
}

.upload-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.upload-card {
  margin-top: 0;
}

.upload-card-head {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 46px minmax(0, 1fr);
  margin-bottom: 12px;
}

.upload-card-head > span {
  background: var(--primary);
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  font-family: "Sora", "Inter Tight", sans-serif;
  font-weight: 700;
  height: 46px;
  place-items: center;
  width: 46px;
}

.upload-card-head h2 {
  margin: 0 0 6px;
}

.upload-card-head p {
  color: rgba(13, 13, 18, 0.62);
  margin: 0;
}

.admin-body select[id$="topic"] {
  background:
    linear-gradient(180deg, #ffffff, #f8f9fa);
  border-color: rgba(34, 126, 255, 0.22);
  font-weight: 600;
}

.question-filters {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 14px 0 18px;
}

.question-search-actions {
  margin-bottom: 16px;
}

.question-add-shortcut {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.question-add-shortcut h2 {
  margin-bottom: 6px;
}

.question-add-shortcut p {
  color: rgba(13, 13, 18, 0.62);
  margin: 0;
}

.question-search-empty,
.question-search-result-meta {
  background: #f8f9fa;
  border: 1px solid rgba(7, 8, 5, 0.08);
  border-radius: 8px;
  color: rgba(13, 13, 18, 0.68);
  padding: 16px;
}

.question-search-empty strong {
  color: var(--rail);
  display: block;
  margin-bottom: 4px;
}

.question-search-empty span {
  display: block;
}

.question-search-result-meta {
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
}

.question-editor {
  border-top: 1px solid rgba(7, 8, 5, 0.08);
  margin-top: 12px;
  padding-top: 12px;
}

.question-editor summary {
  color: var(--primary);
  cursor: pointer;
  font-weight: 800;
  margin-bottom: 10px;
}

.question-editor textarea {
  min-height: 92px;
}

.inline-check {
  align-items: center;
  color: rgba(13, 13, 18, 0.68);
  display: flex;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 8px;
  margin: 0;
}

.inline-check input {
  width: auto;
}

.question-diagram-summary {
  background: rgba(34, 126, 255, 0.06);
  border: 1px solid rgba(34, 126, 255, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
}

.question-diagram-summary strong {
  color: var(--rail);
}

.question-diagram-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.question-diagram-preview img {
  background: #ffffff;
  border: 1px solid rgba(7, 8, 5, 0.1);
  border-radius: 6px;
  height: 92px;
  object-fit: contain;
  padding: 6px;
  width: 132px;
}

.question-diagram-editor {
  background: #f8f9fa;
  border: 1px solid rgba(7, 8, 5, 0.08);
  border-radius: 8px;
  margin-top: 14px;
  padding: 14px;
}

.question-diagram-editor h4 {
  margin: 0 0 10px;
}

.inline-message {
  color: var(--success);
  font-weight: 700;
  margin: 10px 0 0;
}

#message,
#result,
#admin-message,
#bulk-message,
#pdf-message,
#subject-message,
#bank-message,
#user-message,
#access-message,
#selected-access-message {
  color: var(--success);
  font-weight: 700;
  margin-top: 16px;
}

.score-result {
  border-radius: 8px;
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 14px 16px;
}

.score-result strong,
.score-result span,
.score-result small {
  display: block;
}

.score-result strong {
  font-size: 1rem;
}

.score-result span {
  font-size: 1.25rem;
  font-weight: 900;
}

.score-result small {
  opacity: 0.78;
}

.score-result.pass {
  background: rgba(49, 209, 107, 0.14);
  border: 1px solid rgba(49, 209, 107, 0.34);
  color: #8ef7b2;
}

.score-result.fail {
  background: rgba(251, 44, 54, 0.13);
  border: 1px solid rgba(251, 44, 54, 0.32);
  color: #ff9aa1;
}

hr {
  background: var(--border);
  border: none;
  height: 1px;
  margin: 24px 0;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-radius: 0 0 18px 18px;
    min-height: auto;
  }

  .sidebar nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .sidebar nav a {
    justify-content: center;
  }

  .sidebar nav a::before,
  .sidebar-footer {
    display: none;
  }

  .main {
    padding: 20px;
  }

  .feature-grid,
  .stat-grid,
  .admin-body .stat-grid,
  .admin-workbench,
  .user-authority-layout,
  .subject-command,
  .upload-grid,
  .question-filters,
  .admin-grid,
  .form-grid,
  .home-hero,
  .flight-status-grid,
  .aviation-preview,
  .website-grid,
  .contact-grid,
  .subject-showcase,
  .split-section {
    grid-template-columns: 1fr;
  }

  .workflow-section::before,
  .workflow-grid::before {
    display: none;
  }

  .vector-plane-two,
  .section-vector-pilot-badge {
    display: none;
  }

  .vector-pilot {
    bottom: 4vh;
    opacity: 0.1;
    width: 118px;
  }

  .section-vector {
    opacity: 0.14;
  }

  .aviation-hero {
    min-height: 620px;
  }

  .aviation-hero::after {
    background: linear-gradient(180deg, rgba(13, 13, 18, 0.9), rgba(13, 13, 18, 0.5));
  }

  .site-nav {
    align-items: flex-start;
    display: grid;
    gap: 12px;
    position: absolute;
  }

  .site-nav nav {
    justify-content: flex-start;
  }

  .admin-tabs {
    position: static;
  }

  .auth-page {
    grid-template-columns: 1fr;
    padding-top: 180px;
  }

  .auth-copy {
    max-width: 680px;
  }

  .auth-card {
    max-width: 560px;
    width: 100%;
  }

  .student-hero,
  .student-layout,
  .profile-page-grid,
  .mode-grid {
    grid-template-columns: 1fr;
  }

  .student-vector-plane {
    opacity: 0.12;
    width: 108px;
  }

  .student-vector-radar,
  .student-hero-orbit {
    display: none;
  }

  .student-vector-pilot {
    opacity: 0.08;
    width: 90px;
  }

  .site-hero {
    min-height: 880px;
    padding-top: 166px;
  }

  .hero-glass {
    bottom: 24px;
    left: 18px;
    right: auto;
  }

  .flight-path {
    bottom: calc(34% + 5cm);
    left: 10%;
    right: 8%;
    top: auto;
    transform: rotate(-20deg);
  }

  .runway-lights {
    height: 17%;
    left: 56%;
    opacity: 0.72;
    top: calc(26% - 1cm);
    width: min(300px, 42vw);
  }
}

@media (max-width: 640px) {
  .sidebar,
  .main,
  .panel {
    padding: 16px;
  }

  .brand {
    padding-left: 0;
  }

  .sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-title {
    display: block;
  }

  .button,
  button {
    width: 100%;
  }

  .subject-pill {
    width: auto;
  }

  .site-nav {
    padding: 10px 14px 12px 4px;
  }

  .site-brand {
    margin-left: 0;
  }

  .site-nav nav a {
    font-size: 0.88rem;
    padding: 8px 9px;
  }

  .auth-page {
    padding: 168px 16px 34px;
  }

  .auth-copy h1 {
    font-size: clamp(2.4rem, 13vw, 4.2rem);
  }

  .auth-card {
    padding: 20px;
  }

  .student-page {
    padding: 168px 16px 34px;
  }

  .student-panel,
  .student-workspace {
    padding: 16px;
  }

  .mode-card {
    min-height: 96px;
  }

  .student-vector-layer {
    display: none;
  }

  .student-panel-figure,
  .mode-card::after,
  .mock-exam-shell::before {
    display: none;
  }

  .mode-icon {
    height: 34px;
    width: 34px;
  }

  .site-brand img {
    height: 78px;
    width: min(330px, 78vw);
  }

  .site-hero {
    min-height: 820px;
    padding: 158px 16px 130px;
  }

  .site-hero-content h1 {
    font-size: 2.65rem;
  }

  .workflow-section > .workflow-heading {
    font-size: 2.2rem;
  }

  .subjects-section > .subjects-heading {
    font-size: 2.2rem;
  }

  .split-section .experience-heading {
    font-size: 2.2rem;
  }

  .website-section {
    padding: 56px 16px;
  }

  .aviation-vector-layer {
    display: none;
  }

  .section-vector-runway,
  .section-vector-plane,
  .section-vector-route {
    display: none;
  }

  .website-card {
    min-height: auto;
  }

  .subject-showcase {
    min-height: auto;
  }

  .instrument-stack {
    max-width: 240px;
  }

  .runway-lights {
    bottom: auto;
    height: 15%;
    left: 56%;
    opacity: 0.52;
    top: calc(28% - 1cm);
    width: min(250px, 50vw);
  }

  .flight-path {
    bottom: calc(32% + 5cm);
    left: 6%;
    right: 6%;
    transform: rotate(-21deg);
  }

  .runway-lights span:nth-child(6) {
    --spread: 82px;
  }

  .runway-lights span:nth-child(5) {
    --spread: 62px;
  }

}

.site-nav.student-nav {
  pointer-events: auto;
  position: fixed;
  z-index: 70;
}

.site-nav.student-nav a {
  pointer-events: auto;
}
