/* ==========================================================================
   GüvenliKanal — Ana Stil Dosyası
   Palet: Zümrüt / Kehribar (AÇIK TEMA) — Saf CSS, framework yok.
   ========================================================================== */

:root {
  --bg-main:#F4F8FA; --bg-card:#FFFFFF; --bg-soft:#E9F2F7; --bg-utility:#E0EBF1;
  --border-color:#D5E3EA; --border-light:#E6EEF2;
  --brand:#0088CC; --brand-soft:#229ED9; --brand-dim:rgba(0,136,204,.08);
  --accent:#2AABEE; --accent-dark:#1A94D6; --accent-dim:rgba(42,171,238,.12);
  --text-primary:#1E2B33; --text-heading:#0E3A53; --text-secondary:#546A78;
  --text-muted:#8096A3; --text-on-accent:#FFFFFF;
  --status-ok:#2E9E5B; --status-warn:#F59E0B; --status-bad:#E53935;
  --shadow-sm:0 1px 2px rgba(0,136,204,.08); --shadow-md:0 4px 16px rgba(0,136,204,.10);
  --radius:8px; --radius-lg:12px; --container:1100px;
  --font:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  --font-heading:'Montserrat','Inter',sans-serif;
}

/* --- Sıfırlama ve taban --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Tipografi (§1.4) --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.25;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(32px, 4.5vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 24px; font-weight: 700; margin: 2em 0 .7em; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1.05em; color: var(--text-primary); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }
li + li { margin-top: .35em; }
small { font-size: 14px; }
strong { color: var(--text-heading); }
code, .mono {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  color: var(--brand);
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  padding: .15em .5em;
  border-radius: 6px;
  font-size: .9em;
  word-break: break-all;
}
.kullanici-rozet {
  display: inline-block;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand);
  background: var(--brand-dim);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 8px;
  word-break: break-all;
}
hr { border: 0; border-top: 1px solid var(--border-color); margin: 32px 0; }

/* --- Yardımcı sınıflar --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  border: 0; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* --- Utility bar (40px) --- */
.utility-bar {
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.utility-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.utility-bar__left, .utility-bar__right { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utility-bar__right { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

/* --- Site başlığı / navigasyon --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brand);
  font-size: 20px;
  letter-spacing: -.01em;
}
.site-logo:hover { text-decoration: none; }
.site-logo img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: var(--radius);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
}
.site-nav a:hover { background: var(--brand-dim); color: var(--brand); text-decoration: none; }
.site-nav a[aria-current="page"] { background: var(--brand-dim); color: var(--brand); font-weight: 700; }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--brand); }
.nav-toggle[aria-expanded="true"] { background: var(--bg-soft); }

/* --- Butonlar --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 2px solid transparent;
  padding: 11px 22px;
  min-height: 44px;
  cursor: pointer;
  text-align: center;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--text-on-accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline { background: transparent; border-color: var(--brand-soft); color: var(--brand); }
.btn-outline:hover { background: var(--brand-dim); }
/* Hero (koyu zemin) içinde outline buton görünür olsun */
.hero .btn-outline { border-color: rgba(255,255,255,.75); color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn-sm { padding: 8px 16px; min-height: 40px; font-size: 14px; }
.btn-lg { padding: 14px 28px; min-height: 52px; font-size: 16px; }
.btn-block { width: 100%; }

/* --- Hero / bölümler --- */
.hero {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-soft) 100%);
  color: #fff;
  padding: 56px 0;
}
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.88); font-size: 18px; max-width: 740px; margin-bottom: 24px; }
.section { padding: 48px 0; }
.section-alt { background: var(--bg-card); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.section-head { margin-bottom: 28px; }
.section-head p { color: var(--text-secondary); max-width: 700px; }

/* --- Etiketler / rozetler --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-dim);
  color: var(--brand);
  white-space: nowrap;
}
.tag--accent { background: var(--accent-dim); color: var(--accent-dark); }
.tag--ok { background: rgba(46,158,91,.12); color: var(--status-ok); }
.tag--warn { background: rgba(245,158,11,.14); color: #B45309; }
.tag--bad { background: rgba(229,57,53,.1); color: var(--status-bad); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* --- Ekmek kırıntısı --- */
.breadcrumbs { font-size: 14px; color: var(--text-muted); margin: 16px 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs li + li::before { content: "›"; color: var(--text-muted); margin-right: 4px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs [aria-current="page"] { color: var(--text-primary); font-weight: 600; }

/* --- Sayfa başlığı + yazar satırı --- */
.page-head { padding: 36px 0 0; }
.page-head .lead { font-size: 18px; line-height: 1.65; color: var(--text-secondary); max-width: 780px; margin-bottom: 8px; }
.byline-inline { font-size: 14px; color: var(--text-muted); margin: 12px 0 24px; }
.byline-inline a { font-weight: 600; color: var(--brand-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 8px; }
.feature { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 20px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; color: var(--brand); }
.feature p { font-size: 14.5px; color: var(--text-secondary); margin: 0; }
.check-list { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.check-list li { padding: 10px 12px 10px 34px; position: relative; background: var(--bg-soft); border-radius: var(--radius); font-size: 14.5px; }
.check-list li::before { content: '✓'; position: absolute; left: 12px; top: 10px; color: var(--accent); font-weight: 700; }
.stats-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0 0; }
.stat { flex: 1 1 160px; background: var(--bg-soft); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 18px; text-align: center; }
.stat strong { display: block; font-size: 26px; color: var(--brand); }
.stat span { font-size: 13.5px; color: var(--text-secondary); }

/* --- Bilgi kartı (tablo) --- */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin: 28px 0;
}
.info-card__head {
  padding: 18px 24px;
  background: linear-gradient(90deg, var(--bg-soft), var(--bg-card));
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.info-card__head h2 { margin: 0; font-size: 18px; }
.table-wrap { overflow-x: auto; }
.info-table { width: 100%; border-collapse: collapse; min-width: 420px; }
.info-table th, .info-table td {
  text-align: left;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  font-size: 15px;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th {
  width: 200px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding-top: 16px;
}
.info-table td { color: var(--text-primary); font-weight: 500; }
.info-table .mono { background: transparent; border: 0; padding: 0; }
.tarih-notu { color: var(--text-muted); font-size: 13.5px; font-weight: 400; }
.yazar-bio { font-size: 14.5px; color: var(--text-secondary); margin: 10px 0 0; }

/* --- İçerik gövdesi --- */
.prose { max-width: 780px; }
.prose h2 { padding-bottom: .4em; border-bottom: 1px solid var(--border-light); }
.prose .lead { font-size: 17.5px; line-height: 1.65; color: var(--text-secondary); }
.prose p { font-size: 16.5px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.2em; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; margin-bottom: 14px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 2px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-dim);
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
/* --- Uyarı kutuları --- */
.notice {
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 15px;
}
.notice--warn { border-left-color: var(--status-warn); background: #FFFBF0; }
.notice--danger { border-left-color: var(--status-bad); background: #FFF7F6; }
.notice--ok { border-left-color: var(--status-ok); background: #F3FAF6; }
.notice p:last-child { margin-bottom: 0; }

/* --- SSS --- */
.faq { max-width: 780px; margin: 32px 0; }
.faq details {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 52px 16px 18px;
  position: relative;
  font-weight: 600;
  color: var(--text-heading);
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--brand);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 18px 16px; color: var(--text-secondary); }

/* --- CTA bandı --- */
.cta-band {
  background: var(--accent-dim);
  border: 1px solid rgba(245,163,0,.35);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
  text-align: center;
}
.cta-band p { margin-bottom: 12px; }
.cta-band .btn + .btn { margin-left: 8px; }

/* --- İlgili firmalar --- */
.related { margin: 40px 0; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.related__card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
}
.related__card:hover { border-color: var(--brand-soft); text-decoration: none; }
.related__card strong { font-size: 15.5px; }
.related__card span { font-size: 13.5px; color: var(--text-muted); }

/* --- Yazar kartı --- */
.author-card {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 48px 0 0;
  box-shadow: var(--shadow-sm);
}
.author-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  flex-shrink: 0;
}
.author-card__body { flex: 1; min-width: 0; }
.author-card__label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 700; }
.author-card__name { font-size: 19px; font-weight: 800; color: var(--text-heading); }
.author-card__name a { color: inherit; }
.author-card__role { color: var(--text-secondary); font-size: 14.5px; margin: 2px 0 10px; }
.author-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.author-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 10px 14px;
  min-height: 44px;
}
.author-link:hover { background: var(--brand-dim); text-decoration: none; }
.author-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.author-card__editor { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border-color); font-size: 14px; color: var(--text-secondary); }

/* --- Firma kart ızgarası (index / firmalar) --- */
.firm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.firm-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.firm-card:hover { box-shadow: var(--shadow-md); border-color: var(--brand-soft); text-decoration: none; }
.firm-card h3 { margin: 0; font-size: 18px; }
.firm-card p { margin: 0; font-size: 14.5px; color: var(--text-secondary); }
.firm-card .tags { margin-top: auto; }

/* --- Şeffaflık kutusu --- */
.disclosure {
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 24px 0;
}
.disclosure strong { color: var(--text-primary); }
.disclosure p:last-child { margin-bottom: 0; }
/* Koyu zemin (footer) içinde şeffaflık kutusu */
.site-footer .disclosure {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  margin: 0 0 20px;
}
.site-footer .disclosure strong { color: #fff; }
.site-footer .disclosure a { color: #fff; }
.site-footer .disclosure p { color: #fff; opacity: .96; }

/* --- Alt bilgi --- */
.site-footer { background: var(--brand); color: rgba(255,255,255,.82); margin-top: 64px; }
.site-footer a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 40px 0 24px; }
.footer-grid h3 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-grid li { min-height: 24px; }
.footer-note { font-size: 13px; color: rgba(255,255,255,.7); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 16px 0;
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Liste sayfaları (firmalar / site haritası) --- */
.page-list { list-style: none; padding: 0; margin: 0; }
.page-list li { border-bottom: 1px solid var(--border-light); }
.page-list li:last-child { border-bottom: 0; }
.page-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  min-height: 44px;
  color: var(--text-primary);
  font-weight: 600;
}
.page-list a:hover { color: var(--brand); text-decoration: none; }
.page-list .meta { font-size: 13.5px; color: var(--text-muted); font-weight: 400; }

/* --- 404 --- */
.error-page { text-align: center; padding: 80px 0; }
.error-code { font-family: var(--font-heading); font-size: clamp(64px, 12vw, 110px); font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 8px; }

/* --- Duyarlılık --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    gap: 4px;
    margin-left: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; }
  .header-cta { display: none; }
  .hero { padding: 40px 0; }
  .hero p { font-size: 16.5px; }
  .section { padding: 32px 0; }
  .author-card { flex-direction: column; }
  .author-link { flex: 1 1 auto; justify-content: center; }
  .related__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .info-table th { width: 130px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-head { padding-top: 28px; }
  .cta-band .btn { margin: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .firm-card { transition: none; }
}

/* --- Firma sayfası: kart ve içerik aynı genişlikte, ortalanmış --- */
.firma-icerik .page-head,
.firma-icerik .info-card,
.firma-icerik .prose,
.firma-icerik .related,
.firma-icerik .disclosure,
.firma-icerik .author-card {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.firma-icerik .info-card { margin-top: 28px; }

/* --- Sayfalama --- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 28px 0; }
.pagination a, .pagination .aktif {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--brand);
  font-weight: 600;
  font-size: 14.5px;
}
.pagination a:hover { background: var(--brand-dim); text-decoration: none; }
.pagination .aktif { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .bos { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-muted); }
.arama-kutusu { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 22px; }
.arama-kutusu input[type="search"] { flex: 1; min-width: 220px; padding: 11px 14px; border: 1px solid var(--border-color); border-radius: var(--radius); font-size: 15px; font-family: var(--font); }