/* ==========================================================================
   Dewey AI — arayüz stilleri

   İki katman vardır:
     1. TANITIM  — herkese açık sayfa; kendi renk paleti ve tipografisi var
                   (Google mavisi ailesi), Bootstrap'tan bağımsız çalışır.
     2. PANEL    — giriş sonrası ekranlar; Bootstrap 5.3 üzerine ince katman,
                   açık/koyu tema kendiliğinden çalışır.
   ========================================================================== */

:root {
    --dw-yumusak: 14px;
    --dw-golge: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 20px -12px rgba(16, 24, 40, .18);
    --dw-golge-guclu: 0 2px 4px rgba(16, 24, 40, .05), 0 24px 48px -22px rgba(16, 24, 40, .3);

    /* Google renk ailesi — tanıtım sayfasında kullanılır */
    --g-mavi:        #4285f4;
    --g-mavi-koyu:   #1a73e8;
    --g-mavi-acik:   #8ab4f8;
    --g-kirmizi:     #ea4335;
    --g-sari:        #fbbc04;
    --g-yesil:       #34a853;
    --g-metin:       #202124;
    --g-soluk:       #5f6368;
    --g-cizgi:       #dadce0;
    --g-zemin:       #f8f9fc;
}

[data-bs-theme="dark"] {
    --dw-golge: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px -12px rgba(0, 0, 0, .6);
    --dw-golge-guclu: 0 2px 4px rgba(0, 0, 0, .4), 0 24px 48px -22px rgba(0, 0, 0, .7);
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.card {
    border-radius: var(--dw-yumusak);
    box-shadow: var(--dw-golge);
    border-color: var(--bs-border-color-translucent);
}


/* ==========================================================================
   TANITIM SAYFASI
   Kendi kapalı dünyası: tüm sınıflar .tanitim altında tanımlıdır, panel
   ekranlarını etkilemez. Renkler Google mavisi ailesinden gelir.
   ========================================================================== */

.tanitim {
    font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: #fff;
    color: var(--g-metin);
    line-height: 1.6;
    overflow-x: hidden;
}

.tanitim h1,
.tanitim h2,
.tanitim h3,
.tanitim h4 {
    font-family: 'Space Grotesk', 'Sora', sans-serif;
    font-weight: 700;
}

.tanitim .sarmal {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.tanitim section { padding: 110px 0; position: relative; overflow: hidden; }

/* ------------------------------------------------------------- üst şerit --- */

.t-serit {
    background: linear-gradient(90deg, var(--g-mavi), var(--g-yesil), var(--g-sari), var(--g-kirmizi), var(--g-mavi));
    background-size: 400% 100%;
    animation: seritAk 12s ease infinite;
    padding: 9px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes seritAk {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.t-serit p {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* -------------------------------------------------------------- üst menü --- */

.t-menu {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(66, 133, 244, .12);
    padding: 14px 0;
    transition: box-shadow .25s ease;
}

.t-menu.kaydirildi { box-shadow: 0 4px 24px rgba(32, 33, 36, .08); }

.t-menu-ic { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.t-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.t-logo-ikon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 21px;
    box-shadow: 0 8px 24px rgba(66, 133, 244, .3);
    overflow: hidden;
}

.t-logo-ikon img { width: 100%; height: 100%; object-fit: cover; }

.t-logo-yazi {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 25px;
    background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.t-menu-liste { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }

.t-menu-liste a {
    text-decoration: none;
    color: var(--g-soluk);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color .3s;
}

.t-menu-liste a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--g-mavi), var(--g-mavi-koyu));
    border-radius: 2px;
    transition: width .3s;
}

.t-menu-liste a:hover { color: var(--g-mavi); }
.t-menu-liste a:hover::after { width: 100%; }

.t-menu-dugmeler { display: flex; align-items: center; gap: 12px; }

/* --------------------------------------------------------------- butonlar --- */

.t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.175, .885, .32, 1.275), box-shadow .35s ease;
}

.t-btn-cizgi {
    background: transparent;
    color: var(--g-metin);
    border: 2px solid rgba(66, 133, 244, .25);
}

.t-btn-cizgi:hover { border-color: var(--g-mavi); color: var(--g-mavi); transform: translateY(-2px); }

.t-btn-dolu {
    background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu));
    color: #fff;
    box-shadow: 0 8px 24px rgba(66, 133, 244, .35);
}

.t-btn-dolu:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(66, 133, 244, .45);
}

.t-btn-buyuk { padding: 15px 30px; font-size: 15px; }

/* Işıltı geçişi */
.t-btn-dolu::after {
    content: "";
    position: absolute;
    top: 0;
    left: -140%;
    width: 55%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-18deg);
}

.t-btn-dolu:hover::after { animation: parla .85s ease; }

@keyframes parla { to { left: 140%; } }

/* Mobil menü düğmesi */
.t-mobil-dugme { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

.t-mobil-dugme span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--g-mavi), var(--g-mavi-koyu));
    margin: 5px 0;
    border-radius: 3px;
}

/* ------------------------------------------------------------- kahraman --- */

.t-kahraman {
    padding: 76px 0 96px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fafbff 0%, #eef3fe 100%);
}

.t-kahraman-fon { position: absolute; inset: 0; overflow: hidden; }

.t-kure {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: kureSuzul 22s ease-in-out infinite;
}

.t-kure-1 { width: 600px; height: 600px; background: linear-gradient(135deg, rgba(66,133,244,.28), rgba(26,115,232,.2)); top: -200px; right: -100px; }
.t-kure-2 { width: 500px; height: 500px; background: linear-gradient(135deg, rgba(52,168,83,.18), rgba(66,133,244,.15)); bottom: -150px; left: -150px; animation-delay: -7s; }
.t-kure-3 { width: 400px; height: 400px; background: linear-gradient(135deg, rgba(251,188,4,.16), rgba(234,67,53,.12)); top: 50%; left: 48%; animation-delay: -14s; }

@keyframes kureSuzul {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(40px, -40px) scale(1.1); }
    50%      { transform: translate(-30px, 50px) scale(.95); }
    75%      { transform: translate(50px, 30px) scale(1.05); }
}

.t-zerrecikler { position: absolute; inset: 0; }

.t-zerre { position: absolute; border-radius: 50%; animation: zerreYuksel 16s linear infinite; }

@keyframes zerreYuksel {
    0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10%  { opacity: .9; }
    90%  { opacity: .9; }
    100% { transform: translateY(-120px) rotate(720deg); opacity: 0; }
}

.t-kahraman-izgara {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.t-rozet {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid rgba(66, 133, 244, .22);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--g-mavi-koyu);
    margin-bottom: 26px;
    box-shadow: 0 4px 20px rgba(66, 133, 244, .12);
}

.t-baslik { font-size: 54px; line-height: 1.1; margin-bottom: 22px; }

.t-baslik span {
    background: linear-gradient(135deg, var(--g-mavi), var(--g-yesil), var(--g-sari), var(--g-kirmizi), var(--g-mavi));
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: yaziAk 6s linear infinite;
}

@keyframes yaziAk { to { background-position: 250% center; } }

.t-aciklama { font-size: 18px; color: var(--g-soluk); margin-bottom: 28px; max-width: 520px; line-height: 1.8; }

/* Deneme arama kutusu */
.t-arama { margin-bottom: 24px; }

.t-arama-kutu {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(66, 133, 244, .2);
    border-radius: 16px;
    padding: 6px 6px 6px 18px;
    box-shadow: 0 12px 36px rgba(32, 33, 36, .1);
    transition: box-shadow .25s ease, border-color .25s ease;
}

.t-arama-kutu:focus-within {
    border-color: var(--g-mavi);
    box-shadow: 0 12px 40px rgba(66, 133, 244, .25);
}

.t-arama-kutu i { color: var(--g-soluk); font-size: 18px; }

.t-arama-kutu input {
    flex: 1;
    border: 0;
    outline: 0;
    font-family: inherit;
    font-size: 15px;
    padding: 12px;
    background: transparent;
    color: var(--g-metin);
    min-width: 0;
}

.t-arama-not { font-size: 13px; color: var(--g-soluk); margin: 10px 0 0; }

.t-dugmeler { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }

.t-sayilar { display: flex; gap: 18px; flex-wrap: wrap; }

.t-sayi {
    text-align: center;
    padding: 18px 26px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(32, 33, 36, .08);
    border: 1px solid rgba(66, 133, 244, .12);
    transition: transform .35s ease, box-shadow .35s ease;
}

.t-sayi:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(66, 133, 244, .18); }

.t-sayi-deger {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.t-sayi-etiket { font-size: 13px; color: var(--g-soluk); margin-top: 4px; font-weight: 500; }

/* ------------------------------------------------------ örnek gösterge --- */

.t-gorsel { position: relative; }

.t-pano {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(32, 33, 36, .14);
    padding: 26px;
    border: 1px solid rgba(66, 133, 244, .12);
    position: relative;
}

.t-pano-ust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef0f4;
}

