/* ============================================================
   Zohi Partner Tema - Giriş Ekranı
   Gelistirici: Zohi (zohi.net) - v1.0.0
   ============================================================ */

:root {
    --zpt-lacivert:      #0B1626;
    --zpt-lacivert-2:    #10203A;
    --zpt-mavi:          #2D7DF6;
    --zpt-mavi-koyu:     #1E5FD0;
    --zpt-buz:           #EAF1FB;
    --zpt-beyaz:         #FFFFFF;
    --zpt-metin:         #22314E;
    --zpt-metin-soluk:   #66738C;
    --zpt-cizgi:         #DCE4F0;
    --zpt-hata:          #D6455B;
    --zpt-hata-zemin:    #FCEDF0;
    --zpt-basari:        #1E9E6A;
    --zpt-basari-zemin:  #E9F8F1;
    --zpt-radius:        16px;
    --zpt-golge:         0 24px 60px -18px rgba(11, 22, 38, .28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body.zpt-body { height: 100%; }

body.zpt-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--zpt-metin);
    background: var(--zpt-buz);
    -webkit-font-smoothing: antialiased;
}

/* WordPress admin bar goruntusunu bozmasin */
body.zpt-body { margin: 0 !important; }
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

.zpt-ekran {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
}

/* ── Sol marka paneli ─────────────────────────────────────── */
.zpt-marka {
    position: relative;
    flex: 0 0 44%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 64px;
    background: radial-gradient(120% 120% at 20% 10%, var(--zpt-lacivert-2) 0%, var(--zpt-lacivert) 60%);
    color: #DCE8FA;
    overflow: hidden;
}

/* Gradyan bloblar */
.zpt-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .45;
    will-change: transform;
}
.zpt-blob-a {
    width: 420px; height: 420px;
    background: #1E4FA8;
    top: -120px; left: -100px;
    animation: zptBlobA 18s ease-in-out infinite alternate;
}
.zpt-blob-b {
    width: 360px; height: 360px;
    background: #2D7DF6;
    bottom: -140px; right: -120px;
    animation: zptBlobB 22s ease-in-out infinite alternate;
}
.zpt-blob-c {
    width: 240px; height: 240px;
    background: #58C7F3;
    top: 40%; left: 55%;
    opacity: .18;
    animation: zptBlobC 26s ease-in-out infinite alternate;
}
@keyframes zptBlobA { from { transform: translate(0,0) scale(1); }   to { transform: translate(60px, 50px) scale(1.15); } }
@keyframes zptBlobB { from { transform: translate(0,0) scale(1); }   to { transform: translate(-70px, -40px) scale(1.1); } }
@keyframes zptBlobC { from { transform: translate(0,0); }            to { transform: translate(-50px, 60px); } }

/* Partner agi (SVG) */
.zpt-ag {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .8;
    animation: zptAgKay 40s linear infinite alternate;
}
@keyframes zptAgKay { from { transform: translateY(0); } to { transform: translateY(-30px); } }

.zpt-ag-noktalar circle {
    transform-origin: center;
    transform-box: fill-box;
    animation: zptNokta 4s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(124, 184, 255, .8));
}
.zpt-ag-noktalar circle:nth-child(2) { animation-delay: .6s; }
.zpt-ag-noktalar circle:nth-child(3) { animation-delay: 1.2s; }
.zpt-ag-noktalar circle:nth-child(4) { animation-delay: 1.8s; }
.zpt-ag-noktalar circle:nth-child(5) { animation-delay: 2.4s; }
.zpt-ag-noktalar circle:nth-child(6) { animation-delay: 3s; }
.zpt-ag-noktalar circle:nth-child(7) { animation-delay: .9s; }
.zpt-ag-noktalar circle:nth-child(8) { animation-delay: 2.1s; }
.zpt-ag-noktalar circle:nth-child(9) { animation-delay: 1.5s; }
@keyframes zptNokta {
    0%, 100% { opacity: .45; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.5); }
}

.zpt-marka-icerik {
    position: relative;
    z-index: 2;
    max-width: 420px;
}

.zpt-etiket {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8FC0FF;
    border: 1px solid rgba(143, 192, 255, .35);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 22px;
    backdrop-filter: blur(4px);
}

