/* YKSKOÇ tasarım sistemi — v2: enerjik/genç, göz yormayan, mobil öncelikli */

:root {
    /* Marka - koyu lacivert ailesi (header/hero/vurgu metinleri) */
    --navy-900: #101730;
    --navy-800: #16214a;
    --navy-700: #1d2c63;
    --navy-600: #2f6fed;
    --navy-100: #e8eefd;
    --navy-050: #f5f7fd;

    /* CTA - turuncu */
    --orange-500: #ff7a33;
    --orange-600: #f2661c;
    --orange-050: #fff2ea;

    --success: #16a34a;
    --success-050: #e8f8ee;
    --danger: #d64545;
    --danger-050: #fdecea;
    --violet-500: #7c5cff;
    --violet-600: #6a3ff5;
    --violet-050: #f1edff;

    --ink: #12172b;
    --ink-muted: #5b6478;
    --border: #e6e9f2;
    --surface: #ffffff;
    --bg: #f6f7fb;

    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(16, 24, 43, .05), 0 10px 28px rgba(16, 24, 43, .07);
    --shadow-lg: 0 20px 44px rgba(16, 24, 43, .18);
    --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --ease: cubic-bezier(.2, .7, .3, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0a0e1c;
        --surface: #131a30;
        --ink: #eef1f8;
        --ink-muted: #9aa3ba;
        --border: #232c48;
        --navy-100: #1a2350;
        --navy-050: #171f3c;
        --orange-050: #2c1c10;
        --success-050: #10281a;
        --danger-050: #2c1414;
        --violet-050: #1e1a3a;
        --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .4);
    }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
/* overflow-x:hidden, html/body'yi kaydırma kabı yapıp header'ın position:sticky'sini bozuyordu
   (sayfa kayınca menü kayboluyordu). clip aynı taşma kesmesini sticky'yi bozmadan yapar. */
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-size: 15.5px;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---- Reveal / stagger animasyonu ----
   Not: opacity'yi ASLA animasyona bağlama — animasyon herhangi bir sebeple
   çalışmazsa (arka plandaki sekme, tarayıcı kısıtlaması vb.) içerik kalıcı
   olarak görünmez kalmamalı. Sadece transform ile hafif bir "yerine oturma"
   hareketi veriyoruz; en kötü ihtimalle animasyon hiç çalışmaz, içerik yine
   de tam görünür olur. */
@keyframes fadeUp {
    from { transform: translateY(10px) scale(.97); }
    to { transform: translateY(0) scale(1); }
}
.fade-up { animation: fadeUp .5s var(--ease) both; }

/* ---- Scroll ile tetiklenen reveal (motion.js: IntersectionObserver) ----
   Aynı güvenlik ilkesi: .js-motion sınıfı yalnızca motion.js başarıyla
   çalışırsa <html>'e eklenir (bkz. assets/js/motion.js). JS hiç çalışmazsa
   .reveal öğeleri normal şekilde tam görünür kalır — asla kalıcı opacity:0
   riski yok. */
.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-motion .reveal { opacity: 0; transform: translateY(22px); }
.js-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Sayı sayma animasyonu (motion.js) — görsel olarak dokunmuyor,
   sadece içerik güncelleniyor; JS çalışmazsa PHP'nin bastığı son değer
   zaten ekranda durur. ---- */
[data-count-to] { font-variant-numeric: tabular-nums; }

/* ---- Arka plan: yumuşak, hafif hareketli renk küreleri (ambient) ----
   Düşük opaklık + blur ile göz yormayan bir derinlik hissi; içerikten
   bağımsız, pointer-events kapalı, negatif z-index ile her zaman en arkada. */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: -1;
    will-change: transform;
}
body::before { width: 440px; height: 440px; background: var(--navy-600); opacity: .07; top: -140px; left: -120px; animation: blobFloat 22s ease-in-out infinite; }
body::after { width: 380px; height: 380px; background: var(--orange-500); opacity: .06; bottom: -160px; right: -100px; animation: blobFloat 26s ease-in-out infinite reverse; }
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(26px, -18px) scale(1.08); }
    66% { transform: translate(-18px, 22px) scale(.95); }
}
@media (max-width: 700px) {
    body::before, body::after { width: 260px; height: 260px; }
}

/* ---- Header ---- */
.site-header {
    background: var(--surface);
    color: var(--ink);
    position: sticky;
    top: 0;
    /* position:sticky + z-index burada kendi yığılma bağlamını (stacking context)
       oluşturuyor — içindeki .main-nav/.header-search-bar'ın KENDİ z-index'leri
       (position:fixed olsalar bile) header'ın DIŞINDAKİ öğelerle (ör. auth-gate
       popup'ı) kıyaslanırken devreye girmez, bunun yerine header'ın bu z-index'i
       kullanılır. Açık menünün auth-gate popup'ının (z-index:55) önüne, AI Koç
       butonunun (z-index:65) arkasına çıkması için header'ın kendisi bu aralıkta
       olmalı. */
    z-index: 58;
    height: 64px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 2px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); flex-shrink: 0; }
.brand .dot { color: var(--orange-500); }
/* Ana menü artık her ekran genişliğinde hamburger'dan açılan gruplu bir panel
   (bkz. aşağıdaki "Header: sağdaki nav+aksiyon grubu" bloğu — .nav-toggle/.main-nav
   konumlandırma ve açma/kapama kuralları orada, unconditional). */
.main-nav a {
    color: var(--ink-muted);
    padding: 9px 13px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: background .15s var(--ease), color .15s var(--ease);
}
.main-nav a:hover { background: var(--navy-100); color: var(--navy-600); }
.main-nav a.active { color: var(--navy-600); background: var(--navy-100); }
@media (max-width: 480px) {
    .brand { font-size: 17px; }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14.5px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .12s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease);
    white-space: nowrap;
    min-height: 44px;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.95); }
