:root {
  --bg: #0b1020;
  --bg-soft: #111831;
  --panel: rgba(17, 24, 49, 0.86);
  --panel-2: rgba(255, 255, 255, 0.06);
  --text: #f4f7fb;
  --muted: #b8c2d9;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ff4747;
  --accent-soft: rgba(255, 71, 71, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 71, 71, 0.12), transparent 28%),
    radial-gradient(circle at right center, rgba(92, 143, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #09101c 0%, #0d1325 100%);
}

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

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

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

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

.site-header {
  display: flex;
  justify-content: center;
  padding: 22px 0 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ff5b5b, #ff7b7b);
  color: white;
  box-shadow: 0 10px 24px rgba(255, 91, 91, 0.35);
}

.logo-text {
  display: grid;
  gap: 2px;
}

.logo-text strong {
  font-size: 0.98rem;
}

.logo-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 32px;
  align-items: start;
  padding: 34px 0 56px;
}

.hero__content,
.body-map-card,
.info-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero__content {
  border-radius: var(--radius-xl);
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffd5d5;
  font-size: 0.86rem;
  margin-bottom: 16px;
}

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

h1 {
  font-size: clamp(2rem, 4.6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  max-width: 13ch;
}

.hero__lead,
.info-panel p,
.body-map-card__header p {
  color: var(--muted);
  line-height: 1.62;
  font-size: 1rem;
}

.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 28px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__note p {
  margin: 0;
  color: #ffdede;
}

.hero__note-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgba(255, 71, 71, 0.16);
  flex: none;
}

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

.course-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.course-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 71, 71, 0.1);
  filter: blur(6px);
}

.course-card:hover,
.course-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 116, 116, 0.45);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
}

.course-card__title {
  font-size: 1.1rem;
  font-weight: 700;
}

.course-card__desc {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
  max-width: 28ch;
}

.body-map-card {
  border-radius: 36px;
  padding: 22px;
}

.body-map-card__header {
  margin-bottom: 12px;
}

.body-map-card__header h2 {
  margin-bottom: 6px;
  font-size: 1.45rem;
}

.body-map-card__header p {
  margin-bottom: 0;
}

.body-map {
  position: relative;
  min-height: 720px;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 52%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.body-map::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px dashed rgba(255,255,255,0.08);
  pointer-events: none;
}

.body-map--real {
  background:
    radial-gradient(circle at 50% 26%, rgba(121, 157, 226, 0.18), transparent 28%),
    radial-gradient(circle at 50% 78%, rgba(255, 104, 104, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.body-map__svg {
  width: 100%;
  height: 100%;
}

.body-shadow {
  fill: rgba(0, 0, 0, 0.28);
  filter: blur(12px);
}

.body-aura {
  fill: rgba(148, 185, 255, 0.12);
  filter: blur(20px);
}

.human-figure {
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.28));
}

.figure-head,
.figure-neck,
.figure-torso,
.figure-hip,
.figure-arm-left,
.figure-arm-right,
.figure-forearm-left,
.figure-forearm-right,
.figure-thigh-left,
.figure-thigh-right,
.figure-calf-left,
.figure-calf-right {
  fill: url(#skinTone);
  stroke: rgba(255,255,255,0.14);
  stroke-width: 1.2;
}

.figure-neck,
.figure-arm-left,
.figure-arm-right,
.figure-forearm-left,
.figure-forearm-right,
.figure-thigh-left,
.figure-thigh-right,
.figure-calf-left,
.figure-calf-right {
  fill: url(#limbShade);
}

.figure-highlight {
  fill: rgba(255,255,255,0.14);
  filter: blur(10px);
}

.figure-highlight--torso {
  fill: rgba(255,255,255,0.08);
}

.figure-highlight--legs {
  fill: rgba(255,255,255,0.07);
}

.contour {
  fill: none;
  stroke: rgba(114, 136, 170, 0.33);
  stroke-linecap: round;
  stroke-width: 3;
}

.contour--center {
  stroke: rgba(125, 147, 183, 0.42);
  stroke-width: 4;
}

.pain {
  fill: url(#painGlow);
  animation: pulse 2.2s ease-in-out infinite;
  transform-origin: center;
}

.hotspot {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 71, 71, 0.16);
  border: 1px solid rgba(255, 98, 98, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hotspot:hover,
.hotspot:focus-visible {
  transform: scale(1.05);
  background: rgba(255, 71, 71, 0.22);
  border-color: rgba(255, 160, 160, 0.7);
}

.hotspot span::before {
  content: "●";
  margin-right: 8px;
  color: #ff7e7e;
}

.hotspot--neck {
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
}

.hotspot--knee {
  left: 50%;
  top: 66%;
  transform: translateX(-50%);
}

.hotspot--foot {
  left: 50%;
  top: 87%;
  transform: translateX(-50%);
}

.hotspot--neck:hover,
.hotspot--neck:focus-visible,
.hotspot--knee:hover,
.hotspot--knee:focus-visible,
.hotspot--foot:hover,
.hotspot--foot:focus-visible {
  transform: translateX(-50%) scale(1.05);
}

.section {
  padding-bottom: 64px;
}

.info-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.info-panel h2 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.footer {
  padding: 0 0 30px;
  color: var(--muted);
  text-align: center;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

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

  .hero__content {
    order: 1;
  }

  .body-map-card {
    order: 2;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .site-header {
    padding-top: 16px;
  }

  .hero {
    gap: 18px;
    padding: 18px 0 34px;
  }

  .hero__content,
  .body-map-card,
  .info-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero__content {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  h1 {
    max-width: none;
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .course-links {
    grid-template-columns: 1fr;
  }

  .body-map-card {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .body-map {
    min-height: 590px;
  }

  .hotspot {
    min-width: 98px;
    min-height: 42px;
    font-size: 0.94rem;
    padding: 8px 12px;
  }

  .hotspot--neck {
    top: 17.5%;
  }

  .hotspot--knee {
    top: 65.5%;
  }

  .hotspot--foot {
    top: 86%;
  }
}
