@charset "UTF-8";

:root {
  --color-bg: #f6f9fc;
  --color-bg-soft: #eaf2ff;
  --color-card: #ffffff;
  --color-card-strong: #eef6ff;
  --color-text: #0f172a;
  --color-muted: #526174;
  --color-primary: #1d4ed8;
  --color-secondary: #0e7490;
  --color-accent: #7c3aed;
  --color-border: rgba(37, 99, 235, 0.16);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-card: 0 18px 48px rgba(15, 23, 42, 0.12);
  --header-height: 74px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at 18% 8%, rgba(14, 116, 144, 0.12), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(37, 99, 235, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 36%, #eef6ff 100%),
    var(--color-bg);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(14, 116, 144, 0.36);
  outline-offset: 3px;
}

p,
dl {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.16;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(34, 211, 238, 0.78));
  color: #ffffff;
  font-size: 0.9rem;
}

.brand-text {
  color: var(--color-text);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 2px;
  color: #526174;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 99px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 19px;
  height: 2px;
  background: var(--color-text);
  border-radius: 99px;
}

.hero-lab {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 70px 0 58px;
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--color-secondary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.55rem, 5.4vw, 5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.85rem);
}

h3 {
  font-size: 1.18rem;
}

.tagline {
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #1e3a8a;
  font-weight: 800;
}

.hero-lead {
  margin-top: 22px;
  color: var(--color-muted);
  font-size: 1.04rem;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 18px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-text);
  border-color: rgba(37, 99, 235, 0.2);
}

.btn-small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.86rem;
}

.avatar-console {
  border: 1px solid var(--color-border);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
  padding: 22px;
}

.hero-avatar {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 24px;
  background: #eaf2ff;
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.console-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.console-stats div {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 18px;
  background: #f8fafc;
}

.console-stats span {
  display: block;
  color: var(--color-secondary);
  font-size: 1.45rem;
  font-weight: 800;
}

.console-stats strong {
  display: block;
  margin-top: 6px;
  color: var(--color-text);
  font-size: 0.88rem;
}

.section {
  padding: 82px 0;
}

.profile-section,
.detail-section {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head-row {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: end;
}

.section-head p:not(.eyebrow) {
  color: var(--color-muted);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
}

.student-card,
.goal-node,
.module-card,
.detail-panel,
.summary-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
}

.student-card {
  padding: 26px;
}

.student-chip {
  width: 150px;
  height: 180px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.8), rgba(224, 242, 254, 0.9));
  overflow: hidden;
}

.student-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.student-card h3 {
  font-size: 1.65rem;
}

.student-card dl {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.student-card dl div {
  display: grid;
  gap: 3px;
}

.student-card dt {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.student-card dd {
  margin: 0;
  color: var(--color-text);
  font-weight: 700;
}

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

.goal-node {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 20px;
}

.goal-node > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e0f2fe;
  color: var(--color-secondary);
  font-weight: 800;
}

.goal-node p,
.module-card p,
.detail-panel p,
.summary-card p {
  margin-top: 9px;
  color: var(--color-muted);
}

.skill-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.skill-matrix span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 999px;
  background: #e0f2fe;
  color: #155e75;
  padding: 5px 11px;
  font-size: 0.82rem;
  font-weight: 800;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.module-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.32);
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.module-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 5px 11px;
  background: rgba(37, 99, 235, 0.18);
  color: #1d4ed8;
  font-weight: 800;
}

.module-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(167, 139, 250, 0.34);
  border-radius: 16px;
  background: rgba(167, 139, 250, 0.12);
  color: #5b21b6;
  font-weight: 800;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.module-card .card-actions {
  margin-top: auto;
}

.detail-stack {
  display: grid;
  gap: 22px;
}

.detail-panel {
  scroll-margin-top: calc(var(--header-height) + 18px);
  overflow: hidden;
}

.detail-heading {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-card-strong);
}

.detail-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 14px;
  background: #e0f2fe;
  color: var(--color-secondary);
  font-weight: 800;
}

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

.detail-grid section {
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-md);
  padding: 18px;
  background: #ffffff;
}

.detail-grid .wide {
  grid-column: 1 / -1;
}

.detail-grid h4 {
  color: var(--color-text);
  font-size: 1rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.summary-card {
  min-height: 220px;
  padding: 22px;
}

.summary-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.18);
  color: #1d4ed8;
  font-weight: 800;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--color-border);
  background: #eaf2ff;
  color: #334155;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .hero-grid,
  .profile-grid,
  .section-head-row {
    grid-template-columns: 1fr;
  }

  .avatar-console {
    max-width: 560px;
  }

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

}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: center;
  }

  .hero-lab {
    min-height: auto;
    padding: 46px 0 38px;
  }

  h1 {
    font-size: clamp(2.2rem, 14vw, 3.2rem);
  }

  .tagline {
    border-radius: var(--radius-md);
  }

  .console-stats,
  .profile-goals,
  .module-grid,
  .detail-grid,
  .summary-grid,
  .goal-node,
  .detail-heading {
    grid-template-columns: 1fr;
  }

  .detail-heading {
    align-items: start;
  }

  .detail-heading .btn {
    width: fit-content;
  }

  .section {
    padding: 62px 0;
  }

  .footer-inner {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
