/* QBLOGG — stil dosyası
   Not: Yön bağımsız (logical) özellikler kullanıldı; Arapça RTL modunda düzen otomatik dönüyor. */

:root {
  color-scheme: light;            /* kaydırma çubuğu ve yerleşik denetimler temayı izlesin */
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-card: #ffffff;
  --text: #14161c;
  --text-muted: #5b6172;
  --border: #e4e7f0;
  --brand: #082C54;               /* Midnight Navy — kimlik rengi */
  --brand-2: #00D8C2;             /* Electric Aqua — yalnızca vurgu */
  --brand-soft: rgba(8, 44, 84, .08);
  --on-brand: #ffffff;            /* marka rengi üzerindeki metin — 13.2:1 */
  --logo-ink: #082C54;            /* logo halkası; aqua köprü her iki temada sabit */
  /* Aqua beyaz üzerinde 1.9:1 — metinde kullanılamaz. Metin için koyulaştırılmış ton. */
  --brand-2-ink: #0a7d72;         /* beyaz üzerinde 4.4:1 */
  --danger: #b3261e;              /* form hataları; beyaz üzerinde 6.3:1 */
  --shadow: 0 1px 2px rgba(16, 20, 40, .04), 0 12px 32px rgba(16, 20, 40, .07);
  --shadow-lg: 0 2px 4px rgba(16, 20, 40, .05), 0 24px 60px rgba(16, 20, 40, .12);
  /* Yazı ölçeği. Önce 21 farklı boyut vardı, 53 beyanda dağılmış: .92 ile .93
     arasındaki farkı kimse göremez ama komşu bileşenler arasında tırtıklı hizalama
     olarak görünüyordu. Yedi basamağa indirildi; her basamak kendi bandındaki en
     çok kullanılan değere oturtuldu, yani çoğu bileşen hiç kıpırdamadı. */
  --fs-2xs: .76rem;
  --fs-xs: .8rem;
  --fs-sm: .85rem;
  --fs-md: .92rem;
  --fs-base: .95rem;
  --fs-lg: 1rem;
  --fs-xl: 1.12rem;
  /* Logo kendi basamağında: sembol–wordmark oranı marka belgesinde ölçülü
     (docs/logo-sistemi.md), ölçeğe yuvarlanmıyor. */
  --fs-logo: 1.16rem;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
          'Noto Sans', 'Noto Sans Arabic', 'Noto Sans Devanagari', 'Noto Sans SC', sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0e14;
  --bg-soft: #12141c;
  --bg-card: #151823;
  --text: #eef0f6;
  --text-muted: #9aa1b5;
  --border: #242838;
  /* Koyu temada navy zeminden ayrışmıyor; kimliğin ikinci rengi öne geçiyor. */
  --brand: #00D8C2;
  --brand-2: #7ce9dd;
  --brand-soft: rgba(0, 216, 194, .13);
  /* Marka rengi açık; beyaz metin 1.7:1'de kalırdı (WCAG AA = 4.5:1) */
  --on-brand: #08202f;
  --logo-ink: #ffffff;
  --brand-2-ink: var(--brand-2);  /* koyu zeminde parlak aqua zaten okunuyor */
  --danger: #f28b82;              /* koyu zeminde okunur açık kırmızı */
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .45), 0 24px 60px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }

/* hidden özniteliği her zaman kazanmalı: .btn gibi display tanımlayan sınıflar
   tarayıcının [hidden] kuralını eziyor ve gizli öğe görünür kalıyordu. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
/* Mobil tarayıcının çift-dokunma yakınlaştırma beklemesini kaldırır (300ms gecikme). */
a, button, input, select, textarea { touch-action: manipulation; }