.zpt-marka-baslik {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(34px, 3.6vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.zpt-marka-slogan {
    font-size: 17px;
    line-height: 1.6;
    color: #AFC4E4;
    margin-bottom: 30px;
}

.zpt-ozellikler {
    list-style: none;
    display: grid;
    gap: 12px;
}
.zpt-ozellikler li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    color: #C9D8F0;
}
.zpt-ozellikler li::before {
    content: '';
    position: absolute;
    left: 0; top: 4px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: rgba(45, 125, 246, .25);
    border: 1px solid rgba(124, 184, 255, .6);
    box-shadow: 0 0 8px rgba(45, 125, 246, .5);
}

.zpt-marka-alt {
    position: absolute;
    left: 64px; bottom: 32px;
    z-index: 2;
    font-size: 13px;
    color: #6E82A6;
}
.zpt-marka-alt a { color: #8FC0FF; text-decoration: none; }
.zpt-marka-alt a:hover { text-decoration: underline; }

/* ── Sağ form alanı ───────────────────────────────────────── */
.zpt-form-alani {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background:
        radial-gradient(60% 50% at 80% 0%, rgba(45, 125, 246, .07) 0%, transparent 70%),
        var(--zpt-buz);
}

.zpt-kart {
    width: 100%;
    max-width: 440px;
    background: var(--zpt-beyaz);
    border-radius: var(--zpt-radius);
    box-shadow: var(--zpt-golge);
    padding: 40px 40px 28px;
    animation: zptKartGiris .6s cubic-bezier(.22, .9, .3, 1) both;
}
@keyframes zptKartGiris {
    from { opacity: 0; transform: translateY(24px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.zpt-logo {
    text-align: center;
    margin-bottom: 26px;
}
.zpt-logo img {
    max-width: 190px;
    max-height: 72px;
    width: auto;
    height: auto;
}

/* Sekmeler */
.zpt-sekmeler {
    position: relative;
    display: flex;
    background: #F0F4FB;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 22px;
}
.zpt-sekme {
    flex: 1;
    position: relative;
    z-index: 2;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--zpt-metin-soluk);
    padding: 11px 0;
    border-radius: 9px;
    cursor: pointer;
    transition: color .25s ease;
}
.zpt-sekme.aktif { color: var(--zpt-lacivert); }
.zpt-sekme:focus-visible { outline: 2px solid var(--zpt-mavi); outline-offset: 2px; }

.zpt-sekme-gosterge {
    position: absolute;
    z-index: 1;
    top: 4px; left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: var(--zpt-beyaz);
    border-radius: 9px;
    box-shadow: 0 3px 10px rgba(11, 22, 38, .12);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.zpt-sekmeler.kayit .zpt-sekme-gosterge { transform: translateX(100%); }

.zpt-tek-baslik {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 22px;
}

/* Mesaj kutusu */
.zpt-mesaj {
    font-size: 14px;
    line-height: 1.5;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    animation: zptMesajGir .3s ease both;
}
.zpt-mesaj.hata   { background: var(--zpt-hata-zemin);   color: var(--zpt-hata); }
.zpt-mesaj.basari { background: var(--zpt-basari-zemin); color: var(--zpt-basari); }
@keyframes zptMesajGir {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Formlar */
.zpt-form { display: none; }
.zpt-form.aktif {
    display: block;
    animation: zptFormGecis .35s ease both;
}
@keyframes zptFormGecis {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.zpt-alan {
    display: block;
    margin-bottom: 16px;
}
.zpt-alan > span:first-child {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--zpt-metin);
    margin-bottom: 7px;
}
.zpt-alan input[type="text"],
.zpt-alan input[type="email"],
.zpt-alan input[type="tel"],
.zpt-alan input[type="password"],
.zpt-alan textarea {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    color: var(--zpt-metin);
    background: #FAFCFF;
    border: 1.5px solid var(--zpt-cizgi);
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.zpt-alan textarea { resize: vertical; min-height: 80px; }
.zpt-alan input:focus,
.zpt-alan textarea:focus {
    outline: none;
    background: #FFFFFF;
    border-color: var(--zpt-mavi);
    box-shadow: 0 0 0 4px rgba(45, 125, 246, .14);
}

.zpt-sifre-kutu { position: relative; display: block; }
.zpt-sifre-kutu input { padding-right: 46px; }
.zpt-sifre-goster {
    position: absolute;
    top: 50%; right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--zpt-metin-soluk);
    padding: 6px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    transition: color .2s ease;
}
.zpt-sifre-goster:hover { color: var(--zpt-mavi); }

.zpt-satir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 20px;
    font-size: 13.5px;
}
.zpt-hatirla {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--zpt-metin-soluk);
    cursor: pointer;
    user-select: none;
}
.zpt-hatirla input { accent-color: var(--zpt-mavi); width: 15px; height: 15px; }
.zpt-unuttum { color: var(--zpt-mavi); text-decoration: none; font-weight: 500; }
.zpt-unuttum:hover { text-decoration: underline; }

/* Buton */
.zpt-buton {
    position: relative;
    width: 100%;
    border: 0;
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--zpt-mavi) 0%, var(--zpt-mavi-koyu) 100%);
    border-radius: 11px;
    padding: 14px 0;
    cursor: pointer;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .25s ease;
    box-shadow: 0 10px 24px -8px rgba(45, 125, 246, .55);
}
.zpt-buton:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -8px rgba(45, 125, 246, .65); }
.zpt-buton:active { transform: translateY(0); }
.zpt-buton::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    transition: left .5s ease;
}
.zpt-buton:hover::after { left: 130%; }
.zpt-buton[disabled] { opacity: .7; cursor: wait; }

