:root{
  --course-bg: #f7fbff;
  --course-bg-2: #edf5ff;
  --course-bg-3: #ffffff;
  --course-text: #0f172a;
  --course-muted: #64748b;
  --course-primary: #2563eb;
  --course-primary-2: #1d4ed8;
  --course-cyan: #38bdf8;
  --course-ring: rgba(37, 99, 235, 0.14);
  --course-line: rgba(37, 99, 235, 0.12);
  --course-shadow: 0 20px 50px rgba(37, 99, 235, 0.16);
  --course-shadow-strong: 0 26px 60px rgba(37, 99, 235, 0.22);
}

.courseMain{
  min-height: 100svh;
}

.courseHero{
  min-height: calc(100svh - 86px);
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px 20px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(37, 99, 235, 0.08), transparent 22%),
    radial-gradient(circle at 86% 22%, rgba(56, 189, 248, 0.10), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(37, 99, 235, 0.05), transparent 26%),
    linear-gradient(180deg, var(--course-bg) 0%, var(--course-bg-2) 54%, var(--course-bg-3) 100%);
  isolation: isolate;
}

.courseHero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,0.8), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 0;
}

.courseHero__grid{
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(var(--course-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--course-line) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.95), transparent 82%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.95), transparent 82%);
  pointer-events: none;
  z-index: 0;
}

.courseHero__shapes{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.courseShape{
  position: absolute;
  display: block;
}

.courseShape--glow{
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.75;
}

.courseShape--glowA{
  width: 280px;
  height: 280px;
  top: 10%;
  left: 7%;
  background: rgba(37, 99, 235, 0.12);
}

.courseShape--glowB{
  width: 320px;
  height: 320px;
  bottom: 10%;
  right: 8%;
  background: rgba(56, 189, 248, 0.12);
}

.courseShape--ring{
  top: 50%;
  left: 50%;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  transform: translate(-50%, -50%);
}

.courseShape--ringA{
  width: min(760px, 86vw);
  height: min(480px, 56vw);
  animation: courseSpinSlow 22s linear infinite;
}

.courseShape--ringB{
  width: min(560px, 68vw);
  height: min(330px, 38vw);
  border-color: rgba(56, 189, 248, 0.16);
  animation: courseSpinReverse 18s linear infinite;
}

.courseShape--orb{
  border-radius: 50%;
  box-shadow:
    0 0 0 8px rgba(255,255,255,0.5),
    0 10px 24px rgba(37, 99, 235, 0.12);
}

.courseShape--orbA{
  width: 18px;
  height: 18px;
  top: 29%;
  left: 26%;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  animation: courseFloatOne 8s ease-in-out infinite;
}

.courseShape--orbB{
  width: 24px;
  height: 24px;
  top: 62%;
  right: 22%;
  background: linear-gradient(135deg, #67e8f9, #38bdf8);
  animation: courseFloatTwo 10s ease-in-out infinite;
}

.courseShape--orbC{
  width: 14px;
  height: 14px;
  top: 20%;
  right: 30%;
  background: linear-gradient(135deg, #93c5fd, #38bdf8);
  animation: courseFloatThree 9s ease-in-out infinite;
}

.courseShape--line{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.22), transparent);
  transform-origin: center;
}

.courseShape--lineA{
  width: 180px;
  top: 34%;
  right: 20%;
  transform: rotate(-22deg);
}

.courseShape--lineB{
  width: 160px;
  bottom: 28%;
  left: 18%;
  transform: rotate(20deg);
}

.courseShape--dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.20);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.05);
}

.courseShape--dotA{ top: 22%; left: 18%; }
.courseShape--dotB{ top: 18%; right: 18%; }
.courseShape--dotC{ bottom: 24%; left: 24%; }
.courseShape--dotD{ bottom: 18%; right: 28%; }

.courseHero__content{
  position: relative;
  z-index: 3;
  width: min(560px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.courseHero__arrowWrap{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--course-muted);
  font-weight: 800;
  font-size: 0.96rem;
}

.courseHero__arrowLabel{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(37, 99, 235, 0.10);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.courseHero__arrow{
  font-size: 2.15rem;
  line-height: 1;
  color: var(--course-primary);
  text-shadow: 0 0 18px rgba(37, 99, 235, 0.16);
  animation: courseArrowFloat 2.1s ease-in-out infinite;
}

.courseHero__btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 250px;
  min-height: 60px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--course-primary) 0%, var(--course-primary-2) 55%, #1e40af 100%);
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: var(--course-shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
  isolation: isolate;
  overflow: hidden;
}

.courseHero__btn::before{
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, transparent 70%);
  z-index: -2;
}

.courseHero__btn::after{
  content: "";
  position: absolute;
  inset: -40% -55%;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.45) 50%, transparent 65%);
  transform: translateX(-70%) rotate(10deg);
  animation: courseShine 3.4s ease-in-out infinite;
  opacity: 0.7;
  z-index: -1;
}

.courseHero__btn:hover{
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--course-shadow-strong);
  filter: brightness(1.02);
}

.courseHero__btn:active{
  transform: translateY(-1px) scale(0.99);
}

.courseHero__btnText,
.courseHero__btnIcon{
  position: relative;
  z-index: 1;
}

.courseHero__btnIcon{
  font-size: 1.1rem;
  line-height: 1;
}

@keyframes courseArrowFloat{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(6px); }
}

@keyframes courseFloatOne{
  0%, 100%{ transform: translateY(0) translateX(0); }
  50%{ transform: translateY(-12px) translateX(6px); }
}

@keyframes courseFloatTwo{
  0%, 100%{ transform: translateY(0) translateX(0); }
  50%{ transform: translateY(10px) translateX(-8px); }
}

@keyframes courseFloatThree{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

@keyframes courseSpinSlow{
  from{ transform: translate(-50%, -50%) rotate(0deg); }
  to{ transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes courseSpinReverse{
  from{ transform: translate(-50%, -50%) rotate(0deg); }
  to{ transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes courseShine{
  0%{ transform: translateX(-70%) rotate(10deg); }
  55%{ transform: translateX(70%) rotate(10deg); }
  100%{ transform: translateX(70%) rotate(10deg); }
}

@media (max-width: 900px){
  .courseHero{
    padding-top: 8px;
  }

  .courseShape--ringA{
    width: min(680px, 94vw);
    height: min(420px, 58vw);
  }

  .courseShape--ringB{
    width: min(500px, 74vw);
    height: min(290px, 42vw);
  }
}

@media (max-width: 640px){
  .courseHero{
    padding: 8px 16px 0;
  }

  .courseHero__content{
    gap: 16px;
  }

  .courseHero__arrowLabel{
    font-size: 0.86rem;
  }

  .courseHero__arrow{
    font-size: 1.85rem;
  }

  .courseHero__btn{
    min-width: 220px;
    min-height: 54px;
    padding: 12px 22px;
    font-size: 0.96rem;
  }

  .courseShape--orbA{
    top: 26%;
    left: 18%;
  }

  .courseShape--orbB{
    top: 66%;
    right: 16%;
  }

  .courseShape--lineA{
    width: 110px;
    right: 12%;
  }

  .courseShape--lineB{
    width: 100px;
    left: 10%;
  }
}

@media (max-width: 480px){
  .courseHero{
    min-height: calc(100svh - 78px);
  }

  .courseHero__btn{
    min-width: 200px;
    padding-inline: 20px;
  }

  .courseShape--ringA{
    width: 118vw;
    height: 72vw;
  }

  .courseShape--ringB{
    width: 90vw;
    height: 54vw;
  }

  .courseShape--dot{
    transform: scale(0.8);
  }
}