/* Kurulum sayfası: site.css + anasayfa.css (hareketli giriş, kartlar, kaydırınca belirme) üstüne.
   Resimlerdeki pencereler ekran görüntüsü gibi açık renklidir (koyu temada da), renkleri kurulum programının
   kendi renkleri (kurulum.py). prefers-reduced-motion'da anasayfa.css bütün hareketi kapatır. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
main.kurulum { max-width: 1120px; padding-top: 56px; overflow-x: clip; }  /* yandan kayan adımlar taşmasın */

/* ---------------------------------------------------------------- giriş: indirme */
.indir-satir { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 0 0 16px; }
.indir-bilgi { color: var(--soluk); font-size: .88rem; line-height: 1.45; }
.indir-bilgi #surumler { color: var(--metin); font-weight: 600; }
.kahraman .kutu { margin: 0 0 10px; max-width: 560px; background: color-mix(in srgb, var(--kart) 70%, transparent); }
.kahraman .kutu.hata { background: var(--kirmizi-zemin); }
.kahraman .kutu.uyari { background: var(--turuncu-zemin); }
#indir:disabled { transform: none; box-shadow: none; }

/* ---- giriş sahnesi: kurulum programı döngüsü (9 sn: hazırlık → ATP → ABP → bitti) */
.uk-kurulum { width: 340px; left: 24px; top: 44px; rotate: -2deg; padding: 0; overflow: hidden;
              background: #fff; color: #1F2A37; border-color: #c9d2de; }
.mk-baslik { display: flex; align-items: center; gap: 7px; padding: 7px 10px; font-size: 11.5px; border-bottom: 1px solid #eef1f5; }
.mk-baslik span { margin-left: auto; color: #52667A; letter-spacing: 5px; }
.mk-ic { padding: 0 0 14px; animation: mk-dongu 9s linear infinite; }
.mk-ust { display: flex; align-items: center; gap: 11px; padding: 12px 18px 10px; border-bottom: 1px solid #DCE3EC; margin-bottom: 8px; }
.mk-ust b { display: block; color: #17365D; font-size: 15px; line-height: 1.2; }
.mk-ust span { color: #52667A; font-size: 11.5px; }
.mk-satir { display: flex; align-items: center; gap: 9px; padding: 5px 18px; font-size: 13px; }
.mk-satir em { margin-left: auto; font-style: normal; color: #52667A; font-size: 11.5px; }
.mk-satir i { position: relative; width: 17px; height: 17px; border-radius: 50%; border: 2px solid #DCE3EC; flex: none; }
.mk-satir i::after { content: "✓"; position: absolute; inset: -2px; border-radius: 50%; background: #18864B; color: #fff;
                     font: 700 10px/17px "Segoe UI", sans-serif; text-align: center; transform: scale(0); }
.mk-1 i::after { animation: mk-tik1 9s ease-out infinite; }
.mk-2 i::after { animation: mk-tik2 9s ease-out infinite; }
.mk-3 i::after { animation: mk-tik3 9s ease-out infinite; }
.mk-2 i { animation: mk-calis2 9s linear infinite; }
.mk-3 i { animation: mk-calis3 9s linear infinite; }
.mk-cubuk { height: 6px; background: #DCE3EC; margin: 10px 18px 0; border-radius: 3px; overflow: hidden; }
.mk-cubuk div { height: 100%; width: 0; background: linear-gradient(90deg, #17365D, #2d5bd1); border-radius: 3px;
                animation: mk-cubuk 9s ease-in-out infinite; }
.mk-bitti { display: flex; align-items: center; gap: 8px; margin: 12px 18px 0; font-weight: 700; color: #18864B;
            opacity: 0; animation: mk-bitti 9s ease-out infinite; }
.mk-bitti i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: #ecf8f1; display: grid; place-items: center; }
@keyframes mk-dongu { 0% { opacity: 0; } 4%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mk-cubuk { 0%, 6% { width: 0; } 14% { width: 10%; } 50% { width: 58%; } 80%, 100% { width: 100%; } }
@keyframes mk-tik1 { 0%, 12% { transform: scale(0); } 16% { transform: scale(1.2); } 19%, 100% { transform: scale(1); } }
@keyframes mk-tik2 { 0%, 50% { transform: scale(0); } 54% { transform: scale(1.2); } 57%, 100% { transform: scale(1); } }
@keyframes mk-tik3 { 0%, 79% { transform: scale(0); } 83% { transform: scale(1.2); } 86%, 100% { transform: scale(1); } }
/* sıradaki panel inerken halkası mavi yanıp söner */
@keyframes mk-calis2 { 0%, 16% { border-color: #DCE3EC; } 20%, 30%, 40% { border-color: #2d5bd1; }
                       25%, 35%, 45% { border-color: #a9bff0; } 50%, 100% { border-color: #DCE3EC; } }
@keyframes mk-calis3 { 0%, 54% { border-color: #DCE3EC; } 58%, 66%, 74% { border-color: #2d5bd1; }
                       62%, 70%, 78% { border-color: #a9bff0; } 80%, 100% { border-color: #DCE3EC; } }
@keyframes mk-bitti { 0%, 84% { opacity: 0; transform: translateY(6px); } 88%, 100% { opacity: 1; transform: none; } }

.uk-cip { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .86rem; padding: 10px 14px; white-space: nowrap; }
.cs { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
      font-size: .8rem; flex: none; }
.cs.yesil { background: var(--yesil-zemin); color: var(--yesil); }
.cs.mavi { background: color-mix(in srgb, var(--vurgu) 14%, transparent); color: var(--vurgu); }
.cs.turuncu { background: var(--turuncu-zemin); color: var(--turuncu); }
.c1 { right: 0; top: 6px; rotate: 3deg; }
.c2 { right: 0; top: 268px; rotate: -2deg; }
.c3 { left: 6px; top: 340px; rotate: 1.5deg; }

/* ---------------------------------------------------------------- altı adım (anasayfa .adimlar, 6 sütun) */
.adimlar.alti { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.adimlar.alti::before { left: calc(100% / 12); right: calc(100% / 12); }
@media (max-width: 900px) { .adimlar.alti { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
                            .adimlar.alti::before { display: none; } }
@media (max-width: 480px) { .adimlar.alti { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
a.adim-govde { display: block; color: inherit; text-decoration: none; padding: 16px 12px; }
a.adim-govde:hover { border-color: color-mix(in srgb, var(--vurgu) 45%, var(--cizgi)); }
.adimlar.alti h3 { font-size: .98rem; margin: 0 0 2px; }
.adimlar.alti p { font-size: .84rem; }
.ozet-simge { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; margin-bottom: 8px;
              background: color-mix(in srgb, var(--vurgu) 12%, transparent); color: var(--vurgu); transition: transform .3s ease; }
.ozet-simge svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.adimlar li:hover .ozet-simge { transform: rotate(-6deg) scale(1.08); }

/* ---------------------------------------------------------------- resimli adımlar */
.adim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 32px; align-items: center;
        background: var(--kart); border: 1px solid var(--cizgi); border-radius: 18px; box-shadow: var(--golge);
        padding: 26px clamp(16px, 3vw, 32px); margin-bottom: 18px; scroll-margin-top: 16px;
        transition: opacity .7s ease, transform .7s ease, box-shadow .25s ease; }
.adim:hover { box-shadow: 0 16px 34px rgba(15, 39, 68, .10); }
.adim.ters { grid-template-columns: minmax(0, 470px) minmax(0, 1fr); }
.adim.ters .resim { order: -1; }
@media (max-width: 820px) { .adim, .adim.ters { grid-template-columns: 1fr; } .adim.ters .resim { order: 0; } }
.adim[data-goster] { transform: translateX(-34px); }
.adim.ters[data-goster] { transform: translateX(34px); }
.adim[data-goster].gorundu { transform: none; }
.adim:target { border-color: var(--vurgu); }
.adim-yazi { position: relative; padding-left: 52px; }
.adim-yazi .no { position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 12px;
                 background: linear-gradient(135deg, var(--laci), #2d5bd1); color: #fff; font-weight: 800;
                 display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(23, 54, 93, .25); }
@media (prefers-color-scheme: dark) { .adim-yazi .no { background: linear-gradient(135deg, #7ea2ff, #5fd3c2); color: #0d1626; } }
.adim h3 { margin: 6px 0 8px; font-size: 1.15rem; }
.adim p { margin: 0 0 8px; }
.dosya { font-family: Consolas, "Cascadia Mono", monospace; font-size: .9rem; background: var(--yuzey);
         padding: 1px 6px; border-radius: 5px; white-space: nowrap; }
.resim { margin: 0; }
.resim figcaption { color: var(--soluk); font-size: .85rem; text-align: center; margin-top: 10px; }
.vurgu { outline: 3px solid #f59e0b; outline-offset: 2px; animation: vurgu-nabiz 1.8s ease-in-out infinite; }
@keyframes vurgu-nabiz { 0%, 100% { outline-color: #f59e0b; outline-offset: 2px; }
                         50% { outline-color: rgba(245, 158, 11, .35); outline-offset: 5px; } }
.ok { color: #b45309; font-weight: 700; }

/* ---- resimler görününce: menü açılır, çubuk ilerler, onay işareti belirir */
.gorundu .menu { animation: menu-ac .45s .7s ease-out both; }
@keyframes menu-ac { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }
.gorundu .kur-cubuk div { animation: ilerle 3.4s ease-in-out infinite alternate; }
@keyframes ilerle { from { width: 14%; } to { width: 86%; } }
.gorundu .kur-adim.calisiyor i { animation: yanip 1.2s ease-in-out infinite; }
@keyframes yanip { 50% { opacity: .3; } }
.gorundu .kur-bitti i { animation: tik-pop .6s .6s ease-out both; }
@keyframes tik-pop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* ---- kurulum programı penceresi (kurulum.py ile aynı renkler) */
.pencere { background: #fff; color: #1F2A37; border: 1px solid #c9d2de; border-radius: 8px; overflow: hidden;
           box-shadow: 0 10px 30px rgba(15, 39, 68, .16); font: 13px/1.45 "Segoe UI", system-ui, sans-serif; }
.pencere-ust { display: flex; align-items: center; gap: 7px; padding: 7px 10px; font-size: 12px; color: #1F2A37;
               border-bottom: 1px solid #eef1f5; }
.pencere-ust .sag { margin-left: auto; color: #52667A; letter-spacing: 6px; }
.kur-ust { display: flex; align-items: center; gap: 12px; padding: 16px 22px 12px; border-bottom: 1px solid #DCE3EC; }
.kur-ad { color: #17365D; font-weight: 600; font-size: 17px; line-height: 1.2; }
.kur-alt { color: #52667A; font-size: 12px; }
.kur-govde { padding: 14px 22px; min-height: 150px; display: grid; gap: 6px; align-content: start; }
.kur-liste { background: #F4F7FB; border: 1px solid #DCE3EC; padding: 6px 12px; display: grid; gap: 4px; margin: 4px 0 6px; }
.kur-liste div { display: flex; justify-content: space-between; gap: 10px; }
.kur-liste span { color: #52667A; font-size: 12px; }
.kur-not { color: #52667A; font-size: 12px; }
.kur-adim { display: flex; align-items: center; gap: 8px; }
.kur-adim i { font-style: normal; width: 16px; text-align: center; color: #DCE3EC; }
.kur-adim.tamam i { color: #18864B; }
.kur-adim.calisiyor i { color: #17365D; }
.kur-adim span { margin-left: auto; color: #52667A; font-size: 12px; }
.kur-cubuk { height: 6px; background: #DCE3EC; margin-top: 12px; }
.kur-cubuk div { height: 100%; background: #17365D; }
.kur-bitti { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.kur-bitti i { font-style: normal; color: #18864B; font-size: 24px; display: inline-block; }
.kur-alt-serit { background: #F4F7FB; border-top: 1px solid #DCE3EC; min-height: 54px; display: flex;
                 flex-direction: row-reverse; gap: 12px; align-items: center; padding: 0 14px; }
.kd { padding: 6px 16px; font-weight: 600; font-size: 13px; }
.kd.b { background: #17365D; color: #fff; }
.kd.i { background: #fff; color: #17365D; border: 1px solid #DCE3EC; }

/* ---- Windows SmartScreen (açıklama amaçlı çizim) */
.smartscreen { background: #0067b8; color: #fff; padding: 22px 24px 18px; border-radius: 6px; position: relative;
               box-shadow: 0 10px 30px rgba(15, 39, 68, .2); font: 13px/1.5 "Segoe UI", system-ui, sans-serif; }
.smartscreen p { margin: 0 0 10px; }
.ss-kapat { position: absolute; right: 14px; top: 10px; opacity: .8; }
.ss-baslik { font-size: 21px; font-weight: 300; margin-bottom: 10px; }
.ss-bag { text-decoration: underline; }
.ss-ayrinti { opacity: .9; }
.ss-dugmeler { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.ss-d { border: 2px solid #fff; padding: 5px 16px; }
.smartscreen .ok { color: #fde68a; }

/* ---- Kullanıcı Hesabı Denetimi (açıklama amaçlı çizim) */
.uac { background: #fff; color: #1b1b1b; border: 1px solid #c9d2de; border-radius: 8px; overflow: hidden;
       box-shadow: 0 10px 30px rgba(15, 39, 68, .16); font: 13px/1.45 "Segoe UI", system-ui, sans-serif; }
.uac-ust { background: #f3d36b; padding: 8px 16px; font-size: 12px; }
.uac-soru { padding: 16px 18px 10px; font-size: 16px; font-weight: 600; }
.uac-uyg { display: flex; gap: 12px; align-items: center; padding: 4px 18px 16px; }
.uac-uyg .ince { color: #52667A; }
.uac-dugmeler { background: #f3f3f3; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 18px; }
.ud { text-align: center; padding: 7px; border: 1px solid #c9c9c9; background: #fff; font-weight: 600; }
.ud.vurgu { background: #0067b8; color: #fff; border-color: #0067b8; }

/* ---- tarayıcı indirme listesi (açıklama amaçlı çizim) */
.tarayici { background: #fff; color: #1F2A37; border: 1px solid #c9d2de; border-radius: 10px; overflow: visible;
            box-shadow: 0 10px 30px rgba(15, 39, 68, .16); font: 13px/1.45 "Segoe UI", system-ui, sans-serif;
            padding-bottom: 54px; }
.tarayici-ust { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid #eef1f5; }
.tarayici-ust .nokta { width: 10px; height: 10px; border-radius: 50%; background: #dfe4ea; }
.tarayici-ust .adres { margin-left: 8px; font-weight: 600; }
.indirilen { display: flex; align-items: center; gap: 12px; padding: 14px; }
.dosya-simge { width: 38px; height: 44px; border-radius: 5px; background: #e8eef7; color: #17365D; font-weight: 700;
               font-size: 11px; display: flex; align-items: center; justify-content: center; flex: none; }
.indirilen-yazi { flex: 1; min-width: 0; }
.indirilen-yazi .ince { color: #b45309; font-size: 12px; }
.dosya-ad { font-weight: 600; }
.menu-ac { position: relative; font-weight: 700; padding: 2px 10px; border-radius: 6px; background: #eef1f5; }
.menu { position: absolute; right: 0; top: 30px; background: #fff; border: 1px solid #dfe4ea; border-radius: 8px;
        box-shadow: 0 6px 18px rgba(15, 39, 68, .14); min-width: 110px; font-weight: 400; z-index: 1; }
.menu div { padding: 6px 12px; }
.menu .secili { outline: 3px solid #f59e0b; outline-offset: -3px; border-radius: 8px 8px 0 0; font-weight: 600; }

/* ---------------------------------------------------------------- bilmeniz gerekenler */
.kurulum .ozellikler { margin-bottom: 8px; }
.kurulum .cagri { margin-top: 48px; }
