/* KALSIN tanıtım sayfası — uygulama CSS'inden bağımsız, aynı palet.
   Koyu/açık tema: html[data-theme] (tema.js ile aynı localStorage anahtarı). */

:root {
    --primary: #2e7dd1;
    --primary-koyu: #2568b0;
    --brand-teal: #2fbfa0;
    --brand-gradient: linear-gradient(135deg, #2e7dd1, #2fbfa0);
    --bg: #f4f6fa;
    --surface: #ffffff;
    --head-bg: #eef2f8;
    --text: #182234;
    --text-muted: #5d6b81;
    --border: #dde4ee;
    --success: #16a34a;
    --shadow: 0 1px 3px rgba(24, 34, 52, 0.07);
    --shadow-lg: 0 14px 40px rgba(24, 34, 52, 0.12);
    /* Canlı vurgu paleti — uygulamadaki kategori renkleriyle aynı */
    --zarf-1: #22c55e; --zarf-2: #f97316; --zarf-3: #ec4899; --zarf-4: #8b5cf6;
    --zarf-5: #ef4444; --zarf-6: #06b6d4; --zarf-7: #eab308; --zarf-8: #3b82f6;
}
html[data-theme="dark"] {
    --primary: #4d94e0;
    --primary-koyu: #2e7dd1;
    --brand-teal: #4fd6b8;
    --brand-gradient: linear-gradient(135deg, #6fb3f2, #4fd6b8);
    --bg: #0e131c;
    --surface: #161d2a;
    --head-bg: #1c2534;
    --text: #e8edf5;
    --text-muted: #8a97ab;
    --border: #273349;
    --success: #4ade80;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; margin: 0; }
.hidden { display: none !important; }
html { scroll-behavior: smooth; }
body {
    position: relative; overflow-x: hidden;
    font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg); color: var(--text);
    line-height: 1.6; -webkit-font-smoothing: antialiased;
}
/* Canlı, bulanık arka plan lekeleri — yeni nesil arayüzle aynı dil */
body::before, body::after {
    content: ''; position: fixed; z-index: -1; border-radius: 50%; filter: blur(70px);
    opacity: .22; pointer-events: none;
}
body::before { width: 420px; height: 420px; top: -140px; left: -120px; background: var(--zarf-4); }
body::after { width: 380px; height: 380px; top: 500px; right: -140px; background: var(--zarf-6); }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }

.t-kapsayici { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---- Butonlar ---- */
.t-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: 11px; font-weight: 700; font-size: 14.5px;
    border: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s;
    white-space: nowrap;
}
.t-btn-dolu { background: var(--brand-gradient); color: #fff; box-shadow: var(--shadow); }
.t-btn-dolu:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.t-btn-cerceve { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.t-btn-cerceve:hover { border-color: var(--primary); color: var(--primary); }

/* ---- Üst çubuk ---- */
.t-ust {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.t-ust-ic { display: flex; align-items: center; gap: 22px; height: 64px; }
.t-marka { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: .05em; font-size: 16px; }
.t-marka img { width: 34px; height: 34px; object-fit: contain; }
.t-capalar { display: flex; gap: 20px; margin-left: 8px; }
.t-capalar a { color: var(--text-muted); font-size: 13.5px; font-weight: 600; }
.t-capalar a:hover { color: var(--primary); }
.t-ust-sag { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.t-hamburger {
    display: none; width: 36px; height: 36px; border-radius: 10px;
    border: 1px solid var(--border); background: transparent; color: var(--text);
    font-size: 17px; cursor: pointer; align-items: center; justify-content: center;
    flex-shrink: 0; padding: 0;
}
.t-mobil-menu { display: none; }
.t-tema {
    width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border);
    background: transparent; color: var(--text); font-size: 15px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.t-tema:hover { background: var(--head-bg); }

/* ---- Hero ---- */
.t-hero { text-align: center; padding: 76px 0 60px; }
.t-hero img.t-logo { width: 92px; height: 92px; object-fit: contain; margin-bottom: 18px; }
.t-hero h1 { font-size: clamp(34px, 6vw, 54px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.t-hero h1 em { font-style: normal; color: var(--primary); }
.t-hero .t-alt {
    max-width: 620px; margin: 18px auto 30px; color: var(--text-muted);
    font-size: clamp(15px, 2.3vw, 18px);
}
.t-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.t-rozetler { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.t-rozetler span { display: flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 13px; font-weight: 600; }
.t-rozetler svg { width: 15px; height: 15px; color: var(--success); flex-shrink: 0; }

/* ---- Bölümler ---- */
.t-bolum { padding: 64px 0; }
.t-bolum-bas { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.t-bolum-bas h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -0.01em; }
.t-bolum-bas p { color: var(--text-muted); margin-top: 10px; font-size: 15px; }

/* Özellik kartları */
.t-ozellikler { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.t-ozellik {
    background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
    padding: 22px; box-shadow: var(--shadow); transition: transform .15s, border-color .15s;
}
.t-ozellik:hover { transform: translateY(-3px); border-color: var(--primary); }
.t-ozellik .t-ikon {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
    color: #fff;
}
.t-ozellik .t-ikon svg { width: 21px; height: 21px; }
.t-ozellik:nth-child(8n+1) .t-ikon { background: var(--zarf-1); }
.t-ozellik:nth-child(8n+2) .t-ikon { background: var(--zarf-2); }
.t-ozellik:nth-child(8n+3) .t-ikon { background: var(--zarf-3); }
.t-ozellik:nth-child(8n+4) .t-ikon { background: var(--zarf-4); }
.t-ozellik:nth-child(8n+5) .t-ikon { background: var(--zarf-5); }
.t-ozellik:nth-child(8n+6) .t-ikon { background: var(--zarf-6); }
.t-ozellik:nth-child(8n+7) .t-ikon { background: var(--zarf-7); }
.t-ozellik:nth-child(8n+8) .t-ikon { background: var(--zarf-8); }
.t-ozellik h3 { font-size: 15.5px; font-weight: 750; margin-bottom: 6px; }
.t-ozellik p { color: var(--text-muted); font-size: 13.5px; line-height: 1.55; }

/* Kazanımlar */
.t-kazanimlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.t-kazanim {
    background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
    padding: 26px; box-shadow: var(--shadow);
}
.t-kazanim h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.t-kazanim .t-etiket {
    display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
    color: #fff; border-radius: 999px;
    padding: 3px 11px; margin-bottom: 12px;
}
.t-kazanim:nth-child(1) .t-etiket { background: var(--zarf-2); }
.t-kazanim:nth-child(2) .t-etiket { background: var(--zarf-4); }
.t-kazanim ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.t-kazanim li { display: flex; gap: 10px; font-size: 14px; color: var(--text); }
.t-kazanim li svg { width: 17px; height: 17px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

/* Güvenlik */
.t-guvenlik { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.t-guvence {
    background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--brand-teal);
    border-radius: 16px; padding: 20px; box-shadow: var(--shadow);
}
.t-guvence h3 { font-size: 15px; font-weight: 750; margin-bottom: 6px; }
.t-guvence p { color: var(--text-muted); font-size: 13.5px; }

/* SSS */
.t-sss { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.t-sss details {
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    padding: 0; overflow: hidden;
}
.t-sss summary {
    cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 14.5px;
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.t-sss summary::-webkit-details-marker { display: none; }
.t-sss summary::after { content: "+"; font-size: 19px; color: var(--text-muted); flex-shrink: 0; }
.t-sss details[open] summary::after { content: "−"; }
.t-sss details[open] summary { color: var(--primary); }
.t-sss .t-cevap { padding: 0 20px 18px; color: var(--text-muted); font-size: 14px; line-height: 1.65; }

/* Kapanış CTA */
.t-kapanis {
    text-align: center; background: var(--surface); border: 1px solid var(--border);
    border-radius: 26px; padding: 52px 26px; box-shadow: var(--shadow);
    position: relative; overflow: hidden;
}
.t-kapanis::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: var(--brand-gradient);
}
.t-kapanis h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; margin-bottom: 10px; }
.t-kapanis p { color: var(--text-muted); margin-bottom: 24px; }

/* Footer */
.t-footer { border-top: 1px solid var(--border); padding: 30px 0 40px; margin-top: 30px; }
.t-footer-ic {
    display: flex; justify-content: space-between; align-items: center;
    gap: 14px; flex-wrap: wrap; color: var(--text-muted); font-size: 13px;
}
.t-footer-baglantilar { display: flex; gap: 18px; flex-wrap: wrap; }

/* Breadcrumb (iç sayfalarda "Ana Sayfa / Blog / ..." yolu) */
.t-breadcrumb { font-size: 12.5px; color: var(--text-muted); margin: 0 0 18px; }
.t-breadcrumb a { color: var(--text-muted); }
.t-breadcrumb a:hover { color: var(--primary); }
.t-breadcrumb .t-bc-ayrac { margin: 0 6px; color: var(--border); }
.t-breadcrumb .t-bc-simdi { color: var(--text); font-weight: 600; }

/* Mobilde/masaüstünde sabit "yardım" butonu — iletişim formuna götürür */
.t-yardim-btn {
    position: fixed; right: 16px; bottom: 16px; z-index: 500;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--brand-gradient); color: #fff !important; text-decoration: none !important;
    padding: 13px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
    box-shadow: 0 8px 22px rgba(46,125,209,0.35);
}
.t-yardim-btn:hover { filter: brightness(1.06); }
.t-yardim-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- İçerik sayfaları (hikaye, gizlilik, koşullar, blog) ---- */
.t-icerik { max-width: 760px; margin: 0 auto; padding: 48px 22px 70px; }
.t-icerik h1 { font-size: clamp(26px, 4.5vw, 36px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.t-icerik .t-tarih { color: var(--text-muted); font-size: 13px; margin-bottom: 30px; display: block; }
.t-icerik h2 { font-size: 21px; font-weight: 750; margin: 34px 0 10px; }
.t-icerik h3 { font-size: 16.5px; font-weight: 750; margin: 24px 0 8px; }
.t-icerik p { margin: 0 0 14px; color: var(--text); font-size: 15px; line-height: 1.75; }
.t-icerik ul, .t-icerik ol { margin: 0 0 14px 22px; display: flex; flex-direction: column; gap: 7px; font-size: 15px; line-height: 1.7; }
.t-icerik strong { font-weight: 750; }
.t-icerik .t-kutu {
    background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary);
    border-radius: 12px; padding: 16px 18px; margin: 18px 0; font-size: 14px; color: var(--text-muted);
}
.t-icerik table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 14px; }
.t-icerik th, .t-icerik td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.t-icerik th { color: var(--text-muted); font-size: 12.5px; letter-spacing: .03em; }

/* İletişim formu */
.t-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.t-form input, .t-form textarea {
    width: 100%; padding: 11px 13px; border-radius: 10px; font-size: 14px;
    border: 1px solid var(--border); background: var(--surface); color: var(--text);
    font-family: inherit;
}
.t-form input:focus, .t-form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }
.t-form textarea { min-height: 120px; resize: vertical; }
.t-form-mesaj { font-size: 13.5px; padding: 10px 13px; border-radius: 10px; }
.t-form-mesaj.iyi { background: color-mix(in srgb, var(--success) 12%, transparent); color: var(--success); }
.t-form-mesaj.kotu { background: color-mix(in srgb, #dc2626 12%, transparent); color: #dc2626; }

/* İstatistik şeridi */
.t-istatistik {
    display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap;
    margin: 34px auto 0; padding: 14px 22px; max-width: 780px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
    box-shadow: var(--shadow); font-size: 13.5px; color: var(--text-muted);
}
.t-istatistik b { color: var(--text); font-weight: 750; }

/* Güncelleme zaman çizelgesi */
.t-zaman { display: flex; flex-direction: column; gap: 14px; }
.t-madde {
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
    padding: 16px 18px; box-shadow: var(--shadow);
}
.t-madde-ust { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; }
.t-madde-no { font-family: ui-monospace, Consolas, monospace; font-weight: 700; color: var(--primary); font-size: 13px; }
.t-madde h3 { font-size: 15.5px; font-weight: 750; margin: 0; }
.t-madde p { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; margin: 0; }
.t-rozet { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.t-rozet-yeni { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.t-rozet-iyi { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.t-rozet-duzeltme { background: color-mix(in srgb, #d97706 16%, transparent); color: #d97706; }
.t-rozet-altyapi { background: var(--head-bg); color: var(--text-muted); }

/* Blog kartları */
.t-blog-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.t-blog-kart {
    display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
    padding: 24px; box-shadow: var(--shadow); color: var(--text); transition: transform .15s, border-color .15s;
}
.t-blog-kart:hover { transform: translateY(-3px); border-color: var(--primary); }
.t-blog-kart h3 { font-size: 17px; font-weight: 750; margin-bottom: 8px; }
.t-blog-kart p { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; }
.t-blog-kart .t-oku { display: inline-block; margin-top: 12px; color: var(--primary); font-weight: 700; font-size: 13px; }

@media (max-width: 760px) {
    .t-capalar { display: none; }
    .t-hero { padding: 52px 0 44px; }
    .t-bolum { padding: 46px 0; }
    /* Dar ekranda tek buton: hero'da zaten "Ücretsiz Başla" var */
    .t-ust-sag .t-btn-dolu { display: none; }
    .t-ust-ic { gap: 12px; height: 58px; }
    .t-btn { padding: 9px 16px; font-size: 13.5px; }
    .t-marka { font-size: 15px; gap: 8px; }
    .t-marka img { width: 30px; height: 30px; }
    .t-hamburger { display: flex; }
    .t-mobil-menu.acik {
        display: flex; flex-direction: column;
        padding: 8px 22px 16px; border-top: 1px solid var(--border);
    }
    .t-mobil-menu a { padding: 11px 0; color: var(--text); font-weight: 600; font-size: 15px; }
    .t-mobil-menu a:hover { color: var(--primary); }
    .t-mobil-menu a.t-btn { margin-top: 10px; color: #fff; justify-content: center; }
}
