/* Pratik Araç — tasarım sistemi */
@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6f7fb;
  --bg-2: #eef0f7;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e4e7ef;
  --border-strong: #cfd5e2;
  --accent: #5b4cf0;
  --accent-2: #7c3aed;
  --accent-soft: #eeecfe;
  --accent-text: #ffffff;
  --gold: #f59e0b;
  --ok: #0f9d58;
  --ok-soft: #e6f6ee;
  --danger: #dc2626;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .10);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 48px -20px rgba(76, 61, 220, .28);
  --ring: 0 0 0 4px rgba(91, 76, 240, .18);
  --header-bg: rgba(255, 255, 255, .78);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d14;
    --bg-2: #11141e;
    --card: #141824;
    --text: #e8ebf4;
    --muted: #94a0b8;
    --border: #232a3a;
    --border-strong: #2f3850;
    --accent: #8b80ff;
    --accent-2: #a78bfa;
    --accent-soft: #1d1b3a;
    --accent-text: #0b0d14;
    --ok: #34d399;
    --ok-soft: #10261d;
    --danger: #f87171;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-lg: 0 24px 48px -24px rgba(0, 0, 0, .7);
    --ring: 0 0 0 4px rgba(139, 128, 255, .25);
    --header-bg: rgba(11, 13, 20, .78);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d14;
  --bg-2: #11141e;
  --card: #141824;
  --text: #e8ebf4;
  --muted: #94a0b8;
  --border: #232a3a;
  --border-strong: #2f3850;
  --accent: #8b80ff;
  --accent-2: #a78bfa;
  --accent-soft: #1d1b3a;
  --accent-text: #0b0d14;
  --ok: #34d399;
  --ok-soft: #10261d;
  --danger: #f87171;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-lg: 0 24px 48px -24px rgba(0, 0, 0, .7);
  --ring: 0 0 0 4px rgba(139, 128, 255, .25);
  --header-bg: rgba(11, 13, 20, .78);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15.5px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
code { font-size: .9em; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }

/* Başlık */
header.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border);
}
header.top .in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 16px -6px rgba(91, 76, 240, .6); }
.brand .word-2 { color: var(--accent); }
header.top nav { display: flex; gap: 2px; font-size: 14px; }
header.top nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
header.top nav a:hover, header.top nav a[aria-current="page"] { color: var(--text); background: var(--bg-2); }
header.top nav a.pro-link {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-left: 6px;
}
:root[data-theme="dark"] header.top nav a.pro-link { color: #0b0d14; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
  cursor: pointer;
}
.icon-btn, .icon-btn:hover { box-shadow: none; transform: none; }
.icon-btn:hover { background: var(--bg-2); }
#menuBtn { display: none; }
@media (max-width: 860px) {
  header.top nav { display: none; }
  #menuBtn { display: inline-grid; }
}
.mobile-menu {
  position: fixed;
  inset: 61px 0 auto 0;
  z-index: 19;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px 18px;
  max-height: calc(100vh - 61px);
  overflow-y: auto;
}
.mobile-menu a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 10px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.mobile-menu a:hover { background: var(--bg-2); }
.mobile-menu .ic { width: 34px; height: 34px; }

/* Sayfa düzeni */
main { max-width: 1120px; margin: 0 auto; padding: 28px 20px 48px; }
.narrow { max-width: 860px; }
h1 { font-size: clamp(26px, 4.2vw, 38px); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 8px; font-weight: 800; }
h2 { font-size: 19px; letter-spacing: -.015em; margin: 0 0 12px; font-weight: 750; }
h3 { font-size: 16px; margin: 18px 0 8px; }
.lead { color: var(--muted); margin: 0 0 22px; font-size: 16.5px; }
.muted { color: var(--muted); font-size: 13.5px; }

.page-head { display: flex; gap: 16px; align-items: center; margin: 4px 0 22px; }
.page-head .ic { width: 56px; height: 56px; border-radius: 16px; }
.page-head .ic .ico { width: 28px; height: 28px; }
.page-head h1 { margin: 0; }
.page-head .lead { margin: 4px 0 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
@media (max-width: 560px) { .page-head { align-items: flex-start; } .page-head .ic { width: 46px; height: 46px; } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
@media (max-width: 560px) { .card { padding: 18px; border-radius: 16px; } }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid-2 { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* Form */
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 650; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--text);
  font: inherit;
  transition: border-color .15s, box-shadow .15s;
}
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
input[type="checkbox"], input[type="radio"] { width: 18px; min-height: 0; height: 18px; accent-color: var(--accent); }
input[type="color"] { padding: 4px; height: 46px; }
input[type="range"] { padding: 0; min-height: 0; accent-color: var(--accent); border: 0; box-shadow: none; }
input[type="file"] { padding: 9px; font-size: 14px; }
textarea { resize: vertical; min-height: 96px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--text); font-weight: 500; margin: 0; }

