/* ==========================================================================
   WebTools Pro – tasarım sistemi (Bootstrap 5.3 üzerine)
   ========================================================================== */
:root {
  --wt-primary: #6366f1;
  --wt-primary-2: #8b5cf6;
  --wt-primary-rgb: 99, 102, 241;
  --wt-accent: #3b82f6;
  --wt-navy: #0b1020;
  --wt-bg: #f5f6fb;
  --wt-surface: #ffffff;
  --wt-surface-2: #f1f3f9;
  --wt-border: #e4e7f0;
  --wt-text: #0f172a;
  --wt-muted: #64748b;
  --wt-radius: 14px;
  --wt-radius-sm: 10px;
  --wt-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 14px rgba(15, 23, 42, .05);
  --wt-shadow-lg: 0 10px 34px rgba(15, 23, 42, .12);
  --wt-grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 55%, #3b82f6 100%);
  --wt-sidebar-w: 264px;
  --wt-header-h: 64px;
  --bs-primary: #6366f1;
  --bs-primary-rgb: 99, 102, 241;
  --bs-link-color: #4f46e5;
  --bs-link-color-rgb: 79, 70, 229;
  --bs-link-hover-color: #4338ca;
  --bs-body-bg: var(--wt-bg);
  --bs-body-color: var(--wt-text);
  --bs-border-color: var(--wt-border);
  --bs-body-font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-border-radius: 10px;
  --bs-border-radius-lg: 14px;
  --bs-success-rgb: 16, 185, 129;
  --bs-warning-rgb: 245, 158, 11;
  --bs-danger-rgb: 239, 68, 68;
  --bs-info-rgb: 59, 130, 246;
  --c-pass: #10b981; --c-warn: #f59e0b; --c-fail: #ef4444; --c-info: #3b82f6;
}
[data-bs-theme="dark"] {
  --wt-bg: #0a0f1f;
  --wt-surface: #121936;
  --wt-surface-2: #182044;
  --wt-border: #232c52;
  --wt-text: #e6e9f5;
  --wt-muted: #97a1c4;
  --wt-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
  --wt-shadow-lg: 0 14px 40px rgba(0, 0, 0, .5);
  --bs-body-bg: var(--wt-bg);
  --bs-body-color: var(--wt-text);
  --bs-secondary-color: var(--wt-muted);
  --bs-border-color: var(--wt-border);
  --bs-tertiary-bg: var(--wt-surface-2);
  --bs-link-color: #a5b4fc;
  --bs-link-color-rgb: 165, 180, 252;
  --bs-link-hover-color: #c7d2fe;
}

html { scroll-behavior: smooth; }
body { background: var(--wt-bg); color: var(--wt-text); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.01em; color: var(--wt-text); }
a { text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: rgba(var(--wt-primary-rgb), .25); }
:focus-visible { outline: 2px solid var(--wt-primary); outline-offset: 2px; border-radius: 6px; }
.text-muted, .text-secondary { color: var(--wt-muted) !important; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--wt-primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 3000; }
.skip-link:focus { left: 8px; }

/* ---------- Simgeler ---------- */
.icon { width: 1.15em; height: 1.15em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; flex-shrink: 0; }
.icon-lg { width: 1.5em; height: 1.5em; }
.icon-xl { width: 2em; height: 2em; }
.icon-box { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(var(--wt-primary-rgb), .12); color: var(--wt-primary); }
.icon-box .icon { width: 22px; height: 22px; }
.icon-box.sm { width: 36px; height: 36px; border-radius: 10px; } .icon-box.sm .icon { width: 18px; height: 18px; }

