.golang-page {
  --bg: #040814;
  --bg-deep: #0b101b;
  --surface: #151924;
  --surface-2: #24292e;
  --text: #fbfbfb;
  --muted: #8f9aaa;
  --red: #29a6e0;
  --blue: #ecbc21;
  --line: rgb(174 183 196 / 22%);
  background: var(--bg);
}

.golang-page .site-header {
  background: rgb(4 8 20 / 92%);
}

.golang-page .site-header.scrolled {
  background: rgb(4 8 20 / 97%);
}

.golang-page .button-primary {
  color: #151924;
}

.golang-page .button-primary {
  background: var(--blue);
}

.golang-page .button-light {
  color: #151924;
}

.golang-page .go-hero {
  min-height: 920px;
  background:
    radial-gradient(circle at 50% -14%, rgb(41 166 224 / 26%), transparent 42%),
    var(--bg);
}

.golang-page .hero-glow {
  top: -310px;
  height: 920px;
  background:
    linear-gradient(100deg, transparent 0 13%, rgb(4 8 20 / 68%) 13.5% 19%, transparent 19.5% 38%, rgb(4 8 20 / 60%) 38.5% 44%, transparent 44.5% 62%, rgb(4 8 20 / 58%) 62.5% 68%, transparent 68.5% 86%, rgb(4 8 20 / 68%) 86.5% 92%, transparent 92.5%),
    linear-gradient(180deg, #29a6e0 8%, rgb(41 166 224 / 60%) 48%, rgb(41 166 224 / 0%) 84%);
}

.golang-page .hero-copy {
  width: min(1180px, 100%);
}

.golang-page .hero h1 {
  font-size: clamp(42px, 4vw, 70px);
  text-wrap: balance;
}

.golang-page .hero-guarantee {
  border-color: rgb(236 188 33 / 70%);
  color: #151924;
  background:
    linear-gradient(90deg, rgb(236 188 33 / 82%), #ecbc21, rgb(236 188 33 / 82%)),
    #ecbc21;
  box-shadow: 0 18px 48px rgb(236 188 33 / 16%);
}

.golang-page .hero-proof {
  background: rgb(11 16 27 / 72%);
}

.golang-page .rating-stars,
.golang-page .story-kicker {
  color: var(--blue);
}

.golang-page .vsl-poster-mock {
  background:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgb(41 166 224 / 48%), transparent 38%),
    radial-gradient(circle at 82% 76%, rgb(236 188 33 / 24%), transparent 40%),
    linear-gradient(145deg, #172838, #08101c 62%, #040814);
  background-size: 40px 40px, 40px 40px, auto, auto, auto;
}

.golang-page .result-video:hover img,
.golang-page .result-video:focus-visible img {
  filter: hue-rotate(170deg) saturate(1.05) brightness(1.08);
}

.golang-page .how-it-works {
  background:
    radial-gradient(circle at 85% 10%, rgb(41 166 224 / 18%), transparent 34%),
    var(--bg);
}

.golang-page .how-step-accent {
  border-color: rgb(236 188 33 / 58%);
  background: linear-gradient(145deg, rgb(236 188 33 / 15%), var(--bg-deep) 66%);
}

.golang-page .how-step-accent .how-number {
  color: var(--blue);
}

.golang-page .how-summary {
  border-color: rgb(41 166 224 / 48%);
  background: rgb(41 166 224 / 10%);
}

.golang-page .benefits {
  color: var(--text);
  background:
    radial-gradient(circle at 8% 12%, rgb(236 188 33 / 20%), transparent 30%),
    linear-gradient(145deg, #29a6e0, #167eaf);
}

.golang-page .learning-route-lead {
  width: min(var(--content-width), 100%);
  max-width: 820px;
  margin: 18px auto 0;
  color: rgb(4 8 20 / 76%);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.35;
}

.golang-page .learning-path-switch {
  width: min(720px, 100%);
  margin: 28px auto 0;
  padding: 6px;
  border: 1px solid rgb(4 8 20 / 18%);
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  background: rgb(4 8 20 / 86%);
  box-shadow: 0 18px 40px rgb(4 8 20 / 18%);
}

.golang-page .learning-path-tab {
  min-height: 72px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #c9d2df;
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  text-align: left;
  cursor: pointer;
  transition: color 260ms ease, background 320ms ease, transform 320ms var(--ease-out);
}

.golang-page .learning-path-tab span {
  margin-top: 7px;
  display: block;
  color: #8f9aaa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.golang-page .learning-path-tab:hover {
  color: #fff;
  background: rgb(255 255 255 / 6%);
}

.golang-page .learning-path-tab.is-active {
  color: #151924;
  background: var(--blue);
  box-shadow: 0 8px 22px rgb(236 188 33 / 18%);
}

.golang-page .learning-path-tab.is-active span {
  color: rgb(21 25 36 / 68%);
}

.golang-page .learning-path-tab:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.golang-page .learning-path-panel[hidden] {
  display: none;
}

.golang-page .learning-route-shell {
  position: relative;
  width: min(var(--content-width), 100%);
  margin: 40px auto 0;
  padding: 28px 42px 34px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 28px;
  background:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgb(41 166 224 / 22%), transparent 36%),
    #070c18;
  background-size: 42px 42px, 42px 42px, auto, auto;
  box-shadow: 0 28px 70px rgb(4 8 20 / 34%);
}

.golang-page .learning-route-shell::before {
  position: absolute;
  top: -160px;
  left: 50%;
  width: 460px;
  height: 460px;
  border: 1px solid rgb(41 166 224 / 14%);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 52px rgb(41 166 224 / 4%), 0 0 0 104px rgb(41 166 224 / 3%);
  pointer-events: none;
  transform: translateX(-50%);
}

.golang-page .learning-route-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.golang-page .learning-route-legend {
  display: flex;
  gap: 10px;
}

.golang-page .learning-route-legend span {
  padding: 8px 12px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9d2df;
  background: rgb(255 255 255 / 5%);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.golang-page .learning-route-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  background: var(--red);
  box-shadow: 0 0 14px rgb(41 166 224 / 80%);
}

.golang-page .learning-route-legend span:nth-child(2) i {
  background: #fff;
  box-shadow: 0 0 14px rgb(255 255 255 / 60%);
}

.golang-page .learning-route-legend span:nth-child(3) i {
  background: var(--blue);
  box-shadow: 0 0 14px rgb(236 188 33 / 80%);
}

.golang-page .learning-duration {
  min-width: 245px;
  padding: 12px 16px;
  border: 1px solid rgb(236 188 33 / 54%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #151924;
  background: var(--blue);
  box-shadow: 0 12px 28px rgb(236 188 33 / 16%);
}

.golang-page .learning-duration span {
  max-width: 90px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.golang-page .learning-duration strong {
  white-space: nowrap;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
}

.golang-page .learning-route {
  position: relative;
  z-index: 1;
  margin: 34px 0 0;
  padding: 12px 0;
  list-style: none;
}

.golang-page .learning-route::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(180deg, var(--red) 0 58%, #fff 58% 80%, var(--blue) 80% 100%);
  box-shadow: 0 0 22px rgb(41 166 224 / 34%);
  transform: translateX(-50%);
}

.golang-page .path-beginner .learning-route::before {
  background: linear-gradient(180deg, var(--red) 0 66%, #fff 66% 82%, var(--blue) 82% 100%);
}

.golang-page .learning-route::after {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 3px solid #070c18;
  border-radius: 50%;
  content: "";
  background: #fff;
  box-shadow: 0 0 0 3px var(--blue), 0 0 22px var(--blue);
  animation: learning-packet 9s ease-in-out infinite;
  transform: translateX(-50%);
}

.golang-page .learning-stop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
}

.golang-page .learning-stop + .learning-stop {
  margin-top: 12px;
}

.golang-page .learning-stop::before {
  position: absolute;
  z-index: 3;
  top: 32px;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 4px solid #070c18;
  border-radius: 50%;
  content: "";
  background: var(--red);
  box-shadow: 0 0 0 2px rgb(41 166 224 / 58%), 0 0 18px rgb(41 166 224 / 54%);
  transform: translateX(-50%);
}

.golang-page .path-experienced .learning-stop:nth-child(4)::before,
.golang-page .path-beginner .learning-stop:nth-child(7)::before {
  background: #fff;
  box-shadow: 0 0 0 2px rgb(255 255 255 / 52%), 0 0 18px rgb(255 255 255 / 42%);
}

.golang-page .path-experienced .learning-stop:nth-child(5)::before,
.golang-page .path-beginner .learning-stop:nth-child(n + 8)::before {
  background: var(--blue);
  box-shadow: 0 0 0 2px rgb(236 188 33 / 56%), 0 0 18px rgb(236 188 33 / 48%);
}

.golang-page .learning-stop::after {
  position: absolute;
  top: 40px;
  width: 48px;
  border-top: 2px dashed rgb(255 255 255 / 28%);
  content: "";
}

.golang-page .learning-stop:nth-child(odd)::after {
  right: 50%;
}

.golang-page .learning-stop:nth-child(even)::after {
  left: 50%;
}

.golang-page .learning-stop-content {
  position: relative;
  min-height: 164px;
  padding: 20px 28px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  background:
    linear-gradient(90deg, rgb(41 166 224 / 18%), transparent 34%),
    rgb(15 22 36 / 94%);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: border-color 300ms ease, transform 420ms var(--ease-out), background 300ms ease;
}

.golang-page .learning-stop:nth-child(odd) .learning-stop-content {
  grid-column: 1;
}

.golang-page .learning-stop:nth-child(even) .learning-stop-content {
  grid-column: 3;
  background:
    linear-gradient(270deg, rgb(236 188 33 / 14%), transparent 36%),
    rgb(15 22 36 / 94%);
}

.golang-page .learning-stop-content::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--red), transparent 72%);
}

.golang-page .learning-stop:nth-child(even) .learning-stop-content::before {
  background: linear-gradient(270deg, var(--blue), transparent 72%);
}

.golang-page .learning-stop-content:hover {
  border-color: rgb(255 255 255 / 28%);
  transform: translateY(-4px);
}

.golang-page .learning-phase {
  display: inline-block;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.golang-page .path-experienced .learning-stop:nth-child(4) .learning-phase,
.golang-page .path-beginner .learning-stop:nth-child(7) .learning-phase {
  color: #fff;
}

.golang-page .path-experienced .learning-stop:nth-child(5) .learning-phase,
.golang-page .path-beginner .learning-stop:nth-child(n + 8) .learning-phase {
  color: var(--blue);
}

.golang-page .learning-number {
  position: absolute;
  top: 10px;
  right: 18px;
  color: rgb(255 255 255 / 6%);
  font-family: var(--display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.golang-page .learning-stop-content h3 {
  position: relative;
  max-width: 430px;
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(22px, 1.8vw, 29px);
  font-weight: 500;
  line-height: 1.08;
}

.golang-page .learning-stop-content p {
  position: relative;
  margin-top: 8px;
  color: #c9d2df;
  font-size: 16px;
  line-height: 1.42;
}

.golang-page .learning-topics {
  position: relative;
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.golang-page .learning-topics span {
  padding: 5px 8px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 4px;
  color: #aeb9c8;
  background: rgb(255 255 255 / 5%);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.golang-page .learning-route-finish {
  position: relative;
  z-index: 2;
  width: min(700px, 100%);
  margin: 28px auto 0;
  padding: 18px 24px;
  border: 1px solid rgb(236 188 33 / 45%);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #151924;
  background: var(--blue);
  text-align: center;
  box-shadow: 0 16px 36px rgb(236 188 33 / 18%);
}

.golang-page .learning-route-finish span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.golang-page .learning-route-finish strong {
  font-size: 17px;
  line-height: 1.25;
}

@keyframes learning-packet {
  0%, 8% { top: 0; }
  92%, 100% { top: calc(100% - 14px); }
}

.golang-page .free-material {
  background:
    radial-gradient(circle at 12% 10%, rgb(41 166 224 / 18%), transparent 34%),
    var(--bg);
}

.golang-page .free-material-inner {
  width: min(var(--content-width), 100%);
}

.golang-page .free-material-card {
  background:
    radial-gradient(circle at 100% 0%, rgb(236 188 33 / 16%), transparent 48%),
    linear-gradient(145deg, var(--surface-2), var(--bg-deep) 72%);
}

.golang-page .free-material-copy h3 span {
  color: #151924;
  background: var(--blue);
}

.golang-page .free-material-button {
  color: #fbfbfb;
  background: rgb(255 255 255 / 6%);
}

.golang-page .free-material-button:hover,
.golang-page .free-material-button:focus-visible {
  border-color: var(--red);
  color: #151924;
  background: var(--red);
}

.golang-page .go-payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.golang-page .go-payment-grid.courses-grid-single {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

.golang-page .course-card {
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--course-accent) 22%, transparent), transparent 42%),
    linear-gradient(155deg, var(--surface-2), var(--bg-deep) 68%);
}

.golang-page .course-featured {
  border-color: rgb(236 188 33 / 58%);
  box-shadow: 0 22px 52px rgb(236 188 33 / 14%);
}

.golang-page .course-popular {
  color: #151924;
}

.golang-page .service-red {
  border-color: var(--red);
  background: linear-gradient(rgb(41 166 224 / 8%), rgb(41 166 224 / 8%)), #040814;
}

.golang-page .service-blue {
  border-color: var(--blue);
  background: linear-gradient(rgb(236 188 33 / 8%), rgb(236 188 33 / 8%)), #040814;
}

.golang-page .cta-glow::before {
  background: linear-gradient(90deg, transparent, #29a6e0 25% 75%, transparent);
}

.golang-page .contact-dialog {
  border-color: var(--red);
}

@media (max-width: 640px) {
  .golang-page .go-hero {
    min-height: 0;
  }

  .golang-page .hero h1 {
    font-size: clamp(32px, 9vw, 40px);
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
  }

  .golang-page .hero-guarantee {
    color: #151924;
  }

  .golang-page .learning-route-lead {
    text-align: left;
  }

  .golang-page .learning-path-switch {
    margin-top: 22px;
    grid-template-columns: 1fr;
  }

  .golang-page .learning-path-tab {
    min-height: 64px;
    padding: 11px 14px;
    font-size: 16px;
  }

  .golang-page .learning-route-shell {
    margin-top: 32px;
    padding: 24px 16px 28px;
    border-radius: 20px;
  }

  .golang-page .learning-route-legend {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .golang-page .learning-route-legend::-webkit-scrollbar {
    display: none;
  }

  .golang-page .learning-route-legend span {
    flex: 0 0 auto;
    padding: 7px 9px;
    font-size: 10px;
  }

  .golang-page .learning-route-meta {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 14px;
  }

  .golang-page .learning-duration {
    width: 100%;
    min-width: 0;
  }

  .golang-page .learning-duration span {
    max-width: none;
  }

  .golang-page .learning-route {
    margin-top: 26px;
    padding: 8px 0;
  }

  .golang-page .learning-route::before,
  .golang-page .learning-route::after {
    left: 18px;
  }

  .golang-page .learning-stop {
    display: block;
    padding-left: 48px;
  }

  .golang-page .learning-stop + .learning-stop {
    margin-top: 14px;
  }

  .golang-page .learning-stop::before {
    top: 30px;
    left: 18px;
  }

  .golang-page .learning-stop::after,
  .golang-page .learning-stop:nth-child(odd)::after,
  .golang-page .learning-stop:nth-child(even)::after {
    top: 38px;
    right: auto;
    left: 18px;
    width: 30px;
  }

  .golang-page .learning-stop-content {
    min-height: 0;
    padding: 20px 18px;
  }

  .golang-page .learning-number {
    top: 10px;
    right: 10px;
    font-size: 58px;
  }

  .golang-page .learning-stop-content h3 {
    max-width: 88%;
    font-size: 22px;
  }

  .golang-page .learning-stop-content p {
    font-size: 15px;
  }

  .golang-page .learning-route-finish {
    padding: 18px;
    border-radius: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    text-align: left;
  }

}

@media (max-width: 960px) {
  .golang-page .go-payment-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .golang-page .learning-route::after {
    animation: none;
  }
}
