﻿/* Dedektör — Poppins, koyu yeşil + turuncu vurgu (paraphraser.io fiyat sayfası çizgisinde) */
:root, :root[data-theme="light"] {
  --brand: #12a37c;
  --brand-600: #0e8a69;
  --brand-dark: #065f51;
  --brand-soft: #e8f6f1;
  --navy: #0c2e60;
  --accent: #ff9f00;
  --accent-600: #f08c00;
  --accent-soft: #fff7ec;
  --ink: #222;
  --text: #4a4a4a;
  --muted: #7a7a7a;
  --line: #e6e6e6;
  --bg: #f7f8fa;
  --card: #fff;
  --page-bg: #fff;
  --ai: #e5484d;
  --ai-soft: #fdecec;
  --human: #12a37c;
  --human-soft: #e6f6f0;
  --mixed: #ffb743;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(12, 46, 96, .07);
}

/* ---------- Karanlık tema ---------- */
:root[data-theme="dark"] {
  --brand: #27d7a7;
  --brand-600: #1fbf92;
  --brand-dark: #4de4b5;
  --brand-soft: #112620;
  --navy: #cfe3ff;
  --accent: #ffb13d;
  --accent-600: #ffa41a;
  --accent-soft: #2a1f10;
  --ink: #e8ebee;
  --text: #c7cbd1;
  --muted: #8a93a0;
  --line: #2a2f36;
  --bg: #0f1419;
  --card: #171c23;
  --page-bg: #0b0f14;
  --ai: #ff6267;
  --ai-soft: #2a1719;
  --human: #27d7a7;
  --human-soft: #122621;
  --mixed: #ffc266;
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
:root[data-theme="dark"] body { background: var(--page-bg); color: var(--text); }
:root[data-theme="dark"] .site-header { background: var(--card); border-bottom-color: var(--line); }
:root[data-theme="dark"] .brand { color: var(--ink); }
:root[data-theme="dark"] .brand:hover { color: var(--ink); }
:root[data-theme="dark"] .site-header .nav-link { color: var(--text); }
:root[data-theme="dark"] .site-header .nav-link:hover, :root[data-theme="dark"] .site-header .nav-link.active { background: var(--brand-soft); color: var(--brand); }
:root[data-theme="dark"] .site-header .dropdown-menu, :root[data-theme="dark"] .dropdown-menu { background: var(--card); border-color: var(--line); color: var(--text); }
:root[data-theme="dark"] .dropdown-item { color: var(--text); }
:root[data-theme="dark"] .dropdown-item:hover, :root[data-theme="dark"] .dropdown-item:focus, :root[data-theme="dark"] .dropdown-item.active { background: var(--brand-soft); color: var(--brand); }
:root[data-theme="dark"] .dropdown-divider { border-top-color: var(--line); }
:root[data-theme="dark"] .tool-menu-item { color: var(--ink); }
:root[data-theme="dark"] .tool-menu-item:hover { background: var(--brand-soft); color: var(--ink); }
:root[data-theme="dark"] .tool-menu-item .ico { background: var(--brand-soft); color: var(--brand); }
:root[data-theme="dark"] .tool-menu-item span { color: var(--muted); }
:root[data-theme="dark"] .hero { background: linear-gradient(180deg, #0a1a16 0%, var(--page-bg) 100%); }
:root[data-theme="dark"] h1, :root[data-theme="dark"] h2, :root[data-theme="dark"] h3, :root[data-theme="dark"] h4, :root[data-theme="dark"] h5, :root[data-theme="dark"] h6 { color: var(--ink); }
:root[data-theme="dark"] .hero h1 { color: var(--ink); }
:root[data-theme="dark"] .tool-card, :root[data-theme="dark"] .feature, :root[data-theme="dark"] .who, :root[data-theme="dark"] .tool-promo, :root[data-theme="dark"] .post-card, :root[data-theme="dark"] .stat-strip { background: var(--card); border-color: var(--line); color: var(--text); }
:root[data-theme="dark"] .tool-result { background: #141a20; }
:root[data-theme="dark"] .tool-input textarea, :root[data-theme="dark"] .form-control, :root[data-theme="dark"] .form-select { background: #0f1419; color: var(--ink); border-color: var(--line); }
:root[data-theme="dark"] .tool-input textarea.code-area { background: #0b0f14; }
:root[data-theme="dark"] .tool-input { border-right-color: var(--line); }
:root[data-theme="dark"] .tool-tabs { background: var(--card); border-color: var(--line); }
:root[data-theme="dark"] .tool-tabs a, :root[data-theme="dark"] .tool-tabs button { color: var(--text); }
:root[data-theme="dark"] .tool-tabs a:hover, :root[data-theme="dark"] .tool-tabs button:hover { background: var(--bg); color: var(--ink); }
:root[data-theme="dark"] .dropzone { background: #0f1419; border-color: #3a4048; }
:root[data-theme="dark"] .dropzone:hover, :root[data-theme="dark"] .dropzone.drag { background: var(--brand-soft); border-color: var(--brand); }
:root[data-theme="dark"] .btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
:root[data-theme="dark"] .btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
:root[data-theme="dark"] .btn-outline-brand { background: transparent; color: var(--brand); border-color: var(--brand); }
:root[data-theme="dark"] .btn-outline-brand:hover { background: var(--brand); color: #0b0f14; }
:root[data-theme="dark"] .bg-soft { background: #0d1216; }
:root[data-theme="dark"] .accordion-item { background: var(--card); border-color: var(--line); color: var(--text); }
:root[data-theme="dark"] .accordion-button { background: var(--card); color: var(--ink); }
:root[data-theme="dark"] .accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand); box-shadow: none; }
:root[data-theme="dark"] .accordion-button::after { filter: invert(1); }
:root[data-theme="dark"] .accordion-body { background: var(--card); color: var(--text); }
:root[data-theme="dark"] .small-muted, :root[data-theme="dark"] .text-muted { color: var(--muted) !important; }
:root[data-theme="dark"] a { color: var(--brand); }
:root[data-theme="dark"] a:hover { color: var(--brand-dark); }
:root[data-theme="dark"] .form-control:focus, :root[data-theme="dark"] .form-select:focus { background: #0f1419; color: var(--ink); border-color: var(--brand); box-shadow: 0 0 0 3px rgba(39,215,167,0.15); }
:root[data-theme="dark"] .table { color: var(--text); --bs-table-color: var(--text); --bs-table-bg: transparent; --bs-table-border-color: var(--line); }
:root[data-theme="dark"] .card { background: var(--card); border-color: var(--line); color: var(--text); }
:root[data-theme="dark"] .announce { background: var(--brand-dark); color: #0b0f14; }
:root[data-theme="dark"] input::placeholder, :root[data-theme="dark"] textarea::placeholder { color: #5c6572; }

/* ---------- Sağ üst araçlar: tema + dil ---------- */
.header-tools { gap: .35rem; }
.icon-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .95rem;
  transition: all .15s;
  padding: 0;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.icon-btn.dropdown-toggle { width: auto; min-width: 38px; padding: 0 .55rem; gap: .35rem; }
.icon-btn.dropdown-toggle::after { margin-left: .25rem; opacity: .6; }
.theme-toggle .theme-icon-light { display: none; }
.theme-toggle .theme-icon-dark { display: inline; }
:root[data-theme="dark"] .theme-toggle .theme-icon-light { display: inline; color: #ffd166; }
:root[data-theme="dark"] .theme-toggle .theme-icon-dark { display: none; }
.lang-switch .flag { width: 22px; height: 15px; display: inline-block; vertical-align: middle; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.lang-switch .flag svg { width: 100%; height: 100%; display: block; }
.lang-menu { min-width: 200px; max-height: 400px; overflow-y: auto; }
.lang-menu .flag { width: 22px; height: 15px; display: inline-block; vertical-align: middle; border-radius: 2px; overflow: hidden; }
.lang-menu .flag svg { width: 100%; height: 100%; display: block; }
.lang-menu .dropdown-item { display: flex; align-items: center; padding: .45rem .75rem; font-size: .9rem; }
.lang-menu .dropdown-item.active { background: var(--brand-soft); color: var(--brand-dark); }
:root[data-theme="dark"] .lang-menu .dropdown-item.active { color: var(--brand); }
/* RTL ayarlamaları */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .me-1, html[dir="rtl"] .me-2 { margin-right: 0 !important; margin-left: .5rem !important; }
html[dir="rtl"] .ms-1, html[dir="rtl"] .ms-2, html[dir="rtl"] .ms-auto { margin-left: 0 !important; }
html[dir="rtl"] .dropdown-menu-end { left: 0 !important; right: auto !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: #fff; font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 600; line-height: 1.25; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
.text-brand { color: var(--brand) !important; }
.text-navy { color: var(--navy) !important; }
.text-accent { color: var(--accent) !important; }
.bg-soft { background: var(--bg); }
.fw-600 { font-weight: 600; }
.small-muted { font-size: .85rem; color: var(--muted); }
::selection { background: var(--brand); color: #fff; }

/* ---------- Butonlar ---------- */
.btn { font-weight: 500; border-radius: 10px; padding: .6rem 1.25rem; transition: all .15s; }
.btn-sm { padding: .35rem .8rem; border-radius: 8px; }
.btn-lg { padding: .8rem 1.8rem; font-size: 1.02rem; }
.btn-brand { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-600); border-color: var(--accent-600); color: #fff; }
.btn-outline-brand { border: 1.5px solid var(--brand); color: var(--brand-dark); background: #fff; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn:disabled { opacity: .65; }

/* ---------- Duyuru + Üst menü ---------- */
.announce { background: var(--brand-dark); color: #fff; font-size: .85rem; text-align: center; padding: .45rem 1rem; }
.announce a { color: #ffd38a; text-decoration: underline; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1030; }
.site-header .navbar { padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; }
.brand:hover { color: var(--ink); }
.site-header .nav-link { color: var(--ink); font-weight: 500; font-size: .93rem; padding: .5rem .85rem !important; border-radius: 8px; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand-dark); background: var(--brand-soft); }
.site-header .dropdown-menu { border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .5rem; min-width: 290px; }
.tool-menu-item { display: flex; gap: .75rem; padding: .6rem .7rem; border-radius: 10px; color: var(--ink); }
.tool-menu-item:hover { background: var(--brand-soft); color: var(--ink); }
.tool-menu-item .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-dark); flex: none; }
.tool-menu-item strong { display: block; font-size: .92rem; font-weight: 600; }
.tool-menu-item span { font-size: .78rem; color: var(--muted); line-height: 1.35; display: block; }
.plans-link { color: var(--accent-600) !important; }
.plans-link i { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #f2faf7 0%, #fff 100%); padding: 3rem 0 1.5rem; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: var(--navy); }
.hero .lead { font-size: 1.02rem; color: var(--text); max-width: 760px; margin: .75rem auto 0; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.2rem; margin-top: 1rem; font-size: .85rem; color: var(--muted); }
.hero-badges i { color: var(--brand); margin-right: .3rem; }

/* ---------- Araç (dedektör) ---------- */
.tool-tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 5px; gap: 4px; box-shadow: var(--shadow); }
.tool-tabs a, .tool-tabs button { border: 0; background: transparent; color: var(--ink); font-weight: 500; padding: .55rem 1.2rem; border-radius: 10px; font-size: .93rem; display: inline-flex; align-items: center; gap: .45rem; }
.tool-tabs a:hover, .tool-tabs button:hover { background: var(--bg); color: var(--ink); }
.tool-tabs .active { background: var(--brand); color: #fff !important; }
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.tool-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.tool-input { padding: 1.25rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 470px; }
.tool-pane:not([hidden]) { flex: 1; display: flex; flex-direction: column; }
.tool-result { padding: 1.25rem; background: #fcfdfd; display: flex; flex-direction: column; }
.tool-label { font-weight: 600; color: var(--ink); font-size: .95rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.tool-input textarea { flex: 1; width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; resize: vertical; font-size: .95rem; line-height: 1.7; color: var(--ink); min-height: 320px; outline: none; transition: border-color .15s; }
.tool-input textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18, 163, 124, .12); }
.tool-input textarea.code-area { font-family: 'JetBrains Mono', Consolas, 'Courier New', monospace; font-size: .85rem; line-height: 1.6; white-space: pre; tab-size: 4; background: #fbfbfc; }
.tool-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .9rem; flex-wrap: wrap; }
.tool-actions .counter { font-size: .85rem; color: var(--muted); }
.tool-actions .counter b { color: var(--ink); font-weight: 600; }
.tool-actions .counter.over b { color: var(--ai); }
.link-btn { background: none; border: 0; color: var(--brand-dark); font-size: .85rem; padding: 0; font-weight: 500; }
.link-btn:hover { color: var(--brand); text-decoration: underline; }
.dropzone { flex: 1; border: 2px dashed #cfd8d5; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem 1rem; cursor: pointer; transition: all .15s; background: #fbfdfc; min-height: 320px; position: relative; }
.dropzone:hover, .dropzone.drag { border-color: var(--brand); background: var(--brand-soft); }
.dropzone .dz-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 1rem; }
.dropzone img.preview { max-width: 100%; max-height: 300px; border-radius: 10px; box-shadow: var(--shadow); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.lang-select { max-width: 190px; font-size: .85rem; border-radius: 8px; }

/* Sonuç paneli */
.gauge-wrap { text-align: center; padding: .5rem 0 1rem; }
.gauge { position: relative; width: 210px; height: 118px; margin: 0 auto; }
.gauge svg { width: 210px; height: 118px; }
.gauge .val { position: absolute; left: 0; right: 0; bottom: 4px; font-size: 2.3rem; font-weight: 700; color: var(--ink); line-height: 1; }
.gauge .val small { font-size: 1rem; font-weight: 600; }
.verdict { display: inline-block; margin-top: .6rem; font-weight: 600; font-size: .95rem; padding: .3rem .9rem; border-radius: 30px; }
.verdict.tone-danger { background: var(--ai-soft); color: #c4262c; }
.verdict.tone-warning { background: #fff3df; color: #b86b00; }
.verdict.tone-secondary { background: #eef0f2; color: #555; }
.verdict.tone-info { background: #e6f2fb; color: #1f6fa8; }
.verdict.tone-success { background: var(--human-soft); color: var(--brand-dark); }
.split-bar { display: flex; height: 10px; border-radius: 10px; overflow: hidden; background: var(--line); margin: 1rem 0 .4rem; }
.split-bar .ai { background: var(--ai); }
.split-bar .hu { background: var(--human); }
.split-legend { display: flex; justify-content: space-between; font-size: .82rem; }
.split-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .35rem; }
.result-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); padding: 1.5rem; }
.result-empty .big-ico { width: 74px; height: 74px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 1rem; }
.result-steps { list-style: none; padding: 0; margin: 1rem 0 0; text-align: left; font-size: .85rem; }
.result-steps li { padding: .25rem 0; }
.result-steps li i { color: var(--brand); width: 20px; }
.scanning { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.scanning .ring { width: 64px; height: 64px; border-radius: 50%; border: 5px solid var(--brand-soft); border-top-color: var(--brand); animation: spin 1s linear infinite; margin-bottom: 1rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.signals { list-style: none; padding: 0; margin: .5rem 0 0; }
.signals li { display: flex; gap: .6rem; padding: .6rem 0; border-top: 1px solid var(--line); font-size: .84rem; line-height: 1.5; }
.signals li:first-child { border-top: 0; }
.signals .sig-ico { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: .75rem; margin-top: 2px; }
.signals .ai .sig-ico { background: var(--ai-soft); color: var(--ai); }
.signals .human .sig-ico { background: var(--human-soft); color: var(--human); }
.signals .neutral .sig-ico { background: #eef0f2; color: #777; }
.signals strong { color: var(--ink); font-weight: 600; display: block; font-size: .86rem; }
.meta-table { width: 100%; font-size: .84rem; }
.meta-table td { padding: .35rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.meta-table td:first-child { color: var(--muted); width: 42%; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .75rem 0; }
.mini-stats div { background: var(--bg); border-radius: 10px; padding: .5rem; text-align: center; }
.mini-stats b { display: block; color: var(--ink); font-size: 1rem; }
.mini-stats span { font-size: .72rem; color: var(--muted); }
.result-note { font-size: .8rem; background: var(--accent-soft); color: #8a5a00; border-radius: 10px; padding: .6rem .8rem; margin-top: .75rem; }
.upgrade-box { background: var(--accent-soft); border: 1px solid #ffe0ad; border-radius: 12px; padding: 1rem; text-align: center; font-size: .9rem; }

/* Vurgulu metin ve kod */
.highlighted { font-size: .95rem; line-height: 1.85; color: var(--ink); white-space: pre-wrap; }
.hl { border-radius: 4px; padding: 1px 2px; }
.hl.s-ai { background: #fdd9d9; }
.hl.s-ai2 { background: #ffe9c7; }
.hl.s-mix { background: #f1f1f1; }
.hl.s-hu { background: transparent; }
.hl-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; color: var(--muted); }
.hl-legend span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.hl-legend .l-ai::before { background: #fdd9d9; }
.hl-legend .l-ai2::before { background: #ffe9c7; }
.hl-legend .l-hu::before { background: #fff; border: 1px solid var(--line); }
.code-view { font-family: 'JetBrains Mono', Consolas, monospace; font-size: .82rem; background: #0f1720; color: #dbe4ea; border-radius: 12px; overflow: auto; max-height: 560px; padding: .75rem 0; }
.code-view .ln { display: flex; white-space: pre; padding: 0 1rem 0 0; }
.code-view .ln .no { width: 3.2rem; flex: none; text-align: right; padding-right: 1rem; color: #5f7380; user-select: none; }
.code-view .ln.m-ai { background: rgba(229, 72, 77, .22); }
.code-view .ln.m-human { background: rgba(18, 163, 124, .22); }
.code-view .ln .tag { margin-left: 1rem; font-size: .72rem; color: #ffd38a; font-family: 'Poppins', sans-serif; }
.result-detail { border-top: 1px solid var(--line); padding: 1.25rem; }

/* ---------- Bölümler ---------- */
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-title h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--navy); }
.section-title p { color: var(--muted); margin: .5rem 0 0; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--brand-dark); background: var(--brand-soft); border-radius: 30px; padding: .25rem .8rem; margin-bottom: .75rem; letter-spacing: .02em; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; height: 100%; transition: all .2s; }
.feature:hover { border-color: #bfe5d8; box-shadow: var(--shadow); transform: translateY(-2px); }
.feature .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-dark); font-size: 1.2rem; margin-bottom: 1rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.feature p { font-size: .9rem; margin: 0; color: var(--text); }
.step { text-align: center; padding: 0 .5rem; }
.step .num { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; background: #fff; color: var(--brand-dark); font-weight: 700; font-size: 1.2rem; border: 2px solid var(--brand); }
.step h3 { font-size: 1.02rem; }
.step p { font-size: .88rem; }
.tool-promo { border-radius: 18px; padding: 1.75rem; height: 100%; color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.tool-promo h3 { color: #fff; font-size: 1.25rem; }
.tool-promo p { color: rgba(255, 255, 255, .88); font-size: .9rem; flex: 1; }
.tool-promo .big { font-size: 2.2rem; opacity: .95; margin-bottom: .8rem; }
.tool-promo.p-text { background: linear-gradient(135deg, #12a37c, #065f51); }
.tool-promo.p-image { background: linear-gradient(135deg, #0c2e60, #1d5aa8); }
.tool-promo.p-code { background: linear-gradient(135deg, #2b2f3a, #11141a); }
.tool-promo .btn { align-self: flex-start; background: #fff; color: var(--ink); }
.tool-promo .chip { display: inline-block; font-size: .72rem; background: rgba(255, 255, 255, .16); border-radius: 20px; padding: .15rem .6rem; margin: 0 .25rem .35rem 0; }
.stat-strip { background: var(--navy); color: #fff; border-radius: 18px; padding: 2rem 1rem; }
.stat-strip .n { font-size: 2rem; font-weight: 700; color: #fff; line-height: 1.1; }
.stat-strip .l { font-size: .85rem; color: #b9c7dd; }
.who { display: flex; gap: 1rem; align-items: flex-start; }
.who .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; flex: none; }
.who h3 { font-size: 1rem; margin-bottom: .2rem; }
.who p { font-size: .88rem; margin: 0; }
.cta-band { background: linear-gradient(135deg, var(--brand-dark), #0b7a63); color: #fff; border-radius: 20px; padding: 2.5rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7efe8; }
.faq .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: .6rem; overflow: hidden; }
.faq .accordion-button { font-weight: 500; color: var(--ink); font-size: .95rem; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--brand-dark); background: var(--brand-soft); }
.faq .accordion-body { font-size: .9rem; }

/* ---------- Fiyatlar (paraphraser.io fiyat tablosu düzeni) ---------- */
.pricing-head { text-align: center; padding: 3rem 0 1rem; }
.pricing-head h1 { color: var(--navy); font-weight: 700; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.period-toggle { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 30px; padding: 4px; margin-top: 1rem; }
.period-toggle button { border: 0; background: transparent; border-radius: 30px; padding: .45rem 1.3rem; font-weight: 500; font-size: .9rem; color: var(--ink); }
.period-toggle button.active { background: var(--brand-dark); color: #fff; }
.period-toggle .save { font-size: .7rem; background: var(--accent); color: #fff; border-radius: 20px; padding: .1rem .45rem; margin-left: .3rem; }
.price-table { display: grid; grid-template-columns: 1.05fr repeat(4, 1fr); border: 1px solid #dddcdb; border-radius: 18px; overflow: hidden; background: #fff; }
.price-col { border-left: 1px solid #dddcdb; display: flex; flex-direction: column; position: relative; }
.price-col:first-child { border-left: 0; background: #fcfcfc; }
.price-col.featured { background: #f2faf7; box-shadow: inset 0 0 0 2px var(--brand); }
.price-col .head { padding: 1.5rem 1.25rem 1rem; min-height: 190px; text-align: center; }
.price-col:first-child .head { text-align: left; display: flex; flex-direction: column; justify-content: center; }
.price-badge { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 2rem; margin-bottom: .75rem; }
.pkg-name { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.pkg-tag { font-size: .78rem; color: var(--muted); min-height: 2.4em; line-height: 1.35; margin-top: .2rem; }
.pkg-price { margin-top: .6rem; color: var(--muted); font-size: .85rem; }
.pkg-price b { font-size: 2rem; color: var(--ink); font-weight: 600; letter-spacing: -.02em; }
.pkg-price s { color: #b5b5b5; margin-right: .3rem; }
.popular { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; padding: .2rem .8rem; border-radius: 0 0 10px 10px; white-space: nowrap; }
.price-col.featured .head { padding-top: 2.1rem; }
.feature .popular { top: -1px; }
.price-col .cta { padding: 0 1.25rem 1rem; text-align: center; }
.price-col .cta .btn { width: 100%; }
.feat-rows { list-style: none; padding: 0; margin: 0; }
.feat-rows li { height: 50px; display: flex; align-items: center; justify-content: center; border-top: 1px solid #ededed; font-size: .88rem; color: var(--ink); padding: 0 .75rem; text-align: center; }
.price-col:first-child .feat-rows li { justify-content: flex-start; font-weight: 600; color: #333; padding-left: 1.25rem; }
.feat-rows .fa-check { color: var(--brand); }
.feat-rows .fa-xmark { color: #c9c9c9; }
.feat-rows .lbl { display: none; }
.pricing-note { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 1rem; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; font-size: .88rem; color: var(--text); }
.trust-row i { color: var(--brand); margin-right: .35rem; }

/* ---------- Sayfa / blog ---------- */
.page-head { background: linear-gradient(180deg, #f2faf7, #fff); padding: 2.75rem 0 1.5rem; }
.page-head h1 { color: var(--navy); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose { font-size: .98rem; line-height: 1.8; color: var(--text); }
.prose h2, .prose h3 { margin: 1.6rem 0 .6rem; color: var(--navy); }
.prose h3 { font-size: 1.15rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; height: 100%; background: #fff; display: block; color: var(--text); transition: all .2s; }
.post-card:hover { box-shadow: var(--shadow); border-color: #bfe5d8; color: var(--text); }
.post-card h3 { font-size: 1.05rem; color: var(--ink); }
.post-card .date { font-size: .78rem; color: var(--muted); }
.code-block { background: #0f1720; color: #dbe4ea; border-radius: 12px; padding: 1rem 1.2rem; font-family: 'JetBrains Mono', Consolas, monospace; font-size: .82rem; overflow-x: auto; white-space: pre; }
.endpoint { display: inline-flex; gap: .5rem; align-items: center; font-family: Consolas, monospace; font-size: .9rem; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: .3rem .7rem; }
.endpoint .m { font-weight: 700; color: #fff; background: var(--brand); border-radius: 5px; padding: 0 .4rem; font-size: .75rem; }
.endpoint .m.get { background: #1f6fa8; }

/* ---------- Giriş / kayıt ---------- */
.auth-wrap { min-height: calc(100vh - 140px); display: flex; align-items: center; padding: 2.5rem 0; background: linear-gradient(180deg, #f2faf7, #fff); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 2rem; max-width: 440px; width: 100%; margin: 0 auto; }
.auth-card h1 { font-size: 1.45rem; color: var(--navy); font-weight: 700; }
.form-control, .form-select { border-radius: 10px; border-color: #dcdcdc; padding: .6rem .85rem; font-size: .93rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18, 163, 124, .12); }
.form-label { font-weight: 500; font-size: .88rem; color: var(--ink); margin-bottom: .3rem; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }

/* ---------- Panel ---------- */
.panel-wrap { background: var(--bg); min-height: calc(100vh - 70px); padding: 2rem 0 3rem; }
.side-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem; position: sticky; top: 90px; }
.side-nav a { display: flex; align-items: center; gap: .7rem; padding: .62rem .85rem; border-radius: 10px; color: var(--ink); font-size: .9rem; font-weight: 500; }
.side-nav a i { width: 18px; text-align: center; color: var(--muted); }
.side-nav a:hover { background: var(--bg); }
.side-nav a.active { background: var(--brand-soft); color: var(--brand-dark); }
.side-nav a.active i { color: var(--brand); }
.side-nav .sep { height: 1px; background: var(--line); margin: .4rem .5rem; }
.side-nav .badge { margin-left: auto; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; }
.pcard-title { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; height: 100%; }
.kpi .l { font-size: .8rem; color: var(--muted); }
.kpi .v { font-size: 1.55rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.kpi .ico { float: right; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-dark); }
.quota-row { margin-bottom: 1rem; }
.quota-row .top { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: .35rem; }
.quota-row .top b { color: var(--ink); font-weight: 600; }
.progress { height: 8px; border-radius: 8px; background: #edf0ef; }
.progress-bar { background: var(--brand); border-radius: 8px; }
.progress-bar.warn { background: var(--accent); }
.progress-bar.full { background: var(--ai); }
.plan-pill { display: inline-flex; align-items: center; gap: .35rem; background: var(--accent-soft); color: var(--accent-600); font-weight: 600; font-size: .78rem; border-radius: 20px; padding: .2rem .7rem; }
.table-clean { font-size: .88rem; margin: 0; }
.table-clean th { font-weight: 600; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; border-bottom-width: 1px; white-space: nowrap; }
.table-clean td { vertical-align: middle; border-color: #f0f0f0; }
.score-pill { display: inline-block; min-width: 52px; text-align: center; font-weight: 600; font-size: .8rem; border-radius: 20px; padding: .15rem .55rem; }
.score-pill.hi { background: var(--ai-soft); color: #c4262c; }
.score-pill.mid { background: #fff3df; color: #b86b00; }
.score-pill.lo { background: var(--human-soft); color: var(--brand-dark); }
.kind-ico { width: 32px; height: 32px; border-radius: 8px; display: inline-grid; place-items: center; background: var(--bg); color: var(--brand-dark); font-size: .85rem; }
.api-key { font-family: Consolas, monospace; background: var(--bg); border: 1px dashed #cdd; border-radius: 10px; padding: .7rem 1rem; word-break: break-all; font-size: .9rem; }
.bank-box { background: var(--brand-soft); border-radius: 12px; padding: 1rem 1.2rem; }
.bank-box .row-i { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed #bfe0d5; font-size: .9rem; }
.bank-box .row-i:last-child { border-bottom: 0; }
.bank-box b { color: var(--ink); font-weight: 600; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: 10px; }
.chart-bars .b { flex: 1; background: var(--brand); border-radius: 6px 6px 0 0; min-height: 2px; position: relative; }
.chart-bars .b:hover { background: var(--brand-dark); }
.chart-bars .b span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: .68rem; color: var(--muted); }
.chart-days { display: flex; gap: 6px; font-size: .62rem; color: var(--muted); margin-top: 4px; }
.chart-days span { flex: 1; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #0b2a24; color: #b7cbc5; padding: 3.5rem 0 1.5rem; font-size: .9rem; margin-top: 0; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 1rem; }
.site-footer a { color: #b7cbc5; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.social a { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .08); margin-right: .4rem; }

/* ---------- Mobil ---------- */
@media (max-width: 1199px) {
  .price-table { grid-template-columns: repeat(2, 1fr); gap: 1rem; border: 0; background: transparent; overflow: visible; }
  .price-col { border: 1px solid #dddcdb !important; border-radius: 16px; background: #fff; overflow: hidden; }
  .price-col:first-child { display: none; }
  .feat-rows li { justify-content: space-between; height: auto; padding: .6rem 1.1rem; text-align: right; }
  .feat-rows .lbl { display: inline; color: var(--muted); font-weight: 400; text-align: left; margin-right: .5rem; }
}
@media (max-width: 991px) {
  .tool-grid { grid-template-columns: 1fr; }
  .tool-input { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .side-nav { position: static; display: flex; overflow-x: auto; gap: .25rem; margin-bottom: 1rem; }
  .side-nav a { white-space: nowrap; }
  .side-nav .sep { display: none; }
}
@media (max-width: 767px) {
  .price-table { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .tool-tabs { display: flex; width: 100%; }
  .tool-tabs a, .tool-tabs button { flex: 1; justify-content: center; padding: .55rem .4rem; font-size: .85rem; }
  .hero { padding: 2rem 0 1rem; }
  .cta-band { padding: 1.75rem; }
  .tool-input textarea { min-height: 240px; }
  .tool-label { flex-wrap: wrap; }
  .tool-label > span:last-child { width: 100%; justify-content: space-between; }
  .lang-select { max-width: 60%; }
}