/* ---------- Düğmeler ve formlar ---------- */
.btn { font-weight: 600; border-radius: 10px; padding: .55rem 1.1rem; transition: transform .12s, box-shadow .15s, background .15s; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .8rem 1.5rem; border-radius: 12px; font-size: 1rem; }
.btn-sm { padding: .3rem .7rem; border-radius: 8px; font-size: .85rem; }
.btn-primary { background: var(--wt-grad); border: 0; color: #fff; box-shadow: 0 4px 14px rgba(var(--wt-primary-rgb), .35); }
.btn-primary:hover, .btn-primary:focus { background: var(--wt-grad); filter: brightness(1.08); color: #fff; box-shadow: 0 6px 20px rgba(var(--wt-primary-rgb), .45); }
.btn-primary:disabled { opacity: .6; box-shadow: none; }
.btn-soft { background: rgba(var(--wt-primary-rgb), .1); color: var(--wt-primary); border: 0; }
.btn-soft:hover { background: rgba(var(--wt-primary-rgb), .18); color: var(--wt-primary); }
[data-bs-theme="dark"] .btn-soft { color: #c7d2fe; }
.btn-outline-secondary { --bs-btn-color: var(--wt-text); --bs-btn-border-color: var(--wt-border); --bs-btn-hover-bg: var(--wt-surface-2); --bs-btn-hover-color: var(--wt-text); --bs-btn-hover-border-color: var(--wt-border); --bs-btn-active-bg: var(--wt-surface-2); --bs-btn-active-color: var(--wt-text); }
.btn-icon { width: 38px; height: 38px; padding: 0; border-radius: 10px; }
.form-control, .form-select { background-color: var(--wt-surface); border-color: var(--wt-border); border-radius: 10px; padding: .6rem .85rem; color: var(--wt-text); }
.form-control-lg, .form-select-lg { padding: .8rem 1rem; border-radius: 12px; }
.form-control:focus, .form-select:focus { border-color: var(--wt-primary); box-shadow: 0 0 0 .22rem rgba(var(--wt-primary-rgb), .18); background-color: var(--wt-surface); color: var(--wt-text); }
.form-control::placeholder { color: color-mix(in srgb, var(--wt-muted) 70%, transparent); }
.form-label { font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.form-text { color: var(--wt-muted); }
.form-check-input:checked { background-color: var(--wt-primary); border-color: var(--wt-primary); }
.form-switch .form-check-input { width: 2.4em; height: 1.3em; }
textarea.form-control { min-height: 110px; }
textarea.mono, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88rem; }
.input-group-text { background: var(--wt-surface-2); border-color: var(--wt-border); color: var(--wt-muted); }

/* ---------- Kartlar ---------- */
.card-x { background: var(--wt-surface); border: 1px solid var(--wt-border); border-radius: var(--wt-radius); box-shadow: var(--wt-shadow); }
.card-x > .card-head { padding: 1rem 1.25rem; border-bottom: 1px solid var(--wt-border); display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.card-x > .card-head h2, .card-x > .card-head h3 { font-size: 1rem; margin: 0; }
.card-x > .card-body-x { padding: 1.25rem; }
.card-hover { transition: transform .18s, box-shadow .18s, border-color .18s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--wt-shadow-lg); border-color: rgba(var(--wt-primary-rgb), .45); }
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .4rem; }
.section-sub { color: var(--wt-muted); max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wt-primary); background: rgba(var(--wt-primary-rgb), .1); padding: .3rem .75rem; border-radius: 999px; }
.badge-soft { background: rgba(var(--wt-primary-rgb), .12); color: var(--wt-primary); font-weight: 600; border-radius: 999px; padding: .3em .7em; }
[data-bs-theme="dark"] .badge-soft { color: #c7d2fe; }
.badge-soft.success { background: rgba(16, 185, 129, .14); color: #059669; } [data-bs-theme="dark"] .badge-soft.success { color: #6ee7b7; }
.badge-soft.warning { background: rgba(245, 158, 11, .16); color: #b45309; } [data-bs-theme="dark"] .badge-soft.warning { color: #fcd34d; }
.badge-soft.danger { background: rgba(239, 68, 68, .14); color: #dc2626; } [data-bs-theme="dark"] .badge-soft.danger { color: #fca5a5; }
.badge-soft.info { background: rgba(59, 130, 246, .14); color: #2563eb; } [data-bs-theme="dark"] .badge-soft.info { color: #93c5fd; }
.badge-soft.muted { background: var(--wt-surface-2); color: var(--wt-muted); }

/* ---------- Üst menü (genel site) ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: color-mix(in srgb, var(--wt-surface) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--wt-border); }
.site-header .bar { height: var(--wt-header-h); display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; color: var(--wt-text); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; color: var(--wt-text); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--wt-grad); display: inline-flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 12px rgba(var(--wt-primary-rgb), .4); }
.brand-mark .icon { width: 19px; height: 19px; }
.brand img { height: 34px; width: auto; }
.nav-main { display: flex; gap: .15rem; margin-left: 1rem; }
.nav-main a { color: var(--wt-muted); font-weight: 600; padding: .45rem .8rem; border-radius: 9px; font-size: .92rem; }
.nav-main a:hover, .nav-main a.active { color: var(--wt-text); background: var(--wt-surface-2); text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.header-search { position: relative; width: 260px; }
.header-search .form-control { padding-left: 2.3rem; height: 40px; background: var(--wt-surface-2); border-color: transparent; }
.header-search .icon { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--wt-muted); width: 1em; height: 1em; pointer-events: none; }
.menu-toggle { display: none; }
.dropdown-menu { border-radius: 12px; border: 1px solid var(--wt-border); box-shadow: var(--wt-shadow-lg); background: var(--wt-surface); padding: .4rem; }
.dropdown-item { border-radius: 8px; padding: .5rem .75rem; color: var(--wt-text); display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.dropdown-item:hover { background: var(--wt-surface-2); color: var(--wt-text); }
.dropdown-divider { border-color: var(--wt-border); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--wt-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; object-fit: cover; flex-shrink: 0; }
.avatar-lg { width: 84px; height: 84px; font-size: 2rem; }
.notif-dot { position: absolute; top: 6px; right: 7px; min-width: 16px; height: 16px; border-radius: 8px; background: #ef4444; color: #fff; font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.live-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--wt-surface); border: 1px solid var(--wt-border); border-radius: 14px; box-shadow: var(--wt-shadow-lg); z-index: 1050; max-height: 420px; overflow: auto; padding: .4rem; display: none; text-align: left; }
.live-results.show { display: block; }
.live-results a { display: flex; gap: .7rem; align-items: center; padding: .55rem .65rem; border-radius: 10px; color: var(--wt-text); }
.live-results a:hover, .live-results a.sel { background: var(--wt-surface-2); text-decoration: none; }
.live-results small { color: var(--wt-muted); display: block; line-height: 1.3; }
.live-results .none { padding: 1rem; color: var(--wt-muted); text-align: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 3.5rem; background: radial-gradient(1100px 500px at 15% -10%, rgba(99, 102, 241, .22), transparent 60%), radial-gradient(900px 420px at 95% 0%, rgba(59, 130, 246, .18), transparent 60%); }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.hero h1 .grad, .grad-text { background: var(--wt-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--wt-muted); font-size: 1.12rem; max-width: 620px; margin-inline: auto; }
.hero-search { position: relative; max-width: 680px; margin: 1.8rem auto 0; }
.hero-search .form-control { height: 60px; padding-left: 3.2rem; padding-right: 8.5rem; border-radius: 16px; font-size: 1.05rem; box-shadow: var(--wt-shadow-lg); border-color: transparent; }
.hero-search > .icon { position: absolute; left: 1.1rem; top: 19px; width: 22px; height: 22px; color: var(--wt-muted); pointer-events: none; }
.hero-search .btn { position: absolute; right: 8px; top: 8px; height: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.1rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; background: var(--wt-surface); border: 1px solid var(--wt-border); color: var(--wt-text); font-size: .86rem; font-weight: 600; }
.chip:hover { border-color: var(--wt-primary); color: var(--wt-primary); text-decoration: none; }
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.stat-pill { text-align: center; padding: 1.2rem .5rem; }
.stat-pill b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; background: var(--wt-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-pill span { color: var(--wt-muted); font-size: .88rem; font-weight: 600; }

/* ---------- Araç kartları ---------- */
.tool-card { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem; height: 100%; color: var(--wt-text); position: relative; }
.tool-card:hover { text-decoration: none; color: var(--wt-text); }
.tool-card .t-name { font-weight: 700; font-size: .98rem; margin: 0 0 .15rem; line-height: 1.3; }
.tool-card .t-desc { color: var(--wt-muted); font-size: .84rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tool-card .t-badges { position: absolute; top: .7rem; right: .7rem; display: flex; gap: .3rem; }
.tool-card .t-badges .badge-soft { font-size: .68rem; padding: .2em .55em; }
.fav-btn { color: var(--wt-muted); background: none; border: 0; padding: .25rem; border-radius: 8px; line-height: 1; }
.fav-btn:hover { color: #f59e0b; background: var(--wt-surface-2); }
.fav-btn.active { color: #f59e0b; } .fav-btn.active .icon { fill: #f59e0b; }
.cat-card { padding: 1.3rem; display: block; color: var(--wt-text); height: 100%; }
.cat-card:hover { text-decoration: none; color: var(--wt-text); }
.cat-card h3 { font-size: 1.05rem; margin: .8rem 0 .2rem; }
.cat-card p { color: var(--wt-muted); font-size: .85rem; margin: 0; }
.cat-nav { display: flex; flex-direction: column; gap: .15rem; }
.cat-nav a { display: flex; align-items: center; justify-content: space-between; padding: .55rem .8rem; border-radius: 10px; color: var(--wt-text); font-weight: 600; font-size: .92rem; }
.cat-nav a:hover, .cat-nav a.active { background: rgba(var(--wt-primary-rgb), .1); color: var(--wt-primary); text-decoration: none; }
.cat-nav a span.count { color: var(--wt-muted); font-weight: 500; font-size: .8rem; }

/* ---------- Araç sayfası ---------- */
.breadcrumbs { font-size: .85rem; color: var(--wt-muted); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: 1rem; }
.breadcrumbs a { color: var(--wt-muted); } .breadcrumbs a:hover { color: var(--wt-primary); }
.breadcrumbs .sep { opacity: .5; }
.tool-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tool-head h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.tool-head p { margin: .25rem 0 0; color: var(--wt-muted); max-width: 720px; }
.tool-panel { padding: 1.4rem; }
.quota-bar { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--wt-muted); }
.quota-bar .bar { flex: 1; max-width: 160px; height: 6px; background: var(--wt-surface-2); border-radius: 6px; overflow: hidden; }
.quota-bar .bar i { display: block; height: 100%; background: var(--wt-grad); border-radius: 6px; }
.notice { display: flex; gap: .75rem; padding: .9rem 1rem; border-radius: 12px; border: 1px solid; align-items: flex-start; font-size: .92rem; }
.notice .icon { margin-top: .2em; }
.notice.info { background: rgba(59, 130, 246, .08); border-color: rgba(59, 130, 246, .3); } .notice.info .icon { color: var(--c-info); }
.notice.success { background: rgba(16, 185, 129, .08); border-color: rgba(16, 185, 129, .3); } .notice.success .icon { color: var(--c-pass); }
.notice.warning { background: rgba(245, 158, 11, .09); border-color: rgba(245, 158, 11, .35); } .notice.warning .icon { color: var(--c-warn); }
.notice.danger, .notice.error { background: rgba(239, 68, 68, .08); border-color: rgba(239, 68, 68, .3); } .notice.danger .icon, .notice.error .icon { color: var(--c-fail); }
.notice.config { background: rgba(139, 92, 246, .08); border-color: rgba(139, 92, 246, .35); } .notice.config .icon { color: var(--wt-primary-2); }
.drop-zone { border: 2px dashed var(--wt-border); border-radius: 14px; padding: 2rem 1rem; text-align: center; color: var(--wt-muted); cursor: pointer; transition: .15s; background: var(--wt-surface-2); }
.drop-zone:hover, .drop-zone.drag { border-color: var(--wt-primary); background: rgba(var(--wt-primary-rgb), .06); color: var(--wt-primary); }
.drop-zone .icon { width: 36px; height: 36px; margin-bottom: .4rem; }
.drop-zone .file-name { font-weight: 600; color: var(--wt-text); }
.guide-list { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.guide-list li { counter-increment: step; position: relative; padding: .6rem 0 .6rem 2.6rem; }
.guide-list li::before { content: counter(step); position: absolute; left: 0; top: .5rem; width: 28px; height: 28px; border-radius: 50%; background: rgba(var(--wt-primary-rgb), .12); color: var(--wt-primary); font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.faq-item { border: 1px solid var(--wt-border); border-radius: 12px; background: var(--wt-surface); margin-bottom: .6rem; overflow: hidden; }
.faq-item summary { padding: .95rem 1.1rem; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--wt-primary); transition: transform .2s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .ans { padding: 0 1.1rem 1rem; color: var(--wt-muted); }

/* ---------- Sonuç görüntüleyici ---------- */
.result-wrap { margin-top: 1.6rem; display: grid; gap: 1rem; }
.result-head { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; justify-content: space-between; }
.result-head h2 { font-size: 1.15rem; margin: 0; }
.result-head .target { color: var(--wt-muted); font-size: .88rem; word-break: break-all; }
.result-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.score-ring { --v: 0; --c: var(--c-pass); width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--v) * 1%), var(--wt-surface-2) 0); display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.score-ring::before { content: ""; position: absolute; inset: 9px; background: var(--wt-surface); border-radius: 50%; }
.score-ring b { position: relative; font-size: 1.7rem; font-weight: 800; }
.score-ring.good { --c: var(--c-pass); } .score-ring.mid { --c: var(--c-warn); } .score-ring.bad { --c: var(--c-fail); }
.res-section { background: var(--wt-surface); border: 1px solid var(--wt-border); border-radius: var(--wt-radius); overflow: hidden; }
.res-section > h3 { font-size: .98rem; margin: 0; padding: .9rem 1.2rem; border-bottom: 1px solid var(--wt-border); display: flex; justify-content: space-between; align-items: center; background: var(--wt-surface-2); }
.res-section .body { padding: 1.1rem 1.2rem; }
.res-section .note { color: var(--wt-muted); font-size: .84rem; padding: 0 1.2rem 1rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
.stat-box { background: var(--wt-surface); border: 1px solid var(--wt-border); border-radius: 12px; padding: .9rem 1rem; }
.stat-box small { display: block; color: var(--wt-muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.stat-box b { font-size: 1.35rem; font-weight: 800; word-break: break-word; line-height: 1.25; display: block; margin-top: .15rem; }
.stat-box em { font-style: normal; font-size: .8rem; color: var(--wt-muted); }
.stat-box.good b { color: var(--c-pass); } .stat-box.warn b { color: var(--c-warn); } .stat-box.bad b { color: var(--c-fail); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: .8rem; padding: .75rem 1.2rem; border-bottom: 1px solid var(--wt-border); align-items: flex-start; }
.check-list li:last-child { border-bottom: 0; }
.check-ico { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.check-ico .icon { width: 14px; height: 14px; stroke-width: 3; }
.check-ico.pass { background: rgba(16, 185, 129, .15); color: var(--c-pass); } .check-ico.warn { background: rgba(245, 158, 11, .17); color: var(--c-warn); }
.check-ico.fail { background: rgba(239, 68, 68, .15); color: var(--c-fail); } .check-ico.info { background: rgba(59, 130, 246, .15); color: var(--c-info); }
.check-list .ct { font-weight: 600; } .check-list .cd { color: var(--wt-muted); font-size: .88rem; word-break: break-word; }
.kv-table { width: 100%; margin: 0; }
.kv-table th { width: 32%; min-width: 130px; color: var(--wt-muted); font-weight: 600; padding: .6rem 1.2rem; vertical-align: top; font-size: .88rem; }
.kv-table td { padding: .6rem 1.2rem; word-break: break-word; font-size: .92rem; }
.kv-table tr + tr { border-top: 1px solid var(--wt-border); }
.kv-table td .v-line + .v-line { margin-top: .2rem; }
.res-table-wrap { overflow-x: auto; }
.table-modern { width: 100%; margin: 0; font-size: .9rem; border-collapse: separate; border-spacing: 0; }
.table-modern th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--wt-muted); font-weight: 700; padding: .7rem 1rem; background: var(--wt-surface-2); border-bottom: 1px solid var(--wt-border); white-space: nowrap; }
.table-modern td { padding: .7rem 1rem; border-bottom: 1px solid var(--wt-border); vertical-align: middle; }
.table-modern tr:last-child td { border-bottom: 0; }
.table-modern tbody tr:hover td { background: color-mix(in srgb, var(--wt-surface-2) 55%, transparent); }
.table-modern td.break { word-break: break-all; max-width: 380px; }
.code-block { margin: 0; padding: 1rem 1.2rem; background: #0b1020; color: #d6deff; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .82rem; line-height: 1.6; max-height: 420px; overflow: auto; white-space: pre-wrap; word-break: break-all; border-radius: 0 0 var(--wt-radius) var(--wt-radius); }
.pill-list { display: flex; flex-wrap: wrap; gap: .4rem; padding: 1rem 1.2rem; }
.pill { background: var(--wt-surface-2); border: 1px solid var(--wt-border); border-radius: 999px; padding: .2rem .7rem; font-size: .84rem; word-break: break-all; }
.res-list { margin: 0; padding: .9rem 1.2rem .9rem 2.4rem; } .res-list li { margin: .25rem 0; word-break: break-word; }
.serp-prev { padding: 1.1rem 1.2rem; } .serp-prev .u { font-size: .82rem; color: #188038; word-break: break-all; } .serp-prev .t { color: #1a0dab; font-size: 1.15rem; line-height: 1.3; margin: .1rem 0; } [data-bs-theme="dark"] .serp-prev .t { color: #8ab4f8; } .serp-prev .d { color: var(--wt-muted); font-size: .88rem; }
.social-prev { border: 1px solid var(--wt-border); border-radius: 12px; overflow: hidden; max-width: 520px; margin: 1rem 1.2rem; background: var(--wt-surface-2); } .social-prev img { width: 100%; max-height: 270px; object-fit: cover; display: block; } .social-prev .m { padding: .8rem 1rem; } .social-prev .m small { color: var(--wt-muted); text-transform: uppercase; font-size: .72rem; } .social-prev .m b { display: block; }
.bar-chart-x { padding: 1rem 1.2rem; display: grid; gap: .55rem; } .bar-row { display: grid; grid-template-columns: minmax(80px, 160px) 1fr 56px; gap: .7rem; align-items: center; font-size: .86rem; } .bar-row .bar { height: 10px; background: var(--wt-surface-2); border-radius: 6px; overflow: hidden; } .bar-row .bar i { display: block; height: 100%; background: var(--wt-grad); border-radius: 6px; } .bar-row .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bar-row .val { text-align: right; color: var(--wt-muted); font-variant-numeric: tabular-nums; }
.compare-table th:first-child, .compare-table td:first-child { position: sticky; left: 0; background: var(--wt-surface); z-index: 1; font-weight: 600; }
.compare-table td.best { color: var(--c-pass); font-weight: 700; }
.result-image { padding: 1rem; text-align: center; background: repeating-conic-gradient(var(--wt-surface-2) 0% 25%, transparent 0% 50%) 50% / 20px 20px; } .result-image img { max-width: 100%; max-height: 420px; border-radius: 8px; }
.download-box { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; justify-content: space-between; flex-wrap: wrap; }
.big-value { padding: 1.6rem; text-align: center; font-size: clamp(1.6rem, 5vw, 2.8rem); font-weight: 800; word-break: break-all; font-family: ui-monospace, Menlo, monospace; }
.grade-badge { display: inline-flex; width: 76px; height: 76px; border-radius: 18px; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 800; color: #fff; background: var(--c-pass); }
.grade-badge.g-b { background: #84cc16; } .grade-badge.g-c { background: var(--c-warn); } .grade-badge.g-d { background: #f97316; } .grade-badge.g-e, .grade-badge.g-f { background: var(--c-fail); }
.copy-btn { cursor: pointer; }

/* ---------- Skeleton, toast, boş durum ---------- */
.skeleton { position: relative; overflow: hidden; background: var(--wt-surface-2); border-radius: 10px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); animation: shimmer 1.4s infinite; }
[data-bs-theme="dark"] .skeleton::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .07), transparent); }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.sk-line { height: 14px; margin: .55rem 0; } .sk-title { height: 22px; width: 40%; } .sk-block { height: 110px; }
.toast-stack { position: fixed; right: 1rem; bottom: 1rem; z-index: 2100; display: flex; flex-direction: column; gap: .6rem; max-width: min(380px, calc(100vw - 2rem)); }
.toast-x { background: var(--wt-surface); border: 1px solid var(--wt-border); border-left: 4px solid var(--c-info); border-radius: 12px; box-shadow: var(--wt-shadow-lg); padding: .8rem 1rem; display: flex; gap: .7rem; align-items: flex-start; animation: toast-in .25s ease; font-size: .92rem; }
.toast-x.success { border-left-color: var(--c-pass); } .toast-x.danger, .toast-x.error { border-left-color: var(--c-fail); } .toast-x.warning { border-left-color: var(--c-warn); }
.toast-x .close { margin-left: auto; background: none; border: 0; color: var(--wt-muted); padding: 0; line-height: 1; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
.empty-state { text-align: center; padding: 3rem 1.5rem; color: var(--wt-muted); }
.empty-state .icon-box { width: 64px; height: 64px; border-radius: 20px; margin-bottom: 1rem; } .empty-state .icon-box .icon { width: 30px; height: 30px; }
.empty-state h3 { font-size: 1.1rem; color: var(--wt-text); }
.spinner-x { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
.btn-soft .spinner-x, .btn-outline-secondary .spinner-x { border-color: rgba(var(--wt-primary-rgb), .3); border-top-color: var(--wt-primary); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Fiyatlandırma ---------- */
.price-card { padding: 1.8rem; height: 100%; position: relative; display: flex; flex-direction: column; }
.price-card.hl { border: 2px solid var(--wt-primary); box-shadow: 0 14px 40px rgba(var(--wt-primary-rgb), .2); }
.price-card .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--wt-grad); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .9rem; border-radius: 999px; }
.price-card .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price-card .price small { font-size: .95rem; color: var(--wt-muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 1.3rem 0; flex: 1; } .price-card li { padding: .35rem 0 .35rem 1.7rem; position: relative; font-size: .92rem; } .price-card li::before { content: ""; position: absolute; left: 0; top: .6rem; width: 16px; height: 16px; border-radius: 50%; background: rgba(16, 185, 129, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat; }
.period-switch { display: inline-flex; background: var(--wt-surface); border: 1px solid var(--wt-border); border-radius: 12px; padding: 4px; }
.period-switch button { border: 0; background: none; padding: .45rem 1.1rem; border-radius: 9px; font-weight: 600; color: var(--wt-muted); } .period-switch button.active { background: var(--wt-grad); color: #fff; }

/* ---------- Blog ---------- */
.post-card { overflow: hidden; display: flex; flex-direction: column; height: 100%; color: var(--wt-text); }
.post-card:hover { text-decoration: none; color: var(--wt-text); }
.post-card .cover { aspect-ratio: 16 / 9; background: var(--wt-grad); display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .85); overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; } .post-card:hover .cover img { transform: scale(1.04); }
.post-card .cover .icon { width: 42px; height: 42px; }
.post-card .pc-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-card h3 { font-size: 1.08rem; margin: 0; line-height: 1.35; }
.post-card p { color: var(--wt-muted); font-size: .88rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; color: var(--wt-muted); font-size: .82rem; align-items: center; }
.article { max-width: 780px; margin-inline: auto; }
.article-body { font-size: 1.05rem; line-height: 1.8; } .article-body h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; } .article-body h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; } .article-body img { max-width: 100%; height: auto; border-radius: 12px; } .article-body pre { background: #0b1020; color: #d6deff; padding: 1rem; border-radius: 12px; overflow: auto; } .article-body code { background: var(--wt-surface-2); padding: .1em .4em; border-radius: 6px; font-size: .9em; } .article-body pre code { background: none; padding: 0; } .article-body blockquote { border-left: 4px solid var(--wt-primary); padding: .4rem 1rem; color: var(--wt-muted); margin: 1.2rem 0; background: var(--wt-surface-2); border-radius: 0 10px 10px 0; } .article-body table { width: 100%; margin: 1rem 0; } .article-body th, .article-body td { border: 1px solid var(--wt-border); padding: .5rem .7rem; }
.share-row { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Kimlik doğrulama ---------- */
.auth-wrap { min-height: calc(100vh - var(--wt-header-h)); display: grid; place-items: center; padding: 2.5rem 1rem; background: radial-gradient(800px 420px at 10% 0%, rgba(99, 102, 241, .16), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(59, 130, 246, .13), transparent 60%); }
.auth-card { width: 100%; max-width: 440px; padding: 2rem; }
.auth-card h1 { font-size: 1.6rem; }
.divider-text { display: flex; align-items: center; gap: .8rem; color: var(--wt-muted); font-size: .82rem; margin: 1.2rem 0; } .divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--wt-border); }
.pw-meter { height: 6px; border-radius: 6px; background: var(--wt-surface-2); overflow: hidden; margin-top: .4rem; } .pw-meter i { display: block; height: 100%; width: 0; transition: width .25s, background .25s; }

/* ---------- Panel / yönetim yerleşimi (sol kenar çubuğu) ---------- */
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: var(--wt-sidebar-w); flex-shrink: 0; background: var(--wt-surface); border-right: 1px solid var(--wt-border); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 1040; }
.sidebar .sb-head { padding: 1rem 1.1rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--wt-border); height: var(--wt-header-h); }
.sidebar nav { padding: .8rem .7rem; flex: 1; }
.sidebar .sb-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--wt-muted); padding: .9rem .8rem .35rem; }
.sidebar nav a { display: flex; align-items: center; gap: .7rem; padding: .55rem .8rem; border-radius: 10px; color: var(--wt-muted); font-weight: 600; font-size: .92rem; margin-bottom: 2px; }
.sidebar nav a:hover { background: var(--wt-surface-2); color: var(--wt-text); text-decoration: none; }
.sidebar nav a.active { background: rgba(var(--wt-primary-rgb), .12); color: var(--wt-primary); }
[data-bs-theme="dark"] .sidebar nav a.active { color: #c7d2fe; }
.sidebar nav a .badge-count { margin-left: auto; background: #ef4444; color: #fff; font-size: .68rem; border-radius: 999px; padding: .1em .5em; }
.sidebar .sb-foot { padding: .9rem; border-top: 1px solid var(--wt-border); }
.sb-plan { background: rgba(var(--wt-primary-rgb), .09); border-radius: 12px; padding: .8rem .9rem; font-size: .85rem; }
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-topbar { height: var(--wt-header-h); background: color-mix(in srgb, var(--wt-surface) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--wt-border); display: flex; align-items: center; gap: .8rem; padding: 0 1.5rem; position: sticky; top: 0; z-index: 1030; }
.app-topbar h1 { font-size: 1.1rem; margin: 0; font-weight: 700; }
.app-content { padding: 1.6rem; flex: 1; }
.sb-backdrop { display: none; }
.kpi { padding: 1.1rem 1.2rem; display: flex; gap: .9rem; align-items: center; }
.kpi b { font-size: 1.55rem; font-weight: 800; display: block; line-height: 1.15; letter-spacing: -.02em; }
.kpi span { color: var(--wt-muted); font-size: .82rem; font-weight: 600; }
.kpi small { font-size: .78rem; }
.chart-box { position: relative; height: 280px; }
.chart-box.sm { height: 200px; }
.filter-bar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.filter-bar .form-control, .filter-bar .form-select { max-width: 240px; height: 40px; }
.table-responsive { border-radius: var(--wt-radius); }
.row-actions { display: flex; gap: .3rem; justify-content: flex-end; }
.progress { background: var(--wt-surface-2); height: 8px; border-radius: 8px; }
.progress-bar { background: var(--wt-grad); }
.tabs-x { display: flex; gap: .25rem; border-bottom: 1px solid var(--wt-border); margin-bottom: 1.2rem; overflow-x: auto; }
.tabs-x a { padding: .65rem 1rem; color: var(--wt-muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; font-size: .92rem; } .tabs-x a:hover { color: var(--wt-text); text-decoration: none; } .tabs-x a.active { color: var(--wt-primary); border-color: var(--wt-primary); }
.pagination { --bs-pagination-bg: var(--wt-surface); --bs-pagination-border-color: var(--wt-border); --bs-pagination-color: var(--wt-text); --bs-pagination-hover-bg: var(--wt-surface-2); --bs-pagination-hover-color: var(--wt-primary); --bs-pagination-hover-border-color: var(--wt-border); --bs-pagination-active-bg: var(--wt-primary); --bs-pagination-active-border-color: var(--wt-primary); --bs-pagination-disabled-bg: var(--wt-surface-2); --bs-pagination-disabled-border-color: var(--wt-border); --bs-pagination-focus-bg: var(--wt-surface-2); gap: 4px; margin-top: 1.5rem; }
.pagination .page-link { border-radius: 8px !important; font-weight: 600; font-size: .88rem; }
.modal-content { background: var(--wt-surface); border: 1px solid var(--wt-border); border-radius: 16px; }
.modal-header, .modal-footer { border-color: var(--wt-border); }
.alert { border-radius: 12px; }
.rte-toolbar { display: flex; flex-wrap: wrap; gap: .25rem; padding: .5rem; border: 1px solid var(--wt-border); border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--wt-surface-2); }
.rte-toolbar button { border: 0; background: none; padding: .3rem .6rem; border-radius: 7px; color: var(--wt-text); font-weight: 600; font-size: .85rem; } .rte-toolbar button:hover { background: var(--wt-surface); }
.rte-area { min-height: 380px; border: 1px solid var(--wt-border); border-radius: 0 0 10px 10px; padding: 1rem; background: var(--wt-surface); overflow: auto; }
.rte-area:focus { outline: 2px solid rgba(var(--wt-primary-rgb), .4); }
.sortable-handle { cursor: grab; color: var(--wt-muted); }

/* ---------- Altbilgi, çerez bildirimi ---------- */
.site-footer { background: var(--wt-navy); color: #aab3d3; padding: 3.5rem 0 1.5rem; margin-top: 4rem; flex-shrink: 0; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer a { color: #aab3d3; } .site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { margin-bottom: .5rem; font-size: .9rem; }
.site-footer .brand { color: #fff; }
.site-footer .copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.3rem; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }
.newsletter-box { padding: 2rem; background: var(--wt-grad); color: #fff; border-radius: 20px; position: relative; overflow: hidden; }
.newsletter-box h2, .newsletter-box p { color: #fff; } .newsletter-box .form-control { border: 0; }
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; z-index: 2200; padding: 1.2rem; display: none; }
.cookie-banner.show { display: block; animation: toast-in .3s; }
.ad-slot { margin: 1.2rem 0; text-align: center; overflow: hidden; }
.maintenance { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; }

/* ---------- Yardımcılar ---------- */
.theme-toggle .icon-moon { display: none; } [data-bs-theme="dark"] .theme-toggle .icon-sun { display: none; } [data-bs-theme="dark"] .theme-toggle .icon-moon { display: inline-block; }
.hide-dark { display: inline; } [data-bs-theme="dark"] .hide-dark { display: none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.break-all { word-break: break-all; }
.cursor-pointer { cursor: pointer; }
.w-fit { width: fit-content; }
.gap-y-3 { row-gap: 1rem; }
.fade-in { animation: toast-in .35s ease; }
.tracker-trend.up { color: var(--c-pass); } .tracker-trend.down { color: var(--c-fail); }
.qr-box { background: #fff; padding: 16px; border-radius: 14px; display: inline-block; }
.palette-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .6rem; } .swatch { border-radius: 12px; height: 96px; display: flex; align-items: flex-end; padding: .5rem; font-family: ui-monospace, monospace; font-size: .78rem; font-weight: 700; cursor: pointer; border: 1px solid var(--wt-border); }
.wheel-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; position: relative; }
.wheel-wrap canvas { max-width: 100%; height: auto; }
.wheel-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 22px solid #ef4444; z-index: 2; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.diff-add { background: rgba(16, 185, 129, .2); } .diff-del { background: rgba(239, 68, 68, .2); text-decoration: line-through; }
.regex-hit { background: rgba(245, 158, 11, .35); border-radius: 3px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 991.98px) {
  .nav-main { display: none; }
  .header-search { display: none; }
  .menu-toggle { display: inline-flex; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%); transition: transform .25s; box-shadow: var(--wt-shadow-lg); }
  .sidebar.open { transform: none; }
  .sb-backdrop.show { display: block; position: fixed; inset: 0; background: rgba(5, 8, 20, .55); z-index: 1035; }
  .app-content { padding: 1rem; }
  .app-topbar { padding: 0 1rem; }
  .section { padding: 3rem 0; }
}
@media (max-width: 575.98px) {
  .hero { padding: 3rem 0 2rem; }
  .hero-search .form-control { height: 54px; padding-right: 1rem; }
  .hero-search .btn { position: static; margin-top: .6rem; width: 100%; }
  .tool-panel { padding: 1rem; }
  .kv-table th { width: 38%; min-width: 0; padding: .55rem .8rem; } .kv-table td { padding: .55rem .8rem; }
  .bar-row { grid-template-columns: 90px 1fr 44px; }
  .auth-card { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .site-footer, .sidebar, .app-topbar, .result-actions, .cookie-banner, .toast-stack, .no-print { display: none !important; }
  body { background: #fff; color: #000; } .card-x, .res-section { box-shadow: none; }
}

/* Regex test aracı vurguları */
.rx-m0 { background: rgba(124, 58, 237, .35); color: inherit; border-radius: 3px; padding: 0 1px; }
.rx-m1 { background: rgba(16, 185, 129, .35); color: inherit; border-radius: 3px; padding: 0 1px; }