h1, h2, h3 { line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1, h2 { text-wrap: balance; }  /* uzun başlıkta tek kelimelik yetim satırı önler */
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: var(--fs-xl); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.skip {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 99;
  /* Koyu temada marka rengi açılıyor; beyaz metin 3.24:1'e düşüyordu (AA: 4.5). */
  background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { inset-inline-start: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* %88 saydamlıkta, altından kayan metin okunabiliyordu; backdrop-filter'a
     güvenmek yeterli değil (Firefox'ta ve eski Android'de desteklenmeyebiliyor). */
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 14px; height: 66px; min-width: 0; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.03em; font-size: var(--fs-logo); text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; flex: 0 0 auto; display: block;
  color: var(--logo-ink);        /* halka currentColor; köprü sabit aqua */
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.nav-links { display: flex; gap: 4px; margin-inline-start: 18px; min-width: 0; overflow: hidden; }
.nav-links a {
  text-decoration: none; color: var(--text-muted); font-size: var(--fs-md); font-weight: 500;
  padding: 8px 11px; border-radius: 8px; white-space: nowrap;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--bg-soft); }
.nav-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-size: var(--fs-lg);
}
.icon-btn:hover { background: var(--bg-soft); }

.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; height: 44px; padding-inline: 12px; cursor: pointer;
  background: transparent; border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font: inherit; font-size: var(--fs-md); font-weight: 600;
}
.lang-btn:hover { background: var(--bg-soft); }
.lang-globe { display: block; width: 17px; height: 17px; color: var(--brand-2-ink); }
.lang-globe svg { width: 100%; height: 100%; display: block; }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: 190px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 6px; display: none; max-height: 340px; overflow-y: auto;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px;
  background: none; border: 0; cursor: pointer; color: var(--text); font: inherit;
  padding: 9px 11px; border-radius: 8px; text-align: start; font-size: var(--fs-md);
}
.lang-menu button:hover { background: var(--bg-soft); }
.lang-menu button[aria-selected="true"] { color: var(--brand); font-weight: 700; }
.lang-menu small { color: var(--text-muted); font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .06em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 11px; border: 1px solid transparent;
  font: inherit; font-size: var(--fs-base); font-weight: 600; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 20px var(--brand-soft); }
.btn--primary:hover { box-shadow: 0 12px 26px var(--brand-soft); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--lg { padding: 14px 26px; font-size: var(--fs-lg); }
.btn--block { width: 100%; }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 112px); }
.hero::before {
  content: ''; position: absolute; inset-block-start: -280px; inset-inline-start: 50%;
  width: 900px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--brand-soft), transparent 72%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 820px; margin-inline: auto; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); font-size: var(--fs-sm); font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); margin-bottom: 22px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--brand), var(--brand-2-ink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.02rem, 1.9vw, 1.2rem); color: var(--text-muted); max-width: 640px; margin-inline: auto; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.hero-note { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 16px; }

.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.stat {
  flex: 1 1 180px; max-width: 260px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- Sections ---------- */
.kicker {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
.section-head { max-width: 640px; margin-inline: auto; margin-bottom: 44px; text-align: center; }
/* Bölüm başlığı h1 olduğunda (sayfanın ana başlığı) hero boyutuna çıkmasın:
   sayfa başlığı gibi görünsün, kahraman başlık gibi değil. */
.section-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head p { color: var(--text-muted); margin: 0; }

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }

.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 28%, var(--border)); }
.card :is(h2, h3) { margin-bottom: .4em; }
.card p { color: var(--text-muted); margin: 0; font-size: var(--fs-base); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-2-ink); margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; display: block; }

/* ---------- Akış (repurposing) ---------- */
.flow { display: grid; gap: 20px; grid-template-columns: minmax(220px, 300px) 1fr; align-items: center; }
.flow-source {
  background: linear-gradient(135deg, var(--brand), var(--brand-2-ink)); color: var(--on-brand);
  /* Gradyan aqua'da bitemez: beyaz metin orada 1,81:1'e düşüyordu. -ink ucu 5,01:1. */
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-lg);
}
.flow-source b { display: block; font-size: 1.25rem; }
.flow-source span { opacity: .88; font-size: var(--fs-md); }
.flow-list { display: grid; gap: 10px; }
.flow-item {
  display: flex; align-items: center; gap: 14px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 16px;
}
.flow-item b {
  min-width: 40px; height: 34px; border-radius: 8px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: var(--fs-lg); font-weight: 800;
}
.flow-note { text-align: center; color: var(--text-muted); font-size: var(--fs-md); margin-top: 22px; }

/* ---------- Paketler ---------- */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan--featured { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.plan--featured::after {
  content: '★'; position: absolute; inset-block-start: 18px; inset-inline-end: 20px;
  color: var(--brand); font-size: var(--fs-lg);
}
.plan .price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; }
.plan .price small { font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; }
.plan li { display: flex; gap: 9px; align-items: flex-start; font-size: var(--fs-md); color: var(--text-muted); }
.plan li::before { content: '✓'; color: var(--brand); font-weight: 800; }
.plan .btn { margin-top: auto; }

