/* V50.6 — premium method: larger indices, richer cards, editorial head */
.academy-method.academy-method-v50 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0 120px;
  color: #f4efe6;
  background:
    radial-gradient(ellipse 70% 50% at 8% -10%, rgba(255, 162, 0, .16), transparent 55%),
    radial-gradient(ellipse 55% 45% at 96% 110%, rgba(255, 162, 0, .1), transparent 50%),
    #080705;
}

.academy-method.academy-method-v50::before,
.academy-method.academy-method-v50 .academy-method-aura,
.academy-method.academy-method-v50 .academy-method-number {
  display: none !important;
}

.academy-method.academy-method-v50 .mda-container {
  position: relative;
  z-index: 1;
}

/* ── Head panel ── */
.method-v50-head {
  position: relative;
  max-width: none;
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 162, 0, .34);
  border-radius: 26px;
  background:
    linear-gradient(125deg, #17120a 0%, #100e0a 55%, #0b0a08 100%);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}

.method-v50-head::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 162, 0, .12), transparent 68%);
  pointer-events: none;
}

.method-v50-head > small {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 34px clamp(32px, 4.5vw, 64px) 0;
  color: #ffa200;
  font-family: "Inter", "Roboto", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.method-v50-head > small::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffa200, rgba(255, 162, 0, .15));
}

.method-v50-head-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 0;
  align-items: stretch;
  margin-top: 0;
}

.method-v50-head-row h2 {
  margin: 0;
  padding: 20px clamp(32px, 4.5vw, 64px) 48px;
  color: #fff;
  font-family: "Inter", "Roboto", system-ui, sans-serif;
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: .98;
}

.method-v50-head-row h2 span {
  color: #ffa200;
}

.method-v50-head-row p {
  margin: 0;
  max-width: none;
  display: flex;
  align-items: center;
  padding: 40px clamp(28px, 3.2vw, 48px);
  color: #d8d2c6;
  font-family: "Roboto", "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  border-left: 1px solid rgba(255, 255, 255, .1);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, .045), transparent 72%);
}

/* ── Step cards ── */
.method-v50-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  counter-reset: method-step;
}

.method-v50-rail::before {
  display: none;
}

.method-v50-rail > li {
  position: relative;
  counter-increment: method-step;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 32px 30px 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 162, 0, .26);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055) 0%, transparent 38%),
    linear-gradient(155deg, #17140f 0%, #0d0b08 100%);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .32);
  transition:
    transform .28s cubic-bezier(.22, 1, .36, 1),
    border-color .28s ease,
    box-shadow .28s ease;
}

.method-v50-rail > li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffe8b0, #ffa200 50%, #c56e00);
  opacity: .9;
  transform: scaleX(.22);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

.method-v50-rail > li::after {
  content: counter(method-step, decimal-leading-zero);
  position: absolute;
  right: 18px;
  bottom: 8px;
  color: rgba(255, 162, 0, .07);
  font-family: "Inter", "Roboto", system-ui, sans-serif;
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.method-v50-rail > li:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 162, 0, .55);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, .42),
    0 0 40px rgba(255, 162, 0, .1);
}

.method-v50-rail > li:hover::before {
  transform: scaleX(1);
}

.method-v50-rail > li:last-child {
  padding-right: 30px;
}

/* Number badge */
.method-v50-index {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 18px;
  border: 1.5px solid rgba(255, 162, 0, .55);
  background:
    linear-gradient(160deg, rgba(255, 162, 0, .22), rgba(255, 162, 0, .06)),
    linear-gradient(145deg, #221c14, #100e0a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 10px 24px rgba(0, 0, 0, .35),
    0 0 0 4px rgba(255, 162, 0, .06);
  color: #ffa200;
  font-family: "Inter", "Roboto", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .04em;
  transition: border-color .28s ease, background .28s ease, box-shadow .28s ease, transform .28s ease;
}

.method-v50-rail > li:hover .method-v50-index {
  border-color: #ffa200;
  background:
    linear-gradient(145deg, #ffd27a 0%, #ffa200 55%, #e88900 100%);
  color: #0a0804;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 12px 28px rgba(255, 162, 0, .35);
  transform: scale(1.04);
}

.method-v50-index::before {
  content: counter(method-step, decimal-leading-zero);
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  animation: none;
  color: inherit;
}

.method-v50-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.method-v50-copy b {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 34px;
  margin: 0 0 14px;
  padding: 0 14px;
  color: #ffa200;
  border: 1px solid rgba(255, 162, 0, .38);
  border-radius: 999px;
  background: rgba(255, 162, 0, .08);
  font-family: "Inter", "Roboto", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.method-v50-copy h3 {
  margin: 0 0 16px;
  max-width: 280px;
  color: #fff;
  font-family: "Inter", "Roboto", system-ui, sans-serif;
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.method-v50-copy p {
  margin: 0;
  max-width: 340px;
  color: #c4bdb0;
  font-family: "Roboto", "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .method-v50-head-row {
    grid-template-columns: 1fr;
  }

  .method-v50-head-row h2 {
    padding-bottom: 26px;
  }

  .method-v50-head-row p {
    max-width: none;
    padding-top: 22px;
    padding-bottom: 28px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .method-v50-rail {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .method-v50-rail > li {
    min-height: 0;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 26px 24px;
  }

  .method-v50-rail > li::after {
    font-size: 72px;
    right: 12px;
    bottom: 4px;
  }

  .method-v50-index {
    margin: 0;
  }

  .method-v50-copy h3 {
    max-width: none;
  }

  .method-v50-copy p {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .academy-method.academy-method-v50 {
    padding: 72px 0 80px;
  }

  .method-v50-head {
    border-radius: 18px;
    margin-bottom: 16px;
  }

  .method-v50-head > small {
    padding: 24px 22px 0;
    font-size: 11px;
  }

  .method-v50-head-row h2 {
    padding: 14px 22px 22px;
    font-size: 34px;
  }

  .method-v50-head-row p {
    padding: 18px 22px 24px;
    font-size: 14px;
  }

  .method-v50-rail > li {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .method-v50-index {
    width: 56px;
    height: 56px;
    border-radius: 15px;
    font-size: 16px;
  }

  .method-v50-copy b {
    min-height: 30px;
    padding: 0 12px;
    font-size: 11px;
  }

  .method-v50-copy h3 {
    font-size: 21px;
  }

  .method-v50-copy p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .method-v50-rail > li,
  .method-v50-rail > li::before,
  .method-v50-index {
    transition: none;
  }

  .method-v50-rail > li:hover {
    transform: none;
  }
}