.zpt-kart-alt {
    margin-top: 24px;
    text-align: center;
    font-size: 12.5px;
    color: var(--zpt-metin-soluk);
}

/* ── Sorun Bildir ── */
.zpt-sorun-alan {
    margin-top: 12px;
    text-align: center;
}
.zpt-sorun-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--zpt-metin-soluk);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color .2s ease, background .2s ease;
}
.zpt-sorun-btn:hover {
    color: var(--zpt-hata);
    background: var(--zpt-hata-zemin);
}
.zpt-sorun-form {
    text-align: left;
    background: #F5F8FD;
    border: 1.5px solid var(--zpt-cizgi);
    border-radius: 12px;
    padding: 16px;
    margin-top: 10px;
    animation: zptMesajGir .3s ease both;
}
.zpt-sorun-baslik {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}
.zpt-sorun-not {
    font-size: 12px;
    color: var(--zpt-metin-soluk);
    margin-bottom: 12px;
}
.zpt-sorun-form .zpt-alan input,
.zpt-sorun-form .zpt-alan textarea {
    background: #FFFFFF;
}
.zpt-sorun-butonlar {
    display: flex;
    gap: 10px;
}
.zpt-sorun-butonlar .zpt-buton {
    flex: 1;
    padding: 11px 0;
    font-size: 14px;
}

/* Sarsma (hata) */
.zpt-kart.sars { animation: zptSars .4s ease; }
@keyframes zptSars {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

/* ── Sihirbaz: adım göstergesi ────────────────────────────── */
.zpt-adimlar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.zpt-adim-nokta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 58px;
}
.zpt-adim-no {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--zpt-metin-soluk);
    background: #F0F4FB;
    border: 2px solid var(--zpt-cizgi);
    transition: all .3s ease;
}
.zpt-adim-ad {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--zpt-metin-soluk);
    transition: color .3s ease;
}
.zpt-adim-nokta.aktif .zpt-adim-no {
    color: #FFFFFF;
    background: var(--zpt-mavi);
    border-color: var(--zpt-mavi);
    box-shadow: 0 0 0 5px rgba(45, 125, 246, .15);
}
.zpt-adim-nokta.aktif .zpt-adim-ad { color: var(--zpt-mavi); }
.zpt-adim-nokta.tamam .zpt-adim-no {
    color: #FFFFFF;
    background: var(--zpt-basari);
    border-color: var(--zpt-basari);
}
.zpt-adim-nokta.tamam .zpt-adim-ad { color: var(--zpt-basari); }
.zpt-adim-cizgi {
    flex: 1;
    height: 2px;
    background: var(--zpt-cizgi);
    margin: 0 6px 18px;
    transition: background .3s ease;
}
.zpt-adim-cizgi.tamam { background: var(--zpt-basari); }

