:root {
  --bg: #000;
  --panel: rgba(8, 17, 28, 0.72);
  --panel-strong: rgba(13, 24, 38, 0.88);
  --line: rgba(190, 224, 255, 0.18);
  --line-strong: rgba(216, 239, 255, 0.48);
  --text: #f7fbff;
  --muted: rgba(226, 237, 247, 0.66);
  --soft: rgba(226, 237, 247, 0.42);
  --cyan: #20f4ff;
  --blue: #3a9cff;
  --pink: #ff5cbf;
  --gold: #f5c66b;
  --green: #76f0b1;
  --shadow-cyan: 0 0 18px rgba(32, 244, 255, 0.42), 0 0 54px rgba(58, 156, 255, 0.22);
  --shadow-panel: 0 24px 90px rgba(0, 0, 0, 0.56);
  --radius: 8px;
  --dock-height: 96px;
  color-scheme: dark;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

body.modal-open {
  overflow: hidden;
}

body::selection {
  background: rgba(32, 244, 255, 0.26);
  color: #fff;
}

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

button,
input,
select {
  font: inherit;
}

svg {
  display: block;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-content: center;
  gap: 18px;
  background: #000;
  color: var(--muted);
  letter-spacing: 0.18em;
  animation: loaderFallback 0.65s ease 1.8s forwards;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__track {
  width: min(320px, 62vw);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.loader__bar {
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--pink));
  animation: loading 1.1s ease-in-out infinite alternate;
}

@keyframes loading {
  from {
    transform: translateX(-70%);
  }
  to {
    transform: translateX(210%);
  }
}

@keyframes loaderFallback {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 52%, rgba(32, 244, 255, 0.11), transparent 34%),
    radial-gradient(circle at 37% 55%, rgba(255, 92, 191, 0.12), transparent 22%),
    radial-gradient(circle at 60% 54%, rgba(58, 156, 255, 0.12), transparent 28%),
    #000;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
}

.hero.is-dragging .hero__canvas {
  cursor: grabbing;
}

.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 30%, transparent 65%, rgba(0, 0, 0, 0.86) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
}

.rain-lines {
  position: absolute;
  inset: -4vh 8vw;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.rain-lines span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.rain-lines span:nth-child(1) {
  left: 16%;
}

.rain-lines span:nth-child(2) {
  left: 50%;
}

.rain-lines span:nth-child(3) {
  left: 84%;
}

.rain-lines span::after {
  content: "";
  position: absolute;
  left: 0;
  top: -20%;
  width: 100%;
  height: 16vh;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.78));
  animation: lineDrop 7s cubic-bezier(0.4, 0.26, 0, 0.97) infinite;
}

.rain-lines span:nth-child(2)::after {
  animation-delay: 1.7s;
}

.rain-lines span:nth-child(3)::after {
  animation-delay: 3s;
}

@keyframes lineDrop {
  to {
    transform: translateY(135vh);
  }
}

.top-slider {
  position: absolute;
  top: clamp(22px, 5vh, 52px);
  left: 50%;
  z-index: 10;
  display: grid;
  grid-template-columns: 48px minmax(110px, 220px) minmax(260px, 430px) minmax(110px, 220px) 48px;
  align-items: center;
  width: min(1040px, calc(100% - 44px));
  min-height: 82px;
  transform: translateX(-50%);
  border: 1px solid rgba(216, 239, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(11, 22, 35, 0.86), rgba(4, 10, 18, 0.72));
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.035), 0 18px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
}

.top-slider__arrow {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.top-slider__arrow svg {
  width: 28px;
  height: 28px;
}

.top-slider__arrow path,
.hero-cta path,
.text-link path,
.contact-form button path,
.qr-modal__close path,
.mode-switch svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-slider__arrow:hover,
.top-slider__arrow:focus-visible {
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.06);
  transform: scale(1.06);
  outline: none;
}

.top-slider__side {
  color: rgba(229, 241, 255, 0.48);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: center;
  white-space: nowrap;
}

.top-slider__panel {
  position: relative;
  min-height: 98px;
  display: grid;
  place-content: center;
  padding: 12px 36px;
  border: 1px solid rgba(226, 242, 255, 0.58);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(15, 29, 44, 0.9), rgba(3, 10, 18, 0.94));
  box-shadow: var(--shadow-cyan), inset 0 0 22px rgba(255, 255, 255, 0.06);
}

.top-slider__panel h1 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.05;
  letter-spacing: 0.03em;
  font-weight: 850;
  text-align: center;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.3);
}

.top-slider__panel p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.35;
  text-align: center;
}