/* ---------- Blog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-bottom: 30px; }
.search-box { position: relative; flex: 1 1 260px; max-width: 340px; }
.search-box input {
  width: 100%; padding: 11px 15px; border-radius: 11px; border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text); font: inherit; font-size: var(--fs-md);
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.chip {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-muted); font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

/* min(): 320px sınıfı telefonlarda sabit taban sütunu kapsayıcıdan taşırıyordu. */
.posts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.post-card {
  display: flex; flex-direction: column; text-decoration: none; overflow: hidden; padding: 0;
}
.post-cover {
  height: 132px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
/* Kapak ikonu beyaz; --c1/--c2 rampasının en açık ucu bile 4,76:1 verir. */
.post-cover svg { width: 40px; height: 40px; display: block; }
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: 10px; flex-wrap: wrap; }
/* Tarih ve okuma süresi tek grup: ayraç satır başına düşüp madde imi gibi
   görünüyordu. Grup dar ekranda kırılabilsin diye nowrap yalnızca ayraçta. */
.post-meta .meta-when { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.post-meta .dot::before { content: '·'; margin-inline-end: 5px; }
.tag {
  background: var(--brand-soft); color: var(--brand); padding: 3px 10px; border-radius: 999px;
  font-weight: 700; font-size: var(--fs-2xs); letter-spacing: .03em;
}
.post-card h3 { font-size: var(--fs-xl); margin-bottom: .45em; }
.post-card p { color: var(--text-muted); font-size: var(--fs-md); margin: 0 0 16px; }
.read-more { margin-top: auto; color: var(--brand); font-weight: 600; font-size: var(--fs-md); }
.empty { text-align: center; color: var(--text-muted); padding: 50px 0; }

/* ---------- Yazı detayı ---------- */
.article { max-width: 720px; margin-inline: auto; }
.article-head { text-align: center; margin-bottom: 34px; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.article-cover {
  height: 190px; border-radius: var(--radius); display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2)); margin-bottom: 34px;
}
.article-cover svg { width: 62px; height: 62px; display: block; }
.article-body { font-size: var(--fs-xl); }
.article-body p { margin-bottom: 1.25em; }
.article-body p:first-of-type::first-letter { font-size: 1.6em; font-weight: 700; line-height: 1; }
/* Arapça bitişik yazılır; Çince ve Devanagari'de de ilk harfi büyütmek yanlış görünür. */
html[dir="rtl"] .article-body p:first-of-type::first-letter,
html[lang="zh"] .article-body p:first-of-type::first-letter,
html[lang="hi"] .article-body p:first-of-type::first-letter {
  font-size: inherit; font-weight: inherit;
}
/* Hukuki ve bilgilendirme metinlerinde süslü ilk harf yersiz duruyor. */
.article-body--plain p:first-of-type::first-letter { font-size: inherit; font-weight: inherit; }
.article-body--plain h3 { font-size: var(--fs-xl); margin-top: 1.6em; margin-bottom: .4em; }
.article-body--plain code { font-size: .92em; background: var(--bg-soft, var(--bg-card)); padding: 1px 5px; border-radius: 5px; }
.article-body--plain hr { margin: 2.6em 0; border: 0; border-top: 1px solid var(--border); }

