/* kurulum: verinizden ilk gösterime dört numaralı adım; adımlar arası çizgi girişte bir kez çizilir. */
.bolum-kurulum { background: linear-gradient(180deg, var(--gece-2), var(--gece)); border-top: 1px solid var(--cizgi-soluk); }
.bolum-kurulum .bolum-bas { margin-bottom: clamp(44px, 7vh, 80px); }
.ku-yol { --g: clamp(28px, 3.4vw, 56px); }
html.js .ku-yol[data-ac] { opacity: 1; transform: none; transition: none; }
.ku-adimlar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
.ku-adim { position: relative; display: grid; gap: 14px; align-content: start; }
.ku-no { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 4px; border: 1px solid var(--cizgi); background: var(--yuzey); font: 500 15px var(--mono); letter-spacing: .06em; color: var(--altin); margin-bottom: 14px; transition: background .6s, color .6s, box-shadow .8s; }
.ku-adim h3 { text-wrap: balance; }
.ku-adim .govde { font-size: 17px; }
.ku-demo { margin-top: clamp(44px, 7vh, 72px); }
.ku-adim:not(:last-child)::after { content: ''; position: absolute; top: 26px; inset-inline-start: 66px; width: calc(100% + var(--g) - 80px); height: 1px; background: var(--cizgi); transform: scaleX(0); transform-origin: left center; }
.ku-adim:not(:last-child)::before { content: ''; position: absolute; top: 23px; inset-inline-start: calc(100% + var(--g) - 20px); width: 7px; height: 7px; border-top: 1px solid var(--altin); border-right: 1px solid var(--altin); transform: rotate(45deg); opacity: 0; }
html[dir="rtl"] .ku-adim:not(:last-child)::after { transform-origin: right center; }
html[dir="rtl"] .ku-adim:not(:last-child)::before { border-right: 0; border-left: 1px solid var(--altin); transform: rotate(-45deg); }
.ku-adim:not(:last-child)::after { background: linear-gradient(90deg, var(--altin), rgba(227,179,65,.3)); }

html.js .ku-no, html.js .ku-adim h3, html.js .ku-adim .govde { opacity: 0; translate: 0 14px; }
html.js .ku-yol.gorundu .ku-no, html.js .ku-yol.gorundu .ku-adim h3, html.js .ku-yol.gorundu .ku-adim .govde { opacity: 1; translate: 0 0; transition: opacity .6s var(--yay) calc(var(--s) * 450ms), translate .6s var(--yay) calc(var(--s) * 450ms), background .6s, color .6s, box-shadow .8s; }
html.js .ku-yol.gorundu .ku-adim h3 { transition-delay: calc(var(--s) * 450ms + 120ms); }
html.js .ku-yol.gorundu .ku-adim .govde { transition-delay: calc(var(--s) * 450ms + 220ms); }
.ku-yol.gorundu .ku-no { background: rgba(227,179,65,.14); border-color: var(--altin); box-shadow: 0 0 28px -8px rgba(227,179,65,.5); }
.ku-yol.gorundu .ku-adim:not(:last-child)::after { transform: scaleX(1); transition: transform .5s cubic-bezier(.5, 0, .2, 1) calc(var(--s) * 450ms + 350ms); }
.ku-yol.gorundu .ku-adim:not(:last-child)::before { opacity: 1; transition: opacity .2s ease calc(var(--s) * 450ms + 800ms); }
.ku-no { transition-delay: 0s; }
html.js .ku-yol:not(.gorundu) .ku-no { background: var(--yuzey); color: var(--altin); }

@media (max-width: 1100px) {
  .ku-adimlar { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .ku-adim::before, .ku-adim::after { display: none !important; }
}
@media (max-width: 640px) {
  .ku-adimlar { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .ku-adim { grid-template-columns: 52px minmax(0, 1fr); column-gap: 20px; row-gap: 8px; padding-bottom: 40px; }
  .ku-adim:last-child { padding-bottom: 0; }
  .ku-no { grid-row: 1 / span 2; margin-bottom: 0; }
  .ku-adim h3 { padding-top: 12px; }
  .ku-adim .govde { grid-column: 2; }
  .ku-adim:not(:last-child)::after { display: block !important; top: 64px; inset-inline-start: 26px; width: 1px; height: calc(100% - 76px); transform: scaleY(0); transform-origin: center top; }
  .ku-yol.gorundu .ku-adim:not(:last-child)::after { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  html.js .ku-no, html.js .ku-adim h3, html.js .ku-adim .govde { opacity: 1 !important; translate: none !important; transition: none !important; }
  html.js .ku-yol .ku-no { background: rgba(227,179,65,.14) !important; border-color: var(--altin) !important; }
  .ku-adim:not(:last-child)::after { transform: none !important; transition: none !important; }
  .ku-adim:not(:last-child)::before { opacity: 1 !important; transition: none !important; }
}