.btn-primary { background: var(--orange-500); color: #1a0e04; }
.btn-primary:hover { background: var(--orange-600); box-shadow: 0 6px 18px rgba(255,122,51,.35); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost { background: var(--navy-100); color: var(--navy-600); }
.btn-ghost:hover { background: var(--navy-600); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13px; min-height: 36px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---- Hero ---- */
.hero {
    background: radial-gradient(120% 140% at 12% 0%, #1d2c63 0%, var(--navy-900) 55%, var(--navy-900) 100%);
    color: #fff;
    padding: 56px 0 64px;
    position: relative;
    overflow: hidden;
}
.hero h1 { font-size: clamp(36px, 4.8vw, 58px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; max-width: 620px; line-height: 1.15; }
.hero h1 .hl-blue { color: #60a5fa; }
.hero p { font-size: 17px; color: rgba(255,255,255,.8); max-width: 540px; margin: 0 0 20px; }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 8px; } }

/* ---- Hero: üstteki sayı istatistikleri (sayaç animasyonu: motion.js) ---- */
.hero-stats { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value { font-family: var(--font); font-size: 30px; font-weight: 800; color: #60a5fa; line-height: 1; }
.hero-stat-label { font-size: 13.5px; color: rgba(255,255,255,.6); font-weight: 600; margin-top: 4px; }
.hero-stat-divider { width: 1px; height: 34px; background: rgba(255,255,255,.2); }

.search-card {
    background: var(--surface);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.search-input-icon { display: flex; align-items: center; gap: 8px; }
.search-input-icon svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink-muted); }
.search-input-icon input { border: none !important; padding-left: 0 !important; }
.search-card-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
@media (max-width: 560px) {
    .search-card-row { grid-template-columns: 1fr 1fr; }
    .search-card-row .btn { grid-column: 1 / -1; }
}

/* ---- Hero: ikonlu metin linkleri ---- */
.hero-links { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 18px; }
.hero-links a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-weight: 600; font-size: 14.5px; transition: color .15s var(--ease); }
.hero-links a:hover { color: #fff; }
.hero-links svg { width: 19px; height: 19px; color: #60a5fa; }

/* ---- Hero: telefon mockup görseli (tanıtım amaçlı, gerçek veri değil) + işlevsel rozet linkleri ---- */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; padding: 20px 0; }
.hero-phone {
    position: relative;
    width: 230px;
    background: linear-gradient(160deg, #1c2a52 0%, #0d1530 100%);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 32px;
    padding: 20px 14px 18px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 10px 24px rgba(0,0,0,.3);
    transform: rotate(3deg);
}
.hero-phone-notch { width: 70px; height: 18px; background: #05070f; border-radius: 999px; margin: 0 auto 18px; }
.hero-phone-screen { display: flex; flex-direction: column; gap: 8px; }
.hero-phone-title { color: rgba(255,255,255,.75); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.hero-phone-row { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 9px 12px; font-size: 12px; color: #fff; font-weight: 600; }
.hero-phone-row b { color: #7ea2ff; font-size: 12px; font-weight: 800; }

.hero-float-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15,23,42,.6);
    border: 1px solid rgba(255,255,255,.16);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: 10px 16px 10px 10px;
    border-radius: 16px;
    box-shadow: 0 12px 30px -8px rgba(0,0,0,.5);
    transition: background .15s var(--ease), transform .15s var(--ease);
    animation: heroBadgeFloat 6s ease-in-out infinite;
}
.hero-float-badge:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
@keyframes heroBadgeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}
.hero-float-badge-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-float-badge-icon svg { width: 19px; height: 19px; }
.hero-badge-icon-blue { background: rgba(37,99,235,.35); color: #60a5fa; }
.hero-badge-icon-green { background: rgba(34,197,94,.3); color: #4ade80; }
.hero-badge-icon-purple { background: rgba(168,85,247,.3); color: #c084fc; }
.hero-float-badge-text { display: flex; flex-direction: column; text-align: left; }
.hero-float-badge-text strong { font-size: 13.5px; font-weight: 700; color: #fff; }
.hero-float-badge-text small { font-size: 11px; color: rgba(255,255,255,.5); }

.hero-badge-ai { top: 6%; right: 0; animation-delay: 0s; }
.hero-badge-budget { bottom: 22%; left: -4%; animation-delay: 1.5s; }
.hero-badge-compare { top: 46%; right: -6%; animation-delay: 3s; }
@media (max-width: 900px) {
    .hero-visual { min-height: 320px; }
    .hero-badge-ai { top: 2%; right: 2%; }
    .hero-badge-budget { bottom: 14%; left: -2%; }
    .hero-badge-compare { top: 42%; right: -2%; }
}
@media (max-width: 420px) {
    .hero-phone { width: 190px; }
    .hero-float-badge { padding: 8px 12px 8px 8px; gap: 8px; }
    .hero-float-badge-icon { width: 32px; height: 32px; }
    .hero-badge-compare { display: none; }
}

/* ---- Hero: admin panelinden yüklenen dinamik görsel (varsayılan .hero-phone
   mockup'ının yerine geçer). Şeffaf PNG'ler çerçevesiz/arka planssız gösterilir —
   çevresinde bg/border/shadow/rotate yok, sadece admin panelindeki slider'dan
   gelen ölçek (--hero-img-scale, %50-%500) uygulanır ve hafif bir yüzen animasyon
   eşlik eder. Yüzen rozetlere (.hero-float-badge*) ve onların animasyonuna
   dokunulmaz. ---- */
.hero-uploaded-img {
    position: relative;
    width: 230px;
    max-width: 100%;
    max-height: 340px;
    background: transparent;
    object-fit: contain;
    display: block;
    animation: heroImgFloat 6s ease-in-out infinite;
}
@keyframes heroImgFloat {
    0%, 100% { transform: scale(var(--hero-img-scale, 1)) translateY(0); }
    50% { transform: scale(var(--hero-img-scale, 1)) translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-uploaded-img { animation: none; transform: scale(var(--hero-img-scale, 1)); }
}
.hero-img-mobile { display: none; }
@media (max-width: 900px) {
    .hero-img-desktop { display: none; }
    .hero-img-mobile { display: block; width: 190px; max-height: 280px; }
}

/* ---- Ana sayfa: Hero'nun hemen altındaki "üye ol" sosyal kanıt bölümü.
   Üstte iki ayrı buzlu cam kutu (istatistikler), altında tek buzlu cam kutu
   (başlık + CTA) — dikey dizilim hem mobilde hem masaüstünde aynı. Dış sarmalayıcı
   (.social-proof-panel) artık kendi arka planı/kenarlığı olmayan salt bir
   düzen kutusu; görünen "cam" yüzeyler sadece iç kutular. ---- */
.social-proof-panel { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.social-proof-stats { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.social-proof-stat {
    flex: 1 1 150px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    padding: 20px 18px;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 26px -14px rgba(0,0,0,.4);
}
.social-proof-stat-value { font-family: var(--font); font-size: 40px; font-weight: 800; color: var(--navy-600); line-height: 1; }
.social-proof-stat-label { font-size: 13px; color: var(--ink-muted); font-weight: 600; margin-top: 6px; max-width: 190px; }
.social-proof-copy {
    text-align: center; display: flex; flex-direction: column; align-items: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    padding: 26px 24px;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 26px -14px rgba(0,0,0,.4);
}
.social-proof-copy h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; max-width: 480px; }
.social-proof-copy p { color: var(--ink-muted); font-size: 14.5px; margin: 0 0 16px; }

/* ---- Giriş / Kayıt: bento-grid tarzı split panel (marka paneli + form kartı) ---- */
.auth-bento { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: stretch; max-width: 940px; margin: 0 auto; }
@media (max-width: 820px) { .auth-bento { grid-template-columns: 1fr; } }

.auth-brand-panel {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 36px 32px;
    background: radial-gradient(120% 140% at 100% 0%, #2f6fed 0%, var(--navy-900) 60%, var(--navy-900) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 26px;
    min-height: 320px;
}
.auth-brand-stripes {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.5) 0px, rgba(255,255,255,.5) 1px, transparent 1px, transparent 10px);
    opacity: .12;
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 100% 0%, #000 70%, transparent 110%);
    mask-image: radial-gradient(ellipse 80% 50% at 100% 0%, #000 70%, transparent 110%);
    pointer-events: none;
}
.auth-eyebrow { position: relative; display: inline-block; padding: 5px 14px; background: rgba(255,255,255,.12); border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.auth-brand-headline { position: relative; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; margin: 0 0 10px; color: #fff; }
.auth-brand-sub { position: relative; font-size: 14.5px; color: rgba(255,255,255,.65); max-width: 340px; margin: 0; }
.auth-brand-stats { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }
.auth-brand-stat { flex: 1 1 120px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 14px 16px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.auth-brand-stat-value { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.auth-brand-stat-label { font-size: 11px; color: rgba(255,255,255,.6); font-weight: 700; margin-top: 6px; text-transform: uppercase; letter-spacing: .05em; }

.auth-form-panel { border-radius: 28px; padding: 32px 30px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 560px) { .auth-form-panel { padding: 24px 20px; } }

/* ---- Giriş/Kayıt: Google/Facebook butonları + "veya" ayracı ---- */
.social-login-block { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 4px; }
.social-login-block > div { max-width: 100%; }
#social-login-status { font-size: 12.5px; font-weight: 600; min-height: 16px; margin: 2px 0 0; text-align: center; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--ink-muted); font-size: 12.5px; font-weight: 600; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ---- Hesabım > Profil: sağ taraftaki "son aktivite" buzlu cam kutuları ---- */
.hesabim-profil-grid { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .hesabim-profil-grid { grid-template-columns: 1fr; } }
.hesabim-profil-main { min-width: 0; }
.hesabim-profil-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.glass-mini-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    padding: 18px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 26px -14px rgba(0,0,0,.4);
}
.glass-mini-card h3 { margin: 0; font-size: 14.5px; color: var(--ink); }
.glass-mini-card > p { font-size: 12.5px; color: var(--ink-muted); margin: 4px 0 0; }
.glass-mini-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.glass-mini-item {
    display: block;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 10px 12px;
    text-decoration: none;
    transition: background .15s var(--ease), border-color .15s var(--ease);
}
.glass-mini-item:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.glass-mini-item-title { font-weight: 700; font-size: 13px; color: var(--ink); }
.glass-mini-item-meta { font-size: 11.5px; color: var(--ink-muted); margin-top: 3px; }
.glass-mini-more { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--navy-600); }

/* ---- Deneyim yorumu kartları ---- */
.testimonial-card { display: flex; flex-direction: column; gap: 12px; }
.testimonial-stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.testimonial-quote { font-size: 14.5px; line-height: 1.55; color: var(--ink); margin: 0; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy-100); color: var(--navy-600); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.testimonial-avatar-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* ---- "Sizden Gelenler" sayfası: üstteki fan/yığın kart görseli ---- */
.community-hero { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; padding-bottom: 20px; }
.community-hero-copy { flex: 1 1 320px; }
.community-hero-copy .section-title { max-width: 480px; }
.testimonial-stack { position: relative; width: 260px; height: 260px; flex-shrink: 0; margin: 24px auto 34px; }
.testimonial-stack-card {
    position: absolute; inset: 0;
    background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
    padding: 18px; box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    display: flex; flex-direction: column; gap: 8px;
    transition: transform .25s var(--ease);
}
.testimonial-stack-card .testimonial-quote {
    font-size: 13px; flex: 1;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
}
.testimonial-stack-card-0 { transform: rotate(-3deg) translate(-2px, -6px); z-index: 3; }
.testimonial-stack-card-1 { transform: rotate(8deg) translate(16px, 6px); z-index: 2; }
.testimonial-stack-card-2 { transform: rotate(-11deg) translate(-18px, 12px); z-index: 1; }
.community-hero:hover .testimonial-stack-card-0 { transform: rotate(-2deg) translate(-2px, -10px); }
.community-hero:hover .testimonial-stack-card-1 { transform: rotate(10deg) translate(20px, 8px); }
.community-hero:hover .testimonial-stack-card-2 { transform: rotate(-13deg) translate(-22px, 16px); }
@media (max-width: 560px) {
    .testimonial-stack { width: 220px; height: 220px; }
}

/* ---- Hesabım: profil fotoğrafı ---- */
.account-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--navy-100); color: var(--navy-600); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.account-avatar-img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.account-avatar-lg, .account-avatar-lg.account-avatar-img { width: 64px; height: 64px; font-size: 24px; }
.testimonial-author strong { display: block; font-size: 13.5px; }
.testimonial-author span { display: block; font-size: 12px; color: var(--ink-muted); }

/* ---- Sayfa altı: küçük "giriş yap / deneyimini paylaş" bölümü ---- */
.bottom-cta-card { text-align: center; }
.bottom-cta-card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.bottom-cta-card textarea { margin-top: 4px; text-align: left; }
.bottom-cta-status { font-size: 12.5px; font-weight: 600; }

/* ---- Çerez onay popup'ı (sayfanın altında, ilk ziyarette) — kompakt ---- */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
    background: var(--surface); border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(0,0,0,.18);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 12px 20px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.cookie-banner-inner p { margin: 0; font-size: 13.5px; color: var(--ink-muted); flex: 1 1 auto; min-width: 0; }
.cookie-banner-inner a { color: var(--navy-600); font-weight: 700; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-actions .btn { white-space: nowrap; }
@media (max-width: 560px) {
    .cookie-banner { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
    .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 8px; }
    .cookie-banner-inner p { flex: none; font-size: 12.5px; line-height: 1.4; text-align: center; }
    .cookie-actions .btn { flex: 1; padding-top: 9px; padding-bottom: 9px; }
}

/* ---- "Tümünü gör →" bağlantıları (ana sayfa bölüm başlıkları) ---- */
.link-accent { color: var(--navy-600); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.link-accent:hover { text-decoration: underline; }

/* ---- Ana sayfa: "Sıralamana Göre Bölümler" panel + yatay kaydırmalı çipler ---- */
.section-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 28px; }
@media (max-width: 560px) { .section-panel { padding: 20px; } }
/* Yatay kaydırma yerine sayfa genişliğine göre otomatik satır sayısı — hiçbir
   çip kırpılmadan/kaydırma çubuğu olmadan sığar. */
.rank-chip-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.rank-chip {
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform .18s var(--ease), border-color .18s var(--ease);
}
.rank-chip:hover { transform: translateY(-4px); border-color: var(--navy-600); }
.rank-chip-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
.rank-chip-value { font-size: 26px; font-weight: 800; }
.rank-chip-cta { align-items: center; justify-content: center; text-align: center; color: var(--navy-600); font-weight: 700; font-size: 15px; }

/* ---- Form controls ---- */
label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .03em; }
.field { display: flex; flex-direction: column; }
input[type=text], input[type=search], input[type=number], input[type=password], input[type=email], select, textarea {
    width: 100%;
    padding: 12px 13px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    font-size: 15px;
    font-family: inherit;
    min-height: 44px;
    transition: border-color .15s var(--ease);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(47, 111, 237, .15); transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
textarea { resize: vertical; min-height: 90px; }

/* ---- Sections ---- */
.section { padding: 44px 0; }
.section-title { font-size: 24px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.section-sub { color: var(--ink-muted); margin: 0 0 24px; font-size: 15px; }

/* ---- Cards / grid ---- */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.program-card { display: flex; flex-direction: column; gap: 10px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--navy-600); }
.program-card .uni-name { font-size: 12px; color: var(--ink-muted); font-weight: 600; }
.program-card h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; }
.program-card-photo { height: 96px; background-size: cover; background-position: center; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; margin: -18px -18px 2px; position: relative; }
.program-card-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,15,30,0) 40%, rgba(10,15,30,.4)); border-radius: inherit; }

/* ---- Üniversite kapak fotoğrafı ---- */
.uni-cover { width: 100%; height: 260px; border-radius: var(--radius); background-size: cover; background-position: center; margin-bottom: 20px; position: relative; overflow: hidden; }
.uni-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,15,30,.5), transparent 55%); }
@media (max-width: 640px) { .uni-cover { height: 160px; } }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    background: var(--navy-100);
    color: var(--navy-600);
}
.badge-orange { background: var(--orange-050); color: var(--orange-600); }
.badge-green { background: var(--success-050); color: var(--success); }
.badge-violet { background: var(--violet-050); color: var(--violet-500); }
.stat-row { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-top: 1px solid var(--border); }
.stat-row span:first-child { color: var(--ink-muted); }
.stat-row span:last-child { font-weight: 700; }

/* ---- Comparison table ---- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; }
table.compare th, table.compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: top; }
/* Not: position:sticky KASITLI olarak kaldırıldı — .compare-wrap'te yatay
   kaydırma için overflow-x:auto var, ve CSS kuralı gereği bu overflow-y'yi
   de dolaylı olarak "auto" yapıyor (overflow-x görünür olmayan bir değer
   alınca diğer eksen "visible" yerine "auto" hesaplanır). Bu da sticky'nin
   konumlandığı kapsayıcı bloğu sayfa yerine .compare-wrap yapıp, offset
   hesaplamasını bozup başlığın bir alt satırın üzerine taşmasına yol
   açıyordu — başlık şeffafken görünmüyordu, opak yapılınca ortaya çıktı.
   Yatay kaydırmayı bozmadan güvenilir bir düzeltmesi olmadığından sticky
   davranışı kaldırıldı; başlık artık normal akışta, hep doğru konumda. */
table.compare thead th { background: var(--surface); font-size: 15px; font-weight: 800; }
table.compare .row-label { width: 220px; color: var(--ink-muted); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .02em; background: var(--navy-050); }
table.compare .group-row td { background: var(--navy-100); font-weight: 800; color: var(--navy-600); font-size: 13px; text-transform: uppercase; letter-spacing: .03em; padding: 9px 16px; border-bottom: none; }
table.compare .best { color: var(--success); font-weight: 800; }

/* ---- Filters sidebar ---- */
.filter-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .filter-bar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .filter-bar { grid-template-columns: 1fr; } }

/* ---- Detail page ---- */
.detail-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }
.kv-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
@media (max-width: 480px) { .kv-list { grid-template-columns: 1fr; } }
.kv-list dt { color: var(--ink-muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; }
.kv-list dd { margin: 2px 0 0; font-weight: 600; }

/* ---- Blog ---- */
.blog-card { display: flex; flex-direction: column; gap: 6px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--navy-600); }
.blog-card-emoji { font-size: 32px; }
.blog-card-tag {
    display: inline-flex; align-items: center; align-self: flex-start;
    font-size: 11px; font-weight: 700; letter-spacing: .01em;
    color: var(--navy-600); background: var(--navy-050);
    border-radius: 999px; padding: 3px 10px;
}

/* ---- Blog: arama kutusu ---- */
.blog-search-box {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 18px;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 26px -14px rgba(0,0,0,.4);
}
.blog-search-icon { font-size: 16px; flex-shrink: 0; opacity: .8; }
.blog-search-box input {
    flex: 1; border: none !important; background: transparent !important; padding: 0 !important;
    font-size: 14.5px; color: var(--ink); outline: none;
}
.blog-search-box input::placeholder { color: var(--ink-muted); }

/* ---- Blog: kategori "klasör" görünümü ---- */
.blog-folders { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.blog-folder {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    padding: 9px 14px;
    font-size: 13px; font-weight: 700; color: var(--ink-muted);
    cursor: pointer;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.blog-folder:hover { color: var(--ink); border-color: rgba(96,165,250,.4); }
.blog-folder.active { color: #fff; background: rgba(37,99,235,.28); border-color: rgba(59,130,246,.55); }
.blog-folder-icon { font-size: 15px; }
.blog-folder-count {
    font-size: 11px; font-weight: 800; color: var(--ink-muted);
    background: rgba(255,255,255,.08); border-radius: 999px; padding: 1px 7px;
}
.blog-folder.active .blog-folder-count { color: #fff; background: rgba(255,255,255,.16); }
.blog-content { font-size: 16px; line-height: 1.75; color: var(--ink); }
.blog-content h2 { font-size: 22px; font-weight: 800; margin: 32px 0 12px; }
.blog-content h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.blog-content p { margin: 0 0 16px; }
.blog-content ul, .blog-content ol { margin: 0 0 16px; padding-left: 22px; }
.blog-content li { margin-bottom: 6px; }
.blog-content strong { font-weight: 700; }
.blog-content a { color: var(--navy-600); font-weight: 600; text-decoration: underline; }
.blog-content blockquote { border-left: 3px solid var(--navy-600); padding: 4px 16px; margin: 0 0 16px; color: var(--ink-muted); font-style: italic; }

/* ---- Forum ---- */
.forum-cat-card { display: flex; align-items: center; gap: 16px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.forum-cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--navy-600); }
.forum-cat-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.forum-cat-icon-0 { background: var(--navy-100); color: var(--navy-600); }
.forum-cat-icon-1 { background: var(--orange-050); color: var(--orange-600); }
.forum-cat-icon-2 { background: var(--violet-050); color: var(--violet-500); }
.forum-cat-icon-3 { background: var(--success-050); color: var(--success); }
.forum-cat-icon-4 { background: var(--navy-100); color: var(--navy-600); }
.forum-cat-stats { text-align: right; flex-shrink: 0; }
.forum-cat-stats strong { display: block; font-size: 18px; color: var(--ink); }
.forum-cat-stats span { font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .02em; }

.forum-thread-row { display: flex; align-items: center; gap: 14px; padding: 14px 10px; border-radius: 10px; transition: background .15s var(--ease); }
.forum-thread-row:hover { background: var(--navy-050); }
.forum-thread-row + .forum-thread-row { border-top: 1px solid var(--border); }
.forum-thread-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-600); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.forum-thread-pin { color: var(--orange-500); }
.forum-thread-count { text-align: center; flex-shrink: 0; background: var(--navy-050); border-radius: 10px; padding: 8px 14px; min-width: 60px; }
.forum-thread-count strong { display: block; font-size: 16px; }
.forum-thread-count span { font-size: 10px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .02em; }

.forum-post { display: flex; gap: 16px; padding: 20px; }
.forum-post + .forum-post { margin-top: 12px; }
.forum-post.op { border-left: 3px solid var(--navy-600); background: var(--navy-050); }
.forum-post-body { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.7; }
.forum-post-text { white-space: pre-line; }
.forum-reply-card { background: var(--navy-050); border: 1px dashed var(--border); }

/* ---- SSS / FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 18px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 14px 26px 14px 0; font-weight: 700; font-size: 14.5px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '';
    position: absolute;
    right: 6px;
    top: 20px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--navy-600);
    border-bottom: 2px solid var(--navy-600);
    transform: rotate(45deg);
    transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item p { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-muted); line-height: 1.65; overflow: hidden; transition: height .28s var(--ease); }
.faq-item p a { color: var(--navy-600); font-weight: 600; }

/* ---- Yerleşen son kişinin netleri ---- */
.netler-years { display: flex; gap: 6px; flex-wrap: wrap; }
.netler-year-btn { border: 1px solid var(--border); background: var(--surface); color: var(--ink-muted); font-weight: 700; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.netler-year-btn.active { background: var(--navy-600); border-color: var(--navy-600); color: #fff; }
.netler-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
@media (max-width: 560px) { .netler-summary { grid-template-columns: repeat(2, 1fr); } }
.netler-chip { background: var(--navy-050); border-radius: 10px; padding: 10px 12px; }
.netler-chip span { display: block; font-size: 11px; color: var(--ink-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.netler-chip strong { font-size: 16px; }
.netler-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .netler-tables { grid-template-columns: 1fr; } }
table.net-table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.net-table th, table.net-table td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--border); }
table.net-table th { color: var(--ink-muted); font-weight: 700; font-size: 11.5px; text-transform: uppercase; }
table.net-table td:last-child, table.net-table th:last-child { text-align: right; font-weight: 700; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-050); color: var(--ink-muted); padding: 44px 0 24px; margin-top: 48px; font-size: 13.5px; border-top: 1px solid var(--border); }
.site-footer a:hover { color: var(--navy-600); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 28px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { margin: 0 0 2px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); }
.footer-col a { color: var(--ink-muted); font-size: 13.5px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; }
.footer-bottom p { margin: 0; }

/* ---- Admin ---- */
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
@media (max-width: 780px) { .admin-shell { grid-template-columns: 1fr; } .admin-sidebar { position: sticky; top: 0; z-index: 30; } }
.admin-sidebar { background: var(--navy-900); color: #fff; padding: 20px 14px; }
.admin-sidebar a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: 2px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.12); color: #fff; }
.admin-main { padding: 28px 32px; max-width: 1100px; }
@media (max-width: 560px) { .admin-main { padding: 18px 16px; } }
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; font-size: 13.5px; }
.admin-table th { background: var(--navy-050); font-weight: 700; color: var(--ink-muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.alert-error { background: var(--danger-050); color: var(--danger); border: 1px solid #f5c6cb; }
.alert-success { background: var(--success-050); color: var(--success); border: 1px solid #b7e2c6; }
.alert-info { background: var(--navy-050); color: var(--navy-600); border: 1px solid var(--navy-100); }
.alert-warning { background: var(--orange-050); color: var(--orange-600); border: 1px solid #ffd9b8; }

/* ---- Admin: Ana Sayfa hero görseli yükleme alanı ---- */
.hero-upload-zone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 16px; cursor: pointer; text-align: center; transition: border-color .15s var(--ease), background .15s var(--ease); }
.hero-upload-zone:hover, .hero-upload-zone:focus { border-color: var(--navy-600); background: var(--navy-050); outline: none; }
.hero-upload-preview { min-height: 140px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.hero-upload-preview img { max-width: 100%; max-height: 200px; border-radius: var(--radius-sm); }
.hero-upload-empty { color: var(--ink-muted); font-size: 13px; }
.hero-upload-hint { font-size: 12px; color: var(--ink-muted); margin: 0; }
.hero-upload-hint kbd { background: var(--navy-100); color: var(--navy-600); border-radius: 4px; padding: 1px 5px; font-size: 11px; font-family: inherit; }
.hero-upload-status { font-size: 12.5px; font-weight: 600; min-height: 18px; margin-top: 8px; }

/* Boyut (scale) slider'ı */
.hero-scale-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.hero-scale-row input[type=range] { flex: 1; min-height: auto; accent-color: var(--navy-600); }
.hero-scale-value { font-size: 12.5px; font-weight: 700; color: var(--ink-muted); min-width: 40px; text-align: right; font-variant-numeric: tabular-nums; }

/* Canlı önizleme: gerçek hero görselinin kaba bir simülasyonu (küçük ölçekte,
   koyu zemin + yüzen rozetler) — sunucuya göndermeden önce sonucu görmek için. */
.hero-sim {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-top: 8px;
    border-radius: 16px;
    overflow: hidden;
    background: radial-gradient(120% 140% at 12% 0%, #1d2c63 0%, var(--navy-900) 55%, var(--navy-900) 100%);
}
.hero-sim--mobile { aspect-ratio: 3 / 4; max-width: 240px; margin-left: auto; margin-right: auto; }
.hero-sim-img-wrap { position: absolute; inset: 10%; display: flex; align-items: center; justify-content: center; }
.hero-sim-img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; transform: scale(var(--hero-sim-scale, 1)); transition: transform .1s linear; }
.hero-sim-empty { color: rgba(255,255,255,.4); font-size: 12px; text-align: center; }
.hero-sim-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15,23,42,.65);
    border: 1px solid rgba(255,255,255,.16);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 5px 10px 5px 5px;
    border-radius: 11px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 8px 18px -6px rgba(0,0,0,.5);
}
.hero-sim-badge-dot { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 10px; }
.hero-sim-dot-blue { background: rgba(37,99,235,.4); color: #60a5fa; }
.hero-sim-dot-green { background: rgba(34,197,94,.35); color: #4ade80; }
.hero-sim-dot-purple { background: rgba(168,85,247,.35); color: #c084fc; }
.hero-sim-badge-ai { top: 8%; right: 4%; }
.hero-sim-badge-budget { bottom: 12%; left: 4%; }
.hero-sim-badge-compare { top: 46%; right: -4%; }
.hero-sim--mobile .hero-sim-badge-ai { top: 4%; right: 3%; }
.hero-sim--mobile .hero-sim-badge-budget { bottom: 6%; left: 3%; }

/* Sayfa altındaki sabit "Kaydet" çubuğu */
.hero-save-bar {
    position: sticky;
    bottom: 0;
    margin-top: 24px;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}
.hero-save-hint { font-size: 13px; color: var(--orange-600); font-weight: 600; }
.ai-fab-sim { max-width: 200px; aspect-ratio: 1 / 1; margin: 0 auto; }

/* ---- Admin sidebar: "Üyeler" yanındaki gerçek kayıtlı üye sayısı rozeti ---- */
.admin-nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 11.5px; font-weight: 700; margin-left: 4px; }

/* ---- Giriş zorunlu bölümler (Karşılaştır, Bütçe Robotu, AI Koç): buzlu cam popup.
   Arkadaki içerik gizlenmez, sadece bulanıklaştırılıp etkileşimsiz hale getirilir. ---- */
.auth-gate-blur { filter: blur(6px) saturate(65%); pointer-events: none; user-select: none; }
.auth-gate-overlay {
    /* top:64px (site-header'ın sabit yüksekliği) — üstteki header/nav/arama/hamburger
       her zaman tıklanabilir kalsın diye popup sadece header'ın altını kaplar. */
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 55;
    display: flex; align-items: center; justify-content: center;
    background: rgba(5,8,20,.6);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    padding: 20px;
}
.auth-gate-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
    padding: 32px 28px; max-width: 380px; width: 100%; text-align: center;
    box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.auth-gate-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--navy-100); color: var(--navy-600); display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 14px; }
.auth-gate-free-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--success-050); color: var(--success); font-weight: 700; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.auth-gate-card h2 { font-size: 19px; margin: 0 0 8px; line-height: 1.35; text-align: center; }
.auth-gate-card p { color: var(--ink-muted); font-size: 14px; margin: 0 0 20px; text-align: center; }
.auth-gate-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ---- Bütçe Robotu: bütünleşik panel ---- */
.budget-panel.card { padding: 0; }
.budget-panel-section { padding: 22px; }
.budget-panel-section + .budget-panel-section { border-top: 1px solid var(--border); }
@media (max-width: 560px) { .budget-panel-section { padding: 18px; } }

.budget-item-block { background: var(--bg); border-radius: var(--radius); padding: 18px; }
.budget-item-block + .budget-item-block { margin-top: 14px; }

/* ---- Bütçe Robotu: tema renkli yardım rozetleri (Ücreti nereden bulurum? / Ek tercih indirimi nedir?) ---- */
.budget-help { margin: 10px 0; font-size: 13px; }
.budget-help summary {
    display: inline-flex; align-items: center; gap: 7px; cursor: pointer; list-style: none;
    background: var(--navy-100); color: var(--navy-600); padding: 7px 14px 7px 10px;
    border-radius: 999px; font-weight: 700; font-size: 12.5px;
    transition: background .15s var(--ease), color .15s var(--ease);
}
.budget-help summary::-webkit-details-marker { display: none; }
.budget-help summary::before {
    content: '?'; display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 50%; background: var(--navy-600); color: #fff;
    font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.budget-help summary:hover { background: var(--navy-600); color: #fff; }
.budget-help summary:hover::before { background: #fff; color: var(--navy-600); }
.budget-help[open] summary { background: var(--navy-600); color: #fff; margin-bottom: 8px; }
.budget-help[open] summary::before { background: #fff; color: var(--navy-600); }
.budget-help p { color: var(--ink-muted); margin: 0; line-height: 1.55; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }

.empty-state { text-align: center; padding: 48px 20px; color: var(--ink-muted); }

/* ---- "Yeniden hesapla" gönderiminde tablo/özet üzerinde kısa bir highlight ---- */
@keyframes recalcFlash {
    0% { background: var(--navy-100); }
    100% { background: transparent; }
}
.recalc-flash { animation: recalcFlash 1s var(--ease); }
.recalc-flash-row { animation: recalcFlash 1s var(--ease); }

/* ---- Karşılaştırma bildirim toast'u (compare.js) ---- */
.compare-toast {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 380px;
    margin-left: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 14px 14px 16px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(12px) scale(.98);
    transition: opacity .22s var(--ease), transform .22s var(--ease);
    pointer-events: none;
}
.compare-toast.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.compare-toast-row { display: flex; align-items: flex-start; gap: 10px; }
.compare-toast-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--success-050); color: var(--success); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.compare-toast-icon-warn { background: var(--orange-050); color: var(--orange-600); }
.compare-toast-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.compare-toast-label { display: block; font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-toast-sub { font-size: 12px; color: var(--ink-muted); }
.compare-toast-close { flex-shrink: 0; background: none; border: none; cursor: pointer; color: var(--ink-muted); font-size: 17px; line-height: 1; padding: 2px; }
.compare-toast-close:hover { color: var(--ink); }
@media (max-width: 560px) {
    .compare-toast { left: 12px; right: 12px; bottom: 12px; max-width: none; margin-left: 0; }
}

/* ---- Tercih listesi (taslak tercih sırası) ---- */
.tercih-tray { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(16,24,43,.1); padding: 12px 0; z-index: 20; }
.tercih-tray .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tercih-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.tercih-order { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-600); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.tercih-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12.5px; color: var(--ink-muted); }
.tercih-stats strong { color: var(--ink); }
.tercih-actions { display: flex; gap: 6px; flex-shrink: 0; }
@media (max-width: 560px) {
    .tercih-row { flex-wrap: wrap; }
    .tercih-actions { width: 100%; justify-content: flex-end; }
}
@media print {
    @page { margin: 12mm; size: auto; }
    .site-header, .site-footer, .tercih-tray, .compare-toast, .no-print, .main-nav, .section-sub { display: none !important; }
    body { background: #fff; font-size: 12px; }
    .section { padding: 0 !important; }
    .container { max-width: 100% !important; padding: 0 !important; }
    .detail-header { margin-bottom: 10px !important; }
    .section-title { font-size: 18px !important; margin: 0 0 2px !important; }
    .card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
    .tercih-row { padding: 8px 12px; margin-bottom: 6px; gap: 10px; align-items: center; }
    .tercih-order { width: 22px; height: 22px; font-size: 11px; }
    .tercih-row a { font-size: 13px !important; }
    .tercih-stats { margin-top: 3px; gap: 3px 10px; font-size: 11px; }
    .badge { padding: 2px 8px; font-size: 10px; }
}

/* ---- AI Koç chat ---- */
.chat-shell { display: flex; flex-direction: column; height: min(72dvh, 760px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 700px) {
    /* Mobilde sabit yükseklikli "kutu" hissi yerine sayfayla birlikte doğal akan sohbet: */
    .chat-shell { height: auto; min-height: 0; border-left: none; border-right: none; border-radius: 0; box-shadow: none; margin: 0 -20px; }
    .chat-messages { flex: none; overflow-y: visible; min-height: 220px; }
}
.chat-row { display: flex; gap: 10px; max-width: 85%; }
.chat-row.user { align-self: flex-end; flex-direction: row-reverse; }
@media (max-width: 560px) { .chat-row { max-width: 94%; } }
.chat-avatar { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--violet-500); }
.chat-avatar svg { width: 16px; height: 16px; }
.chat-avatar.is-thinking { animation: chat-avatar-pulse 1.3s ease-in-out infinite; }
@keyframes chat-avatar-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: .7; } }
.chat-avatar.is-thinking::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--violet-500);
    border-right-color: var(--violet-500);
    animation: chat-avatar-spin .9s linear infinite;
}
@keyframes chat-avatar-spin { to { transform: rotate(360deg); } }
.chat-row.user .chat-avatar { background: var(--orange-500); color: #1a0e04; }
/* Admin panelinden özel görsel yüklenmişse: varsayılan mor daire/arka plan
   kaldırılır, görsel çerçevesiz ve kendi doğal sınırlarıyla gösterilir. */
.chat-avatar-custom { background: transparent; }
.chat-avatar-custom img { width: 100%; height: 100%; object-fit: contain; display: block; transform: scale(var(--chat-icon-scale, 1)); }
.chat-welcome-icon-custom { background: transparent; }
.chat-welcome-icon-custom img { width: 100%; height: 100%; object-fit: contain; display: block; transform: scale(var(--chat-icon-scale, 1)); }
/* Giriş yapmış üyenin kendi profil fotoğrafı (Hesabım'dan) — marka logoları gibi
   "contain" değil, gerçek bir profil fotoğrafı gibi daireyi dolduracak şekilde
   kırpılır (object-fit: cover). */
.chat-avatar-user-photo { padding: 0; overflow: hidden; }
.chat-avatar-user-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chat-bubble { padding: 12px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.6; background: var(--navy-050); color: var(--ink); border: 1px solid var(--border); min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.chat-row.user .chat-bubble { background: var(--orange-500); color: #1a0e04; border-color: var(--orange-500); }
.chat-bubble p { margin: 0 0 8px; }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-bubble ul { margin: 6px 0; padding-left: 20px; }
.table-scroll { overflow-x: auto; max-width: 100%; margin: 8px 0; -webkit-overflow-scrolling: touch; }
.chat-bubble table { border-collapse: collapse; width: 100%; min-width: 420px; margin: 0; font-size: 12.5px; }
.chat-bubble table th, .chat-bubble table td { border: 1px solid var(--border); padding: 5px 8px; text-align: left; }
.chat-bubble table th { background: rgba(0,0,0,.04); }
.chat-row.user .chat-bubble table th, .chat-row.user .chat-bubble table td { border-color: rgba(0,0,0,.15); }
.chat-typing { display: inline-flex; gap: 4px; align-items: center; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-muted); animation: chat-blink 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chat-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-input-bar { border-top: 1px solid var(--border); padding: 12px 14px; display: flex; gap: 10px; align-items: flex-end; background: var(--surface); }
.chat-input-bar textarea { flex: 1; resize: none; max-height: 120px; }
.chat-disclaimer { font-size: 12px; color: var(--ink-muted); text-align: center; padding: 8px 14px 0; }

/* ---- AI Koç: yanıt içi aksiyon butonları ---- */
.chat-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.chat-row.user .chat-actions { border-top-color: rgba(0,0,0,.15); }

/* ---- AI Koç: karşılama kartı (ilk açılış durumu) ---- */
.chat-welcome { text-align: center; padding: 30px 22px; max-width: 520px; margin: 0 auto; }
.chat-welcome-icon { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--violet-050); color: var(--violet-500); display: flex; align-items: center; justify-content: center; }
.chat-welcome-icon svg { width: 26px; height: 26px; }
.chat-welcome h3 { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.chat-welcome-sub { color: var(--ink-muted); font-size: 14px; margin: 0 0 16px; }
.chat-welcome-list { list-style: none; margin: 0 0 16px; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.chat-welcome-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; background: var(--navy-050); border-radius: var(--radius-sm); padding: 10px 12px; }
.chat-welcome-emoji { font-size: 16px; flex-shrink: 0; line-height: 1.4; }
.chat-welcome-note { font-size: 12.5px; color: var(--ink-muted); margin: 0; padding-top: 14px; border-top: 1px solid var(--border); }

/* ---- Popüler karşılaştırma kartları ---- */
.matchup-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.matchup-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--navy-600); }
.matchup-row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.matchup-avatar { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: #fff; flex-shrink: 0; }
.uni-badge-img { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--border); padding: 6px; flex-shrink: 0; }
.matchup-avatar-a { background: var(--navy-600); }
.matchup-avatar-b { background: var(--orange-500); color: #1a0e04; }
.matchup-vs { font-size: 11px; font-weight: 800; color: var(--ink-muted); background: var(--navy-050); border-radius: 999px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.matchup-names { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.matchup-names span:nth-child(2) { color: var(--ink-muted); font-weight: 600; }
.matchup-group { font-size: 11.5px; color: var(--orange-600); text-transform: uppercase; letter-spacing: .03em; font-weight: 700; }

/* ---- Popüler kariyer kartları ---- */
.career-card { display: flex; align-items: center; gap: 14px; flex-direction: row; text-align: left; padding: 16px 18px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.career-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--orange-500); }
.career-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-050); color: var(--orange-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.career-icon svg { width: 24px; height: 24px; }
.career-label { font-weight: 700; font-size: 14.5px; }

/* ---- Sağ üst AI Koç hızlı erişim butonu (tüm sayfalarda, /ai-koc hariç) ---- */
.ai-fab {
    position: fixed;
    top: 84px;
    right: 20px;
    /* Her şeyin üstünde: açık menü (z-index:60) ve auth-gate popup'ı (55) dahil
       hiçbir katman AI butonunun önüne geçmemeli. */
    z-index: 65;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-600), var(--orange-500));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 28px rgba(37, 99, 235, .32), 0 4px 14px rgba(249, 115, 22, .22);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease);
    animation: ai-fab-pulse 2.6s ease-in-out infinite;
}
.ai-fab svg { width: 24px; height: 24px; }
.ai-fab:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(37, 99, 235, .4), 0 6px 18px rgba(249, 115, 22, .28); }
.ai-fab:active { transform: scale(.96); }
@keyframes ai-fab-pulse {
    0%, 100% { box-shadow: 0 10px 28px rgba(37,99,235,.32), 0 4px 14px rgba(249,115,22,.22), 0 0 0 0 rgba(37,99,235,.32); }
    50% { box-shadow: 0 10px 28px rgba(37,99,235,.32), 0 4px 14px rgba(249,115,22,.22), 0 0 0 9px rgba(37,99,235,0); }
}
@media (max-width: 560px) {
    .ai-fab { top: 76px; right: 14px; width: 46px; height: 46px; }
    .ai-fab svg { width: 21px; height: 21px; }
}

/* ---- Admin panelinden özel görsel yüklenmiş AI Koç butonu: varsayılan degrade
   daire/kenarlık/gölge/nabız animasyonu kaldırılır, görsel çerçevesiz ve kendi
   doğal sınırlarıyla gösterilir — hero görseliyle aynı mantık. ---- */
.ai-fab-custom {
    background: transparent;
    border: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    animation: none;
}
.ai-fab-custom img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    animation: aiFabImgFloat 5s ease-in-out infinite;
}
@keyframes aiFabImgFloat {
    0%, 100% { transform: scale(var(--ai-fab-img-scale, 1)) translateY(0); }
    50% { transform: scale(var(--ai-fab-img-scale, 1)) translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
    .ai-fab-custom img { animation: none; transform: scale(var(--ai-fab-img-scale, 1)); }
}

/* ---- Bölüm detayı: kontenjan/yerleşen halka grafiği (YÖK Atlas ile aynı mantık) ---- */
.quota-card { display: flex; align-items: center; gap: 18px; }
.quota-ring { position: relative; width: 84px; height: 84px; flex-shrink: 0; }
.quota-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.quota-ring circle { fill: none; stroke-width: 9; }
.quota-ring-track { stroke: var(--border); }
.quota-ring-fill {
    stroke: var(--navy-600);
    stroke-linecap: round;
    stroke-dasharray: 226.2;
    stroke-dashoffset: calc(226.2 - (226.2 * var(--pct, 0) / 100));
    transition: stroke-dashoffset .6s var(--ease);
}
.quota-ring-fill.is-mid { stroke: var(--orange-500); }
.quota-ring-fill.is-high { stroke: var(--danger); }
.quota-ring-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: var(--ink); }
.quota-numbers { font-size: 22px; font-weight: 800; }
.quota-numbers span { color: var(--ink-muted); font-weight: 600; font-size: 15px; }
.quota-empty-note { color: var(--ink-muted); font-size: 13px; margin-top: 2px; }

/* ---- Nav ikonları ---- */
.main-nav a { display: inline-flex; align-items: center; gap: 6px; }
.main-nav svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .8; transition: opacity .15s var(--ease), transform .15s var(--ease); }
.main-nav a.active svg, .main-nav a:hover svg { opacity: 1; }
.main-nav a:hover svg { transform: translateX(2px); }

/* ---- Header: sağdaki nav+aksiyon grubu, arama butonu, mobil hamburger menü ---- */
.header-right { display: flex; align-items: center; gap: 6px; min-width: 0; }
.header-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.header-icon-btn {
    width: 38px; height: 38px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
    color: var(--ink-muted); background: transparent; border: none; cursor: pointer; padding: 0;
    transition: background .15s var(--ease), color .15s var(--ease);
}
.header-icon-btn:hover { background: var(--navy-100); color: var(--navy-600); }
.header-icon-btn svg { width: 19px; height: 19px; }
.nav-toggle { display: flex; position: relative; }
.nav-toggle .nav-toggle-icon-close { display: none; }
.nav-toggle.is-open .nav-toggle-icon-open { display: none; }
.nav-toggle.is-open .nav-toggle-icon-close { display: block; }

.header-search-bar {
    /* Giriş-zorunlu (auth-gate, z-index:55) sayfalarda da header her zaman
       kullanılabilir kalsın diye o popup'ın önünde durur. */
    position: fixed; top: 64px; left: 0; right: 0; z-index: 60;
    display: flex; gap: 8px; padding: 12px 16px;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.header-search-bar[hidden] { display: none; }
.header-search-bar input { flex: 1; }

/* ---- Ana menü: hamburger'dan açılan, footer ile aynı gruplandırmayı (Keşfet /
   Topluluğumuz / Kurumsal / Yasal) taşıyan gruplu panel — her ekran genişliğinde. ---- */
.main-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    align-items: start;
    gap: 22px 28px;
    /* Şeffaf/buzlu değil, tam opak — arkadaki sayfa içeriği hiç görünmemeli. */
    background: #0f172a;
    border-bottom: 1px solid var(--border);
    padding: 22px 20px 26px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height .25s var(--ease), opacity .2s var(--ease);
    box-shadow: var(--shadow-lg);
    /* Giriş-zorunlu (auth-gate, z-index:55) sayfalarda menü arkada kalmasın —
       açıkken popup'ın önüne çıkar. */
    z-index: 60;
}
.main-nav.is-open { max-height: calc(100vh - 64px); opacity: 1; visibility: visible; overflow-y: auto; }
.main-nav a { width: 100%; padding: 10px 12px; font-size: 14.5px; }
.main-nav-group { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.main-nav-group-title { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); margin: 0 0 6px; padding: 0 12px; }

/* =========================================================================
   SİTE GENELİ — koyu / glassmorphism tema (body.page-home)
   İsme rağmen artık sadece ana sayfaya değil, $bodyClass='page-home' basan
   HER sayfaya uygulanır (ara, universite, bolum, karsilastir, butce-robotu,
   ai-koc, tercih-listem, hesabim, blog, forum, sss, sözleşme/kurumsal
   sayfalar, siralama...). Admin paneli bilinçli olarak hariç tutulmuştur.
   Aşağıdaki tasarım-token yeniden tanımları (--surface, --border, --ink, vb.)
   .card/.site-header/.site-footer/.badge/.btn gibi paylaşılan bileşenlerin
   ZATEN var() kullanan kurallarına otomatik yayılır — bu yüzden bu sınıfı
   basmayan herhangi bir sayfa (ör. admin/*) tamamen etkilenmeden mevcut açık
   temayla render olmaya devam eder.
   ========================================================================= */
body.page-home {
    --ink: #ffffff;
    --ink-muted: rgba(255,255,255,.6);
    --border: rgba(255,255,255,.14);
    --surface: rgba(15,23,42,.6);
    --navy-050: rgba(255,255,255,.05);
    --navy-100: rgba(255,255,255,.1);
    /* Sitenin kendi prefers-color-scheme:dark bloğuyla aynı koyu-tema
       değerleri — .alert-*, #netler-guide-note, .badge-violet gibi bu
       tonları kullanan HER bileşeni otomatik olarak kapsar. */
    --bg: #0a0e1c;
    --orange-050: #2c1c10;
    --success-050: #10281a;
    --danger-050: #2c1414;
    --violet-050: #1e1a3a;
    --shadow: 0 10px 30px -10px rgba(0,0,0,.5);
    --shadow-lg: 0 20px 50px -12px rgba(0,0,0,.6);

    /* Tek, sürekli gradyan — saf siyaha inmiyor (en koyu durak lacivert kalıyor) ki
       başka bir bileşenin (ör. hero) kendi ayrı arka planıyla yan yana geldiğinde
       renkler animasyon boyunca birbirinden kopmasın. */
    background: radial-gradient(circle at 50% 0%, #1e3a8a 0%, #0b0f19 55%, #0d1428 100%);
    background-size: 200% 200%;
    animation: pageHomeGradientShift 18s ease infinite;
    color: #fff;
}
@keyframes pageHomeGradientShift {
    0% { background-position: 50% 0%; }
    50% { background-position: 50% 100%; }
    100% { background-position: 50% 0%; }
}
@media (prefers-reduced-motion: reduce) { body.page-home { animation: none; } }

/* Cam (glass) efekti: token yeniden tanımı arka planı/kenarlığı otomatik
   koyulaştırır, burada sadece bulanıklık (backdrop-filter) ekleniyor. */
body.page-home .card,
body.page-home .faq-item,
body.page-home .search-card,
body.page-home .site-header,
body.page-home .site-footer,
body.page-home .rank-chip,
body.page-home .hero-float-badge,
body.page-home .compare-toast,
body.page-home .chat-shell,
body.page-home .compare-wrap,
body.page-home .tercih-tray {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}
/* .compare-toast da var(--surface) kullanıyor (token cascade); anasayfada
   arkasındaki kart içeriği net görünmesin diye arka planı biraz koyulaştır. */
body.page-home .compare-toast { background: rgba(15,23,42,.86); }
/* Karşılaştırma tablosunun sticky thead'i: %60 saydam --surface ile scroll
   sırasında altındaki satırlar (ör. "Genel" grup satırı) şeffaf başlığın
   içinden görünüp üst üste biniyordu — sticky başlık tam opak olmalı. */
body.page-home table.compare thead th { background: #0f172a; }
/* Sert kenarlık çizgisi yerine yumuşak bir gölge geçişi — buzlu cam (backdrop-blur)
   etkisi (bkz. yukarıdaki .site-header backdrop-filter kuralı) korunuyor. */
body.page-home .site-header { border-bottom: none; box-shadow: 0 16px 28px -16px rgba(0,0,0,.4); }
/* Hero, kendi sabit/ayrı gradyanını göstermesin — üst (hero) ve alt (geri kalan
   sayfa) arasında "iki farklı renk bloğu" hissi vermesin diye tüm sayfa
   body.page-home'un TEK, hep birlikte kayan animasyonlu gradyanını paylaşır. */
body.page-home .hero { background: transparent; }
/* Sabit 1px kenarlık, arkadaki animasyonlu gradyanın rengi değiştikçe keskin bir
   "çizgi" gibi göze batıyordu — kenarlığı kaldırıp yerine yumuşak, bulanık bir
   parıltı (glow) koyduk; renk ne olursa olsun sert bir sınır oluşmuyor. */
body.page-home .section-panel { background: rgba(255,255,255,.03); border-color: transparent; box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 0 40px rgba(255,255,255,.04); }
body.page-home .rank-chip { background: rgba(255,255,255,.04); }

/* Rozet (badge) renkleri — mockup'ta anlam-renk eşlemesi değişiyor:
   düz rozetler beyaz metne, burs rozeti maviye dönüyor (turuncu yerine). */
body.page-home .badge { background: rgba(255,255,255,.1); color: #fff; }
body.page-home .badge-orange { background: rgba(59,130,246,.18); color: #93c5fd; border: 1px solid rgba(59,130,246,.35); }
body.page-home .badge-green { background: rgba(255,255,255,.1); color: #fff; }

/* Butonlar */
body.page-home .btn-primary { background: #2563eb; color: #fff; box-shadow: 0 0 20px rgba(37,99,235,.55); }
body.page-home .btn-primary:hover { background: #3b82f6; box-shadow: 0 0 24px rgba(37,99,235,.7); }
body.page-home .btn-ghost { background: rgba(255,255,255,.05); color: #fff; border: 1px solid rgba(255,255,255,.1); }
body.page-home .btn-ghost:hover { background: rgba(255,255,255,.12); }
/* "Bütçe hesapla" kart butonu: program-card'ın son doğrudan alt öğesi olan
   <a class="btn btn-block"> — diğer ghost butonlardan (Detay, Tercih listesi)
   ayırt etmek için etiket türüne (a) göre hedefleniyor. */
body.page-home .program-card > a.btn.btn-block {
    background: rgba(37,99,235,.2);
    color: #93c5fd;
    border: 1px solid rgba(59,130,246,.35);
}
body.page-home .program-card > a.btn.btn-block:hover { background: rgba(37,99,235,.4); }

/* Kart başlıkları / linkler */
body.page-home .program-card h3 a { color: #60a5fa; }
body.page-home .blog-card h3 { color: #fff; }
body.page-home .blog-card-emoji { filter: none; }
body.page-home .faq-item summary { color: #fff; }
body.page-home .faq-item p a { color: #60a5fa; }
body.page-home .link-accent { color: #60a5fa; }
body.page-home .rank-chip-cta { color: #93c5fd; background: rgba(37,99,235,.12); border-color: rgba(59,130,246,.3); }
body.page-home .rank-chip:hover { border-color: rgba(96,165,250,.5); }
body.page-home .program-card:hover,
body.page-home .blog-card:hover { border-color: rgba(96,165,250,.5); }

/* Arama kartı: iç input/select şeffaf, sadece dış glass-panel arka plan görünür */
body.page-home .search-card input,
body.page-home .search-card select {
    background: transparent;
    color: #fff;
}
body.page-home .search-card select option { background: #0f172a; color: #fff; }
body.page-home .search-card label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Footer marka satırı */
body.page-home .footer-col h4 { color: #fff; }
body.page-home .site-footer a:hover { color: #60a5fa; }


/* =========================================================================
   Ana menü animasyonları — MASAÜSTÜ ve MOBİL için ayrı tasarım.
   Aynı HTML + aynı JS (.is-open) kullanılır, yalnızca CSS ekrana göre değişir.
   Gecikmeler yalnızca .is-open altında: açılış sıralı, kapanış anında.
   ========================================================================= */

/* ---- Ortak: hamburger / X ikon dönüşü ---- */
.nav-toggle.is-open .nav-toggle-icon-close { animation: navIconIn .3s var(--ease); }
.nav-toggle:not(.is-open) .nav-toggle-icon-open { animation: navIconIn .3s var(--ease); }
@keyframes navIconIn {
    from { transform: rotate(-90deg) scale(.6); opacity: 0; }
    to   { transform: rotate(0) scale(1); opacity: 1; }
}
.main-nav a { position: relative; }

/* ---------------- MASAÜSTÜ (>= 768px): yukarıdan inen panel,
   sütunlar soldan sağa, linkler yukarıdan aşağı dalga halinde ---------------- */
@media (min-width: 768px) {
    /* Tam ekran şerit yerine: sitenin içerik genişliğine (container) oturan,
       ortalanmış, köşeleri yuvarlak yüzen panel. */
    .main-nav {
        top: 72px; left: 50%; right: auto;
        width: min(960px, calc(100vw - 32px));
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px 20px;
        padding: 22px 18px 20px;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 18px;
        box-shadow: 0 24px 60px -16px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.04) inset;
        transform: translate(-50%, -12px);
        transform-origin: top center;
        transition: max-height .35s var(--ease), opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
    }
    .main-nav.is-open {
        max-height: calc(100vh - 88px);
        transform: translate(-50%, 0);
        transition: max-height .45s var(--ease), opacity .25s var(--ease), transform .45s var(--ease), visibility 0s;
    }
    .main-nav .main-nav-group-title,
    .main-nav a {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity .15s var(--ease), transform .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
    }
    .main-nav.is-open .main-nav-group-title,
    .main-nav.is-open a {
        opacity: 1;
        transform: translateY(0);
        transition: opacity .4s var(--ease), transform .4s var(--ease), background .15s var(--ease), color .15s var(--ease);
    }
    .main-nav.is-open .main-nav-group:nth-child(1) { --g: 0ms; }
    .main-nav.is-open .main-nav-group:nth-child(2) { --g: 70ms; }
    .main-nav.is-open .main-nav-group:nth-child(3) { --g: 140ms; }
    .main-nav.is-open .main-nav-group:nth-child(4) { --g: 210ms; }
    .main-nav.is-open .main-nav-group-title { transition-delay: calc(var(--g, 0ms) + 40ms), calc(var(--g, 0ms) + 40ms), 0s, 0s; }
    .main-nav.is-open a:nth-of-type(1) { transition-delay: calc(var(--g, 0ms) + 80ms), calc(var(--g, 0ms) + 80ms), 0s, 0s; }
    .main-nav.is-open a:nth-of-type(2) { transition-delay: calc(var(--g, 0ms) + 110ms), calc(var(--g, 0ms) + 110ms), 0s, 0s; }
    .main-nav.is-open a:nth-of-type(3) { transition-delay: calc(var(--g, 0ms) + 140ms), calc(var(--g, 0ms) + 140ms), 0s, 0s; }
    .main-nav.is-open a:nth-of-type(4) { transition-delay: calc(var(--g, 0ms) + 170ms), calc(var(--g, 0ms) + 170ms), 0s, 0s; }
    .main-nav.is-open a:nth-of-type(5) { transition-delay: calc(var(--g, 0ms) + 200ms), calc(var(--g, 0ms) + 200ms), 0s, 0s; }
    .main-nav.is-open a:nth-of-type(6) { transition-delay: calc(var(--g, 0ms) + 230ms), calc(var(--g, 0ms) + 230ms), 0s, 0s; }
    .main-nav.is-open a:nth-of-type(7) { transition-delay: calc(var(--g, 0ms) + 260ms), calc(var(--g, 0ms) + 260ms), 0s, 0s; }

    /* Grup başlığının altında soldan dolan ince çizgi */
    .main-nav-group-title { position: relative; padding-bottom: 8px; }
    .main-nav-group-title::after {
        content: ""; position: absolute; left: 12px; bottom: 0; height: 2px; width: 0;
        border-radius: 2px; background: linear-gradient(90deg, var(--orange-500, #f97316), rgba(96,165,250,.8));
        transition: width .15s var(--ease);
    }
    .main-nav.is-open .main-nav-group-title::after { width: 28px; transition: width .5s var(--ease) calc(var(--g, 0ms) + 200ms); }
}

/* Masaüstü hover (yalnızca gerçek fare olan cihazlarda): soldan büyüyen vurgu çubuğu */
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    .main-nav a::before {
        content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0;
        border-radius: 3px; background: var(--orange-500, #f97316);
        transform: translateY(-50%); transition: height .2s var(--ease);
    }
    .main-nav a:hover::before, .main-nav a.active::before { height: 60%; }
    .main-nav a:hover svg { transform: translateX(2px) scale(1.08); }
}

/* ---------------- MOBİL (< 768px): sağdan kayan tam ekran çekmece,
   linkler sağdan sırayla, dokunmada basılma efekti ---------------- */
@media (max-width: 767.98px) {
    .main-nav {
        /* bottom:0 kullanılmaz — .site-header'daki backdrop-filter fixed konumu header'a
           bağlıyor; bu yüzden yükseklik doğrudan ekran yüksekliğinden hesaplanır. */
        top: 64px; bottom: auto; left: 0; right: 0;
        height: calc(100vh - 64px);
        height: calc(100dvh - 64px);
        max-height: none;
        display: flex; flex-direction: column; gap: 22px;
        padding: 18px 16px calc(28px + env(safe-area-inset-bottom));
        overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
        transform: translateX(100%);
        opacity: 1;
        transition: transform .3s cubic-bezier(.4,0,1,1), visibility 0s linear .3s;
    }
    .main-nav.is-open {
        max-height: none;
        transform: translateX(0);
        transition: transform .42s cubic-bezier(.16,1,.3,1), visibility 0s;
    }
    /* Menü açıkken arkadaki sayfa kaymasın */
    html:has(.main-nav.is-open) { overflow: hidden; }

    .main-nav a {
        min-height: 48px; padding: 12px 14px; font-size: 16px; border-radius: 12px;
        opacity: 0; transform: translateX(28px);
        transition: opacity .12s linear, transform .12s linear, background .15s var(--ease);
    }
    .main-nav .main-nav-group-title { opacity: 0; transition: opacity .12s linear; }
    .main-nav svg { width: 20px; height: 20px; }
    .main-nav.is-open a {
        opacity: 1; transform: translateX(0);
        transition: opacity .35s var(--ease), transform .45s cubic-bezier(.16,1,.3,1), background .15s var(--ease);
    }
    .main-nav.is-open .main-nav-group-title { opacity: 1; transition: opacity .35s var(--ease); }

    /* Tek sütun: tüm linkler yukarıdan aşağı tek bir akış gibi gelir */
    .main-nav.is-open .main-nav-group:nth-child(1) { --g: 60ms; }
    .main-nav.is-open .main-nav-group:nth-child(2) { --g: 250ms; }
    .main-nav.is-open .main-nav-group:nth-child(3) { --g: 360ms; }
    .main-nav.is-open .main-nav-group:nth-child(4) { --g: 420ms; }
    .main-nav.is-open .main-nav-group-title { transition-delay: var(--g, 0ms); }
    .main-nav.is-open a:nth-of-type(1) { transition-delay: calc(var(--g, 0ms) + 20ms), calc(var(--g, 0ms) + 20ms), 0s; }
    .main-nav.is-open a:nth-of-type(2) { transition-delay: calc(var(--g, 0ms) + 45ms), calc(var(--g, 0ms) + 45ms), 0s; }
    .main-nav.is-open a:nth-of-type(3) { transition-delay: calc(var(--g, 0ms) + 70ms), calc(var(--g, 0ms) + 70ms), 0s; }
    .main-nav.is-open a:nth-of-type(4) { transition-delay: calc(var(--g, 0ms) + 95ms), calc(var(--g, 0ms) + 95ms), 0s; }
    .main-nav.is-open a:nth-of-type(5) { transition-delay: calc(var(--g, 0ms) + 120ms), calc(var(--g, 0ms) + 120ms), 0s; }
    .main-nav.is-open a:nth-of-type(6) { transition-delay: calc(var(--g, 0ms) + 145ms), calc(var(--g, 0ms) + 145ms), 0s; }
    .main-nav.is-open a:nth-of-type(7) { transition-delay: calc(var(--g, 0ms) + 170ms), calc(var(--g, 0ms) + 170ms), 0s; }

    /* Dokunma geri bildirimi: basınca hafifçe küçülür */
    .main-nav.is-open a:active { transform: scale(.97); background: var(--navy-100); transition-delay: 0s; transition-duration: .08s; }
    .main-nav a.active { box-shadow: inset 3px 0 0 var(--orange-500, #f97316); }
}

@media (prefers-reduced-motion: reduce) {
    /* Panel konumu (masaüstünde ortalama translate'i) korunur; yalnızca hareket kapanır */
    .main-nav, .main-nav.is-open { transition: none !important; }
    .main-nav .main-nav-group-title, .main-nav a,
    .main-nav.is-open .main-nav-group-title, .main-nav.is-open a { transition: none !important; transform: none !important; opacity: 1; }
    .main-nav-group-title::after { transition: none !important; }
    .nav-toggle svg { animation: none !important; }
}

/* =========================================================================
   BÜYÜK EKRANLAR — site 1160px'lik sabit bir kutuda kalıp büyük monitörlerde
   küçük görünmesin diye, geniş ekranlarda tüm arayüz oranlı olarak büyütülür
   (yazılar, kartlar, boşluklar, header birlikte) ve içerik alanı genişletilir.
   Masaüstü (<1500px), tablet ve mobil hiç etkilenmez.
   ========================================================================= */
@media (min-width: 1500px) { html { zoom: 1.1; } }
@media (min-width: 1750px) { html { zoom: 1.2; } .container { max-width: 1240px; } }
@media (min-width: 2200px) { html { zoom: 1.4; } }
@media (min-width: 2800px) { html { zoom: 1.8; } }

/* Reklam gelmeyen (unfilled) AdSense alanları boş bir delik bırakmasın — Google'ın
   önerdiği yöntem. Reklam dolduğunda alan otomatik görünür olur. */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.ad-slot:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none !important; }

/* ================================================================
   v66 — YKS koç paneli, 4 adım, hareket katmanı
   ================================================================ */

/* ---- Koç paneli: geri sayım + günün tavsiyesi ---- */
.coach-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
@media (max-width: 820px) { .coach-grid { grid-template-columns: 1fr; } }
.coach-card {
    position: relative; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 22px; padding: 22px 24px;
    display: flex; flex-direction: column; gap: 14px;
}
.coach-card::before {
    content: ""; position: absolute; inset: -40% -20% auto auto; width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(47,111,237,.22), transparent 65%);
    pointer-events: none; animation: coachGlow 9s ease-in-out infinite alternate;
}
.coach-tip::before { background: radial-gradient(circle, rgba(255,122,51,.2), transparent 65%); animation-delay: -4s; }
@keyframes coachGlow { from { transform: translate(0,0) scale(1); } to { transform: translate(-60px,40px) scale(1.25); } }
.coach-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; }
.coach-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.coach-dot { width: 8px; height: 8px; border-radius: 50%; background: #3b82f6; box-shadow: 0 0 0 0 rgba(59,130,246,.6); animation: coachPulse 2s infinite; }
.coach-dot-orange { background: var(--orange-500); box-shadow: 0 0 0 0 rgba(255,122,51,.6); animation-name: coachPulseO; }
@keyframes coachPulse { 70% { box-shadow: 0 0 0 9px rgba(59,130,246,0); } 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); } }
@keyframes coachPulseO { 70% { box-shadow: 0 0 0 9px rgba(255,122,51,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,51,0); } }
.coach-note { font-size: 11.5px; color: var(--ink-muted); border: 1px dashed var(--border); padding: 2px 8px; border-radius: 99px; }
.countdown-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; }
.countdown-cell {
    display: flex; flex-direction: column; align-items: center; padding: 12px 4px 10px; overflow: hidden;
    border-radius: 14px; background: var(--navy-050); border: 1px solid var(--border);
}
.countdown-num { display: block; font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.countdown-num.tick { animation: cdTick .45s var(--ease); }
@keyframes cdTick { 0% { transform: translateY(-35%); opacity: .2; } 100% { transform: none; opacity: 1; } }
.countdown-lbl { font-size: 12px; color: var(--ink-muted); font-weight: 600; margin-top: 2px; }
.countdown-bar { height: 6px; border-radius: 99px; background: var(--navy-050); overflow: hidden; position: relative; }
.countdown-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #2563eb, #7c5cff, #ff7a33); transition: width 1.6s var(--ease); }
.coach-foot { margin: 0; font-size: 13.5px; color: var(--ink-muted); position: relative; }
.coach-foot strong { color: var(--ink); }
.coach-tip-next {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--ink);
    display: grid; place-items: center; cursor: pointer; transition: transform .5s var(--ease), background .2s;
}
.coach-tip-next:hover { background: var(--navy-050); }
.coach-tip-next.spin { transform: rotate(360deg); }
.coach-tip-next svg { width: 16px; height: 16px; }
.coach-tip-body { position: relative; flex: 1; transition: opacity .25s, transform .25s var(--ease); }
.coach-tip-body.swap { opacity: 0; transform: translateY(8px); }
.coach-tip-title { margin: 0 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.coach-tip-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-muted); }

/* ---- 4 adım ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
    position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
    padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 6px;
    transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .25s, box-shadow .25s;
}
.js-motion .step.reveal.is-visible:hover, .step:hover { border-color: rgba(59,130,246,.45); box-shadow: 0 14px 34px -14px rgba(37,99,235,.45); transform: translateY(-4px); }
.step h3 { margin: 6px 0 0; font-size: 16.5px; font-weight: 800; }
.step p { margin: 0 0 6px; font-size: 13.5px; color: var(--ink-muted); flex: 1; }
.step .link-accent { font-size: 13.5px; font-weight: 700; }
.step-num {
    position: absolute; top: 14px; right: 16px; font-size: 44px; font-weight: 800; line-height: 1;
    background: linear-gradient(180deg, rgba(59,130,246,.4), rgba(59,130,246,0)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step-icon {
    width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, #2563eb, #7c5cff); box-shadow: 0 8px 20px -6px rgba(37,99,235,.6);
    transition: transform .4s var(--ease);
}
.step:hover .step-icon { transform: rotate(-8deg) scale(1.08); }
.step-icon svg { width: 22px; height: 22px; }
.steps-head { margin-bottom: 16px; }

/* ---- Global hareket katmanı (motion.js v4) ---- */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1000; pointer-events: none;
    transform-origin: 0 50%; transform: scaleX(0);
    background: linear-gradient(90deg, #2563eb, #7c5cff, #ff7a33);
}
.to-top {
    position: fixed; left: 18px; bottom: 18px; z-index: 900; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--surface); color: var(--ink); cursor: pointer;
    display: grid; place-items: center; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy-050); }
.to-top svg { width: 18px; height: 18px; }
body.page-home .to-top { background: rgba(15,23,42,.8); border-color: rgba(255,255,255,.12); color: #fff; }

/* Kartlarda fareyi izleyen ışık (spotlight) — motion.js .spot ekler */
.spot { --mx: 50%; --my: 50%; }
.spot::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; z-index: 0;
    background: radial-gradient(380px circle at var(--mx) var(--my), rgba(96,165,250,.13), transparent 45%);
    transition: opacity .3s;
}
.spot:hover::after { opacity: 1; }

/* Buton dalga (ripple) efekti */
.btn .ripple {
    position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255,255,255,.4);
    transform: scale(0); animation: ripple .6s ease-out forwards;
}
.btn.has-ripple { position: relative; overflow: hidden; }
.btn:active { transform: scale(.97); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Otomatik reveal: bölüm başlıkları ve grid kartları kademeli gelir */
.js-motion .auto-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-motion .auto-reveal.is-visible { opacity: 1; transform: none; }

/* Hero başlığındaki vurgu: yumuşak gradyan akışı */
body.page-home .hero h1 .hl-blue {
    background: linear-gradient(90deg, #60a5fa, #a78bfa, #60a5fa); background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: hlFlow 6s linear infinite;
}
@keyframes hlFlow { to { background-position: 200% center; } }

@media (prefers-reduced-motion: reduce) {
    .coach-card::before, .coach-dot, body.page-home .hero h1 .hl-blue, .countdown-num.tick { animation: none !important; }
    .js-motion .auto-reveal { opacity: 1; transform: none; }
    .scroll-progress { display: none; }
}

/* ---- v67: Tercih stratejisi aracı ---- */
.strategy-panel {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center;
    background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 28px;
    position: relative; overflow: hidden;
}
.strategy-panel::before {
    content: ""; position: absolute; left: -120px; bottom: -160px; width: 360px; height: 360px; pointer-events: none;
    background: radial-gradient(circle, rgba(124,92,255,.2), transparent 65%);
    animation: coachGlow 11s ease-in-out infinite alternate;
}
@media (max-width: 860px) { .strategy-panel { grid-template-columns: 1fr; padding: 22px; } }
.strategy-copy { position: relative; }
.strategy-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-top: 6px; }
@media (max-width: 480px) { .strategy-form { grid-template-columns: 1fr 1fr; } .strategy-form .btn { grid-column: 1 / -1; } }
.strategy-form .field { margin: 0; }
.strategy-form .btn { height: 44px; }
.strategy-hint { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-muted); }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.strategy-tiers { display: grid; gap: 12px; position: relative; }
.tier {
    display: grid; grid-template-columns: auto 1fr; grid-template-areas: "tag range" "desc desc" "meter meter";
    gap: 4px 12px; align-items: center; padding: 14px 16px; border-radius: 16px;
    border: 1px solid var(--border); background: var(--navy-050);
    transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.tier:hover { transform: translateX(4px); }
.tier-tag { grid-area: tag; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; color: #fff; }
.tier-range { grid-area: range; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; justify-self: end; }
.tier-desc { grid-area: desc; font-size: 13px; color: var(--ink-muted); }
.tier-meter { grid-area: meter; height: 5px; border-radius: 99px; background: rgba(127,127,127,.15); overflow: hidden; margin-top: 4px; }
.tier-meter span { display: block; height: 100%; width: 0; border-radius: inherit; transition: width 1s var(--ease); }
.strategy-tiers.is-active .tier-meter span, .reveal.is-visible .tier-meter span { width: var(--w); }
.tier-dream .tier-tag, .tier-dream .tier-meter span { background: linear-gradient(90deg, #7c5cff, #a78bfa); }
.tier-target .tier-tag, .tier-target .tier-meter span { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.tier-safe .tier-tag, .tier-safe .tier-meter span { background: linear-gradient(90deg, #16a34a, #4ade80); }
.tier-dream:hover { border-color: rgba(124,92,255,.5); box-shadow: 0 10px 26px -12px rgba(124,92,255,.55); }
.tier-target:hover { border-color: rgba(37,99,235,.5); box-shadow: 0 10px 26px -12px rgba(37,99,235,.55); }
.tier-safe:hover { border-color: rgba(22,163,74,.5); box-shadow: 0 10px 26px -12px rgba(22,163,74,.55); }
.tier.pop { animation: tierPop .5s var(--ease) both; }
@keyframes tierPop { 0% { transform: scale(.96); opacity: .4; } 60% { transform: scale(1.02); opacity: 1; } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .strategy-panel::before, .tier.pop { animation: none; } }

/* ---- v68: küçük cilalar ---- */
/* Çerez bandı açıkken yukarı-çık butonu bandın üstüne binmesin */
.cookie-banner:not([hidden]) ~ .to-top { bottom: 96px; }
@media (max-width: 560px) { .cookie-banner:not([hidden]) ~ .to-top { bottom: 128px; } }
/* Kaydırınca header'a derinlik */
.site-header { transition: box-shadow .3s var(--ease), background-color .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(16,24,43,.28); }
body.page-home .site-header.is-scrolled { box-shadow: 0 14px 34px -12px rgba(0,0,0,.6); }
/* Logo noktası: hafif nabız, üzerine gelince zıplama */
.brand .dot { display: inline-block; animation: brandDot 3.2s ease-in-out infinite; }
.brand:hover .dot { animation: brandBounce .6s var(--ease); }
@keyframes brandDot { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes brandBounce { 0%, 100% { transform: none; } 40% { transform: translateY(-6px) scale(1.25); } }
/* Sayfa açılışında içerik yumuşakça gelsin */
main { animation: pageIn .45s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
/* Klavye kullanıcıları için net odak halkası */
a:focus-visible, button:focus-visible, .btn:focus-visible, select:focus-visible, input:focus-visible {
    outline: 2px solid #60a5fa; outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) { .brand .dot, main { animation: none !important; } }

/* ---- v69: bölüm sayfası "Koç yorumu" ---- */
.fit-check { margin-top: 14px; max-width: 520px; }
.fit-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fit-form label { font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.fit-form input { width: 130px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; }
.fit-result {
    margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.5;
    border: 1px solid var(--border); background: var(--navy-050); color: var(--ink-muted);
    border-left-width: 4px;
}
.fit-result strong { color: var(--ink); margin-right: 2px; }
.fit-far    { border-left-color: #d64545; }
.fit-dream  { border-left-color: #7c5cff; }
.fit-target { border-left-color: #2563eb; }
.fit-safe   { border-left-color: #16a34a; }
.fit-easy   { border-left-color: #ff7a33; }
.fit-result.pop { animation: tierPop .5s var(--ease) both; }

/* ---- v70: kartlarda kişisel strateji etiketi ---- */
.badge.fit-chip { color: #fff !important; border: 0 !important; animation: tierPop .5s var(--ease) both; }
.badge.fit-chip-dream  { background: linear-gradient(90deg, #7c5cff, #a78bfa) !important; }
.badge.fit-chip-target { background: linear-gradient(90deg, #2563eb, #60a5fa) !important; }
.badge.fit-chip-safe   { background: linear-gradient(90deg, #16a34a, #4ade80) !important; }

/* ---- v71: mobilde 4 adım kartları yatay/kompakt ---- */
@media (max-width: 520px) {
    .steps { gap: 10px; }
    .step {
        display: grid; grid-template-columns: 44px 1fr; grid-template-areas: "icon title" "icon text" "icon link";
        column-gap: 14px; row-gap: 2px; padding: 16px 16px 14px;
    }
    .step-icon { grid-area: icon; align-self: start; }
    .step h3 { grid-area: title; margin: 0; font-size: 15.5px; }
    .step p { grid-area: text; margin: 0; }
    .step .link-accent { grid-area: link; }
    .step-num { font-size: 34px; top: 10px; right: 12px; }
    .countdown-row { gap: 6px; }
    .countdown-cell { padding: 10px 2px 8px; }
    .coach-card { padding: 18px; }
}

/* ---- v72: geri sayım gizliyken tavsiye kartı tek sütun ---- */
.coach-grid.coach-grid-single { grid-template-columns: 1fr; }

/* ---- v73: temalı 404 sayfası (includes/not_found.php) ---- */
.nf { padding-top: 56px; padding-bottom: 64px; }
.nf-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .nf-grid { grid-template-columns: 1fr; gap: 12px; text-align: center; } .nf { padding-top: 28px; } }

.nf-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.nf-digits { display: flex; align-items: center; gap: 6px; animation: nfFloat 6s ease-in-out infinite; }
.nf-digit {
    font-size: clamp(110px, 17vw, 200px); font-weight: 800; line-height: .9; letter-spacing: -.04em;
    background: linear-gradient(160deg, #93c5fd 0%, #3b82f6 45%, #7c5cff 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 18px 40px rgba(37,99,235,.35));
    animation: nfDigitIn .8s var(--ease) both;
}
.nf-digit-b { animation-delay: .18s; }
.nf-zero {
    position: relative; width: clamp(92px, 14vw, 168px); height: clamp(92px, 14vw, 168px); margin: 0 4px;
    display: grid; place-items: center; animation: nfDigitIn .8s var(--ease) .09s both;
}
.nf-ring { position: absolute; inset: 0; border-radius: 50%; }
.nf-ring-1 {
    background: conic-gradient(from 0deg, #3b82f6, #7c5cff, #ff7a33, #3b82f6);
    -webkit-mask: radial-gradient(farthest-side, transparent 78%, #000 79%);
            mask: radial-gradient(farthest-side, transparent 78%, #000 79%);
    filter: drop-shadow(0 0 18px rgba(124,92,255,.45));
    animation: nfSpin 7s linear infinite;
}
.nf-ring-2 { inset: 22%; border: 2px dashed rgba(147,197,253,.45); animation: nfSpin 12s linear infinite reverse; }
.nf-orbit { position: absolute; inset: -14%; border-radius: 50%; animation: nfSpin 4.5s linear infinite; }
.nf-sat {
    position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
    background: #ff7a33; box-shadow: 0 0 0 4px rgba(255,122,51,.2), 0 0 22px rgba(255,122,51,.8);
}
.nf-core {
    font-size: clamp(30px, 4.5vw, 52px); font-weight: 800; color: #fff;
    text-shadow: 0 0 24px rgba(96,165,250,.8); animation: nfPulse 2.4s ease-in-out infinite;
}
.nf-shadow {
    width: 62%; height: 18px; margin-top: 18px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent);
    animation: nfShadow 6s ease-in-out infinite;
}

.nf-copy { position: relative; }
.nf-title { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; margin: 12px 0 10px; }
.nf-text { font-size: 16px; color: var(--ink-muted); max-width: 520px; margin: 0 0 20px; }
@media (max-width: 860px) { .nf-text { margin-left: auto; margin-right: auto; } }

.nf-search {
    display: flex; align-items: center; gap: 10px; max-width: 520px; padding: 8px 8px 8px 16px;
    border-radius: 16px; background: var(--surface); border: 1px solid var(--border);
    transition: border-color .2s, box-shadow .2s;
}
.nf-search:focus-within { border-color: rgba(59,130,246,.6); box-shadow: 0 0 0 4px rgba(59,130,246,.18); }
.nf-search svg { width: 20px; height: 20px; color: var(--ink-muted); flex-shrink: 0; }
.nf-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; height: 40px; outline: none; }
@media (max-width: 860px) { .nf-search { margin: 0 auto; } }

.nf-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
@media (max-width: 860px) { .nf-actions { justify-content: center; } }
.nf-note {
    margin: 22px 0 0; max-width: 520px; font-size: 13.5px; color: var(--ink-muted);
    padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--border);
}
.nf-note strong { color: var(--orange-500); }
@media (max-width: 860px) { .nf-note { margin-left: auto; margin-right: auto; } }

.nf-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
@media (max-width: 900px) { .nf-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .nf-links { grid-template-columns: 1fr; } }
.nf-link {
    display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 18px;
    background: var(--surface); border: 1px solid var(--border);
    transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
    animation: nfDigitIn .6s var(--ease) both;
}
.nf-link:nth-child(2) { animation-delay: .07s; } .nf-link:nth-child(3) { animation-delay: .14s; } .nf-link:nth-child(4) { animation-delay: .21s; }
.nf-link:hover { transform: translateY(-4px); border-color: rgba(59,130,246,.45); box-shadow: 0 14px 34px -14px rgba(37,99,235,.5); }
.nf-link span { font-size: 24px; line-height: 1; margin-bottom: 4px; }
.nf-link strong { font-size: 15px; }
.nf-link small { font-size: 12.5px; color: var(--ink-muted); }

@keyframes nfFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes nfShadow { 0%, 100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.8); opacity: .55; } }
@keyframes nfSpin { to { transform: rotate(360deg); } }
@keyframes nfPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .75; } }
@keyframes nfDigitIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .nf-digits, .nf-digit, .nf-zero, .nf-ring-1, .nf-ring-2, .nf-orbit, .nf-core, .nf-shadow, .nf-link { animation: none !important; }
}

/* ---- v74: /ara sayfalama ("Daha fazla yükle" / Önceki) ---- */
.ara-pager { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin: 28px 0 8px; }
.ara-pager:empty { display: none; }
.ara-pager .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
@media (max-width: 560px) { .ara-pager .btn { width: 100%; justify-content: center; } }

/* =========================================================================
   v75: büyük paket — trend kartı, benzer bölümler, /bolumler, /sehirler,
   /sehir/{x}, net robotu, arama önerileri, masaüstü hızlı bağlantılar,
   mobil alt gezinme çubuğu. Her bileşende masaüstü ve mobil kuralları ayrı.
   ========================================================================= */

/* ---- Menü: Keşfet grubu 10 bağlantıya çıktı → giriş sırası (stagger) devam etsin ---- */
@media (min-width: 768px) {
    .main-nav.is-open a:nth-of-type(8) { transition-delay: calc(var(--g, 0ms) + 290ms), calc(var(--g, 0ms) + 290ms), 0s, 0s; }
    .main-nav.is-open a:nth-of-type(9) { transition-delay: calc(var(--g, 0ms) + 320ms), calc(var(--g, 0ms) + 320ms), 0s, 0s; }
    .main-nav.is-open a:nth-of-type(10) { transition-delay: calc(var(--g, 0ms) + 350ms), calc(var(--g, 0ms) + 350ms), 0s, 0s; }
}
@media (max-width: 767.98px) {
    .main-nav.is-open a:nth-of-type(8) { transition-delay: calc(var(--g, 0ms) + 195ms), calc(var(--g, 0ms) + 195ms), 0s; }
    .main-nav.is-open a:nth-of-type(9) { transition-delay: calc(var(--g, 0ms) + 220ms), calc(var(--g, 0ms) + 220ms), 0s; }
    .main-nav.is-open a:nth-of-type(10) { transition-delay: calc(var(--g, 0ms) + 245ms), calc(var(--g, 0ms) + 245ms), 0s; }
    .main-nav.is-open .main-nav-group:nth-child(2) { --g: 330ms; }
    .main-nav.is-open .main-nav-group:nth-child(3) { --g: 430ms; }
    .main-nav.is-open .main-nav-group:nth-child(4) { --g: 490ms; }
}

/* ---- Masaüstü hızlı bağlantılar (header) ---- */
.header-quick { display: none; }
@media (min-width: 1024px) {
    .header-quick { display: flex; align-items: center; gap: 2px; margin-right: 6px; }
    .header-quick a {
        position: relative; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600;
        color: var(--ink-muted); transition: color .15s var(--ease), background .15s var(--ease);
    }
    .header-quick a:hover { color: var(--ink); background: var(--navy-100); }
    .header-quick a.active { color: var(--ink); }
    .header-quick a.active::after {
        content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
        background: var(--orange-500);
    }
}

/* ---- Mobil alt gezinme çubuğu ---- */
.mobile-tabbar { display: none; }
@media (max-width: 767.98px) {
    .mobile-tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
        display: grid; grid-template-columns: repeat(5, 1fr);
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
        background: rgba(10, 14, 28, .92);
        -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
        border-top: 1px solid rgba(255, 255, 255, .1);
        box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .6);
    }
    .mobile-tabbar a {
        position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        min-height: 50px; border-radius: 12px; color: rgba(255, 255, 255, .62); font-size: 10.5px; font-weight: 700;
        -webkit-tap-highlight-color: transparent; transition: color .15s var(--ease), transform .12s var(--ease);
    }
    .mobile-tabbar a svg { width: 22px; height: 22px; }
    .mobile-tabbar a.active { color: #fff; }
    .mobile-tabbar a.active::before {
        content: ""; position: absolute; top: -6px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--orange-500);
    }
    .mobile-tabbar a:active { transform: scale(.94); }
    .mobile-tabbar-main svg { color: #93c5fd; }
    .mobile-tabbar-badge {
        position: absolute; top: 4px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
        background: var(--orange-500); color: #fff; font-size: 10px; line-height: 17px; text-align: center; font-weight: 800;
    }
    /* Çubuğun altında içerik kalmasın */
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    /* Mobilde AI Koç alt çubukta → sağ üstteki yüzen buton gizlenir (içeriği örtüyordu) */
    .ai-fab { display: none !important; }
    /* Alttaki sabit öğeleri çubuğun üstüne taşı */
    .to-top { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
    .compare-toast { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
    .tercih-tray { bottom: calc(62px + env(safe-area-inset-bottom)) !important; }
    .cookie-banner { z-index: 300; }
}
@media print { .mobile-tabbar, .header-quick { display: none !important; } }

/* ---- Arama önerileri ---- */
.suggest-box {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 80;
    background: #0f172a; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px;
    box-shadow: 0 24px 50px -14px rgba(0, 0, 0, .7); padding: 6px; max-height: min(70vh, 460px); overflow-y: auto;
    text-align: left; color: #fff;
}
.suggest-box[hidden] { display: none; }
.suggest-sec { padding: 8px 10px 4px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.suggest-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: #fff; }
.suggest-item:hover, .suggest-item.is-active { background: rgba(96, 165, 250, .16); }
.suggest-ico { width: 28px; flex-shrink: 0; text-align: center; font-size: 16px; }
.suggest-txt { display: flex; flex-direction: column; min-width: 0; }
.suggest-txt b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-txt small { font-size: 12px; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-all { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 4px; }
@media (max-width: 767.98px) {
    .suggest-box { max-height: 55vh; }
    .header-search-bar .suggest-box { left: 8px; right: 8px; top: calc(100% - 4px); }
    .suggest-item { padding: 12px 10px; }
    .suggest-txt b { font-size: 15px; }
}

/* ---- Bölüm sayfası: trend + koç değerlendirmesi ---- */
.trend-card-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.trend-card-grid.no-chart { grid-template-columns: 1fr; }
.trend-hint { font-size: 12px; color: var(--ink-muted); margin: 0 0 6px; }
.trend-svg { width: 100%; height: auto; display: block; overflow: visible; }
.trend-svg-m { display: none; }
.trend-grid { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.trend-area { fill: rgba(96, 165, 250, .12); }
.trend-line { fill: none; stroke: #60a5fa; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; animation: trendDraw 1.1s var(--ease) both; }
.trend-dot { fill: #0f172a; stroke: #93c5fd; stroke-width: 3; }
.trend-val { fill: #fff; font-weight: 800; }
.trend-year { fill: rgba(255, 255, 255, .75); font-weight: 700; }
.trend-sub { fill: rgba(255, 255, 255, .5); }
@keyframes trendDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.coach-points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.coach-points li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.5; }
.coach-points li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 0 4px rgba(255, 122, 51, .18); }
@media (max-width: 860px) {
    .trend-card-grid { grid-template-columns: 1fr; gap: 18px; }
    .trend-svg-d { display: none; }
    .trend-svg-m { display: block; }
    .coach-points li { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .trend-line { animation: none; } }

/* ---- Kompakt bölüm listeleri (benzer bölümler / şehir alternatifleri) ---- */
.mini-list-block { margin-top: 28px; }
.mini-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.mini-list-title { font-size: 19px; font-weight: 800; margin: 0; letter-spacing: -.01em; }
.mini-list-sub { font-size: 13px; color: var(--ink-muted); margin: 3px 0 0; }
.mini-list-more { font-size: 13px; font-weight: 700; color: #93c5fd; white-space: nowrap; }
.mini-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-item { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; color: var(--ink); transition: transform .15s var(--ease), border-color .15s var(--ease); }
.mini-item:hover { transform: translateY(-2px); border-color: rgba(96, 165, 250, .5); }
.mini-item-uni { font-size: 12px; color: var(--ink-muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-item-name { font-size: 15px; font-weight: 800; line-height: 1.3; }
.mini-item-stats { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: var(--ink-muted); margin-top: auto; }
.mini-item-stats b { color: var(--ink); font-weight: 800; }
.mini-item-type { margin-left: auto; font-weight: 700; }
@media (max-width: 860px) {
    /* Mobil: yana kaydırmalı şerit */
    .mini-list {
        display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        margin: 0 -16px; padding: 2px 16px 10px; scrollbar-width: none;
    }
    .mini-list::-webkit-scrollbar { display: none; }
    .mini-item { flex: 0 0 78%; scroll-snap-align: start; }
    .mini-list-head { flex-direction: column; align-items: flex-start; gap: 4px; }
    .mini-list-title { font-size: 17px; }
}

/* ---- Merkez (hub) sayfalar: /bolumler, /sehirler, /sehir/{x} ---- */
.hub-tools { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.hub-filter {
    display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 14px;
    background: var(--surface); border: 1px solid var(--border);
}
.hub-filter svg { width: 20px; height: 20px; color: var(--ink-muted); flex-shrink: 0; }
.hub-filter input { flex: 1; border: 0; background: transparent; color: var(--ink); padding: 14px 0; font-size: 15px; outline: none; min-width: 0; }
.letter-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.letter-bar a {
    min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px;
    background: var(--navy-100); color: var(--ink); font-weight: 800; font-size: 14px;
}
.letter-bar a:hover { background: var(--orange-500); color: #fff; }
.hub-letter-block { scroll-margin-top: 140px; margin-bottom: 22px; }
.hub-letter-block[hidden] { display: none; }
.hub-letter { font-size: 22px; font-weight: 800; margin: 0 0 10px; color: #93c5fd; }
.hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hub-item { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; color: var(--ink); transition: transform .15s var(--ease), border-color .15s var(--ease); }
.hub-item[hidden] { display: none; }
.hub-item:hover { transform: translateY(-2px); border-color: rgba(96, 165, 250, .5); }
.hub-item-name { font-weight: 800; font-size: 14.5px; line-height: 1.3; }
.hub-item-meta { font-size: 12px; color: var(--ink-muted); }
.hub-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 20px 24px; }
.hub-cta p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-muted); }
.back-link { color: var(--ink-muted); font-size: 13.5px; font-weight: 700; }
@media (min-width: 1024px) {
    /* Masaüstü: harf çubuğu ve filtre kaydırırken üstte kalsın */
    .hub-tools { position: sticky; top: 72px; z-index: 5; padding: 10px 0; background: linear-gradient(rgba(10, 14, 28, .96), rgba(10, 14, 28, .88)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
@media (max-width: 1023.98px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) {
    .hub-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .hub-grid-cities { grid-template-columns: 1fr 1fr; }
    .hub-item { padding: 12px 14px; }
    .hub-item-name { font-size: 14px; }
    /* Mobil: harfler tek satırda yana kayar */
    .letter-bar { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
    .letter-bar::-webkit-scrollbar { display: none; }
    .letter-bar a { flex: 0 0 auto; min-width: 40px; height: 40px; }
    .hub-cta { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 380px) { .hub-grid { grid-template-columns: 1fr; } }

/* Şehir sayfası */
.city-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 18px; }
.city-stat { display: flex; flex-direction: column; padding: 12px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); min-width: 110px; }
.city-stat strong { font-size: 24px; font-weight: 800; line-height: 1.1; }
.city-stat span { font-size: 12.5px; color: var(--ink-muted); }
.city-rank-form { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.city-rank-label { display: flex; flex-direction: column; gap: 2px; }
.city-rank-label span { font-size: 13px; color: var(--ink-muted); }
.city-rank-inputs { display: flex; gap: 8px; flex-shrink: 0; }
.city-rank-inputs select { width: 90px; }
.city-rank-inputs input { width: 200px; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--navy-100); color: var(--ink); font-size: 13.5px; font-weight: 600; border: 1px solid transparent; }
.chip-link span { font-size: 12px; color: var(--ink-muted); font-weight: 700; }
.chip-link:hover { border-color: rgba(96, 165, 250, .5); }
.rank-table { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.rank-row { display: grid; grid-template-columns: 44px 1fr 90px 110px 120px; gap: 10px; align-items: center; padding: 11px 16px; color: var(--ink); border-top: 1px solid var(--border); font-size: 14px; }
.rank-head { border-top: 0; font-size: 12px; font-weight: 800; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .04em; background: rgba(255, 255, 255, .03); }
a.rank-row:hover { background: rgba(96, 165, 250, .08); }
.rank-no { color: var(--ink-muted); font-weight: 800; }
.rank-name { display: flex; flex-direction: column; min-width: 0; }
.rank-name b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-name small { color: var(--ink-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-rank { font-weight: 800; text-align: right; }
.rank-score, .rank-type { text-align: right; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-simple { padding: 0; }
.faq-simple summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; position: relative; padding-right: 44px; }
.faq-simple summary::-webkit-details-marker { display: none; }
.faq-simple summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--ink-muted); transition: transform .2s var(--ease); }
.faq-simple[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-simple p { margin: 0; padding: 0 18px 16px; color: var(--ink-muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 767.98px) {
    .city-stat { flex: 1 1 calc(50% - 10px); min-width: 0; padding: 10px 14px; }
    .city-stat strong { font-size: 21px; }
    .city-rank-form { flex-direction: column; align-items: stretch; padding: 16px; }
    .city-rank-inputs { flex-wrap: wrap; }
    .city-rank-inputs select { width: 86px; }
    .city-rank-inputs input { flex: 1; width: auto; min-width: 0; }
    .city-rank-inputs .btn { width: 100%; }
    /* Tablo → kart satırları */
    .rank-head { display: none; }
    .rank-row { grid-template-columns: 30px 1fr auto; grid-template-areas: "no name rank" "no meta meta"; row-gap: 2px; padding: 12px 14px; }
    .rank-no { grid-area: no; }
    .rank-name { grid-area: name; }
    .rank-rank { grid-area: rank; font-size: 15px; }
    .rank-type, .rank-score { grid-area: meta; text-align: left; font-size: 12px; color: var(--ink-muted); }
    .rank-type { justify-self: start; }
    .rank-score { justify-self: end; }
}

/* ---- Net → Sıralama Robotu ---- */
.net-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.net-form { padding: 20px; }
.net-types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, .05); margin-bottom: 18px; }
.net-type { border: 0; background: transparent; color: var(--ink-muted); border-radius: 10px; padding: 10px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 1px; font: inherit; transition: background .15s var(--ease), color .15s var(--ease); }
.net-type-short { font-weight: 800; font-size: 15px; }
.net-type-long { font-size: 11px; font-weight: 600; opacity: .8; }
.net-type.active { background: var(--navy-600); color: #fff; box-shadow: 0 6px 18px -6px rgba(47, 111, 237, .7); }
.net-block { border: 0; margin: 0 0 16px; padding: 0; }
.net-block[hidden] { display: none; }
.net-block legend { font-size: 13px; font-weight: 800; color: #93c5fd; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; padding: 0; }
.net-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.net-grid-obp { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: end; }
.net-field { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--ink-muted); }
.net-field small { font-weight: 600; opacity: .7; }
.net-field input { width: 100%; font-size: 18px; font-weight: 800; text-align: center; padding: 10px 8px; }
.net-check { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-muted); padding-bottom: 12px; }
.net-form-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.net-note { font-size: 12px; color: var(--ink-muted); }
.net-result-wrap { position: sticky; top: 84px; }
.net-result { padding: 22px; min-height: 280px; }
.net-result-empty { text-align: center; padding: 36px 8px; color: var(--ink-muted); }
.net-result-empty strong { display: block; color: var(--ink); font-size: 16px; margin: 6px 0 4px; }
.net-result-icon { font-size: 34px; }
.net-result-label { font-size: 13px; color: var(--ink-muted); font-weight: 700; }
.net-result-rank { font-size: 44px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; margin: 4px 0 2px; background: linear-gradient(90deg, #fff, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.net-result-range { font-size: 13px; color: var(--ink-muted); min-height: 18px; }
.net-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 12px; }
.net-result-grid div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); display: flex; flex-direction: column; gap: 2px; }
.net-result-grid span { font-size: 11.5px; color: var(--ink-muted); font-weight: 600; }
.net-result-grid strong { font-size: 16px; font-weight: 800; }
.net-warn { font-size: 12.5px; color: #fdba74; background: rgba(255, 122, 51, .12); border-radius: 10px; padding: 9px 11px; margin: 0 0 12px; }
.net-bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.net-bands[hidden] { display: none; }
.net-band { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-radius: 12px; text-align: center; color: #fff; border: 1px solid transparent; transition: transform .15s var(--ease); }
.net-band:hover { transform: translateY(-2px); }
.net-band b { font-size: 15px; }
.net-band span { font-size: 11.5px; opacity: .8; }
.net-band-dream { background: rgba(168, 85, 247, .18); border-color: rgba(168, 85, 247, .4); }
.net-band-target { background: rgba(47, 111, 237, .22); border-color: rgba(96, 165, 250, .5); }
.net-band-safe { background: rgba(34, 197, 94, .16); border-color: rgba(34, 197, 94, .4); }
.net-fine { font-size: 11.5px; color: var(--ink-muted); margin: 12px 0 0; line-height: 1.5; }
.net-info { margin-top: 36px; max-width: 860px; }
.net-steps { margin: 0 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-muted); font-size: 14px; line-height: 1.6; }
.net-steps strong { color: var(--ink); }
.net-mobile-bar { display: none; }
@media (max-width: 900px) {
    .net-layout { grid-template-columns: 1fr; }
    .net-result-wrap { position: static; }
}
@media (max-width: 767.98px) {
    .net-form { padding: 14px; }
    .net-types { grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 4px; }
    .net-type { padding: 9px 2px; }
    .net-type-long { display: none; }
    .net-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .net-grid-obp { grid-template-columns: 1fr; }
    .net-field input { font-size: 20px; padding: 12px 8px; }
    .net-result { padding: 18px; min-height: 0; }
    .net-result-rank { font-size: 38px; }
    /* Sonuç ekranda değilken alt çubuğun üstünde canlı "Tahmini sıra" şeridi */
    .net-mobile-bar:not([hidden]) {
        position: fixed; left: 10px; right: 10px; bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 69;
        display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
        background: linear-gradient(90deg, #1e3a8a, #2f6fed); color: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7);
        transition: transform .25s var(--ease), opacity .25s var(--ease);
    }
    .net-mobile-bar span { font-size: 12px; opacity: .85; }
    .net-mobile-bar strong { font-size: 18px; font-weight: 900; }
    .net-mobile-bar em { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 700; }
    body.net-result-visible .net-mobile-bar { transform: translateY(140%); opacity: 0; pointer-events: none; }
}
/* Net robotu: uzun ders adları kutuları aşağı itmesin; onay kutusu yazısı normal */
.net-grid { align-items: end; }
.net-check { text-transform: none; letter-spacing: normal; font-weight: 500; }
/* Öneri kutusu açıkken formu üst katmana al (animasyonlu kardeş öğeler üstüne binmesin) */
.suggest-open { position: relative; z-index: 45 !important; }
.header-search-bar.suggest-open { position: fixed; }
/* Şehir sayfası: puan türü sekmeleri */
.st-tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.st-tab { border: 1px solid var(--border); background: transparent; color: var(--ink-muted); padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.st-tab.active { background: var(--navy-600); border-color: var(--navy-600); color: #fff; }
.rank-table[hidden] { display: none; }
@media (max-width: 767.98px) {
    .st-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 10px; padding: 0 16px; scrollbar-width: none; }
    .st-tabs::-webkit-scrollbar { display: none; }
    .st-tab { flex: 0 0 auto; padding: 9px 16px; }
}

/* ---- v79: header profil menüsü (giriş yapmışsa profil resmi + açılır menü, değilse "Giriş yap") ---- */
.profile-menu { position: relative; }
.profile-btn {
    display: flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; border-radius: 999px;
    background: var(--navy-100); border: 1px solid var(--border); color: var(--ink); cursor: pointer; font: inherit;
    transition: background .15s var(--ease), border-color .15s var(--ease);
}
.profile-btn:hover, .profile-menu.is-open .profile-btn { border-color: rgba(96, 165, 250, .6); background: rgba(96, 165, 250, .14); }
.profile-btn img, .profile-initials {
    width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: block;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .15);
}
.profile-initials {
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--navy-600), var(--orange-500));
}
.profile-btn-name { font-size: 14px; font-weight: 700; max-width: 110px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-caret { width: 16px; height: 16px; color: var(--ink-muted); transition: transform .2s var(--ease); }
.profile-menu.is-open .profile-caret { transform: rotate(180deg); }
.profile-dropdown {
    position: absolute; right: 0; top: calc(100% + 10px); width: 260px; z-index: 75;
    background: #0f172a; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 6px;
    box-shadow: 0 24px 50px -14px rgba(0, 0, 0, .7);
    animation: profileIn .18s var(--ease);
}
.profile-dropdown[hidden] { display: none; }
@keyframes profileIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.profile-dropdown-head { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 4px; }
.profile-dropdown-head strong { font-size: 14.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-dropdown-head span { font-size: 12px; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 600; }
.profile-dropdown a svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .8; }
.profile-dropdown a:hover { background: rgba(96, 165, 250, .14); color: #fff; }
.profile-dropdown .profile-logout { color: #fca5a5; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 4px; border-radius: 0 0 10px 10px; }
.profile-dropdown .profile-logout:hover { background: rgba(239, 68, 68, .12); color: #fecaca; }
.profile-login {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; margin-right: 4px;
    background: var(--navy-600); color: #fff; font-size: 14px; font-weight: 700; transition: filter .15s var(--ease);
}
.profile-login:hover { filter: brightness(1.12); }
.profile-login svg { width: 18px; height: 18px; }
.header-actions { gap: 4px; }
@media (max-width: 767.98px) {
    /* Mobil: yalnızca profil resmi; menü ekran genişliğinde, header'ın hemen altında */
    .profile-btn { padding: 2px; background: transparent; border-color: transparent; }
    .profile-btn-name, .profile-caret { display: none; }
    .profile-btn img, .profile-initials { width: 32px; height: 32px; }
    .profile-dropdown { position: fixed; top: 70px; left: 10px; right: 10px; width: auto; }
    .profile-dropdown a { padding: 13px 12px; font-size: 15px; }
    .profile-login { width: 38px; height: 38px; padding: 0; justify-content: center; margin-right: 0; }
    .profile-login span { display: none; }
}

/* ---- v80: üniversite logoları (logo.php önbellekli 128px; beyaz zemin, oran korunur) ---- */
.uni-logo {
    width: 28px; height: 28px; flex-shrink: 0; object-fit: contain; border-radius: 8px;
    background: #fff; padding: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}
.uni-logo-md { width: 40px; height: 40px; border-radius: 10px; padding: 3px; }
.uni-logo-lg { width: 40px; height: 40px; border-radius: 11px; padding: 3px; }
.program-card .uni-name { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.program-card .uni-name span { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.detail-uni-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-muted); font-size: 13.5px; font-weight: 700; }
.detail-uni-link:hover { color: var(--ink); }
.uni-tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.uni-tile-text { display: flex; flex-direction: column; min-width: 0; }
.uni-tile-name { font-weight: 700; font-size: 14px; line-height: 1.35; }
.uni-tile-city { color: var(--ink-muted); font-size: 12px; margin-top: 3px; }
.hub-item-uni { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; }
.hub-item-uni .uni-logo { grid-row: span 2; }
.mini-item-uni { display: flex; align-items: center; gap: 7px; }
.mini-item-uni .uni-logo { width: 22px; height: 22px; border-radius: 6px; padding: 1px; }
.suggest-ico img { width: 26px; height: 26px; object-fit: contain; background: #fff; border-radius: 7px; padding: 2px; display: block; margin: 0 auto; }
.uni-badge-img { object-fit: contain; background: #fff; }
@media (max-width: 767.98px) {
    .uni-logo { width: 26px; height: 26px; }
    .uni-logo-md { width: 36px; height: 36px; }
    .uni-logo-lg { width: 34px; height: 34px; }
    .hub-item-uni { grid-template-columns: 36px 1fr; column-gap: 10px; }
    .uni-tile { padding: 10px 12px; gap: 10px; }
}
/* Mobil menü açıkken alt çubuk ve "yukarı çık" menünün altını örtmesin */
@media (max-width: 767.98px) {
    html:has(.main-nav.is-open) .mobile-tabbar,
    html:has(.main-nav.is-open) .to-top,
    html:has(.main-nav.is-open) .net-mobile-bar { display: none !important; }
}

/* =========================================================================
   v81: AÇIK TEMA — html[data-theme="light"].
   Tercih: localStorage.ykskoc_theme = auto | light | dark (varsayılan auto →
   cihazın prefers-color-scheme ayarı). <head>'deki erken script sayfa boyanmadan
   önce html'e data-theme yazar; JS kapalıysa site eskisi gibi koyu kalır.
   Koyu tema (body.page-home) hiç değişmedi; bu blok yalnızca açık temada ezer.
   ========================================================================= */
html[data-theme="light"] body.page-home {
    --ink: #0f172a;
    --ink-muted: #556079;
    --border: rgba(15, 23, 42, .11);
    --surface: rgba(255, 255, 255, .82);
    --navy-050: #f3f6fd;
    --navy-100: #e6edfc;
    --bg: #f3f6fc;
    --orange-050: #fff1e8;
    --success-050: #e9f8ef;
    --danger-050: #fdecec;
    --violet-050: #f1edff;
    --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 28px -12px rgba(15, 23, 42, .14);
    --shadow-lg: 0 20px 44px -14px rgba(15, 23, 42, .22);
    background: radial-gradient(circle at 50% 0%, #dbe7ff 0%, #f5f7fc 55%, #eef2fb 100%);
    background-size: 200% 200%;
    color: var(--ink);
}
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

/* Genel bileşenler */
html[data-theme="light"] body.page-home .compare-toast { background: rgba(255, 255, 255, .96); }
html[data-theme="light"] body.page-home table.compare thead th { background: #fff; }
html[data-theme="light"] body.page-home .site-header { box-shadow: 0 10px 24px -16px rgba(15, 23, 42, .25); }
html[data-theme="light"] body.page-home .section-panel { background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(15, 23, 42, .06), 0 10px 30px -18px rgba(15, 23, 42, .18); }
html[data-theme="light"] body.page-home .rank-chip { background: rgba(255, 255, 255, .75); }
html[data-theme="light"] body.page-home .badge { background: #eef2fb; color: #1e293b; }
html[data-theme="light"] body.page-home .badge-orange { background: #e8f0ff; color: #1d4ed8; border: 1px solid rgba(37, 99, 235, .25); }
html[data-theme="light"] body.page-home .badge-green { background: #e9f8ef; color: #15803d; }
html[data-theme="light"] body.page-home .btn-primary { box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .55); }
html[data-theme="light"] body.page-home .btn-primary:hover { box-shadow: 0 10px 22px -8px rgba(37, 99, 235, .65); }
html[data-theme="light"] body.page-home .btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--border); }
html[data-theme="light"] body.page-home .btn-ghost:hover { background: #eef4ff; }
html[data-theme="light"] body.page-home .program-card > a.btn.btn-block { background: #eaf1ff; color: #1d4ed8; border: 1px solid rgba(37, 99, 235, .25); }
html[data-theme="light"] body.page-home .program-card > a.btn.btn-block:hover { background: #dbe7ff; }
html[data-theme="light"] body.page-home .program-card h3 a { color: #1d4ed8; }
html[data-theme="light"] body.page-home .blog-card h3,
html[data-theme="light"] body.page-home .faq-item summary,
html[data-theme="light"] body.page-home .footer-col h4 { color: var(--ink); }
html[data-theme="light"] body.page-home .faq-item p a,
html[data-theme="light"] body.page-home .link-accent,
html[data-theme="light"] body.page-home .site-footer a:hover { color: #2563eb; }
html[data-theme="light"] body.page-home .rank-chip-cta { color: #1d4ed8; background: #eaf1ff; border-color: rgba(37, 99, 235, .25); }
html[data-theme="light"] body.page-home .search-card input,
html[data-theme="light"] body.page-home .search-card select { color: var(--ink); }
html[data-theme="light"] body.page-home .search-card select option { background: #fff; color: var(--ink); }
html[data-theme="light"] body.page-home .to-top { background: #fff; border-color: var(--border); color: var(--ink); }
html[data-theme="light"] body.page-home .main-nav { background: #fff; }
@media (min-width: 768px) {
    html[data-theme="light"] body.page-home .main-nav { border-color: rgba(15, 23, 42, .1); box-shadow: 0 24px 60px -18px rgba(15, 23, 42, .3); }
}

/* Ana sayfa hero'su ve cam kutular */
html[data-theme="light"] body.page-home .hero { color: var(--ink); }
html[data-theme="light"] body.page-home .hero h1 .hl-blue { color: #2563eb; }
html[data-theme="light"] body.page-home .hero p { color: #334155; }
html[data-theme="light"] body.page-home .hero-stat-value { color: #2563eb; }
html[data-theme="light"] body.page-home .hero-stat-label { color: #64748b; }
html[data-theme="light"] body.page-home .hero-stat-divider { background: rgba(15, 23, 42, .15); }
html[data-theme="light"] body.page-home .hero-links a { color: #1e293b; }
html[data-theme="light"] body.page-home .hero-links a:hover { color: #2563eb; }
html[data-theme="light"] body.page-home .hero-links svg { color: #2563eb; }
html[data-theme="light"] body.page-home .hero-float-badge,
html[data-theme="light"] body.page-home .hero-sim-badge { background: rgba(255, 255, 255, .88); border-color: rgba(15, 23, 42, .1); box-shadow: 0 12px 28px -12px rgba(15, 23, 42, .3); }
html[data-theme="light"] body.page-home .hero-float-badge:hover { background: #fff; }
html[data-theme="light"] body.page-home .hero-float-badge-text strong { color: var(--ink); }
html[data-theme="light"] body.page-home .hero-float-badge-text small { color: #64748b; }
html[data-theme="light"] body.page-home .hero-badge-icon-blue { background: #dbe7ff; color: #2563eb; }
html[data-theme="light"] body.page-home .hero-badge-icon-green { background: #dcfce7; color: #16a34a; }
html[data-theme="light"] body.page-home .hero-badge-icon-purple { background: #f3e8ff; color: #9333ea; }
html[data-theme="light"] body.page-home .hero-sim-empty { color: #94a3b8; }
html[data-theme="light"] body.page-home .social-proof-stat,
html[data-theme="light"] body.page-home .social-proof-copy,
html[data-theme="light"] body.page-home .glass-mini-card,
html[data-theme="light"] body.page-home .blog-search-box,
html[data-theme="light"] body.page-home .blog-folder { background: rgba(255, 255, 255, .72); border-color: rgba(15, 23, 42, .1); box-shadow: 0 10px 26px -16px rgba(15, 23, 42, .2); }
html[data-theme="light"] body.page-home .glass-mini-item { background: rgba(255, 255, 255, .8); border-color: rgba(15, 23, 42, .08); }
html[data-theme="light"] body.page-home .glass-mini-item:hover { background: #fff; border-color: rgba(37, 99, 235, .3); }
html[data-theme="light"] body.page-home .blog-folder.active { color: #1d4ed8; background: #e6eefe; border-color: rgba(37, 99, 235, .4); }
html[data-theme="light"] body.page-home .blog-folder-count { background: rgba(15, 23, 42, .06); }
html[data-theme="light"] body.page-home .blog-folder.active .blog-folder-count { color: #1d4ed8; background: #fff; }

/* v74–v80 bileşenleri */
html[data-theme="light"] .mobile-tabbar { background: rgba(255, 255, 255, .94); border-top-color: rgba(15, 23, 42, .08); box-shadow: 0 -10px 30px -16px rgba(15, 23, 42, .25); }
html[data-theme="light"] .mobile-tabbar a { color: #64748b; }
html[data-theme="light"] .mobile-tabbar a.active { color: #0f172a; }
html[data-theme="light"] .mobile-tabbar-main svg { color: #2563eb; }
html[data-theme="light"] .suggest-box { background: #fff; border-color: rgba(15, 23, 42, .1); color: var(--ink); box-shadow: 0 24px 50px -18px rgba(15, 23, 42, .35); }
html[data-theme="light"] .suggest-sec { color: #94a3b8; }
html[data-theme="light"] .suggest-item { color: #0f172a; }
html[data-theme="light"] .suggest-item:hover, html[data-theme="light"] .suggest-item.is-active { background: #eef4ff; }
html[data-theme="light"] .suggest-txt small { color: #64748b; }
html[data-theme="light"] .suggest-all { border-top-color: rgba(15, 23, 42, .08); }
html[data-theme="light"] .trend-grid { stroke: rgba(15, 23, 42, .08); }
html[data-theme="light"] .trend-area { fill: rgba(37, 99, 235, .10); }
html[data-theme="light"] .trend-line { stroke: #2563eb; }
html[data-theme="light"] .trend-dot { fill: #fff; stroke: #2563eb; }
html[data-theme="light"] .trend-val { fill: #0f172a; }
html[data-theme="light"] .trend-year { fill: #334155; }
html[data-theme="light"] .trend-sub { fill: #64748b; }
html[data-theme="light"] .mini-list-more,
html[data-theme="light"] .hub-letter,
html[data-theme="light"] .net-block legend { color: #1d4ed8; }
html[data-theme="light"] .rank-head { background: rgba(15, 23, 42, .03); }
html[data-theme="light"] .net-types { background: rgba(15, 23, 42, .05); }
html[data-theme="light"] .net-result-rank { background: linear-gradient(90deg, #0f172a, #2563eb); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .net-result-grid div { background: rgba(15, 23, 42, .04); }
html[data-theme="light"] .net-band { color: #0f172a; }
html[data-theme="light"] .net-band-dream { background: #f3e8ff; border-color: rgba(147, 51, 234, .3); }
html[data-theme="light"] .net-band-target { background: #e0ebff; border-color: rgba(37, 99, 235, .35); }
html[data-theme="light"] .net-band-safe { background: #dcfce7; border-color: rgba(22, 163, 74, .3); }
html[data-theme="light"] .net-warn { color: #b45309; background: #fff3e6; }
html[data-theme="light"] .profile-dropdown { background: #fff; border-color: rgba(15, 23, 42, .1); box-shadow: 0 24px 50px -18px rgba(15, 23, 42, .35); }
html[data-theme="light"] .profile-dropdown-head { border-bottom-color: rgba(15, 23, 42, .08); }
html[data-theme="light"] .profile-dropdown-head strong { color: #0f172a; }
html[data-theme="light"] .profile-dropdown-head span { color: #64748b; }
html[data-theme="light"] .profile-dropdown a { color: #334155; }
html[data-theme="light"] .profile-dropdown a:hover { background: #eef4ff; color: #0f172a; }
html[data-theme="light"] .profile-dropdown .profile-logout { color: #dc2626; border-top-color: rgba(15, 23, 42, .08); }
html[data-theme="light"] .profile-dropdown .profile-logout:hover { background: #fef2f2; color: #b91c1c; }
html[data-theme="light"] .uni-logo { box-shadow: 0 0 0 1px rgba(15, 23, 42, .1); }
@media (min-width: 1024px) {
    html[data-theme="light"] .hub-tools { background: linear-gradient(rgba(243, 246, 252, .96), rgba(243, 246, 252, .88)); }
}

/* ---- Tema seçici (profil menüsü + ana menü) ---- */
.theme-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: rgba(127, 127, 127, .12); }
.theme-switch button {
    display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border: 0; border-radius: 9px;
    background: transparent; color: var(--ink-muted); font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer;
    transition: background .15s var(--ease), color .15s var(--ease);
}
.theme-switch button svg { width: 18px; height: 18px; }
.theme-switch button:hover { color: var(--ink); }
.theme-switch button[aria-pressed="true"] { background: var(--navy-600); color: #fff; box-shadow: 0 6px 14px -8px rgba(37, 99, 235, .8); }
.profile-dropdown .theme-block { padding: 8px 8px 10px; border-bottom: 1px solid rgba(127, 127, 127, .16); margin-bottom: 4px; }
.profile-dropdown .theme-block .theme-switch button { color: inherit; opacity: .8; }
.profile-dropdown .theme-block .theme-switch button[aria-pressed="true"] { color: #fff; opacity: 1; }
.theme-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; opacity: .6; margin: 0 0 6px 4px; }
.main-nav-theme { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 0; border-top: 1px solid var(--border); margin-top: 4px; }
.main-nav-theme .theme-switch { width: 280px; }
.main-nav-theme .theme-label { margin: 0; }
@media (max-width: 767.98px) {
    .main-nav-theme { flex-direction: column; align-items: stretch; gap: 8px; padding: 14px 4px 0; }
    .main-nav-theme .theme-switch { width: auto; }
    .theme-switch button { padding: 10px 4px; font-size: 12.5px; }
}
/* Gradyan yazılar: açık zeminde koyu tonlar */
html[data-theme="light"] body.page-home .hero h1 .hl-blue { background-image: linear-gradient(90deg, #1d4ed8, #7c3aed, #1d4ed8); }
html[data-theme="light"] .nf-digit { background: linear-gradient(160deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] #netler-guide-note { color: #c2410c !important; }

/* ---- v84: "Dolmadı" etiketi (kontenjan dolmadığı için YÖK Atlas taban puan/sıra oluşturmadı) ---- */
.dolmadi-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(255, 122, 51, .16); color: #fdba74; border: 1px solid rgba(255, 122, 51, .35); cursor: help; }
html[data-theme="light"] .dolmadi-tag { background: #fff1e8; color: #c2410c; border-color: rgba(194, 65, 12, .25); }