.t-pano-baslik { font-size: 15px; font-weight: 700; }

.t-pano-rozet {
    background: linear-gradient(135deg, #e6f4ea, #ceead6);
    color: #137333;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.t-pano-arama {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--g-zemin);
    border: 1px solid var(--g-cizgi);
    border-radius: 12px;
    padding: 11px 14px;
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--g-metin);
}

.t-pano-arama i { color: var(--g-soluk); }
.t-pano-arama .yazan { flex: 1; }

.t-imlec {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    background: var(--g-mavi);
    vertical-align: text-bottom;
    animation: imlec 1s steps(2, start) infinite;
}

@keyframes imlec { to { visibility: hidden; } }

.t-dusunuyor { display: flex; align-items: center; gap: 10px; color: var(--g-soluk); font-size: 13px; padding: 26px 0; }

.t-nokta span {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border-radius: 50%;
    background: var(--g-mavi);
    animation: zipla 1.1s ease-in-out infinite;
}

.t-nokta span:nth-child(2) { background: var(--g-kirmizi); animation-delay: .15s; }
.t-nokta span:nth-child(3) { background: var(--g-sari); animation-delay: .3s; }

@keyframes zipla {
    0%, 60%, 100% { transform: translateY(0); opacity: .4; }
    30%           { transform: translateY(-6px); opacity: 1; }
}

.t-sonuc { display: flex; gap: 18px; align-items: flex-start; }

.t-sonuc.giris { animation: sonucGir .45s cubic-bezier(.22, .61, .36, 1) both; }

@keyframes sonucGir {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

.t-kod-etiket { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--g-soluk); }

.t-kod {
    font-family: 'Space Grotesk', monospace;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--g-mavi-koyu);
}

.t-yol { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.t-yol-en { font-size: 13px; color: var(--g-soluk); margin-bottom: 10px; }

.t-onay {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e6f4ea;
    color: #137333;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.t-mini-kartlar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }

.t-mini {
    background: linear-gradient(135deg, #fafbff, #eef3fe);
    padding: 14px 10px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid rgba(66, 133, 244, .12);
    transition: transform .3s ease;
}

.t-mini:hover { transform: translateY(-2px); }
.t-mini-deger { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.t-mini-etiket { font-size: 11px; color: var(--g-soluk); font-weight: 500; }

.t-ucan {
    position: absolute;
    background: #fff;
    padding: 13px 18px;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(32, 33, 36, .16);
    border: 1px solid rgba(66, 133, 244, .12);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 13px;
    animation: ucus 3.4s ease-in-out infinite;
}

.t-ucan-1 { top: -26px; right: 26px; }
.t-ucan-2 { bottom: 48px; left: -38px; animation-delay: -1.7s; }

@keyframes ucus {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* -------------------------------------------------------- akan sınıf şeridi --- */

.t-kayan { padding: 26px 0; background: #fff; border-top: 1px solid #eef0f4; border-bottom: 1px solid #eef0f4; overflow: hidden; }

.t-kayan-ic { display: flex; gap: 10px; width: max-content; animation: kay 48s linear infinite; }

.t-kayan:hover .t-kayan-ic { animation-play-state: paused; }

@keyframes kay { to { transform: translateX(-50%); } }

.t-kayan-oge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--g-cizgi);
    background: var(--g-zemin);
    font-size: 13px;
    white-space: nowrap;
    color: var(--g-soluk);
}

.t-kayan-oge b { color: var(--g-mavi-koyu); font-family: 'Space Grotesk', monospace; }

/* ------------------------------------------------------------ bölüm başı --- */

.t-bolum-bas { text-align: center; max-width: 680px; margin: 0 auto 64px; }

.t-bolum-rozet {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(66, 133, 244, .1);
    color: var(--g-mavi-koyu);
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    border: 1px solid rgba(66, 133, 244, .2);
}

.t-bolum-baslik { font-size: 42px; margin-bottom: 16px; line-height: 1.15; }
.t-bolum-aciklama { font-size: 17px; color: var(--g-soluk); line-height: 1.8; margin: 0; }

/* ------------------------------------------------------------ ne işe yarar --- */

.t-hakkinda { background: linear-gradient(180deg, #eef3fe 0%, #f6f9ff 100%); }

.t-hakkinda-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; position: relative; z-index: 1; }

.t-hakkinda-izgara h2 { font-size: 38px; margin-bottom: 18px; line-height: 1.2; }
.t-hakkinda-izgara > div > p { color: var(--g-soluk); font-size: 17px; margin-bottom: 32px; line-height: 1.8; }

.t-ozellik-satiri { display: flex; flex-direction: column; gap: 18px; }

.t-satir {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(66, 133, 244, .12);
    box-shadow: 0 4px 20px rgba(32, 33, 36, .05);
    transition: transform .35s cubic-bezier(.175, .885, .32, 1.275), box-shadow .35s ease, border-color .35s ease;
}

.t-satir:hover { transform: translateX(10px); box-shadow: 0 12px 40px rgba(66, 133, 244, .14); border-color: var(--g-mavi); }

.t-satir-ikon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.t-satir:nth-child(1) .t-satir-ikon { background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu)); }
.t-satir:nth-child(2) .t-satir-ikon { background: linear-gradient(135deg, var(--g-yesil), #0f9d58); }
.t-satir:nth-child(3) .t-satir-ikon { background: linear-gradient(135deg, var(--g-sari), #f29900); }

.t-satir h4 { font-size: 17px; margin-bottom: 5px; }
.t-satir p { font-size: 14px; color: var(--g-soluk); margin: 0; line-height: 1.6; }

/* Halka grafiği */
.t-halka-kart {
    background: #fff;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 24px 64px rgba(32, 33, 36, .12);
    border: 1px solid rgba(66, 133, 244, .12);
    position: relative;
    overflow: hidden;
}

.t-halka-kart::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--g-mavi), var(--g-kirmizi), var(--g-sari), var(--g-yesil));
}

.t-halka-ust { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }

.t-halka-ikon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 21px;
}

.t-halka-sarmal { position: relative; width: 200px; height: 200px; margin: 0 auto 24px; }
.t-halka-sarmal svg { transform: rotate(-90deg); }
.t-halka-orta { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.t-halka-deger { font-size: 30px; font-weight: 800; color: var(--g-mavi-koyu); font-family: 'Space Grotesk', sans-serif; }
.t-halka-etiket { font-size: 13px; color: var(--g-soluk); }

.t-halka-liste { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.t-halka-oge { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--g-soluk); font-weight: 500; }
.t-halka-nokta { width: 12px; height: 12px; border-radius: 4px; }

/* ----------------------------------------------------------------- keşfet --- */

.t-kesfet { background: linear-gradient(180deg, #f6f9ff 0%, #fff 100%); }

.t-kart-izgara-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 1; }

.t-kesfet-kart {
    background: #fff;
    padding: 34px 26px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(66, 133, 244, .12);
    transition: transform .4s cubic-bezier(.175, .885, .32, 1.275), box-shadow .4s ease;
}

.t-kesfet-kart:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 50px rgba(66, 133, 244, .18); }

.t-kesfet-ikon {
    width: 70px;
    height: 70px;
    background: rgba(66, 133, 244, .1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    margin: 0 auto 18px;
    transition: transform .4s ease, background-color .4s ease, color .4s ease;
}

.t-kesfet-kart:nth-child(1) .t-kesfet-ikon { color: var(--g-mavi); }
.t-kesfet-kart:nth-child(2) .t-kesfet-ikon { color: var(--g-kirmizi); background: rgba(234, 67, 53, .1); }
.t-kesfet-kart:nth-child(3) .t-kesfet-ikon { color: #f29900; background: rgba(251, 188, 4, .14); }
.t-kesfet-kart:nth-child(4) .t-kesfet-ikon { color: var(--g-yesil); background: rgba(52, 168, 83, .1); }

.t-kesfet-kart:hover .t-kesfet-ikon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu));
    color: #fff;
}

.t-kesfet-kart h3 { font-size: 19px; margin-bottom: 9px; }
.t-kesfet-kart p { font-size: 14px; color: var(--g-soluk); line-height: 1.7; margin: 0; }

/* ------------------------------------------------------------- adımlar --- */

.t-adimlar { background: #fff; }

.t-adim {
    background: #fff;
    padding: 28px 24px;
    border-radius: 20px;
    border: 1px solid rgba(66, 133, 244, .12);
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: transform .35s ease, box-shadow .35s ease;
}

.t-adim::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--g-mavi), var(--g-mavi-koyu));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.t-adim:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(66, 133, 244, .14); }
.t-adim:hover::after { transform: scaleX(1); }

.t-adim-no {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    margin-bottom: 14px;
}

.t-adim h3 { font-size: 17px; margin-bottom: 7px; }
.t-adim p { font-size: 14px; color: var(--g-soluk); line-height: 1.6; margin: 0; }

/* Karşılaştırma tablosu */
.t-karsilastir {
    margin-top: 32px;
    background: var(--g-zemin);
    border: 1px solid var(--g-cizgi);
    border-radius: 20px;
    padding: 28px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: center;
}

.t-karsilastir h3 { font-size: 20px; margin-bottom: 10px; }
.t-karsilastir p { color: var(--g-soluk); font-size: 15px; margin: 0; line-height: 1.75; }
.t-karsilastir table { width: 100%; border-collapse: collapse; font-size: 14px; }
.t-karsilastir th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--g-soluk); font-weight: 600; padding-bottom: 8px; text-align: left; }
.t-karsilastir td { padding: 7px 0; border-top: 1px solid var(--g-cizgi); }
.t-karsilastir del { color: var(--g-kirmizi); opacity: .65; }
.t-karsilastir b { color: var(--g-mavi-koyu); font-family: 'Space Grotesk', monospace; }