.slide-dots {
  position: absolute;
  top: clamp(122px, 17vh, 158px);
  left: 50%;
  z-index: 10;
  display: flex;
  gap: 13px;
  transform: translateX(-50%);
}

.slide-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(183, 218, 248, 0.24);
  transition: width 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.slide-dots span.active {
  width: 38px;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(32, 244, 255, 0.88);
}

.hero-cta {
  position: absolute;
  left: 50%;
  bottom: calc(var(--dock-height) + 62px);
  z-index: 10;
  display: inline-flex;
  min-width: 248px;
  height: 64px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transform: translateX(-50%);
  border: 2px solid var(--cyan);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, rgba(17, 35, 48, 0.86), rgba(0, 0, 0, 0.72));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07) inset, 0 0 32px rgba(32, 244, 255, 0.32);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hero-cta svg {
  width: 30px;
  height: 30px;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateX(-50%) translateY(-3px);
  border-color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 0 42px rgba(32, 244, 255, 0.5);
  outline: none;
}

.progress-rail {
  position: fixed;
  top: 50%;
  right: clamp(22px, 4vw, 66px);
  z-index: 12;
  display: grid;
  grid-template-columns: 22px 36px;
  gap: 12px;
  align-items: center;
  transform: translateY(-50%);
  color: var(--soft);
  pointer-events: none;
}

.progress-rail__line {
  position: relative;
  width: 3px;
  height: 350px;
  margin-inline: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 10px rgba(32, 244, 255, 0.28);
}

.progress-rail__line span {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 14px rgba(32, 244, 255, 0.8);
}

.progress-rail__line::before,
.progress-rail__line::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: #07131d;
  box-shadow: 0 0 14px rgba(32, 244, 255, 0.7);
  transform: translateX(-50%);
}

.progress-rail__line::before {
  top: -8px;
}

.progress-rail__line::after {
  bottom: -8px;
}

.progress-rail ol {
  display: grid;
  height: 350px;
  align-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
  font-size: 16px;
}

.progress-rail li.active {
  color: #fff;
}

.scroll-cue {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--soft);
}

.scroll-cue span {
  width: 18px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  position: relative;
}

.scroll-cue span::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: var(--soft);
  transform: translateX(-50%);
  animation: wheel 1.8s ease-in-out infinite;
}

.scroll-cue small {
  font-size: 12px;
  writing-mode: vertical-rl;
  letter-spacing: 0.18em;
}

@keyframes wheel {
  50% {
    transform: translate(-50%, 7px);
    opacity: 0.5;
  }
}

.dock {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 340px) 1fr minmax(112px, 150px);
  align-items: center;
  width: min(1440px, calc(100% - 88px));
  min-height: var(--dock-height);
  padding: 16px 26px;
  transform: translateX(-50%);
  border: 1px solid rgba(232, 245, 255, 0.62);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(19, 30, 43, 0.9), rgba(3, 10, 17, 0.88));
  box-shadow: var(--shadow-panel), inset 0 -10px 42px rgba(32, 244, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: min-height 0.28s ease, padding 0.28s ease, bottom 0.28s ease, border-radius 0.28s ease;
}

.dock::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -15px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(32, 244, 255, 0.68), rgba(255, 92, 191, 0.25), transparent);
  filter: blur(16px);
  opacity: 0.85;
}

.dock.is-sticky {
  position: fixed;
  top: 14px;
  bottom: auto;
  min-height: 72px;
  padding: 10px 20px;
  border-radius: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand__mark {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 14px rgba(32, 244, 255, 0.46));
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.brand strong {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.brand small {
  display: block;
  margin-top: 7px;
  color: rgba(219, 231, 245, 0.56);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.dock__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 3vw, 46px);
}

.dock__nav a {
  position: relative;
  min-width: 68px;
  padding: 12px 4px;
  color: rgba(239, 247, 255, 0.82);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.dock__nav a + a::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(10px, 2vw, 28px));
  top: 50%;
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
}

.dock__nav a::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 2px;
  height: 3px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(32, 244, 255, 0.8);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.dock__nav a:hover,
.dock__nav a:focus-visible,
.dock__nav a.active {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(32, 244, 255, 0.45);
  outline: none;
}

.dock__nav a.active::after {
  transform: scaleX(1);
}

.mode-switch {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 16px;
  font-weight: 800;
}

.mode-switch svg {
  width: 26px;
  height: 26px;
  color: rgba(255, 255, 255, 0.86);
}

.mode-switch a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.mode-switch a.active,
.mode-switch a:hover,
.mode-switch a:focus-visible {
  color: var(--cyan);
  text-shadow: 0 0 11px rgba(32, 244, 255, 0.54);
  outline: none;
}