button, .btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 18px -10px rgba(91, 76, 240, .8);
  transition: transform .12s, box-shadow .15s, background .15s;
}
:root[data-theme="dark"] button:not(.ghost):not(.icon-btn):not(.del), :root[data-theme="dark"] .btn:not(.ghost) { color: #0b0d14; }
button:hover, .btn:hover { transform: translateY(-1px); }
button:active, .btn:active { transform: translateY(0); }
button:focus-visible, .btn:focus-visible, a:focus-visible { outline: none; box-shadow: var(--ring); }
button.ghost, .btn.ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
button.ghost:hover, .btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
button.small, .btn.small { min-height: 34px; padding: 6px 12px; font-size: 13px; border-radius: 10px; }
button:disabled { opacity: .5; cursor: default; transform: none; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.result { font-size: 26px; font-weight: 800; color: var(--ok); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.stat b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; margin-top: 2px; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 600; }
.stat b.result { font-size: 24px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; }
th { color: var(--muted); font-weight: 650; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
tbody tr:hover td { background: var(--bg); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }

.tabs { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-bottom: 18px; padding: 4px; background: var(--bg-2); border-radius: 14px; }
.tabs button { background: transparent; color: var(--muted); border: 0; box-shadow: none; min-height: 38px; padding: 6px 14px; font-weight: 650; }
.tabs button:hover { color: var(--text); transform: none; }
.tabs button.active { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }

/* İkon rozetleri */
.ic {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
}
.ic .ico { width: 24px; height: 24px; }

/* Ana sayfa */
.hero { position: relative; text-align: center; padding: 48px 0 18px; }
.hero::before {
  content: "";
  position: absolute;
  inset: -40px -20px auto;
  height: 420px;
  z-index: -1;
  background:
    radial-gradient(40% 60% at 25% 20%, rgba(99, 102, 241, .20), transparent 70%),
    radial-gradient(35% 55% at 78% 10%, rgba(124, 58, 237, .18), transparent 70%),
    radial-gradient(30% 40% at 60% 70%, rgba(251, 191, 36, .14), transparent 70%);
  filter: blur(8px);
}
.hero .eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(32px, 6vw, 56px); max-width: 820px; margin: 0 auto 14px; }
.grad { background: linear-gradient(120deg, var(--accent), var(--accent-2) 60%, #db2777); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 600px; margin: 0 auto 26px; font-size: 17.5px; }
.search { position: relative; max-width: 560px; margin: 0 auto 14px; }
.search .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; }
.search input { min-height: 56px; padding-left: 50px; border-radius: 16px; font-size: 16px; box-shadow: var(--shadow-lg); border-color: var(--border); }
.chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.chips a { font-size: 13px; font-weight: 650; color: var(--muted); text-decoration: none; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); }
.chips a:hover { color: var(--accent); border-color: var(--accent); }
.stats-strip { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin: 20px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.stats-strip span { display: inline-flex; gap: 6px; align-items: center; }
.stats-strip .ico { color: var(--ok); }

.cat { display: flex; justify-content: space-between; align-items: baseline; margin: 38px 0 14px; }
.cat h2 { margin: 0; font-size: 22px; }
.cat span { color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .cat span { display: none; } }
.tool-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tool {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.tool:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tool b { display: block; font-size: 15.5px; letter-spacing: -.01em; margin-bottom: 2px; }
.tool span { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.tool .tag { position: absolute; top: 12px; right: 12px; }

.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 38px; }
.feature { display: flex; gap: 12px; align-items: flex-start; padding: 6px 2px; }
.feature .ic { width: 40px; height: 40px; border-radius: 12px; color: var(--ok); background: var(--ok-soft); }
.feature b { display: block; margin-bottom: 2px; }
.feature span { color: var(--muted); font-size: 14px; }

.pro-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  padding: 26px;
  margin-top: 38px;
  border-radius: 22px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(130deg, #4f46e5, #7c3aed 55%, #a21caf);
  box-shadow: var(--shadow-lg);
}
.pro-banner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.pro-banner h2 { color: #fff; margin: 0 0 4px; font-size: 22px; }
.pro-banner p { margin: 0; opacity: .88; max-width: 560px; }
.pro-banner .btn { background: #fff; color: #4f46e5; margin-left: auto; position: relative; z-index: 1; box-shadow: none; }
.pro-banner .star { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.pro-banner .star .ico { width: 28px; height: 28px; color: #fbbf24; }

/* Açıklama ve SSS */
.article h2 { margin-top: 24px; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { color: var(--text); }
details { border-bottom: 1px solid var(--border); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; font-weight: 500; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Reklam alanı: AdSense onayı gelince içine reklam kodu yapıştırılır. */
.ad-slot {
  min-height: 90px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0;
}
.is-pro .ad-slot { display: none !important; }
.pro {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, var(--accent), var(--accent-2), #fbbf24) border-box;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 18px 0;
}
.badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  vertical-align: middle;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 50;
  box-shadow: var(--shadow-lg);
}

/* Pro ve risk analizi */
.locked { position: relative; }
.locked .lock-note { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--accent-soft); border-radius: 14px; padding: 14px; margin-top: 12px; }
.score { width: 148px; height: 148px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; font-weight: 800; margin: 0 auto; background: conic-gradient(var(--c, var(--ok)) calc(var(--v, 0) * 1%), var(--bg-2) 0); position: relative; letter-spacing: -.03em; }
.score::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--card); }
.score span { position: relative; }
.factor { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.factor:last-child { border-bottom: 0; }
.factor b.neg { color: var(--danger); }
.factor b.pos { color: var(--ok); }
.ai-text h3 { margin-top: 14px; }
.ai-text p, .ai-text li { line-height: 1.65; }
.best td { background: var(--ok-soft) !important; }

/* Altbilgi */
footer.site { border-top: 1px solid var(--border); background: var(--card); color: var(--muted); font-size: 14px; margin-top: 40px; }
footer.site .in { max-width: 1120px; margin: 0 auto; padding: 40px 20px 28px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
footer.site h4 { color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--accent); }
footer.site .brand { margin-bottom: 10px; }
footer.site .bottom { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

@media print {
  header.top, footer.site, .ad-slot, .pro, .no-print, .mobile-menu, .crumbs { display: none !important; }
  body { background: #fff; color: #000; }
  main { max-width: none; padding: 0; }
  .card { border: 0; padding: 0; box-shadow: none; }
}
