/* HaberPanelim Pazaryeri — vitrin stili. Bağımlılık yok. */
:root {
  --accent: #a5215e;
  --accent-dark: #86184b;
  --accent-soft: #fbeef4;
  --accent-ring: rgba(165, 33, 94, .18);
  --bg: #f7f6f8;
  --surface: #ffffff;
  --surface-2: #faf9fb;
  --line: #e7e3ea;
  --line-strong: #d9d3dd;
  --text: #1f1a22;
  --text-2: #5b5262;
  --text-3: #8b8292;
  --ok: #1f7a4d;
  --ok-soft: #e6f4ec;
  --warn: #8a5a00;
  --warn-soft: #fdf3dc;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(31, 26, 34, .04), 0 6px 20px -8px rgba(31, 26, 34, .12);
  --shadow-hover: 0 2px 4px rgba(31, 26, 34, .05), 0 14px 32px -12px rgba(165, 33, 94, .22);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: .1em .4em; }
button { font: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--text-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }

/* ---------- düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s, transform .15s; white-space: nowrap; line-height: 1.2;
}
.btn i { font-size: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -8px rgba(165, 33, 94, .6); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { padding: 6px 12px; font-size: 13px; }
.btn-small i { font-size: 16px; }
.btn-block { width: 100%; justify-content: center; flex-wrap: wrap; }
.btn-block small { font-weight: 500; opacity: .85; font-size: 12px; }

/* ---------- başlık ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 66px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 17px; letter-spacing: -.01em; }
.brand b { color: var(--accent); font-weight: 800; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), #d64d8a); color: #fff; font-size: 21px; box-shadow: 0 4px 12px -4px rgba(165, 33, 94, .6); }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 22px; align-items: center; justify-content: center; cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.site-nav > a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: 14px; }
.site-nav > a i { font-size: 18px; }
.site-nav > a:hover { background: var(--surface-2); color: var(--text); }
.site-nav > a.is-active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.site-search { margin-left: auto; display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); overflow: hidden; height: 40px; }
.site-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.site-search select { border: 0; background: var(--surface-2); height: 100%; padding: 0 8px 0 14px; font: inherit; font-size: 13px; color: var(--text-2); border-right: 1px solid var(--line); cursor: pointer; }
.site-search input { border: 0; height: 100%; width: 190px; padding: 0 10px; font: inherit; font-size: 14px; outline: none; background: transparent; }
.site-search button { border: 0; background: transparent; height: 100%; padding: 0 12px; color: var(--accent); font-size: 18px; cursor: pointer; }

/* ---------- kahraman ---------- */
.hero { background: radial-gradient(900px 380px at 15% -20%, rgba(165, 33, 94, .12), transparent 60%), radial-gradient(700px 300px at 95% 10%, rgba(214, 77, 138, .10), transparent 60%), var(--surface); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 64px 20px 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; }
.hero h1 { font-size: 40px; margin: 16px 0 14px; letter-spacing: -.02em; }
.hero-text p { color: var(--text-2); font-size: 17px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hero-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.hero-stats b { display: block; font-size: 30px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.hero-stats span { color: var(--text-2); font-size: 13px; font-weight: 500; }

/* ---------- bölümler ---------- */
.section { padding: 36px 0; }
.section-tight { padding-top: 12px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: 22px; display: flex; align-items: center; gap: 8px; }
.section-head h2 i { color: var(--accent); font-size: 22px; }
.section-head p { color: var(--text-2); font-size: 14px; margin-top: 2px; }

.kind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kind-card { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--text); box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s, border-color .15s; }
.kind-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: rgba(165, 33, 94, .35); color: var(--text); }
.kind-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 26px; }
.kind-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kind-title { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.kind-title small { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 1px 8px; }
.kind-text { font-size: 13px; color: var(--text-2); }
.kind-arrow { margin-left: auto; color: var(--text-3); font-size: 20px; }

.how-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 1fr 2fr; gap: 28px; box-shadow: var(--shadow); }
.how-head h2 { font-size: 22px; margin-bottom: 8px; }
.how-head p { color: var(--text-2); font-size: 14px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-steps li { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.how-steps li span { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.how-steps li b { color: var(--text); font-size: 14px; }

/* ---------- sayfa başı ---------- */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 20px 0 22px; }
.page-head-detail { padding: 14px 0; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 8px; }
.page-head h1 { font-size: 28px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-head h1 i { color: var(--accent); }
.page-head h1 small { font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; }
.page-head p { color: var(--text-2); margin-top: 4px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-3); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* ---------- araç çubuğu ---------- */
.toolbar { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 16px 0 18px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 4px; }
.field-label { font-size: 12px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }
.field select, .field input { height: 40px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 14px; background: var(--surface); color: var(--text); min-width: 180px; }
.field select:focus, .field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.field-search { flex: 1 1 260px; position: relative; flex-direction: row; align-items: center; }
.field-search i { position: absolute; left: 12px; color: var(--text-3); font-size: 18px; pointer-events: none; }
.field-search input { width: 100%; padding-left: 38px; }
.result-count { font-size: 13px; color: var(--text-3); margin-bottom: 12px; }

/* ---------- kartlar ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s, border-color .15s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: rgba(165, 33, 94, .3); }
.card-cover { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s; }
.card:hover .card-cover img { transform: scale(1.02); }
.card-cover-icon img { width: auto; height: auto; }
.cover-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #fdf3f7, #f4eef7); color: var(--accent); }
.cover-placeholder i { font-size: 44px; opacity: .85; }
.cover-placeholder > span { position: absolute; right: 14px; bottom: 8px; font-size: 64px; font-weight: 800; color: rgba(165, 33, 94, .08); line-height: 1; }
.cover-placeholder-icon img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(31, 26, 34, .15)); }
.card-badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kind-tag { font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.card h3 { font-size: 16px; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--accent); }
.card-body p { font-size: 13px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--text-3); border-top: 1px dashed var(--line); }
.card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.card-meta i { font-size: 15px; }

/* ---------- rozetler ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; line-height: 1.4; border: 1px solid transparent; background: var(--surface); }
.badge i { font-size: 13px; }
.badge-required { background: var(--warn-soft); color: var(--warn); border-color: rgba(138, 90, 0, .15); }
.badge-system { background: var(--ok-soft); color: var(--ok); border-color: rgba(31, 122, 77, .15); }
.badge-featured { background: var(--accent-soft); color: var(--accent); border-color: rgba(165, 33, 94, .15); }
.badge-accent { background: var(--accent); color: #fff; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- sayfalama ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.page-btn { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-weight: 600; font-size: 14px; }
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn.is-disabled { opacity: .4; pointer-events: none; }
.page-gap { color: var(--text-3); padding: 0 4px; }

/* ---------- boş durum ---------- */
.empty { text-align: center; padding: 56px 20px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--accent-soft); color: var(--accent); font-size: 32px; margin-bottom: 14px; }
.empty h1, .empty h2 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--text-2); max-width: 520px; margin: 0 auto; }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.empty-page { padding: 80px 20px; border-style: solid; }