/* --------------------------------------------------------------- özellikler --- */

.t-ozellikler { background: linear-gradient(180deg, #fff 0%, #f6f9ff 100%); }

.t-ozellik-kart {
    background: #fff;
    padding: 26px 22px;
    border-radius: 20px;
    border: 1px solid rgba(66, 133, 244, .1);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

.t-ozellik-kart::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--g-mavi), var(--g-yesil));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.t-ozellik-kart:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(32, 33, 36, .1); }
.t-ozellik-kart:hover::after { transform: scaleX(1); }

.t-ozellik-ikon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 15px;
    background: rgba(66, 133, 244, .12);
    color: var(--g-mavi-koyu);
    transition: transform .3s ease;
}

.t-ozellik-kart:nth-child(4n+2) .t-ozellik-ikon { background: rgba(234, 67, 53, .12); color: var(--g-kirmizi); }
.t-ozellik-kart:nth-child(4n+3) .t-ozellik-ikon { background: rgba(251, 188, 4, .16); color: #f29900; }
.t-ozellik-kart:nth-child(4n+4) .t-ozellik-ikon { background: rgba(52, 168, 83, .12); color: var(--g-yesil); }

.t-ozellik-kart:hover .t-ozellik-ikon { transform: scale(1.1) rotate(-5deg); }
.t-ozellik-kart h3 { font-size: 16px; margin-bottom: 7px; }
.t-ozellik-kart p { font-size: 13px; color: var(--g-soluk); line-height: 1.6; margin: 0; }

/* ----------------------------------------------------------------- krediler --- */

.t-krediler { background: #fff; }

.t-kredi-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 26px; justify-content: center; }

.t-kredi-kart {
    background: #fff;
    border: 1px solid var(--g-cizgi);
    border-radius: 24px;
    padding: 32px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.t-kredi-kart:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(32, 33, 36, .1); }
.t-kredi-kart.one-cikan { border-color: var(--g-mavi); box-shadow: 0 12px 40px rgba(66, 133, 244, .16); }

.t-kredi-ust { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.t-kredi-ust h3 { font-size: 20px; margin-bottom: 3px; }
.t-kredi-ust p { font-size: 14px; color: var(--g-soluk); margin: 0; }

.t-kredi-rakam {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: var(--g-mavi-koyu);
}

.t-kredi-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.t-kredi-liste li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--g-soluk); }
.t-kredi-liste i { color: var(--g-yesil); margin-top: 3px; }

/* -------------------------------------------------------------------- SSS --- */

.t-sss { background: linear-gradient(180deg, #f6f9ff 0%, #eef3fe 100%); }

.t-sss-liste { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }

.t-sss-oge {
    background: #fff;
    border-radius: 18px;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid rgba(66, 133, 244, .12);
    box-shadow: 0 4px 16px rgba(32, 33, 36, .05);
    transition: border-color .3s ease, box-shadow .3s ease;
}

.t-sss-oge:hover { border-color: var(--g-mavi); box-shadow: 0 8px 32px rgba(66, 133, 244, .12); }

.t-sss-soru {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--g-metin);
    text-align: left;
}

.t-sss-soru i {
    width: 32px;
    height: 32px;
    background: rgba(66, 133, 244, .1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g-mavi-koyu);
    font-size: 13px;
    flex-shrink: 0;
    transition: transform .4s ease, background-color .3s ease, color .3s ease;
}

.t-sss-oge.acik .t-sss-soru i {
    transform: rotate(180deg);
    background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu));
    color: #fff;
}

.t-sss-cevap { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.4, 0, .2, 1); }
.t-sss-oge.acik .t-sss-cevap { max-height: 320px; }
.t-sss-cevap p { padding: 0 24px 22px; color: var(--g-soluk); font-size: 15px; line-height: 1.8; margin: 0; }

/* ---------------------------------------------------------------- kurucu --- */

.t-kurucu { background: linear-gradient(180deg, #eef3fe 0%, #f6f9ff 100%); }

.t-kurucu-kart {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: 30px;
    padding: 42px;
    display: flex;
    align-items: center;
    gap: 36px;
    box-shadow: 0 24px 64px rgba(32, 33, 36, .1);
    border: 1px solid rgba(66, 133, 244, .12);
    position: relative;
    overflow: hidden;
}

.t-kurucu-kart::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--g-mavi), var(--g-kirmizi), var(--g-sari), var(--g-yesil));
}

.t-kurucu-resim {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 12px 40px rgba(66, 133, 244, .3);
}

.t-kurucu-bilgi h3 { font-size: 26px; margin-bottom: 4px; }
.t-kurucu-unvan { color: var(--g-mavi-koyu); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.t-kurucu-bilgi p { color: var(--g-soluk); font-size: 15px; line-height: 1.8; margin-bottom: 18px; }

.t-kurucu-baglar { display: flex; gap: 12px; }

.t-kurucu-baglar a {
    width: 44px;
    height: 44px;
    background: var(--g-zemin);
    border: 1px solid var(--g-cizgi);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g-soluk);
    text-decoration: none;
    font-size: 16px;
    transition: transform .35s ease, background-color .35s ease, color .35s ease, box-shadow .35s ease;
}

.t-kurucu-baglar a:hover {
    background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu));
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(66, 133, 244, .3);
}

/* --------------------------------------------------------------- iletişim --- */

.t-iletisim { background: linear-gradient(180deg, #f6f9ff 0%, #fff 100%); }

.t-iletisim-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 950px; margin: 0 auto; }

.t-iletisim-kart {
    background: #fff;
    padding: 36px 28px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(66, 133, 244, .12);
    position: relative;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

.t-iletisim-kart::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--g-mavi), var(--g-mavi-koyu));
    transform: scaleX(0);
    transition: transform .4s ease;
}

.t-iletisim-kart:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(32, 33, 36, .1); }
.t-iletisim-kart:hover::before { transform: scaleX(1); }

.t-iletisim-ikon {
    width: 70px;
    height: 70px;
    background: rgba(66, 133, 244, .1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    color: var(--g-mavi-koyu);
    margin: 0 auto 18px;
    transition: transform .35s ease, background-color .35s ease, color .35s ease;
}

.t-iletisim-kart:hover .t-iletisim-ikon { background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu)); color: #fff; transform: scale(1.1); }
.t-iletisim-kart h4 { font-size: 18px; margin-bottom: 8px; }
.t-iletisim-kart p { color: var(--g-soluk); font-size: 15px; margin: 0; }
.t-iletisim-kart a { color: var(--g-mavi-koyu); text-decoration: none; font-weight: 700; }
.t-iletisim-kart a:hover { text-decoration: underline; }

/* -------------------------------------------------------------- son çağrı --- */

.t-cagri { padding-bottom: 110px; background: #fff; }

.t-cagri-kutu {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 30px;
    padding: 56px 40px;
    text-align: center;
    background:
        radial-gradient(28rem 15rem at 15% 0%, rgba(66, 133, 244, .18), transparent 70%),
        radial-gradient(24rem 13rem at 85% 100%, rgba(52, 168, 83, .14), transparent 70%),
        var(--g-zemin);
    border: 1px solid rgba(66, 133, 244, .18);
}

.t-cagri-kutu h2 { font-size: 36px; margin-bottom: 12px; }
.t-cagri-kutu p { color: var(--g-soluk); font-size: 16px; margin-bottom: 26px; }

/* ---------------------------------------------------------------- alt bilgi --- */

.t-alt {
    background: linear-gradient(180deg, #10131a, #1a1f2e);
    color: #fff;
    padding: 70px 0 28px;
    position: relative;
    overflow: hidden;
}

.t-alt-isik {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(66, 133, 244, .18) 0%, transparent 70%);
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
}

.t-alt-ust { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; position: relative; z-index: 1; }
.t-alt .t-logo-yazi { -webkit-text-fill-color: #fff; background: none; }
.t-alt-marka p { color: #9aa0a6; max-width: 320px; font-size: 14px; margin-top: 14px; line-height: 1.7; }

.t-alt-baglar h4 { font-size: 14px; margin-bottom: 16px; }
.t-alt-baglar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.t-alt-baglar a { color: #9aa0a6; text-decoration: none; font-size: 14px; transition: color .3s ease; }
.t-alt-baglar a:hover { color: var(--g-mavi-acik); }

.t-alt-son {
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #9aa0a6;
    position: relative;
    z-index: 1;
}

.t-alt-son a { color: var(--g-mavi-acik); text-decoration: none; font-weight: 600; }

/* --------------------------------------------------------- yukarı çık düğmesi --- */

.t-yukari {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu));
    border: none;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease, transform .35s ease;
    box-shadow: 0 8px 32px rgba(66, 133, 244, .4);
    z-index: 999;
}

.t-yukari.gorunur { opacity: 1; visibility: visible; }
.t-yukari:hover { transform: translateY(-4px) scale(1.05); }

/* ------------------------------------------------------------- mobil menü --- */

.t-mobil-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    background: #fff;
    z-index: 1101;
    transition: right .45s cubic-bezier(.4, 0, .2, 1);
    padding: 26px;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0, 0, 0, .12);
}