.article-foot { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--border); }
.toast {
  /* inset-inline-start:50% + translateX(-50%) RTL'de kutuyu kendi genişliği kadar
     kaydırıyordu; yön bağımsız merkezleme inset-inline + margin-inline ile. */
  position: fixed; inset-block-end: 24px; inset-inline: 0; margin-inline: auto;
  width: fit-content; max-width: calc(100vw - 32px); transform: translateY(20px);
  background: var(--text); color: var(--bg); padding: 11px 20px; border-radius: 10px;
  font-size: var(--fs-md); font-weight: 600; opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease; z-index: 80;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ---------- Newsletter ---------- */
.cta-box {
  background: linear-gradient(135deg, var(--brand), var(--brand-2-ink)); color: var(--on-brand);
  /* Gradyan aqua'da bitemez: beyaz metin orada 1,81:1'e düşüyordu. -ink ucu 5,01:1. */
  border-radius: 24px; padding: clamp(34px, 5vw, 60px); text-align: center; box-shadow: var(--shadow-lg);
}
.cta-box h2 { color: var(--on-brand); }
.cta-box p { opacity: .92; max-width: 520px; margin-inline: auto; }
.subscribe { display: flex; gap: 10px; max-width: 460px; margin: 26px auto 12px; flex-wrap: wrap; }
.subscribe input {
  flex: 1 1 220px; padding: 13px 16px; border-radius: 11px; border: 0; font: inherit; font-size: var(--fs-base);
  background: rgba(255, 255, 255, .95); color: #14161c;
}
.subscribe .btn { background: #14161c; color: #fff; }
html[data-theme="dark"] .subscribe .btn { background: #f4f5fa; color: #12141c; }
.form-msg { font-size: var(--fs-md); min-height: 1.2em; opacity: .95; }
/* Alan yanı doğrulama: hatalı girdi kenarlığı + altındaki kısa mesaj (app.js üretir). */
.field [aria-invalid="true"], .subscribe [aria-invalid="true"] { border-color: var(--danger); }
.field-msg { color: var(--danger); font-size: var(--fs-sm); margin: 6px 0 0; }
.cta-note { font-size: var(--fs-sm); opacity: .8; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding-block: 50px 30px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1.6fr repeat(auto-fit, minmax(140px, 1fr)); }
.footer-grid h3 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer-grid a { color: var(--text-muted); text-decoration: none; font-size: var(--fs-md);
  display: inline-block; padding-block: 10px; }  /* dokunma hedefi 30px -> 44px */
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: var(--fs-sm); color: var(--text-muted);
}

.to-top {
  position: fixed; inset-block-end: 22px; inset-inline-end: 22px; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid var(--border); background: var(--bg-card); color: var(--text);
  cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 60;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* Giriş animasyonu. Betik yüklenmezse bu kural içeriği tamamen gizler; her sayfanın
   <head>'inde bunu iptal eden bir <noscript> bloğu var. */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
}

/* Menü, bağlantılar sıkışmadan önce mobil moda geçer. Eşik 1180px:
   Rusça ve Norveççe menü etiketleri Türkçeden belirgin biçimde uzun. */
@media (max-width: 1180px) {
  .menu-toggle { display: grid; }
  .nav-links {
    position: absolute; inset-inline: 0; top: 66px; flex-direction: column; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 22px 18px;
    display: none; margin-inline-start: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; }
}

/* Dar ekranda dil düğmesi etiketini bırakır, küreye iner. Yer birincil eyleme
   kalsın: "Teklif al" sayfanın tek hedefi ve trafiğin çoğu telefondan geliyor. */
@media (max-width: 620px) {
  .lang-btn { width: 44px; padding-inline: 0; justify-content: center; gap: 0; }
  .lang-btn #langLabel { display: none; }
  /* Fransızca ve Rusça CTA etiketi Türkçenin iki katı; düğme küçülmezse başlık
     taşıyor. 44px dokunma yüksekliği korunur, yalnız yazı küçülür. */
  .nav-cta { font-size: var(--fs-sm); padding-inline: 12px; }
  /* Başlıkta yalnız sembol kalır. Sembol tam bu iş için tasarlandı; wordmark
     yerini CTA'ya bırakır. Bağlantının erişilebilir adı metinle korunur. */
  .site-header .logo { font-size: 0; gap: 0; }
}

/* 320px sınıfı telefonlarda başlık beşinci denetimi taşıyamıyor. Giden tema
   düğmesi: seçim yoksa site zaten prefers-color-scheme'i izliyor, yani koyu tema
   kaybolmuyor. Yatay kaydırma ise gerçek bir kusur olurdu. */
@media (max-width: 360px) {
  .site-header #themeBtn { display: none; }
  .nav-cta { padding-inline: 10px; }
}

/* ---------- Bizimle çalışın sayfası ---------- */
.tabs { display: flex; gap: 6px; justify-content: center; margin-bottom: 26px; flex-wrap: wrap; }
.tab {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-muted); font: inherit; font-size: var(--fs-md); font-weight: 600; cursor: pointer;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

.form-card { max-width: 720px; margin-inline: auto; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit; font-size: var(--fs-base);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--brand); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg); font-size: var(--fs-md); cursor: pointer;
  flex: 0 0 auto; white-space: nowrap; max-width: 100%;
}
.check input { accent-color: var(--brand); margin: 0; }
.check:has(input:checked) { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.form-actions .form-msg { color: var(--text-muted); }
.form-foot { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 14px; }

.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { position: relative; }
.step .num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; margin-bottom: 14px;
}