.menu-button {
  display: none;
}

.section-panel {
  width: min(1560px, calc(100% - 96px));
  margin: 0 auto;
  border: 1px solid rgba(100, 185, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(5, 18, 30, 0.93), rgba(2, 7, 13, 0.96));
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.38), inset 0 0 70px rgba(32, 244, 255, 0.04);
}

.course-system {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  margin-top: -6px;
  padding: clamp(32px, 5vw, 64px);
}

.section-heading h2,
.workflow h2,
.contact h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.section-heading p,
.workflow__copy p,
.contact p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  align-self: start;
  gap: 10px;
  color: rgba(236, 246, 255, 0.76);
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.text-link svg {
  width: 24px;
  height: 24px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--cyan);
  outline: none;
}

.course-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.course-card {
  min-height: 310px;
  padding: 26px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(210, 237, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at 80% 18%, var(--card-glow), transparent 30%),
    rgba(9, 23, 36, 0.74);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.course-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 180px;
  height: 180px;
  border: 1px solid var(--card-line);
  border-radius: 50%;
  box-shadow: inset 0 0 30px var(--card-line);
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-line);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.course-card span {
  color: rgba(242, 248, 255, 0.44);
  font-size: 18px;
  font-weight: 900;
}

.course-card h3 {
  margin: 18px 0 0;
  font-size: 26px;
  line-height: 1.25;
}

.course-card p {
  min-height: 94px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.course-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.course-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--card-line);
  box-shadow: 0 0 12px var(--card-line);
}

.course-card--blue {
  --card-glow: rgba(58, 156, 255, 0.24);
  --card-line: rgba(58, 156, 255, 0.78);
}

.course-card--cyan {
  --card-glow: rgba(32, 244, 255, 0.2);
  --card-line: rgba(32, 244, 255, 0.78);
}

.course-card--pink {
  --card-glow: rgba(255, 92, 191, 0.24);
  --card-line: rgba(255, 92, 191, 0.78);
}

.course-card--gold {
  --card-glow: rgba(245, 198, 107, 0.22);
  --card-line: rgba(245, 198, 107, 0.78);
}

.workflow {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(1460px, calc(100% - 96px));
  margin: clamp(70px, 8vw, 112px) auto;
  align-items: center;
}

.workflow__copy p {
  max-width: 650px;
}

.workflow__rail {
  display: grid;
  gap: 18px;
  position: relative;
}

.workflow__rail::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--pink), var(--gold));
  box-shadow: 0 0 18px rgba(32, 244, 255, 0.35);
}

.workflow__rail article {
  min-height: 98px;
  padding: 22px 26px 22px 66px;
  border: 1px solid rgba(216, 239, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 18, 29, 0.68);
  position: relative;
}

.workflow__rail article::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 32px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(32, 244, 255, 0.75);
}

.workflow__rail span {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 13px;
  letter-spacing: 0.2em;
}

.workflow__rail strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.38;
}

.cases {
  padding: clamp(32px, 5vw, 64px);
}

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

.case-list article {
  min-height: 210px;
  padding: 26px;
  border-left: 1px solid rgba(32, 244, 255, 0.55);
  background: linear-gradient(90deg, rgba(32, 244, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.case-list span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.case-list h3 {
  margin: 20px 0 0;
  font-size: 26px;
  line-height: 1.28;
}

.case-list p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 72px);
  width: min(1380px, calc(100% - 96px));
  margin: clamp(72px, 9vw, 120px) auto;
  padding: clamp(30px, 5vw, 62px);
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 92, 191, 0.13), transparent 26%),
    radial-gradient(circle at 84% 100%, rgba(32, 244, 255, 0.14), transparent 36%),
    rgba(7, 13, 23, 0.88);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(235, 245, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-form input,
.contact-form select {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(216, 239, 255, 0.18);
  border-radius: 8px;
  padding: 0 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.32);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(32, 244, 255, 0.13);
}