.t-mobil-menu.acik { right: 0; }

.t-mobil-ust { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }

.t-mobil-kapat {
    background: rgba(66, 133, 244, .1);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 19px;
    cursor: pointer;
    color: var(--g-mavi-koyu);
}

.t-mobil-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }

.t-mobil-liste a {
    text-decoration: none;
    color: var(--g-metin);
    font-size: 16px;
    font-weight: 600;
    padding: 14px 18px;
    border-radius: 14px;
    display: block;
    transition: background-color .3s ease, color .3s ease;
}

.t-mobil-liste a:hover { background: rgba(66, 133, 244, .1); color: var(--g-mavi-koyu); }

.t-mobil-dugmeler { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

.t-perde {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 26, .55);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 1100;
    transition: opacity .35s ease, visibility .35s ease;
}

.t-perde.acik { opacity: 1; visibility: visible; }

/* ------------------------------------------------------- kaydırma animasyonu --- */

.t-belir {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s cubic-bezier(.4, 0, .2, 1), transform .8s cubic-bezier(.4, 0, .2, 1);
}

.t-belir.gorunur { opacity: 1; transform: none; }

.t-gecikme-1 { transition-delay: .1s; }
.t-gecikme-2 { transition-delay: .2s; }
.t-gecikme-3 { transition-delay: .3s; }

/* ------------------------------------------------------------- duyarlılık --- */