.faq { max-width: 720px; margin-inline: auto; display: grid; gap: 10px; }
.faq details {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 20px;
}
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--text-muted); font-size: var(--fs-base); margin: 0 0 18px; }

/* ---------- Yazı sonu teklif köprüsü ---------- */
.post-cta {
  margin-top: 34px; padding: 28px 26px; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border));
  background: var(--brand-soft);
}
.post-cta h3 { margin-bottom: .35em; }
.post-cta p { color: var(--text-muted); margin: 0 0 18px; font-size: var(--fs-base); }
.post-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Uzun yazılar: ara başlık, liste ve not blokları */
.article-body h2 { font-size: 1.45rem; margin-top: 1.9em; margin-bottom: .6em; }
.article-body ul { margin: 0 0 1.4em; padding-inline-start: 1.3em; display: grid; gap: .5em; }
.article-body li { padding-inline-start: .2em; }
.article-body .article-note {
  border-inline-start: 3px solid var(--brand); padding: 2px 0 2px 16px;
  padding-inline-start: 16px; padding-inline-end: 0;
  color: var(--text-muted); font-size: var(--fs-base);
}

/* Hero'daki kanıt bağlantısı: vaadin altında, ondan daha sessiz ama tıklanır */
.hero-proof { margin: 10px 0 0; font-size: var(--fs-md); }
.hero-proof a {
  color: var(--brand); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .15s ease;
}
.hero-proof a:hover { border-bottom-color: var(--brand); }

/* Metin içi yazı bağlantısı: kümeyi bağlamda gösterir */
.article-body .article-see {
  margin: 1.4em 0; padding: 12px 16px; border-radius: 12px;
  background: var(--bg-soft, var(--bg-card)); border: 1px solid var(--border);
  font-size: var(--fs-base);
}
.article-body .article-see span { color: var(--text-muted); font-weight: 700; }
.article-body .article-see a { color: var(--brand); font-weight: 600; }

/* Ortaklık bildirimi: yazının başında, gözden kaçmayacak ama bağırmayacak */
.article-body .article-disclosure {
  margin: 0 0 1.8em; padding: 10px 14px; border-radius: 10px;
  background: var(--bg-soft, var(--bg-card)); border: 1px solid var(--border);
  color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.5;
}

/* Ortaklık bağlantısı: gerekçesiyle birlikte, reklam kutusu gibi değil */
.article-body .article-aff {
  margin: 1.4em 0; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--border); border-inline-start: 3px solid var(--brand);
  display: grid; gap: 4px;
}
.article-body .article-aff a { color: var(--brand); font-weight: 600; }
.article-body .article-aff-why { color: var(--text-muted); font-size: var(--fs-md); }

/* Kaynaklar: iddia varsa kaynak da görünür olsun */
.article-sources { margin-top: 2.6em; padding-top: 1.4em; border-top: 1px solid var(--border); }
.article-sources h2 { font-size: var(--fs-xl); margin-top: 0; }
.article-sources ol { padding-inline-start: 1.3em; display: grid; gap: .45em; }
.article-sources li { color: var(--text-muted); font-size: var(--fs-md); }
.article-sources a { color: var(--brand); }

/* ---------- Paylaşım satırı ---------- */
.share-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-label { font-size: var(--fs-sm); color: var(--text-muted); margin-inline-end: 2px; }
/* 44px: HIG dokunma hedefi tabanı. Diğer düğmeler bu tabana çekilmişti,
   paylaşım satırı atlanmıştı. */
.share-btn {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card);
  color: var(--text); font: inherit; font-size: var(--fs-base); font-weight: 700; text-decoration: none;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.share-btn:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.share-btn svg { width: 18px; height: 18px; display: block; }

/* Bülten karşılığı indirme bağlantısı */
.magnet-link { margin-top: 4px; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); color: #fff; }
.magnet-link:hover { background: rgba(255,255,255,.26); }