.contact-form button {
  display: inline-flex;
  height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  color: #001016;
  background: linear-gradient(90deg, var(--cyan), #82fbff);
  box-shadow: 0 18px 40px rgba(32, 244, 255, 0.22);
  font-weight: 900;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(32, 244, 255, 0.32);
  outline: none;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-form button svg {
  width: 24px;
  height: 24px;
}

.form-note {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.6;
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.qr-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.qr-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(32, 244, 255, 0.14), transparent 32%),
    rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.qr-modal__panel {
  position: relative;
  width: min(430px, 100%);
  padding: 26px;
  border: 1px solid rgba(232, 245, 255, 0.36);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 0%, rgba(32, 244, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(16, 31, 48, 0.96), rgba(3, 9, 16, 0.98));
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.72), 0 0 42px rgba(32, 244, 255, 0.18);
  text-align: center;
  transform: translateY(16px) scale(0.96);
  transition: transform 0.24s ease;
}

.qr-modal.is-open .qr-modal__panel {
  transform: translateY(0) scale(1);
}

.qr-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 239, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.qr-modal__close svg {
  width: 22px;
  height: 22px;
}

.qr-modal__close:hover,
.qr-modal__close:focus-visible {
  color: var(--cyan);
  border-color: rgba(32, 244, 255, 0.5);
  background: rgba(32, 244, 255, 0.08);
  outline: none;
}

.qr-modal__brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(226, 237, 247, 0.58);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.qr-modal__brand img {
  width: 132px;
  height: auto;
  border-radius: 10px;
  filter: drop-shadow(0 0 16px rgba(32, 244, 255, 0.28));
}

.qr-modal h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.12;
}

.qr-modal p {
  margin: 12px auto 20px;
  max-width: 310px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.qr-modal__code {
  width: min(292px, 76vw);
  margin: 0 auto 18px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 34px rgba(32, 244, 255, 0.2);
}

.qr-modal__code img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.qr-modal strong {
  display: block;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  width: min(1380px, calc(100% - 96px));
  margin: 0 auto;
  padding: 30px 0 46px;
  color: rgba(226, 237, 247, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  display: flex;
  gap: 20px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  outline: none;
}

@media (max-width: 1120px) {
  .top-slider {
    grid-template-columns: 48px 1fr 48px;
    min-height: 78px;
  }

  .top-slider__side {
    display: none;
  }

  .top-slider__panel {
    min-height: 88px;
  }

  .dock {
    width: min(940px, calc(100% - 42px));
    grid-template-columns: minmax(210px, 1fr) auto;
  }

  .mode-switch {
    display: none;
  }

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

  .workflow,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  :root {
    --dock-height: 76px;
  }

  .hero {
    min-height: 100svh;
  }

  .top-slider {
    top: 18px;
    width: calc(100% - 26px);
    grid-template-columns: 40px 1fr 40px;
    min-height: 76px;
    border-radius: 18px;
  }

  .top-slider__arrow {
    width: 38px;
    height: 38px;
  }

  .top-slider__panel {
    min-height: 76px;
    padding: 9px 16px;
    border-radius: 16px;
  }

  .top-slider__panel h1 {
    font-size: 28px;
  }

  .top-slider__panel p {
    font-size: 13px;
  }

  .slide-dots {
    top: 108px;
  }

  .hero-cta {
    bottom: 112px;
    min-width: 204px;
    height: 54px;
    font-size: 18px;
  }

  .dock,
  .dock.is-sticky {
    width: calc(100% - 26px);
    min-height: 76px;
    padding: 10px 14px;
    grid-template-columns: 1fr 44px;
    top: auto;
    bottom: 14px;
    border-radius: 10px;
  }

  .brand__mark {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .menu-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
  }

  .menu-button span,
  .menu-button span::before,
  .menu-button span::after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--cyan);
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .menu-button span {
    position: relative;
  }

  .menu-button span::before,
  .menu-button span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .menu-button span::before {
    top: -7px;
  }

  .menu-button span::after {
    top: 7px;
  }

  .menu-button.is-open span {
    background: transparent;
  }

  .menu-button.is-open span::before {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button.is-open span::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  .dock__nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 10px);
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(216, 239, 255, 0.18);
    border-radius: 10px;
    background: rgba(2, 10, 18, 0.95);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    backdrop-filter: blur(16px);
  }

  .dock__nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .dock__nav a {
    min-width: 0;
    padding: 14px 10px;
    font-size: 16px;
  }

  .dock__nav a + a::before {
    display: none;
  }

  .progress-rail {
    display: none;
  }

  .section-panel,
  .workflow,
  .contact,
  .site-footer {
    width: calc(100% - 28px);
  }

  .course-system {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 28px 18px;
  }

  .text-link {
    justify-self: start;
  }

  .course-grid,
  .case-list {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: 250px;
  }

  .workflow {
    margin: 64px auto;
  }

  .workflow__rail article {
    padding-right: 18px;
  }

  .cases,
  .contact {
    padding: 28px 18px;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 112px;
  }

  .qr-modal__panel {
    padding: 24px 18px;
  }

  .qr-modal__brand img {
    width: 116px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