/* Sihirbaz adımları */
.zpt-adim { display: none; }
.zpt-adim.aktif {
    display: block;
    animation: zptFormGecis .35s ease both;
}
.zpt-adim-aciklama {
    font-size: 13.5px;
    color: var(--zpt-metin-soluk);
    background: #F0F4FB;
    border-radius: 10px;
    padding: 11px 14px;
    margin-bottom: 16px;
}

/* Bölüm başlığı (Fatura / IBAN blokları) */
.zpt-bolum-baslik {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--zpt-mavi);
    border-bottom: 1.5px solid var(--zpt-cizgi);
    padding-bottom: 7px;
    margin: 20px 0 14px;
}
.zpt-bolum-baslik:first-of-type { margin-top: 4px; }

/* Firma tipi radyoları */
.zpt-alan-etiket {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--zpt-metin);
    margin-bottom: 7px;
}
.zpt-radyolar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.zpt-radyo {
    position: relative;
    cursor: pointer;
}
.zpt-radyo input {
    position: absolute;
    opacity: 0;
    inset: 0;
}
.zpt-radyo span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--zpt-metin-soluk);
    background: #FAFCFF;
    border: 1.5px solid var(--zpt-cizgi);
    border-radius: 10px;
    padding: 11px 6px;
    min-height: 42px;
    transition: all .2s ease;
}
.zpt-radyo:hover span { border-color: #B9CBEA; }
.zpt-radyo input:checked + span {
    color: var(--zpt-mavi);
    background: rgba(45, 125, 246, .07);
    border-color: var(--zpt-mavi);
    box-shadow: 0 0 0 3px rgba(45, 125, 246, .12);
}
.zpt-radyo input:focus-visible + span {
    outline: 2px solid var(--zpt-mavi);
    outline-offset: 2px;
}

/* Sihirbaz butonları */
.zpt-sihirbaz-butonlar {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.zpt-sihirbaz-butonlar .zpt-buton { flex: 1; }
.zpt-buton-geri {
    flex: 0 0 32% !important;
    color: var(--zpt-metin);
    background: #F0F4FB;
    box-shadow: none;
}
.zpt-buton-geri:hover {
    box-shadow: none;
    background: #E4EAF6;
}
.zpt-buton-geri::after { display: none; }

/* Başvuru sonrası bekleme ekranı */
.zpt-basari {
    text-align: center;
    padding: 8px 4px;
    animation: zptFormGecis .35s ease both;
}
.zpt-basari-ikon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px; height: 68px;
    border-radius: 50%;
    color: var(--zpt-basari);
    background: var(--zpt-basari-zemin);
    margin-bottom: 16px;
    animation: zptBasariNabiz 2.2s ease-in-out infinite;
}
@keyframes zptBasariNabiz {
    0%, 100% { box-shadow: 0 0 0 0 rgba(30, 158, 106, .25); }
    50%      { box-shadow: 0 0 0 12px rgba(30, 158, 106, 0); }
}
.zpt-basari h2 {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
}
.zpt-basari p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--zpt-metin-soluk);
    margin-bottom: 12px;
}
.zpt-basari .zpt-buton { margin-top: 8px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
    .zpt-ekran { flex-direction: column; }
    .zpt-marka {
        flex: none;
        min-height: 230px;
        padding: 40px 28px 56px;
        justify-content: flex-end;
    }
    .zpt-marka-baslik { font-size: 30px; }
    .zpt-marka-slogan { font-size: 15px; margin-bottom: 0; }
    .zpt-ozellikler, .zpt-marka-alt { display: none; }
    .zpt-form-alani {
        margin-top: -28px;
        padding: 0 16px 40px;
        align-items: flex-start;
    }
    .zpt-kart { padding: 32px 24px 22px; }
}

@media (max-width: 420px) {
    .zpt-marka { min-height: 200px; padding: 32px 20px 52px; }
    .zpt-marka-baslik { font-size: 26px; }
    .zpt-logo img { max-width: 160px; }
}

/* ── Hareket azaltma tercihi ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .zpt-blob,
    .zpt-ag,
    .zpt-ag-noktalar circle,
    .zpt-kart,
    .zpt-form.aktif,
    .zpt-adim.aktif,
    .zpt-basari,
    .zpt-basari-ikon,
    .zpt-mesaj { animation: none !important; }
    .zpt-buton::after { display: none; }
    * { transition-duration: .01ms !important; }
}