/* ---------- detay ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding-top: 8px; }
.detail-main, .detail-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.detail-side { position: sticky; top: 82px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel-title { font-size: 17px; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.panel-title i { color: var(--accent); font-size: 20px; }
.panel-title small { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 1px 8px; }
.panel-hint { font-size: 13px; color: var(--text-2); margin: -6px 0 16px; }
.title-row { display: flex; align-items: center; gap: 14px; }
.title-row h1 { font-size: 24px; letter-spacing: -.02em; margin-top: 2px; }
.pkg-icon { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; background: var(--surface-2); border: 1px solid var(--line); padding: 6px; flex: 0 0 auto; }
.pkg-icon-fallback { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 28px; border-color: transparent; }
.summary { color: var(--text-2); margin-top: 12px; font-size: 14.5px; }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 18px 0 0; }
.meta-grid div { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; background: var(--surface-2); border-radius: var(--radius-sm); }
.meta-grid dt { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.meta-grid dd { margin: 0; font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.tag:hover { border-color: var(--accent); color: var(--accent); }
.install-box { background: linear-gradient(180deg, #fff, var(--accent-soft)); border-color: rgba(165, 33, 94, .2); }
.install-box > p { font-size: 14px; color: var(--text-2); }
.install-steps { margin: 12px 0 16px; padding-left: 20px; font-size: 13.5px; color: var(--text-2); display: flex; flex-direction: column; gap: 4px; }
.install-note { font-size: 12px; color: var(--text-3); margin-top: 12px; line-height: 1.5; }
.compat-list { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.compat-list div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.compat-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.compat-list dt { color: var(--text-2); }
.compat-list dd { margin: 0; font-weight: 600; text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 500; }
.chip i { font-size: 14px; }

/* galeri */
.gallery { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-main { position: relative; display: block; background: var(--surface-2); max-height: 560px; overflow: hidden; }
.gallery-main img { width: 100%; height: auto; max-height: 560px; object-fit: contain; object-position: top; }
.gallery-zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 10px; background: rgba(31, 26, 34, .65); color: #fff; display: grid; place-items: center; font-size: 20px; opacity: 0; transition: opacity .15s; }
.gallery-main:hover .gallery-zoom { opacity: 1; }
.gallery-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; border-top: 1px solid var(--line); background: var(--surface); scrollbar-width: thin; }
.gallery-thumb { flex: 0 0 auto; width: 104px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: var(--surface-2); opacity: .75; transition: opacity .15s, border-color .15s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery-thumb:hover, .gallery-thumb.is-active { opacity: 1; border-color: var(--accent); }
.gallery-placeholder { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-placeholder .cover-placeholder i { font-size: 80px; }

/* blok önizlemeleri */
.block-previews { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.block-preview { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.block-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.block-preview-head h3 { font-size: 14px; font-weight: 600; }
.block-preview-count { font-size: 11px; color: var(--text-3); font-weight: 500; }
.preview-tabs { display: flex; gap: 4px; padding: 8px 10px 0; overflow-x: auto; scrollbar-width: thin; }
.preview-tab { border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.preview-tab:hover { border-color: var(--accent); color: var(--accent); }
.preview-tab.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.preview-stage { padding: 10px; }
.preview-pane { display: block; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--line); min-height: 80px; }
.preview-pane img { width: 100%; height: auto; }
.preview-pane[hidden] { display: none; }

/* sürümler */
.version-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.version { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--surface-2); }
.version.is-latest { border-color: rgba(165, 33, 94, .3); background: #fff; }
.version-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.version-head b { font-size: 15px; margin-right: 6px; }
.version-meta { font-size: 12.5px; color: var(--text-3); margin-left: 6px; }
.version .prose { margin-top: 10px; }

/* düz metin */
.prose { font-size: 15px; color: var(--text); line-height: 1.7; }
.prose > * + * { margin-top: 12px; }
.prose h2, .prose h3, .prose h4 { font-size: 16px; margin-top: 20px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 4px; }
.prose-small { font-size: 13.5px; color: var(--text-2); }
.prose-small > * + * { margin-top: 6px; }

/* ---------- altbilgi ---------- */
.site-footer { margin-top: 28px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { padding: 36px 20px 28px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand p { font-size: 13px; color: var(--text-2); margin-top: 4px; max-width: 440px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-content: flex-start; justify-content: flex-end; font-size: 14px; }
.footer-links a { color: var(--text-2); font-weight: 500; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { grid-column: 1 / -1; font-size: 12.5px; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 14, 22, .92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1400px, 96vw); max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lightbox img { max-width: 100%; max-height: 84vh; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff; }
.lightbox figcaption { color: #fff; font-size: 13px; opacity: .85; }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; cursor: pointer; transition: background .15s; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
body.lightbox-open { overflow: hidden; }

/* ---------- duyarlı ---------- */
@media (max-width: 1024px) {
  .card-grid, .card-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .kind-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; padding: 44px 20px 40px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .how-box { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .header-inner { gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; flex-direction: column; align-items: stretch; width: 100%; padding: 6px 0 14px; gap: 2px; }
  .site-nav.is-open { display: flex; }
  .site-search { margin: 10px 0 0; width: 100%; }
  .site-search input { flex: 1; width: auto; }
  .card-grid, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .block-previews { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 16px; }
  .hero-inner { padding: 32px 16px 28px; }
  .hero h1 { font-size: 27px; }
  .hero-text p { font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats b { font-size: 24px; }
  .kind-grid, .card-grid, .card-grid-4, .how-steps, .meta-grid { grid-template-columns: 1fr; }
  .section { padding: 24px 0; }
  .page-head h1 { font-size: 23px; }
  .panel { padding: 16px; }
  .toolbar { padding: 12px; }
  .field { width: 100%; }
  .field select, .field input { min-width: 0; width: 100%; }
  .toolbar .btn { width: 100%; justify-content: center; }
  .lightbox { padding: 8px; }
  .lightbox-nav { width: 38px; height: 38px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- abonelik planları ---------- */
.badge-plan { background: var(--surface-2); color: var(--text-2); border-color: var(--line-strong); }
.badge-plan-free { background: #f1f0f3; color: #4f4757; }
.badge-plan-eko { background: #e8f3ee; color: #1f7a4d; border-color: rgba(31, 122, 77, .2); }
.badge-plan-pro { background: var(--accent-soft); color: var(--accent); border-color: rgba(165, 33, 94, .2); }
.badge-plan-3xl { background: #2a1f2e; color: #fff; border-color: #2a1f2e; }
.meta-grid dd .badge { vertical-align: middle; }
.install-plan { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--text-2); background: #fff; border: 1px solid rgba(165, 33, 94, .2); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 12px; }
.install-plan i { color: var(--accent); font-size: 18px; flex: 0 0 auto; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan-card { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--text); box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s, border-color .15s; position: relative; overflow: hidden; }
.plan-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #c9c3cd; }
.plan-card-eko::before { background: #1f7a4d; }
.plan-card-pro::before { background: var(--accent); }
.plan-card-3xl::before { background: #2a1f2e; }
.plan-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: rgba(165, 33, 94, .35); color: var(--text); }
.plan-name { font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.plan-card-pro .plan-name { color: var(--accent); }
.plan-card-eko .plan-name { color: #1f7a4d; }
.plan-text { font-size: 13px; color: var(--text-2); line-height: 1.5; flex: 1; }
.plan-link { font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.plan-group + .plan-group { margin-top: 32px; }
.plan-group-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.plan-group-head h2 { font-size: 19px; display: flex; align-items: center; gap: 8px; }
.plan-group-head h2 small { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 1px 8px; }
.plan-group-head p { width: 100%; font-size: 13px; color: var(--text-2); }
@media (max-width: 1024px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plan-grid { grid-template-columns: 1fr; } }

/* ---------- detay düzeni: başlık kartı (mobilde en üstte) ---------- */
.detail-grid { grid-template-rows: auto 1fr; }
.detail-title { grid-column: 2; grid-row: 1; }
.detail-main { grid-column: 1; grid-row: 1 / span 2; }
.detail-side { grid-column: 2; grid-row: 2; position: static; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-top .badge { padding: 2px 8px; font-size: 11px; }
@media (max-width: 1024px) {
  .detail-grid { grid-template-rows: none; }
  .detail-title, .detail-main, .detail-side { grid-column: auto; grid-row: auto; }
}

/* ---------- geliştirici ---------- */
.nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.site-nav > a.nav-dev { font-size: 13px; padding: 7px 10px; }
.dev-head { display: flex; align-items: center; gap: 18px; margin-top: 10px; flex-wrap: wrap; }
.dev-avatar { width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, var(--accent), #d64d8a); color: #fff; font-size: 28px; font-weight: 800; display: grid; place-items: center; flex: 0 0 auto; }
.dev-info { flex: 1; min-width: 220px; }
.dev-info h1 { font-size: 28px; }
.dev-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--text-2); margin-top: 6px; }
.dev-meta span { display: inline-flex; align-items: center; gap: 5px; }
.dev-meta i { font-size: 16px; color: var(--text-3); }
.dev-stats { display: flex; gap: 10px; }
.dev-stats div { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 16px; text-align: center; min-width: 90px; }
.dev-stats b { display: block; font-size: 22px; font-weight: 800; color: var(--accent); }
.dev-stats span { font-size: 12px; color: var(--text-2); }
@media (max-width: 860px) { .nav-sep { display: none; } }

.block-previews.is-single { grid-template-columns: 1fr; }

/* ---------- üst çubuk sıkıştırma ---------- */
.header-inner { gap: 16px; }
.site-nav { gap: 2px; }
.site-nav > a { padding: 8px 10px; }
.site-search input { width: 160px; }
@media (max-width: 1280px) and (min-width: 861px) {
  .site-nav > a.nav-dev span { display: none; }
  .site-nav > a.nav-dev { padding: 8px 8px; }
  .site-search select { display: none; }
  .site-search input { width: 140px; }
}
@media (max-width: 1500px) and (min-width: 861px) { .site-search select { display: none; } .site-search input { width: 170px; } }

/* ---------- resmî logo ---------- */
.brand { gap: 10px; }
.brand-logo { height: 32px; width: auto; display: block; }
.brand-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 9px; line-height: 1.3; }
.footer-brand .brand-logo { height: 28px; margin-bottom: 8px; }
.footer-title { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 600px) { .brand-logo { height: 26px; } }
