/* ── Hero ───────────────────────────────────────── */
.bankasi-hero { padding: 52px 0 56px; color: var(--white); background: var(--navy-900); border-bottom: 4px solid var(--red-700); }
.bankasi-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 70px; }
.bankasi-hero-top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bankasi-hero h1 { margin: 10px 0 18px; font: 3rem/1.05 var(--serif); }
.bankasi-hero p { max-width: 600px; margin: 0; color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.75; }
.nasil-calisir-toggle {
  flex-shrink: 0; padding: 7px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 99px;
  color: var(--white); background: rgba(255,255,255,.08); font-size: .64rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; cursor: pointer; transition: background .15s, border-color .15s;
}
.nasil-calisir-toggle:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }
.bankasi-stat-box { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bankasi-stat { padding: 20px; border-left: 2px solid var(--gold-500); background: rgba(255,255,255,.06); }
.bankasi-stat strong { display: block; color: var(--gold-300); font: 2.2rem var(--serif); }
.bankasi-stat span { color: rgba(255,255,255,.62); font-size: .62rem; text-transform: uppercase; letter-spacing: .07em; }

/* ── Nasıl Çalışır ──────────────────────────────── */
.nasil-calisir { padding: 62px 0 70px; }
.nasil-calisir h2 { margin: 8px 0 40px; color: var(--navy-950); font: 2rem var(--serif); }
.nc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.nc-step { padding: 26px 22px; background: var(--white); }
.nc-step-num { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 16px; color: var(--white); background: var(--navy-900); border-radius: 50%; font-size: .7rem; font-weight: 800; }
.nc-step h3 { margin: 0 0 10px; color: var(--navy-950); font: 1rem var(--serif); }
.nc-step p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.65; }