@media (max-width: 1024px) {
    .t-kahraman-izgara,
    .t-hakkinda-izgara { grid-template-columns: 1fr; text-align: center; }

    .t-kahraman-metin { order: 1; }
    .t-gorsel { order: 0; max-width: 560px; margin: 0 auto 46px; }
    .t-aciklama, .t-arama { margin-left: auto; margin-right: auto; }
    .t-dugmeler, .t-sayilar { justify-content: center; }
    .t-hakkinda-gorsel { order: -1; max-width: 420px; margin: 0 auto 46px; }
    .t-kart-izgara-4 { grid-template-columns: repeat(2, 1fr); }
    .t-karsilastir { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .t-menu-liste, .t-menu-dugmeler { display: none; }
    .t-mobil-dugme { display: block; }
    .tanitim section { padding: 72px 0; }
    .t-kahraman { padding: 48px 0 68px; }
    .t-baslik { font-size: 34px; }
    .t-bolum-baslik { font-size: 29px; }
    .t-kart-izgara-4,
    .t-kredi-izgara,
    .t-iletisim-izgara { grid-template-columns: 1fr; }
    .t-kredi-izgara { justify-content: stretch; }
    .t-ucan { display: none; }
    .t-kurucu-kart { flex-direction: column; text-align: center; padding: 34px 26px; }
    .t-kurucu-baglar { justify-content: center; }
    .t-alt-ust { flex-direction: column; text-align: center; align-items: center; }
    .t-alt-son { flex-direction: column; text-align: center; }
    .t-sayi { flex: 1 1 130px; }
}

@media (max-width: 480px) {
    .t-baslik { font-size: 28px; }
    .t-kod { font-size: 30px; }
    .t-mini-kartlar { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .t-serit, .t-kure, .t-zerre, .t-kayan-ic, .t-nokta span, .t-imlec,
    .t-ucan, .t-baslik span { animation: none !important; }

    .t-belir { opacity: 1; transform: none; }
}


/* ================================================== sınıflama görselleştirme */

.sirt-etiket {
    flex: 0 0 auto;
    width: 4.6rem;
    padding: .55rem .35rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 6px;
    background: var(--bs-body-bg);
    text-align: center;
    font-family: var(--bs-font-monospace);
    font-size: .78rem;
    line-height: 1.55;
    box-shadow: var(--dw-golge);
}

.sirt-etiket span { display: block; }

.sirt-etiket .kod {
    font-weight: 700;
    border-bottom: 1px solid var(--bs-border-color-translucent);
    padding-bottom: .22rem;
    margin-bottom: .22rem;
}

.kod-buyuk {
    font-family: var(--bs-font-monospace);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
}

/* ============================================================= giriş ekranı */

.giris-sarmal {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.giris-kutu { width: 100%; max-width: 25rem; }

/* ================================================================ yan menü */

.yan-menu { min-height: calc(100vh - 56px); }

@media (max-width: 767.98px) {
    .yan-menu { min-height: 0; }
}

.yan-menu .nav-link {
    border-radius: 8px;
    font-size: .925rem;
    padding: .5rem .75rem;
}

/* ============================================================ liste seçici */

.liste-secici {
    border-radius: 12px;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
    padding: .75rem 1rem;
}

.liste-kart {
    border-radius: 12px;
    border: 1px solid var(--bs-border-color-translucent);
    transition: border-color .15s ease, transform .15s ease;
    text-decoration: none;
}

.liste-kart:hover { transform: translateY(-2px); }

.liste-kart.secili {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb), .18);
}

/* =========================================================== sütun grafiği */

.sutun-grafik {
    display: flex;
    align-items: flex-end;
    gap: .4rem;
    height: 190px;
}

.sutun-grafik .sutun {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.sutun-grafik .dolgu {
    width: 100%;
    background: var(--bs-primary);
    border-radius: 4px 4px 0 0;
    opacity: .78;
    transition: opacity .15s ease;
}

.sutun-grafik .sutun:hover .dolgu { opacity: 1; }

.sutun-grafik .etiket {
    font-size: .65rem;
    color: var(--bs-secondary-color);
    margin-top: .35rem;
    white-space: nowrap;
}

/* ============================================================ sonuç tablosu */

.tablo-sonuc td,
.tablo-sonuc th {
    font-size: .875rem;
    vertical-align: middle;
}

.tablo-sonuc .hucre-kisa {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tablo-sonuc tr.yeni-kayit { animation: vurgula 1.8s ease; }

@keyframes vurgula {
    from { background-color: rgba(var(--bs-success-rgb), .18); }
    to { background-color: transparent; }
}

.bos-durum {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--bs-secondary-color);
}

.bos-durum .bi {
    font-size: 2.5rem;
    opacity: .45;
    display: block;
    margin-bottom: .75rem;
}

/* =================================================================== genel */

pre { white-space: pre-wrap; word-break: break-word; }

details > summary { cursor: pointer; }

.gecis { animation: yukari .3s ease both; }

@keyframes yukari {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

/* ==========================================================================
   GİRİŞ / KAYIT — bölünmüş ekran

   Sol: form paneli (açık zemin, ince ızgara dokusu)
   Sağ: dönen Dewey görseli (koyu lacivert) — 900px altında gizlenir.
   Renkler tanıtım sayfasıyla aynı Google ailesinden gelir.
   ========================================================================== */

body.kimlik {
    font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--g-zemin);
    color: var(--g-metin);
    display: flex;
    /* Yatay yerleşim açıkça belirtilir: başka bir yerdeki "flex-direction:
       column" kuralı formu üste, görseli alta itmesin. */
    flex-direction: row;
    align-items: stretch;
    min-height: 100vh;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

body.kimlik h1,
body.kimlik h2 { font-family: 'Space Grotesk', 'Sora', sans-serif; }

/* ------------------------------------------------------------- sol panel --- */

.k-sol {
    width: 560px;
    flex: 0 0 560px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 56px;
    background: var(--g-zemin);
    border-right: 1px solid rgba(13, 31, 45, .08);
    position: relative;
    z-index: 2;
    overflow-y: auto;
}

/* İnce ızgara dokusu */
.k-sol::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(66, 133, 244, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 133, 244, .07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.k-ic { position: relative; z-index: 1; width: 100%; max-width: 380px; margin: 0 auto; }

.k-marka { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; text-decoration: none; }

.k-marka-ikon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 8px 22px rgba(66, 133, 244, .28);
    overflow: hidden;
}

.k-marka-ikon img { width: 100%; height: 100%; object-fit: cover; }

.k-marka-ad {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--g-metin);
    letter-spacing: -.02em;
    line-height: 1;
}

.k-marka-alt {
    font-size: .67rem;
    color: var(--g-soluk);
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-top: 4px;
}

.k-baslik {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin-bottom: 6px;
}

.k-alt-baslik { font-size: .88rem; color: var(--g-soluk); margin-bottom: 28px; }

/* Alanlar */
.k-alan { margin-bottom: 16px; }

.k-alan label {
    display: block;
    font-size: .71rem;
    font-weight: 600;
    color: var(--g-soluk);
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.k-girdi {
    width: 100%;
    padding: 11px 15px;
    background: #fff;
    border: 1px solid var(--g-cizgi);
    border-radius: 10px;
    font-size: .92rem;
    font-family: inherit;
    color: var(--g-metin);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.k-girdi:focus { border-color: var(--g-mavi); box-shadow: 0 0 0 3px rgba(66, 133, 244, .15); }
.k-girdi::placeholder { color: #b0bec8; }

.k-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Şifre göster/gizle */
.k-sifre { position: relative; }
.k-sifre .k-girdi { padding-right: 44px; }

.k-goz {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--g-soluk);
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
    line-height: 1;
    transition: color .15s ease;
}

.k-goz:hover { color: var(--g-metin); }

.k-ipucu { font-size: .74rem; color: var(--g-soluk); margin-top: 6px; }

/* Düğme */
.k-dugme {
    width: 100%;
    padding: 13px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--g-mavi), var(--g-mavi-koyu));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: .93rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(66, 133, 244, .28);
    transition: transform .15s ease, box-shadow .25s ease;
}

.k-dugme:hover { box-shadow: 0 12px 30px rgba(66, 133, 244, .38); }
.k-dugme:active { transform: scale(.99); }

.k-baglar { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

.k-baglar a {
    font-size: .8rem;
    color: var(--g-soluk);
    text-decoration: none;
    transition: color .15s ease;
}

.k-baglar a:hover { color: var(--g-mavi-koyu); }

.k-dip { margin-top: 34px; font-size: .72rem; color: #b0bec8; text-align: center; }

/* Uyarı kutuları */
.k-uyari {
    border-radius: 10px;
    padding: 11px 14px;
    font-size: .82rem;
    margin-bottom: 18px;
    display: flex;
    gap: 9px;
    align-items: flex-start;
    line-height: 1.5;
}

.k-uyari i { flex-shrink: 0; margin-top: 2px; }
.k-uyari-bilgi   { background: #e8f0fe; color: #174ea6; border-left: 3px solid var(--g-mavi); }
.k-uyari-basari  { background: #e6f4ea; color: #137333; border-left: 3px solid var(--g-yesil); }
.k-uyari-hata    { background: #fce8e6; color: #a50e0e; border-left: 3px solid var(--g-kirmizi); }
.k-uyari-dikkat  { background: #fef7e0; color: #855c00; border-left: 3px solid var(--g-sari); }

/* ------------------------------------------------------------- sağ panel --- */

.k-sag {
    flex: 1 1 auto;
    min-width: 0;      /* flex öğesi taşmasın */
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #0f1b2d 0%, #14243c 100%);
}

.k-sag::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(40rem 24rem at 60% 30%, rgba(66, 133, 244, .16), transparent 70%);
    pointer-events: none;
}

.k-sag-marka {
    position: absolute;
    top: 30px;
    left: 34px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .88);
    letter-spacing: -.02em;
    z-index: 3;
}

.k-sag-marka span { color: var(--g-mavi-acik); }

.k-sag-slogan {
    position: absolute;
    top: 62px;
    left: 34px;
    font-size: .71rem;
    color: rgba(255, 255, 255, .38);
    letter-spacing: .07em;
    text-transform: uppercase;
    z-index: 3;
}

/* Yörünge */
.k-yorunge {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
}

.k-halka { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .07); }
.k-halka-1 { inset: 80px; }
.k-halka-2 { inset: 160px; }
.k-halka-3 { inset: 240px; border-color: rgba(138, 180, 248, .25); }

@keyframes donSaat    { to { transform: rotate(360deg); } }
@keyframes donTers    { to { transform: rotate(-360deg); } }

.k-kol   { position: absolute; inset: 0; border-radius: 50%; animation: donSaat 22s linear infinite; }
.k-kol-2 { animation: donTers 30s linear infinite; }
.k-kol-3 { animation: donSaat 38s linear infinite; }

.k-dugum {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(2px);
    transition: transform .3s ease;
}

.k-dugum:hover { transform: scale(1.15); }
.k-dugum .kod { font-size: .78rem; font-weight: 700; line-height: 1; color: #fff; font-family: 'Space Grotesk', monospace; }
.k-dugum .ad  { font-size: .52rem; color: rgba(255, 255, 255, .55); letter-spacing: .04em; margin-top: 2px; white-space: nowrap; }

.k-ust   { top: -25px;    left: 50%;  transform: translateX(-50%); }
.k-alt   { bottom: -25px; left: 50%;  transform: translateX(-50%); }
.k-sagd  { right: -25px;  top: 50%;   transform: translateY(-50%); }
.k-sold  { left: -25px;   top: 50%;   transform: translateY(-50%); }

.k-mavi   { background: rgba(66, 133, 244, .3);  border-color: rgba(66, 133, 244, .5); }
.k-kirmizi{ background: rgba(234, 67, 53, .3);   border-color: rgba(234, 67, 53, .5); }
.k-sari   { background: rgba(251, 188, 4, .3);   border-color: rgba(251, 188, 4, .5); }
.k-yesil  { background: rgba(52, 168, 83, .3);   border-color: rgba(52, 168, 83, .5); }
.k-mor    { background: rgba(124, 105, 220, .3); border-color: rgba(124, 105, 220, .5); }
.k-turkuaz{ background: rgba(0, 172, 193, .3);   border-color: rgba(0, 172, 193, .5); }
.k-gri    { background: rgba(138, 155, 180, .28);border-color: rgba(138, 155, 180, .45); }

.k-merkez {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.k-merkez-ikon  { font-size: 1.75rem; color: rgba(255, 255, 255, .85); }
.k-merkez-yazi  { font-size: .58rem; color: rgba(255, 255, 255, .45); letter-spacing: .1em; text-transform: uppercase; }

/* Yüzen bilgi kartları */
.k-kart {
    position: absolute;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    backdrop-filter: blur(4px);
    padding: 13px 17px;
    min-width: 140px;
    z-index: 3;
}

.k-kart-deger { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; color: #fff; line-height: 1; }
.k-kart-etiket { font-size: .67rem; color: rgba(255, 255, 255, .5); letter-spacing: .05em; margin-top: 5px; }
.k-kart-nokta { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: middle; }

.k-kart-1 { top: 11%;  right: 8%;  animation: suzul1 7s ease-in-out infinite; }
.k-kart-2 { bottom: 20%; right: 12%; animation: suzul2 9s ease-in-out infinite; }
.k-kart-3 { top: 52%;  right: 4%;  animation: suzul1 11s ease-in-out infinite 2s; }

@keyframes suzul1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes suzul2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Alt sınıf şeridi */
.k-serit {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 26px;
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, .07);
    background: rgba(0, 0, 0, .2);
    z-index: 3;
}

.k-serit-oge {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0 4px;
    border-right: 1px solid rgba(255, 255, 255, .07);
}

.k-serit-oge:last-child { border-right: none; }
.k-serit-kod  { font-family: 'Space Grotesk', monospace; font-size: .72rem; font-weight: 700; color: rgba(255, 255, 255, .6); letter-spacing: .04em; }
.k-serit-cizgi{ width: 100%; height: 3px; border-radius: 2px; }
.k-serit-ad   { font-size: .55rem; color: rgba(255, 255, 255, .35); text-align: center; letter-spacing: .03em; }

/* --------------------------------------------------------- giriş animasyonu --- */

@keyframes kSuzul { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.k-a1 { animation: kSuzul .5s ease both; }
.k-a2 { animation: kSuzul .5s .07s ease both; }
.k-a3 { animation: kSuzul .5s .14s ease both; }
.k-a4 { animation: kSuzul .5s .21s ease both; }
.k-a5 { animation: kSuzul .5s .28s ease both; }

/* ------------------------------------------------------------- duyarlılık --- */

@media (max-width: 992px) {
    body.kimlik {
        flex-direction: column;
        overflow: auto;
        height: auto;
        min-height: 100vh;
    }

    .k-sag { display: none; }
    .k-sol { width: 100%; height: auto; padding: 40px 28px; border-right: none; }
}

@media (max-width: 480px) {
    .k-sol { padding: 28px 18px; }
    .k-baslik { font-size: 1.65rem; }
    .k-ikili { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .k-kol, .k-kart { animation: none !important; }
    .k-a1, .k-a2, .k-a3, .k-a4, .k-a5 { animation: none !important; }
}

/* ==========================================================================
   PANEL — aydınlık modern görünüm
   ========================================================================== */

body.bg-body-tertiary {
    background:
        radial-gradient(60rem 30rem at 100% -10%, rgba(var(--bs-primary-rgb), .05), transparent 60%),
        radial-gradient(50rem 26rem at -10% 10%, rgba(var(--bs-info-rgb), .04), transparent 60%),
        var(--bs-tertiary-bg) !important;
    background-attachment: fixed;
}

/* Karşılama şeridi */
.hosgeldin {
    padding: 1.6rem 1.75rem;
    border-radius: var(--dw-yumusak);
    border: 1px solid var(--bs-border-color-translucent);
    background:
        radial-gradient(28rem 14rem at 90% 0%, rgba(var(--bs-primary-rgb), .10), transparent 70%),
        var(--bs-body-bg);
    box-shadow: var(--dw-golge);
}

/* Özet kartları */
.ozet-kart {
    transition: transform .18s ease, box-shadow .18s ease;
}

.ozet-kart:hover {
    transform: translateY(-2px);
    box-shadow: var(--dw-golge-guclu);
}

.ozet-ikon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color-translucent);
    font-size: .95rem;
}

/* Sayfa başlıkları */
.sayfa-basligi {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

/* Tablolar */
.table > thead th {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
    color: var(--bs-secondary-color);
    background: var(--bs-tertiary-bg);
    border-bottom-width: 1px;
}

.table-hover > tbody > tr:hover > * {
    background-color: rgba(var(--bs-primary-rgb), .04);
}

/* Seçili satır belirgin olsun */
tr.secili-satir > * {
    background-color: rgba(var(--bs-primary-rgb), .07) !important;
}

/* Toplu işlem çubuğu */
.toplu-cubuk {
    position: sticky;
    bottom: 1rem;
    z-index: 20;
    margin-top: 1rem;
    padding: .7rem 1rem;
    border-radius: 999px;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    box-shadow: var(--dw-golge-guclu);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    animation: cubukGir .25s ease both;
}

@keyframes cubukGir {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

.toplu-cubuk .sayi {
    font-weight: 600;
    color: var(--bs-primary);
}

/* Kart başlıkları biraz daha belirgin */
.card > .card-header {
    background: var(--bs-body-bg);
    border-bottom-color: var(--bs-border-color-translucent);
    font-size: .95rem;
}

/* Filtre kartı */
.filtre-kart {
    border-style: dashed;
}

/* Yönetim yan menüsü */
.yan-menu {
    background: var(--bs-body-bg);
}

.yan-menu .nav-link {
    color: var(--bs-secondary-color);
    transition: background-color .15s ease, color .15s ease;
}

.yan-menu .nav-link:hover:not(.active) {
    background: var(--bs-tertiary-bg);
    color: var(--bs-emphasis-color);
}

/* Rozet yumuşatma */
.badge.text-bg-light {
    color: var(--bs-secondary-color) !important;
}

/* Boş durum */
.bos-durum {
    padding: 2.75rem 1rem;
}

/* --------------------------------------------------------- zaman çizgisi --- */

.zaman-cizgisi {
    position: relative;
    padding-left: 2.4rem;
}

.zaman-cizgisi::before {
    content: "";
    position: absolute;
    left: .95rem;
    top: .4rem;
    bottom: .4rem;
    width: 2px;
    background: var(--bs-border-color-translucent);
}

.zaman-ogesi {
    position: relative;
    margin-bottom: .85rem;
}

.zaman-nokta {
    position: absolute;
    left: -2.4rem;
    top: .85rem;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    font-size: .85rem;
    z-index: 1;
}

.zaman-kart {
    transition: transform .16s ease, box-shadow .16s ease;
}

.zaman-kart:hover {
    transform: translateX(3px);
    box-shadow: var(--dw-golge-guclu);
}

/* ==========================================================================
   KULLANICI PANELİ — üst menü ve ortak bileşenler
   ========================================================================== */

/*
 * Yalnızca PANEL düzenleri (app.php / admin.php) için. Sınıfsız "body"
 * yazılırsa kural giriş ve tanıtım sayfalarına da sızar ve oradaki yatay
 * yerleşimi dikeye çevirir.
 */
body.bg-body-tertiary { display: flex; flex-direction: column; min-height: 100vh; }
body.bg-body-tertiary > main { flex: 1 0 auto; }

/* ------------------------------------------------------------- üst menü --- */

.ust-menu {
    background: rgba(var(--bs-body-bg-rgb), .82);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.marka-ikon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    color: #fff;
    font-size: .95rem;
}

.menu-bag {
    border-radius: 9px;
    padding: .4rem .8rem !important;
    font-size: .93rem;
    color: var(--bs-secondary-color);
    transition: background-color .15s ease, color .15s ease;
}

.menu-bag:hover {
    background: var(--bs-tertiary-bg);
    color: var(--bs-emphasis-color);
}

.menu-bag.aktif {
    background: rgba(var(--bs-primary-rgb), .1);
    color: var(--bs-primary) !important;
    font-weight: 500;
}

/* Kredi rozetleri */
.kredi-rozet {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    font-size: .82rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    transition: border-color .2s ease, background-color .2s ease;
}

.kredi-rozet:hover {
    border-color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .06);
}

/* Kullanıcı baş harfi */
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: rgba(var(--bs-primary-rgb), .12);
    color: var(--bs-primary);
    font-weight: 600;
    font-size: .85rem;
}

/* -------------------------------------------------------- sekme başlıkları --- */

.nav-tabs {
    border-bottom-color: var(--bs-border-color-translucent);
    gap: .25rem;
}

.nav-tabs .nav-link {
    border: 0;
    border-radius: 9px 9px 0 0;
    color: var(--bs-secondary-color);
    font-size: .93rem;
    padding: .55rem 1rem;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

.nav-tabs .nav-link:hover {
    background: var(--bs-tertiary-bg);
    color: var(--bs-emphasis-color);
}

.nav-tabs .nav-link.active {
    background: transparent;
    color: var(--bs-primary);
    border-bottom-color: var(--bs-primary);
    font-weight: 500;
}

/* ------------------------------------------------------------- girdi alanı --- */

.form-control:focus,
.form-select:focus {
    border-color: rgba(var(--bs-primary-rgb), .5);
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .12);
}

.input-group-lg > .form-control {
    font-size: 1.05rem;
}

/* Arama kutusu vurgusu */
.arama-kutusu {
    border-radius: 14px;
    border: 1px solid var(--bs-border-color-translucent);
    background: var(--bs-body-bg);
    box-shadow: var(--dw-golge);
    padding: 1.25rem;
}

/* --------------------------------------------------------------- butonlar --- */

.btn {
    transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    box-shadow: 0 1px 2px rgba(var(--bs-primary-rgb), .18);
}

.btn-primary:hover {
    box-shadow: 0 4px 12px -4px rgba(var(--bs-primary-rgb), .5);
}

/* ------------------------------------------------------------ liste kartı --- */

.liste-kart .card-body { padding: .9rem 1rem; }

/* ------------------------------------------------------------------ diğer --- */

.list-group-item {
    border-color: var(--bs-border-color-translucent);
    padding: .7rem 1rem;
}

.dropdown-menu {
    border-color: var(--bs-border-color-translucent);
    border-radius: 12px;
    padding: .35rem;
}

.dropdown-item {
    border-radius: 8px;
    font-size: .93rem;
    padding: .45rem .7rem;
}

.alert {
    border-radius: 12px;
    border-color: transparent;
}

/* Bölüm başlığı */
.bolum-basligi {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--bs-secondary-color);
}

/* Kahraman arama kutusu */
.kahraman-arama .input-group {
    border-radius: 14px;
    box-shadow: var(--dw-golge-guclu);
    overflow: hidden;
    background: var(--bs-body-bg);
}

.kahraman-arama .form-control,
.kahraman-arama .input-group-text {
    border-color: transparent;
    padding-top: .85rem;
    padding-bottom: .85rem;
}

.kahraman-arama .form-control:focus {
    box-shadow: none;
}

.kahraman-arama .input-group:focus-within {
    box-shadow: var(--dw-golge-guclu), 0 0 0 .22rem rgba(var(--bs-primary-rgb), .16);
}

/* ==========================================================================
   PANEL — tanıtım sayfasının görsel diliyle uyum

   Bu blok en sonda durur ve önceki panel kurallarının üzerine yazar.
   Amaç: giriş sonrası ekranların ana sayfayla aynı hissi vermesi —
   aynı tipografi (Sora + Space Grotesk), aynı Google mavisi, aynı
   yumuşak kart/gölge dili. Sınıf adları değişmez, JavaScript bağları
   olduğu gibi çalışır.
   ========================================================================== */

/* ------------------------------------------------- Bootstrap mavisi -> Google */

:root {
    --bs-primary: #4285f4;
    --bs-primary-rgb: 66, 133, 244;
    --bs-primary-text-emphasis: #174ea6;
    --bs-primary-bg-subtle: #e8f0fe;
    --bs-primary-border-subtle: #aecbfa;
    --bs-link-color: #1a73e8;
    --bs-link-color-rgb: 26, 115, 232;
    --bs-link-hover-color: #174ea6;
    --bs-focus-ring-color: rgba(66, 133, 244, .25);
}

/* Bootstrap'in derlenmiş buton renkleri değişkenden gelmez, elle eşleniyor */
.btn-primary {
    --bs-btn-bg: #4285f4;
    --bs-btn-border-color: #4285f4;
    --bs-btn-hover-bg: #1a73e8;
    --bs-btn-hover-border-color: #1a73e8;
    --bs-btn-active-bg: #174ea6;
    --bs-btn-active-border-color: #174ea6;
    --bs-btn-disabled-bg: #4285f4;
    --bs-btn-disabled-border-color: #4285f4;
}

.btn-outline-primary {
    --bs-btn-color: #1a73e8;
    --bs-btn-border-color: #aecbfa;
    --bs-btn-hover-bg: #4285f4;
    --bs-btn-hover-border-color: #4285f4;
    --bs-btn-active-bg: #1a73e8;
    --bs-btn-active-border-color: #1a73e8;
}

.form-check-input:checked {
    background-color: #4285f4;
    border-color: #4285f4;
}

.form-check-input:focus {
    border-color: #8ab4f8;
    box-shadow: 0 0 0 .2rem rgba(66, 133, 244, .2);
}

.page-item.active .page-link {
    --bs-pagination-active-bg: #4285f4;
    --bs-pagination-active-border-color: #4285f4;
}

.page-link { --bs-pagination-color: #1a73e8; --bs-pagination-hover-color: #174ea6; }

.accordion-button:not(.collapsed) {
    color: #174ea6;
    background-color: #e8f0fe;
}

/* -------------------------------------------------------------- tipografi --- */

body.bg-body-tertiary {
    font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body.bg-body-tertiary h1,
body.bg-body-tertiary h2,
body.bg-body-tertiary h3,
body.bg-body-tertiary .h3,
body.bg-body-tertiary .h4,
body.bg-body-tertiary .h5,
body.bg-body-tertiary .navbar-brand {
    font-family: 'Space Grotesk', 'Sora', sans-serif;
    letter-spacing: -.02em;
}

/* Rakamlar hizalı dursun */
.fs-2, .fs-4, .fs-5, .sayac, .kod-buyuk, .rakam { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- üst menü --- */

.ust-menu {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(66, 133, 244, .14);
    padding: .55rem 0;
}

[data-bs-theme="dark"] .ust-menu { background: rgba(20, 24, 33, .88); }

/* Tanıtım sayfasındaki logo dili */
.marka-ikon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(66, 133, 244, .3);
    font-size: 1.02rem;
}

.navbar-brand {
    font-size: 1.32rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-brand img { border-radius: 10px; }

.menu-bag {
    border-radius: 10px;
    font-size: .92rem;
    font-weight: 500;
}

.menu-bag.aktif {
    background: rgba(66, 133, 244, .12);
    color: #1a73e8 !important;
}

.kredi-rozet {
    border-color: rgba(66, 133, 244, .25);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.kredi-rozet:hover { border-color: #4285f4; background: rgba(66, 133, 244, .08); }

.avatar {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
}

/* --------------------------------------------------------------- kartlar --- */

.card {
    border-radius: 18px;
    border-color: rgba(66, 133, 244, .12);
    box-shadow: 0 1px 2px rgba(32, 33, 36, .04), 0 8px 26px -18px rgba(32, 33, 36, .3);
}

.card > .card-header {
    border-bottom-color: rgba(66, 133, 244, .12);
    padding: .85rem 1.1rem;
    font-family: 'Space Grotesk', 'Sora', sans-serif;
}

.card > .card-body { padding: 1.1rem; }

/* --------------------------------------------------------- karşılama şeridi --- */

.hosgeldin {
    padding: 1.9rem 2rem;
    border-radius: 20px;
    border-color: rgba(66, 133, 244, .16);
    background:
        radial-gradient(26rem 14rem at 88% 0%, rgba(66, 133, 244, .14), transparent 70%),
        radial-gradient(20rem 12rem at 10% 110%, rgba(52, 168, 83, .1), transparent 70%),
        var(--bs-body-bg);
}

.hosgeldin h1 { font-size: 1.75rem; }

/* ----------------------------------------------------------- özet kartlar --- */

.ozet-kart {
    border-radius: 18px;
    transition: transform .25s cubic-bezier(.175, .885, .32, 1.275), box-shadow .25s ease;
}

.ozet-kart:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -20px rgba(32, 33, 36, .45);
}

.ozet-kart .fs-2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }

.ozet-ikon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    border: 0;
    font-size: 1.05rem;
}

/* Google renk ailesi: dört kart dört renk */
.ozet-ikon.text-primary   { background: rgba(66, 133, 244, .14); color: #1a73e8 !important; }
.ozet-ikon.text-success   { background: rgba(52, 168, 83, .14);  color: #188038 !important; }
.ozet-ikon.text-info      { background: rgba(251, 188, 4, .18);  color: #b06000 !important; }
.ozet-ikon.text-secondary { background: rgba(234, 67, 53, .12);  color: #c5221f !important; }

/* ------------------------------------------------------------ sayfa başlığı --- */

.sayfa-basligi {
    padding-bottom: 1.1rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid rgba(66, 133, 244, .14);
}

.sayfa-basligi h1 { font-size: 1.6rem; }

.bolum-basligi { color: #5f6368; }

/* ------------------------------------------------------------ liste seçici --- */

.liste-secici {
    border-radius: 16px;
    border: 1px solid rgba(66, 133, 244, .2);
    background:
        radial-gradient(18rem 8rem at 4% 50%, rgba(66, 133, 244, .08), transparent 70%),
        var(--bs-body-bg);
    padding: .9rem 1.1rem;
}

.liste-kart { border-radius: 16px; border-color: rgba(66, 133, 244, .14); }

.liste-kart:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -18px rgba(32, 33, 36, .5); }

.liste-kart.secili {
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, .2);
}

/* ------------------------------------------------------------ arama kutusu --- */

.arama-kutusu {
    border-radius: 18px;
    border: 1px solid rgba(66, 133, 244, .16);
    padding: 1.4rem;
    box-shadow: 0 1px 2px rgba(32, 33, 36, .04), 0 10px 30px -22px rgba(32, 33, 36, .5);
}

.nav-tabs .nav-link {
    font-family: 'Space Grotesk', 'Sora', sans-serif;
    font-weight: 500;
}

.nav-tabs .nav-link.active { color: #1a73e8; border-bottom-color: #4285f4; }

/* ------------------------------------------------------------ sınıflama kartı --- */

.kod-buyuk {
    font-family: 'Space Grotesk', monospace;
    color: #1a73e8;
    font-size: 2rem;
}

.sirt-etiket { border-radius: 10px; border-color: rgba(66, 133, 244, .25); }

/* --------------------------------------------------------------- tablolar --- */

.table > thead th {
    background: rgba(66, 133, 244, .05);
    color: #5f6368;
    border-bottom-color: rgba(66, 133, 244, .14);
    font-family: 'Space Grotesk', 'Sora', sans-serif;
}

.table-hover > tbody > tr:hover > * { background-color: rgba(66, 133, 244, .05); }

tr.secili-satir > * { background-color: rgba(66, 133, 244, .09) !important; }

code { color: #1a73e8; }

/* --------------------------------------------------------- toplu işlem çubuğu --- */

.toplu-cubuk {
    border-color: rgba(66, 133, 244, .25);
    box-shadow: 0 12px 36px -14px rgba(32, 33, 36, .45);
}

.toplu-cubuk .sayi { color: #1a73e8; font-family: 'Space Grotesk', sans-serif; }

/* -------------------------------------------------------------- yan menü --- */

.yan-menu {
    border-right: 1px solid rgba(66, 133, 244, .12);
}

.yan-menu .nav-link { border-radius: 10px; font-weight: 500; }

.yan-menu .nav-link.active {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    box-shadow: 0 6px 18px -8px rgba(66, 133, 244, .8);
}

/* ------------------------------------------------------------ zaman çizgisi --- */

.zaman-nokta { border-color: rgba(66, 133, 244, .3); }
.zaman-kart { border-radius: 16px; }

/* --------------------------------------------------------------- butonlar --- */

.btn { border-radius: 11px; font-weight: 500; }
.btn-sm { border-radius: 9px; }

.btn-primary { box-shadow: 0 6px 18px -8px rgba(66, 133, 244, .9); }
.btn-primary:hover { box-shadow: 0 10px 26px -8px rgba(66, 133, 244, .8); }

/* ------------------------------------------------------------------ diğer --- */

.form-control, .form-select { border-radius: 11px; border-color: #dadce0; }

.form-control:focus, .form-select:focus {
    border-color: #8ab4f8;
    box-shadow: 0 0 0 .2rem rgba(66, 133, 244, .16);
}

.badge { border-radius: 8px; font-weight: 500; }

.alert { border-radius: 14px; }

.dropdown-menu { border-radius: 14px; border-color: rgba(66, 133, 244, .14); }

.list-group-item { border-color: rgba(66, 133, 244, .1); }

.bos-durum .bi { color: #8ab4f8; opacity: .8; }

footer { border-top: 1px solid rgba(66, 133, 244, .12); }

/* ------------------------------------------------ toplu yükleme sihirbazı --- */

.adim-serit { display: flex; border-radius: 10px; overflow: hidden; }

.adim-parca {
    flex: 1;
    padding: .6rem;
    text-align: center;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    font-size: .85rem;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease;
}

.adim-parca.aktif { background: #4285f4; color: #fff; }
.adim-parca.bitti { background: #34a853; color: #fff; }

.birak-alani {
    border: 2px dashed rgba(66, 133, 244, .45);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    background: rgba(66, 133, 244, .04);
    transition: background-color .2s ease, border-color .2s ease;
}

.birak-alani:hover,
.birak-alani.uzerinde {
    background: rgba(66, 133, 244, .09);
    border-color: #4285f4;
}

.birak-alani .bi { font-size: 3rem; color: #4285f4; }

#eslesmeAlani select { max-width: 100%; }

/* ==========================================================================
   TANITIM — mobil düzeltmeleri

   Ölçülen sorun: 360px genişlikte sonuç kartı 93 piksel taşıyordu
   (.t-sonuc içindeki metin bloğunun min-width: 240px değeri, kod bloğu ve
   boşlukla birlikte kabın iç genişliğini aşıyordu).

   Buradaki kural, dar ekranda sabit piksel ölçülerini bırakıp içeriğin
   akmasına izin vermektir.
   ========================================================================== */

@media (max-width: 576px) {

    /* Kenar boşluğu: 24px dar ekranda çok yer yiyor */
    .tanitim .sarmal { padding: 0 16px; }

    .tanitim section { padding: 52px 0; }
    .t-kahraman { padding: 32px 0 48px; }

    /* Uzun Türkçe sözcükler taşmasın */
    .t-baslik,
    .t-bolum-baslik,
    .t-hakkinda-izgara h2,
    .t-cagri-kutu h2 {
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .t-baslik { font-size: 26px; }
    .t-bolum-baslik { font-size: 24px; }
    .t-aciklama { font-size: 15px; }
    .t-bolum-aciklama { font-size: 15px; }

    /* ---------------------------------------------- deneme arama kutusu --- */

    /*
     * Buton satırdan çıkıp alta geçer: yan yana kaldığında girdi alanına
     * 120 pikselden az yer kalıyor ve yazı okunmaz oluyordu.
     */
    .t-arama-kutu {
        flex-wrap: wrap;
        padding: 12px;
        gap: 8px;
    }

    .t-arama-kutu > i { display: none; }
    .t-arama-kutu input { flex: 1 1 100%; padding: 8px 4px; }
    .t-arama-kutu .t-btn { flex: 1 1 100%; }

    .t-dugmeler { flex-direction: column; }
    .t-dugmeler .t-btn { width: 100%; }

    /* ------------------------------------------------- örnek sonuç panosu --- */

    .t-pano { padding: 18px; border-radius: 18px; }

    /*
     * Asıl taşma buradaydı. Kod ve açıklama alt alta geçer, metin bloğunun
     * sabit en küçük genişliği kaldırılır.
     */
    .t-sonuc { flex-direction: column; gap: 10px; }
    .t-sonuc > div:last-child { min-width: 0 !important; }

    .t-kod { font-size: 30px; }
    .t-yol { font-size: 13px; }
    .t-yol-en { font-size: 12px; }

    .t-pano-ust { flex-wrap: wrap; gap: 8px; }
    .t-pano-arama { font-size: 13px; padding: 9px 11px; }
    .t-pano-arama .yazan { overflow-wrap: anywhere; }

    .t-mini-kartlar { grid-template-columns: 1fr 1fr; gap: 8px; }
    .t-mini { padding: 11px 8px; }

    /* ------------------------------------------------------------ sayılar --- */

    .t-sayilar { gap: 10px; }

    .t-sayi {
        flex: 1 1 calc(50% - 5px);
        padding: 14px 10px;
        min-width: 0;
    }

    .t-sayi-deger { font-size: 26px; }
    .t-sayi-etiket { font-size: 12px; }

    /* --------------------------------------------------------- kart ızgara --- */

    .t-kesfet-kart,
    .t-adim,
    .t-ozellik-kart,
    .t-iletisim-kart { padding: 22px 18px; }

    .t-kesfet-ikon,
    .t-iletisim-ikon { width: 58px; height: 58px; font-size: 23px; }

    /* --------------------------------------------------- karşılaştırma tablosu --- */

    .t-karsilastir { padding: 18px; gap: 18px; }

    /*
     * Üç sütunlu tablo dar ekranda sığmaz; kırpmak yerine kendi içinde
     * yatay kaydırılabilir olur — veri kaybolmaz.
     */
    .t-karsilastir > table,
    .t-karsilastir table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    /* --------------------------------------------------------------- SSS --- */

    .t-sss-soru { padding: 16px; font-size: 15px; gap: 10px; }
    .t-sss-cevap p { padding: 0 16px 18px; font-size: 14px; }

    /* ------------------------------------------------------------ kurucu --- */

    .t-kurucu-kart { padding: 26px 18px; gap: 20px; }
    .t-kurucu-resim { width: 96px; height: 96px; font-size: 38px; }
    .t-kurucu-bilgi h3 { font-size: 21px; }

    /* ---------------------------------------------------------- son çağrı --- */

    .t-cagri-kutu { padding: 34px 20px; border-radius: 20px; }
    .t-cagri-kutu h2 { font-size: 26px; }
    .t-cagri-kutu .t-btn { width: 100%; }

    /* ------------------------------------------------------------- halka --- */

    .t-halka-kart { padding: 22px 16px; }
    .t-halka-sarmal { width: 170px; height: 170px; }
    .t-halka-sarmal svg { width: 170px; height: 170px; }
    .t-halka-liste { gap: 10px; }
    .t-halka-oge { font-size: 12px; }

    /* ------------------------------------------------------------ satırlar --- */

    .t-satir { padding: 16px; gap: 14px; }
    .t-satir-ikon { width: 44px; height: 44px; font-size: 18px; }
    .t-satir h4 { font-size: 15px; }

    /* Hover'daki yana kayma dokunmatikte takılı kalıyordu */
    .t-satir:hover { transform: none; }

    /* --------------------------------------------------------- üst şerit --- */

    .t-serit p { font-size: 11px; padding: 0 12px; line-height: 1.4; }

    .t-menu { padding: 10px 0; }
    .t-logo-ikon { width: 40px; height: 40px; font-size: 18px; }
    .t-logo-yazi { font-size: 21px; }

    /* ------------------------------------------------------------ kayan şerit --- */

    .t-kayan { padding: 18px 0; }
    .t-kayan-oge { font-size: 12px; padding: 7px 13px; }

    /* ---------------------------------------------------------- alt bilgi --- */

    .t-alt { padding: 46px 0 20px; }
    .t-alt-ust { gap: 28px; }
    .t-alt-marka p { max-width: none; }

    /* ---------------------------------------------------------- krediler --- */

    .t-kredi-kart { padding: 24px 18px; }
    .t-kredi-rakam { font-size: 34px; }
    .t-kredi-ust { gap: 10px; }
}

/* Çok dar ekranlar (320px, eski iPhone SE) */
@media (max-width: 360px) {
    .t-baslik { font-size: 23px; }
    .t-kod { font-size: 26px; }
    .t-mini-kartlar { grid-template-columns: 1fr; }
    .t-sayi { flex: 1 1 100%; }
    .t-rozet { font-size: 12px; padding: 8px 14px; }
}

/*
 * Yatay taşmayı kesin olarak engelle: tek bir öğe kaçarsa tüm sayfa yana
 * kayıyor ve mobilde çok kötü görünüyor.
 */
.tanitim,
body.tanitim { max-width: 100%; overflow-x: hidden; }

.tanitim img,
.tanitim svg { max-width: 100%; height: auto; }

@media print {
    nav, footer, .nav-tabs, .tab-content, #yukleniyor,
    .card-header form, .btn, .liste-secici { display: none !important; }

    .card { border: 0; box-shadow: none; }
}