/* YTK Academy — Gizlilik / Hakkımızda sayfaları ortak stili
   Uzun metin okunabilirliği önceliklidir: açık zemin, koyu yazı, dar sütun. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --primary: #00c896;
  --primary-dark: #009e78;
  --dark: #0f1117;
  --text: #1e2330;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --surface-2: #f8f9fc;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
  max-width: 100%;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; }

/* ── Üst bar ── */
.doc-header {
  background: linear-gradient(135deg, #0f1117 0%, #141b1a 55%, #0a2416 100%);
  padding: 16px 5%;
  position: sticky; top: 0; z-index: 50;
}
.doc-header-inner {
  max-width: 820px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.doc-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.doc-logo-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: linear-gradient(135deg, #00c896, #009e78);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.05rem;
}
.doc-logo-text { color: #fff; font-weight: 800; font-size: 1rem; line-height: 1.2; }
.doc-logo-sub { color: var(--primary); font-size: .68rem; font-weight: 600; }
.doc-back {
  color: rgba(255,255,255,.65); text-decoration: none; font-size: .85rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.doc-back:hover { color: var(--primary); }

/* ── İçerik ── */
.doc { max-width: 820px; margin: 0 auto; padding: 44px 5% 72px; }

.doc-title { margin-bottom: 36px; }
.doc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,200,150,.1); border: 1px solid rgba(0,200,150,.25);
  color: var(--primary-dark); font-size: .74rem; font-weight: 700;
  padding: 5px 13px; border-radius: 999px; margin-bottom: 14px;
}
.doc-title h1 { font-size: 1.9rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.doc-updated { color: var(--text-muted); font-size: .85rem; margin-top: 8px; }
.doc-lead { font-size: 1.05rem; color: #334155; margin-top: 14px; }

.doc section { margin-bottom: 40px; scroll-margin-top: 90px; }
.doc h2 {
  font-size: 1.22rem; font-weight: 700; margin-bottom: 12px;
  padding-bottom: 9px; border-bottom: 2px solid var(--border);
}
.doc h3 { font-size: 1rem; font-weight: 700; margin: 22px 0 8px; color: #0f172a; }
.doc p { margin-bottom: 13px; color: #334155; }
.doc a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 2px; }
.doc a:hover { color: var(--primary); }

.doc ul, .doc ol { margin: 0 0 14px 22px; color: #334155; }
.doc li { margin-bottom: 8px; }

.req-tag {
  display: inline-block; background: rgba(0,200,150,.12); color: var(--primary-dark);
  font-size: .7rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; margin-left: 4px;
}

/* ── İçindekiler ── */
.doc-toc {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 24px; margin-bottom: 40px;
}
.doc-toc-title { font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.doc-toc ol { margin: 0 0 0 20px; }
.doc-toc li { margin-bottom: 5px; font-size: .9rem; }

/* ── Bilgi kutuları ── */
.doc-notice, .doc-fill, .doc-good {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px 18px; border-radius: 12px; margin: 18px 0; font-size: .9rem; line-height: 1.65;
}
.doc-notice { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; }
.doc-notice i { color: #2563eb; margin-top: 3px; }
.doc-good { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.doc-good i { color: var(--primary-dark); margin-top: 3px; font-size: 1.05rem; }
/* Yayına almadan önce doldurulması gereken yerler — dikkat çekmeli */
.doc-fill { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.doc-fill i { color: #d97706; margin-top: 3px; }
.doc-notice a, .doc-good a, .doc-fill a { color: inherit; font-weight: 600; }

.doc-note {
  background: var(--surface-2); border-left: 3px solid var(--primary);
  padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: .89rem; margin: 14px 0;
}

/* ── Tablo ── */
.doc-table-wrap { overflow-x: auto; margin: 16px 0; }
.doc-table {
  width: 100%; border-collapse: collapse; font-size: .89rem;
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
.doc-table th {
  background: var(--surface-2); text-align: left; padding: 11px 14px;
  font-weight: 700; font-size: .82rem; border-bottom: 1px solid var(--border);
}
.doc-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc-table tr:last-child td { border-bottom: none; }

/* ── Kartlar (Hakkımızda) ── */
.doc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.doc-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.doc-card i { font-size: 1.3rem; color: var(--primary); margin-bottom: 10px; display: block; }
.doc-card h3 { margin: 0 0 6px; font-size: .98rem; }
.doc-card p { font-size: .875rem; margin: 0; color: var(--text-muted); }

/* ── Adımlar ── */
.doc-steps { list-style: none; margin: 18px 0 0; padding: 0; }
.doc-steps li { display: flex; gap: 16px; margin-bottom: 22px; }
.doc-step-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #00c896, #009e78); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .92rem;
}
.doc-steps h3 { margin: 4px 0 5px; }
.doc-steps p { margin: 0; }

/* ── Eylem alanı ── */
.doc-cta {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 24px; text-align: center;
}
.doc-cta h2 { border: none; padding: 0; margin-bottom: 6px; }
.doc-cta .doc-contact { justify-content: center; }

.doc-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.doc-contact a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border: 1.5px solid var(--border); border-radius: 10px;
  text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem;
}
.doc-contact a:hover { border-color: var(--primary); color: var(--primary-dark); }
.doc-contact .doc-btn-primary {
  background: linear-gradient(135deg, #00c896, #009e78); color: #fff; border-color: transparent;
}
.doc-contact .doc-btn-primary:hover { color: #fff; box-shadow: 0 6px 20px rgba(0,200,150,.3); }

/* ── Alt bilgi ── */
.doc-footer {
  background: var(--dark); color: rgba(255,255,255,.5);
  text-align: center; padding: 30px 5%; font-size: .85rem;
}
.doc-footer-links { margin-top: 8px; }
.doc-footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.doc-footer a:hover { color: var(--primary); }

/* ── Mobil ── */
@media (max-width: 768px) {
  /* iOS, 16px altındaki alana odaklanılınca sayfayı yakınlaştırır */
  input, select, textarea { font-size: 16px !important; }
  .doc { padding: 30px 5% 52px; }
  .doc-title h1 { font-size: 1.5rem; }
  .doc h2 { font-size: 1.1rem; }
  .doc-toc { padding: 16px 18px; }
  .doc-steps li { gap: 12px; }
  .doc-contact a { width: 100%; justify-content: center; }
  .doc-logo-sub { display: none; }
}