.nc-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.nc-info-box { padding: 24px; }
.nc-info-box p.eyebrow { margin-bottom: 10px; }
.nc-info-box p:last-child { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.nc-info-box-cs { border-left: 3px solid var(--navy-900); background: #f0f4f8; }
.nc-info-box-serbest { border-left: 3px solid var(--gold-500); background: #fffaf0; }
.nc-info-box-serbest-eyebrow { color: #7a5500; }

/* ── Bölüm Seçim Ekranı ──────────────────────────── */
.bankasi-app { padding: 60px 0 80px; }
.bankasi-app-title { margin: 0 0 32px; color: var(--navy-950); font: 2rem var(--serif); }

/* Steps wizard */
.bankasi-step { display: none; }
.bankasi-step.active { display: block; }
.step-header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.step-num { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; color: var(--white); background: var(--red-700); border-radius: 50%; font-size: .7rem; font-weight: 800; }
.step-label { color: var(--navy-950); font-size: 1.1rem; font-weight: 700; }
.step-sub { color: var(--muted); font-size: .75rem; margin-top: 2px; }

/* Bölüm kartları */
.bolum-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bolum-card { padding: 22px 18px; border: 2px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.bolum-card:hover { border-color: var(--navy-900); box-shadow: 0 4px 16px rgba(8,24,45,.08); }
.bolum-card.selected { border-color: var(--red-700); background: #fff8f8; }
.bolum-card h3 { margin: 0 0 8px; color: var(--navy-950); font: 1rem var(--serif); }
.bolum-card p { margin: 0 0 14px; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.bolum-card-counts { display: flex; gap: 6px; flex-wrap: wrap; }
.count-chip { padding: 2px 8px; border-radius: 99px; font-size: .58rem; font-weight: 700; text-transform: uppercase; }
.chip-kolay { background: #e6faf0; color: #1a7a3a; }
.chip-orta  { background: #ebf4ff; color: #1a56db; }
.chip-zor   { background: #fff1f0; color: #c0281e; }

/* Tür seçimi */
.tur-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tur-card { padding: 28px 26px; border: 2px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; transition: border-color .15s; }
.tur-card:hover { border-color: var(--navy-900); }
.tur-card.selected { border-color: var(--red-700); background: #fff8f8; }
.tur-card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.tur-card h3 { margin: 0 0 10px; color: var(--navy-950); font: 1.2rem var(--serif); }
.tur-card p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.65; }
.tur-card ul { margin: 12px 0 0; padding: 0 0 0 16px; color: var(--muted); font-size: .7rem; line-height: 1.7; }

/* Dağıtım seçimi */
.dagitim-form { max-width: 520px; }
.dagitim-row { display: grid; grid-template-columns: 120px 1fr 70px; align-items: center; gap: 16px; margin-bottom: 18px; }
.dagitim-label { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; color: var(--navy-950); }
.dagitim-label span { width: 10px; height: 10px; border-radius: 50%; }
.d-kolay { background: #1a7a3a; }
.d-orta  { background: #1a56db; }
.d-zor   { background: #c0281e; }
input[type=range] { width: 100%; accent-color: var(--navy-900); }
.dagitim-num { min-width: 42px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: .82rem; font-weight: 700; text-align: center; }
.dagitim-toplam { margin-top: 8px; padding: 12px 16px; border-radius: 6px; background: #f0f4f8; font-size: .78rem; }
.dagitim-toplam strong { color: var(--navy-950); }

/* ── Quiz Alanı ─────────────────────────────────── */
.quiz-area { max-width: 720px; }
.quiz-progress-bar { height: 5px; background: var(--line); border-radius: 3px; margin-bottom: 24px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: var(--red-700); border-radius: 3px; transition: width .35s ease; }
.quiz-progress-info { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--muted); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.quiz-timer { font-feature-settings: "tnum"; }
.quiz-soru-meta { display: flex; gap: 8px; margin-bottom: 14px; }
.zorluk-chip { padding: 3px 10px; border-radius: 4px; font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.z-kolay { background: #e6faf0; color: #1a7a3a; }
.z-orta  { background: #ebf4ff; color: #1a56db; }
.z-zor   { background: #fff1f0; color: #c0281e; }
.soru-metin { margin: 0 0 22px; color: var(--navy-950); font-size: 1rem; font-weight: 700; line-height: 1.55; }

/* Seçenekler */
.secenek-list { display: grid; gap: 10px; margin-bottom: 24px; }
.secenek-btn {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; width: 100%; text-align: left;
  border: 2px solid var(--line); border-radius: 8px; background: var(--white);
  color: var(--ink); font-size: .82rem; line-height: 1.5; cursor: pointer;
  transition: border-color .12s, background .12s;
}
.secenek-btn:hover:not(:disabled) { border-color: var(--navy-900); background: #f0f4f8; }
.secenek-btn.selected { border-color: var(--navy-900); background: #eef1f8; }
.secenek-btn.dogru  { border-color: #1a7a3a; background: #edfbf0; color: #1a7a3a; }
.secenek-btn.yanlis { border-color: #c0281e; background: #fff1f0; color: #c0281e; }
.secenek-btn:disabled { cursor: not-allowed; }
.secenek-harf { flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--line); font-size: .65rem; font-weight: 800; }
.secenek-btn.dogru  .secenek-harf { background: #1a7a3a; color: #fff; }
.secenek-btn.yanlis .secenek-harf { background: #c0281e; color: #fff; }

/* Metin cevap */
.metin-uyari { padding: 14px 16px; margin-bottom: 18px; border-left: 3px solid var(--gold-500); background: #fff9e6; color: #7a5500; font-size: .74rem; line-height: 1.6; }
.metin-uyari strong { display: block; margin-bottom: 4px; font-size: .76rem; }
.metin-textarea { width: 100%; min-height: 220px; padding: 14px; border: 2px solid var(--line); border-radius: 8px; font-size: .84rem; line-height: 1.6; resize: vertical; font-family: inherit; outline: none; transition: border-color .12s; }
.metin-textarea:focus { border-color: var(--navy-900); }
.metin-sayac { text-align: right; margin-top: 5px; color: var(--muted); font-size: .65rem; }

/* Soru arası geri bildirim */
.feedback-box { padding: 16px 18px; border-radius: 8px; margin-bottom: 18px; font-size: .8rem; line-height: 1.6; }
.feedback-box.dogru { background: #edfbf0; color: #1a7a3a; border: 1px solid #a3e6bb; }
.feedback-box.yanlis { background: #fff1f0; color: #c0281e; border: 1px solid #fdb3af; }
.feedback-box strong { display: block; margin-bottom: 4px; font-size: .84rem; }

/* ── Sonuç ─────────────────────────────────────── */
.sonuc-kart { padding: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); max-width: 720px; }
.sonuc-skor { text-align: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.sonuc-skor-num { font: 4rem/1 var(--serif); color: var(--navy-950); }
.sonuc-skor-alt { margin: 6px 0 0; color: var(--muted); font-size: .78rem; }
.sonuc-skor-bar { width: 220px; height: 8px; margin: 18px auto 0; background: var(--line); border-radius: 4px; overflow: hidden; }
.sonuc-skor-fill { height: 100%; border-radius: 4px; transition: width .6s ease; }
.puan-yuksek { background: #1a7a3a; }
.puan-orta   { background: #e07c00; }
.puan-dusuk  { background: #c0281e; }
.sonuc-meta { display: flex; justify-content: center; gap: 28px; margin-top: 18px; }
.sonuc-meta-item { text-align: center; }
.sonuc-meta-val { font-size: 1.35rem; font-weight: 800; color: var(--navy-950); }
.sonuc-meta-label { font-size: .6rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.yanlis-listesi h3 { margin: 0 0 16px; font: 1.1rem var(--serif); color: var(--navy-950); }
.yanlis-item { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .78rem; line-height: 1.5; }
.yanlis-item:last-child { border-bottom: 0; }
.yanlis-item-q { font-weight: 700; color: var(--navy-950); margin-bottom: 5px; }
.yanlis-item-a { color: #1a7a3a; }
.metin-sonuc-msg { padding: 24px; text-align: center; border: 2px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.metin-sonuc-msg strong { display: block; margin-bottom: 8px; color: var(--navy-950); font-size: 1.1rem; }

/* ── Geçmiş ─────────────────────────────────────── */
.gecmis-wrap { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.gecmis-wrap h2 { margin: 0 0 22px; color: var(--navy-950); font: 1.5rem var(--serif); }
.gecmis-empty { color: var(--muted); font-size: .78rem; }
#gecmis-icerik { overflow-x: auto; }
.gecmis-tablo { width: 100%; border-collapse: collapse; font-size: .76rem; }
.gecmis-tablo th { text-align: left; padding: 8px 12px; background: #f7fafc; color: var(--muted); font-size: .63rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line); }
.gecmis-tablo td { padding: 9px 12px; border-bottom: 1px solid #f0f4f8; vertical-align: middle; }

/* Navigasyon butonları */
.bankasi-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.bankasi-nav-left { display: flex; gap: 10px; }
.btn-bankasi { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; min-height: 44px; border: 0; border-radius: 4px; font-size: .75rem; font-weight: 800; letter-spacing: .05em; cursor: pointer; }
.btn-bankasi-primary { color: var(--white); background: var(--navy-900); }
.btn-bankasi-primary:hover { background: var(--navy-950); }
.btn-bankasi-primary:disabled { opacity: .45; cursor: not-allowed; }
.btn-bankasi-ghost { color: var(--muted); background: 0; border: 1px solid var(--line); }
.btn-bankasi-ghost:hover { color: var(--ink); border-color: #999; }
.btn-bankasi-red { color: var(--white); background: var(--red-700); }
.btn-bankasi-red:hover { background: #b01820; }

/* Giriş daveti */
.giris-daveti { padding: 32px; border: 2px dashed var(--line); border-radius: 8px; text-align: center; }
.giris-daveti p { margin: 0 0 18px; color: var(--muted); font-size: .82rem; line-height: 1.6; }

@media (max-width: 900px) {
  .bankasi-hero-grid, .bolum-grid { grid-template-columns: 1fr 1fr; }
  .nc-grid { grid-template-columns: 1fr 1fr; }
  .tur-cards { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .bankasi-hero { padding: 20px 0 24px; }
  .bankasi-hero-top-row { gap: 8px; }
  .nasil-calisir-toggle { padding: 6px 12px; font-size: .58rem; }
  .bankasi-hero h1 { margin: 8px 0 12px; font-size: 1.7rem; }
  .bankasi-hero-lead { display: none; }
  .bankasi-hero-grid, .bolum-grid { grid-template-columns: 1fr; gap: 18px; }
  .bankasi-stat-box { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bankasi-stat { padding: 14px; }
  .bankasi-stat strong { font-size: 1.7rem; }
  .bankasi-stat span { font-size: .56rem; }

  .nasil-calisir { padding: 34px 0 40px; }
  .nasil-calisir h2 { margin-bottom: 22px; font-size: 1.4rem; }
  .nc-grid { grid-template-columns: 1fr; }
  .nc-step { padding: 18px 16px; }
  .nc-info-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }

  .bankasi-app { padding: 36px 0 56px; }
  .bankasi-app-title { margin-bottom: 22px; font-size: 1.5rem; }
  .step-label { font-size: .92rem; }
  .step-sub { font-size: .68rem; }

  .bolum-card { padding: 16px 14px; }
  .tur-card { padding: 20px 18px; }
  .tur-card h3 { font-size: 1.05rem; }

  .dagitim-row { grid-template-columns: 90px 1fr 56px; gap: 8px; }
  .dagitim-label { font-size: .72rem; }

  .quiz-area { max-width: 100%; }
  .soru-metin { font-size: .92rem; }
  .secenek-btn { padding: 12px 14px; font-size: .78rem; }
  .metin-textarea { min-height: 160px; font-size: .8rem; }

  .sonuc-kart { padding: 22px 18px; }
  .sonuc-skor-num { font-size: 2.6rem; }
  .sonuc-meta { gap: 16px; flex-wrap: wrap; }

  .gecmis-wrap { margin-top: 32px; padding-top: 28px; }
  .gecmis-tablo { font-size: .68rem; }
  .gecmis-tablo th, .gecmis-tablo td { padding: 6px 8px; }
}
