/* ==========================================================================
   Joy Panel — "Pafta" tasarım dili
   Kadastro paftası / parsel haritası estetiği: ince ızgara, köşe işaretleri,
   parsel yeşili vurgu, tabular sayı tipografisi.
   ========================================================================== */

:root,
:root[data-theme="dark"] {
  --bg: #0b100e;
  --grid: rgba(184, 242, 74, 0.035);
  --surface: #111815;
  --surface-2: #16201b;
  --surface-3: #1d2923;
  --line: #243229;
  --line-soft: #19231e;
  --line-strong: #3a4d43;
  --text: #e7efe9;
  --text-2: #b6c4bc;
  --muted: #7e9087;
  --accent: #b8f24a;
  --accent-ink: #0d1311;
  --accent-text: #c9f56f;
  --accent-soft: rgba(184, 242, 74, 0.11);
  --accent-line: rgba(184, 242, 74, 0.35);
  --coral: #ff7a52;
  --coral-soft: rgba(255, 122, 82, 0.13);
  --sky: #62c9ff;
  --sky-soft: rgba(98, 201, 255, 0.12);
  --amber: #ffc24b;
  --amber-soft: rgba(255, 194, 75, 0.13);
  --danger: #ff6161;
  --danger-soft: rgba(255, 97, 97, 0.12);
  --ok: #4fd18b;
  --ok-soft: rgba(79, 209, 139, 0.12);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 6px 18px -10px rgba(0, 0, 0, 0.55);
  --logo-bg: #0f1613;
  --logo-line: #e7efe9;
  --radius: 14px;
  --radius-sm: 9px;
  --font-display: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f2f0e8;
  --grid: rgba(23, 32, 27, 0.045);
  --surface: #fbfaf5;
  --surface-2: #f4f2ea;
  --surface-3: #e9e6da;
  --line: #d8d4c5;
  --line-soft: #e6e2d5;
  --line-strong: #a9a592;
  --text: #16201b;
  --text-2: #36423c;
  --muted: #69736d;
  --accent: #b8f24a;
  --accent-ink: #0d1311;
  --accent-text: #3b6500;
  --accent-soft: rgba(120, 170, 20, 0.14);
  --accent-line: rgba(80, 130, 0, 0.4);
  --coral: #d9481d;
  --coral-soft: rgba(217, 72, 29, 0.1);
  --sky: #0a7ec2;
  --sky-soft: rgba(10, 126, 194, 0.1);
  --amber: #a86a00;
  --amber-soft: rgba(200, 130, 0, 0.12);
  --danger: #c62828;
  --danger-soft: rgba(198, 40, 40, 0.09);
  --ok: #1d8a4f;
  --ok-soft: rgba(29, 138, 79, 0.1);
  --shadow: 0 18px 40px -22px rgba(40, 40, 20, 0.35);
  --shadow-sm: 0 6px 16px -10px rgba(40, 40, 20, 0.3);
  --logo-bg: #16201b;
  --logo-line: #f2f0e8;
  color-scheme: light;
}

/* Yönetim paneli: tapu mührü turuncusu */
body.admin {
  --accent: #ffb547;
  --accent-text: #ffc875;
  --accent-soft: rgba(255, 181, 71, 0.12);
  --accent-line: rgba(255, 181, 71, 0.38);
}
:root[data-theme="light"] body.admin {
  --accent-text: #8a5300;
  --accent-soft: rgba(230, 150, 30, 0.14);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { font-family: var(--font-mono); font-size: .88em; background: var(--surface-3); padding: .1em .4em; border-radius: 5px; }
hr { border: 0; border-top: 1px dashed var(--line); margin: 1.5rem 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.xsmall { font-size: .76rem; }
.eyebrow { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; }
.accent { color: var(--accent-text); }
.coral { color: var(--coral); }
.ok { color: var(--ok); }
.danger { color: var(--danger); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1 1 auto; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 1rem; }

.ic { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
[data-theme="dark"] .only-light, :root:not([data-theme="light"]) .only-light { display: none; }
[data-theme="light"] .only-dark { display: none; }
[data-theme="light"] .only-light { display: inline-block; }

/* ---------- Pafta kartı: köşe kayıt işaretleri ---------- */
.pafta,
.card.pafta {
  --pc: var(--line-strong);
  --ps: 12px;
  --pw: 1.5px;
  --pbg: var(--surface);
  position: relative;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(var(--pc), var(--pc)) top left / var(--ps) var(--pw) no-repeat,
    linear-gradient(var(--pc), var(--pc)) top left / var(--pw) var(--ps) no-repeat,
    linear-gradient(var(--pc), var(--pc)) top right / var(--ps) var(--pw) no-repeat,
    linear-gradient(var(--pc), var(--pc)) top right / var(--pw) var(--ps) no-repeat,
    linear-gradient(var(--pc), var(--pc)) bottom left / var(--ps) var(--pw) no-repeat,
    linear-gradient(var(--pc), var(--pc)) bottom left / var(--pw) var(--ps) no-repeat,
    linear-gradient(var(--pc), var(--pc)) bottom right / var(--ps) var(--pw) no-repeat,
    linear-gradient(var(--pc), var(--pc)) bottom right / var(--pw) var(--ps) no-repeat,
    var(--pbg);
}
.pafta[data-label]::before {
  content: attr(data-label);
  position: absolute;
  top: -9px;
  left: 18px;
  padding: 0 8px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}
.pafta.lit { --pc: var(--accent); border-color: var(--accent-line); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.05rem; }
.card-head .sub { font-size: .8rem; color: var(--muted); margin: 2px 0 0; }
.panel-box { padding: 20px 22px; }

/* ---------- Butonlar ---------- */
.btn {
  --b-bg: var(--surface-3);
  --b-fg: var(--text);
  --b-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px;
  font: 600 .92rem/1.2 var(--font-body);
  color: var(--b-fg);
  background: var(--b-bg);
  border: 1px solid var(--b-bd);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .12s ease, background .15s ease, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--line-strong); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.btn-primary { --b-bg: var(--accent); --b-fg: var(--accent-ink); --b-bd: var(--accent); box-shadow: 0 0 0 0 var(--accent-soft); }
.btn-primary:hover { box-shadow: 0 0 0 5px var(--accent-soft); border-color: var(--accent); }
.btn-ghost { --b-bg: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { --b-bg: var(--danger-soft); --b-fg: var(--danger); --b-bd: transparent; }
.btn-danger:hover { border-color: var(--danger); }
.btn-coral { --b-bg: var(--coral); --b-fg: #fff; --b-bd: var(--coral); }
.btn-ok { --b-bg: var(--ok-soft); --b-fg: var(--ok); --b-bd: transparent; }
.btn-sm { padding: 7px 12px; font-size: .84rem; }
.btn-xs { padding: 4px 9px; font-size: .78rem; gap: 5px; border-radius: 7px; }
.btn-xs .ic { width: 14px; height: 14px; }
.btn-lg { padding: 14px 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text-2);
  cursor: pointer;
  flex: none;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); }
.icon-btn.xs { width: 24px; height: 24px; border-radius: 6px; }
.icon-btn.xs .ic { width: 13px; height: 13px; }
.icon-btn.fav.on { color: var(--amber); border-color: var(--amber); background: var(--amber-soft); }
.icon-btn.fav.on .ic { fill: currentColor; }

/* ---------- Form ---------- */
label { display: block; font-size: .84rem; font-weight: 600; color: var(--text-2); }
label > input, label > select, label > textarea { margin-top: 6px; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"], input[type="search"], input[type="url"], input[type="date"], input[type="datetime-local"], input:not([type]), select, textarea {
  width: 100%;
  padding: 10px 12px;
  font: 400 .95rem/1.35 var(--font-body);
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; resize: vertical; }
textarea.code { font-family: var(--font-mono); font-size: .8rem; min-height: 260px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.hint { display: block; font-size: .76rem; font-weight: 400; color: var(--muted); margin-top: 5px; }
.req { color: var(--coral); }
.opt { font-weight: 400; color: var(--muted); font-size: .76rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-all { grid-column: 1 / -1; }
.form-section { font-size: .78rem; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px dashed var(--line); padding-bottom: 8px; margin: 8px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.switch input { appearance: none; width: 40px; height: 22px; border-radius: 22px; background: var(--surface-3); border: 1px solid var(--line); position: relative; cursor: pointer; transition: background .15s; margin: 0; flex: none; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .15s, background .15s; }
.switch input:checked { background: var(--accent-soft); border-color: var(--accent-line); }
.switch input:checked::after { transform: translateX(18px); background: var(--accent); }
.input-group { display: flex; }
.input-group > input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.file-drop { border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 18px; text-align: center; background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s; display: block; }
.file-drop:hover, .file-drop.drag { border-color: var(--accent); background: var(--accent-soft); }
.file-drop input { position: absolute; opacity: 0; pointer-events: none; width: 1px; }
.file-drop .file-name { font-family: var(--font-mono); font-size: .8rem; color: var(--accent-text); margin-top: 6px; display: block; }

/* ---------- Uyarılar, rozetler ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid transparent; margin-bottom: 14px; font-size: .92rem; }
.alert .ic { margin-top: 2px; }
.alert > span { flex: 1; }
.alert-success, .alert-ok { background: var(--ok-soft); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.alert-error, .alert-danger { background: var(--danger-soft); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.alert-warn { background: var(--amber-soft); color: var(--amber); border-color: color-mix(in srgb, var(--amber) 30%, transparent); }
.alert-info { background: var(--sky-soft); color: var(--sky); border-color: color-mix(in srgb, var(--sky) 30%, transparent); }
.alert a { color: inherit; font-weight: 600; text-decoration: underline; }
.alert .icon-btn { width: 26px; height: 26px; background: transparent; border: 0; color: inherit; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font: 600 .72rem/1.6 var(--font-body); white-space: nowrap; background: var(--surface-3); color: var(--text-2); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--amber-soft); color: var(--amber); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-info { background: var(--sky-soft); color: var(--sky); }
.badge-muted { background: var(--surface-3); color: var(--muted); }
.badge-accent { background: var(--accent-soft); color: var(--accent-text); }
.badge-coral { background: var(--coral-soft); color: var(--coral); }
.badge-live { background: var(--accent-soft); color: var(--accent-text); }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.score-chip { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 12px; background: var(--surface-3); }
.score-chip b { font: 800 1.5rem/1 var(--font-mono); color: var(--text-2); }
.score-chip span { display: flex; flex-direction: column; gap: 1px; font: 600 .78rem/1.3 var(--font-body); color: var(--text); }
.score-chip small { font: 500 .68rem/1.3 var(--font-body); color: var(--muted); }
.score-chip.score-ok { background: var(--ok-soft); } .score-chip.score-ok b { color: var(--ok); }
.score-chip.score-warn { background: var(--amber-soft); } .score-chip.score-warn b { color: var(--amber); }
.score-chip.score-muted { background: var(--surface-3); } .score-chip.score-muted b { color: var(--muted); }
.tag { display: inline-block; font: 500 .72rem/1.5 var(--font-mono); padding: 1px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--text-2); background: var(--surface-2); white-space: nowrap; }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
th { font: 600 .7rem/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); position: sticky; top: 0; z-index: 1; white-space: nowrap; }
th a { color: inherit; }
tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td .title-link { color: var(--text); font-weight: 600; display: block; max-width: 360px; }
td .title-link:hover { color: var(--accent-text); }
.table-compact td, .table-compact th { padding: 8px 10px; }
.cell-sub { display: block; font-size: .76rem; color: var(--muted); }
.ilan-no { font-size: .8rem; color: var(--sky); white-space: nowrap; }
.phone { display: inline-flex; align-items: center; gap: 6px; margin: 1px 0; white-space: nowrap; }
.phone a { color: var(--text); font-size: .82rem; }
.price { font-family: var(--font-mono); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-drop { color: var(--ok); }
.price-up { color: var(--coral); }

.thumbs { display: flex; gap: 4px; }
.thumbs img, .thumb-empty { width: 54px; height: 42px; object-fit: cover; border-radius: 5px; border: 1px solid var(--line); background: var(--surface-3); }
.thumbs-md img, .thumbs-md .thumb-empty { width: 96px; height: 72px; }
.thumbs-lg { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.thumbs-lg img { width: 100%; height: 100%; min-height: 150px; border-radius: 8px; }
.thumbs-lg img:first-child { grid-row: span 2; min-height: 320px; }
.thumbs-lg img:only-child { grid-column: span 2; }
.thumb-empty { display: grid; place-items: center; color: var(--muted); }

.pager { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.pager a, .pager span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .85rem; color: var(--text-2); background: var(--surface); }
.pager .current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.pager a:hover { text-decoration: none; border-color: var(--line-strong); }

/* ---------- Genel site: başlık ---------- */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line-soft); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text) !important; text-decoration: none !important; }
.brand-name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; letter-spacing: -0.01em; }
.brand-name b { font-weight: 800; color: var(--accent-text); margin-left: 1px; }
.main-nav { display: flex; gap: 4px; margin-left: 12px; }
.main-nav > a { padding: 8px 14px; border-radius: 8px; color: var(--text-2); font-weight: 500; font-size: .95rem; position: relative; }
.main-nav > a:hover { color: var(--text); text-decoration: none; background: var(--surface-2); }
.main-nav > a.active { color: var(--text); }
.main-nav > a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; }
.nav-cta-mobile { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font-size: .82rem; color: var(--text-2); margin-bottom: 22px; }
.hero-badge b { background: var(--accent); color: var(--accent-ink); padding: 2px 8px; border-radius: 99px; font-size: .72rem; letter-spacing: .04em; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent-text); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .09em; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 16px); }
.hero-lead { font-size: 1.1rem; color: var(--text-2); max-width: 36em; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-proof { display: flex; gap: 26px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.hero-proof strong { display: block; font-family: var(--font-mono); font-size: 1.25rem; color: var(--text); font-weight: 600; }

.survey { position: relative; aspect-ratio: 1 / 0.92; }
.survey-map { width: 100%; height: 100%; display: block; }
.survey-map .parcel { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.2; transition: fill .4s; }
.survey-map .parcel.hot { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.6; animation: parcelGlow 5.5s ease-in-out infinite; }
.survey-map .parcel.hot:nth-of-type(2n) { animation-delay: 1.6s; }
.survey-map .parcel.hot:nth-of-type(3n) { animation-delay: 3.1s; }
@keyframes parcelGlow { 0%, 100% { fill: var(--accent-soft); } 45% { fill: color-mix(in srgb, var(--accent) 32%, transparent); } }
.survey-map .road { stroke: var(--line); stroke-width: 10; fill: none; stroke-linecap: round; }
.survey-map .road-line { stroke: var(--bg); stroke-width: 1.2; stroke-dasharray: 6 7; fill: none; }
.survey-map .lbl { font: 500 9px var(--font-mono); fill: var(--muted); letter-spacing: .06em; }
.survey-map .scan { fill: url(#scanGrad); animation: scan 6s linear infinite; }
@keyframes scan { from { transform: translateY(-120px); } to { transform: translateY(560px); } }
.survey-map .pin circle { fill: var(--coral); }
.survey-map .pin .ring { fill: none; stroke: var(--coral); animation: ring 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.survey-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); font-size: .8rem; min-width: 210px; animation: floaty 7s ease-in-out infinite; }
.survey-card .sc-title { font-weight: 600; color: var(--text); font-size: .86rem; margin-bottom: 6px; }
.survey-card .sc-row { display: flex; justify-content: space-between; gap: 14px; font-family: var(--font-mono); font-size: .74rem; color: var(--muted); }
.survey-card .sc-row b { color: var(--text); font-weight: 500; }
.survey-card .sc-price { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 600; color: var(--accent-text); margin-top: 6px; }
.survey-card.c1 { top: 6%; left: -4%; }
.survey-card.c2 { bottom: 8%; right: -2%; animation-delay: 2.5s; }
.survey-card.c3 { top: 42%; right: 4%; min-width: 160px; animation-delay: 4.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 34px; margin-top: 6px; }
.spark i { width: 7px; background: var(--sky); opacity: .8; border-radius: 2px 2px 0 0; }
.spark i.low { background: var(--accent); opacity: 1; }

/* ---------- Bölümler ---------- */
.section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-2); font-size: 1.04rem; }
.ticker { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 42px; padding: 12px 0; animation: tick 40s linear infinite; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.ticker-track span b { color: var(--text); font-weight: 500; }
.ticker-track span i { font-style: normal; color: var(--accent-text); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 28px 24px 24px; }
.step .num { font-family: var(--font-mono); font-size: .75rem; color: var(--accent-text); letter-spacing: .12em; }
.step h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.step p { color: var(--text-2); margin: 0; font-size: .95rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--surface); padding: 26px 24px; position: relative; }
.feature .f-ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 16px; }
.feature .f-ic .ic { width: 21px; height: 21px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: .92rem; margin: 0; }
.feature .f-tag { position: absolute; top: 20px; right: 20px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mock-table { font-size: .78rem; }
.mock-table td, .mock-table th { padding: 8px 10px; }

.cta-band { padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-band h2 { margin-bottom: 6px; }

.faq details { border-bottom: 1px dashed var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent-text); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); margin: 10px 0 0; }

/* ---------- Fiyatlandırma ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { padding: 30px 26px; display: flex; flex-direction: column; }
.plan.featured { --pbg: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.plan .plan-badge { align-self: flex-start; margin-bottom: 16px; }
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan .plan-sub { color: var(--muted); font-size: .9rem; min-height: 2.8em; }
.plan .plan-price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 18px 0 4px; }
.plan .plan-price small { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .plan-old { font-family: var(--font-mono); color: var(--muted); text-decoration: line-through; font-size: .9rem; min-height: 1.4em; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .92rem; color: var(--text-2); }
.plan li .ic { color: var(--accent-text); margin-top: 2px; }
.plan .plan-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.plan .plan-meta span { overflow-wrap: anywhere; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 7px; padding: 6px 8px; text-align: center; }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 5vh 16px; background: rgba(5, 8, 7, .72); backdrop-filter: blur(4px); overflow-y: auto; }
.modal.open { display: flex; }
.modal-box { width: min(620px, 100%); padding: 28px; box-shadow: var(--shadow); animation: pop .18s ease-out; }
.modal-box.wide { width: min(860px, 100%); }
@keyframes pop { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.modal-head h2 { margin: 0; font-size: 1.35rem; }
.iban-box { border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 12px; padding: 16px 18px; margin: 4px 0 18px; }
.iban-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .9rem; }
.iban-box dt { color: var(--muted); }
.iban-box dd { margin: 0; font-weight: 600; }
.iban-num { font-family: var(--font-mono); font-size: 1.02rem; letter-spacing: .04em; color: var(--text); display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; word-break: break-all; }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; gap: 14px; padding: 16px; align-items: center; color: var(--text) !important; text-decoration: none !important; transition: border-color .15s; }
a.contact-item:hover { --pc: var(--accent); border-color: var(--accent-line); }
.contact-item .c-ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.contact-item .c-ic.wa { background: rgba(37, 211, 102, .13); color: #25d366; }
.contact-item small { display: block; color: var(--muted); font-size: .76rem; font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.contact-item strong { font-size: 1rem; }
.map-frame { width: 100%; height: 260px; border: 0; border-radius: 10px; filter: grayscale(.4) contrast(1.05); }
[data-theme="dark"] .map-frame { filter: invert(.9) hue-rotate(180deg) grayscale(.5) contrast(.9); }

/* ---------- Kimlik doğrulama ---------- */
.auth-body { display: grid; place-items: center; min-height: 100vh; padding: 24px 16px; }
.auth-wrap { width: min(480px, 100%); }
.auth-wrap.wide { width: min(640px, 100%); }
.auth-card { padding: 34px 32px; }
.auth-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.auth-head h1 { font-size: 1.55rem; margin: 0; }
.auth-foot { text-align: center; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.auth-side-note { display: flex; gap: 10px; font-size: .84rem; color: var(--text-2); background: var(--surface-2); border: 1px dashed var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; }
.site .auth-section { padding: 56px 0 80px; }
.status-page { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.status-card { max-width: 520px; padding: 40px 36px; text-align: center; }
.status-card .brand-mark { display: inline-block; margin-bottom: 14px; }

/* ---------- Alt bilgi ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; padding: 44px 0 28px; }
.footer-grid h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 500; }
.footer-grid a, .footer-grid > div > span { display: flex; align-items: center; gap: 8px; color: var(--text-2); margin-bottom: 8px; font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 24px; border-top: 1px dashed var(--line); color: var(--muted); flex-wrap: wrap; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 16px; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(37, 211, 102, .6); z-index: 60; }
.wa-float .ic { width: 26px; height: 26px; }

/* ==========================================================================
   Uygulama kabuğu (panel + yönetim)
   ========================================================================== */
.app-shell { display: grid; grid-template-columns: 262px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); z-index: 70; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 12px; }
.sidebar-close { display: none; }
.side-nav { flex: 1; overflow-y: auto; padding: 4px 12px 16px; }
.side-group { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 18px 10px 6px; }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px; color: var(--text-2); font-size: .92rem; font-weight: 500; margin-bottom: 2px; position: relative; }
.side-nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.side-nav a.active { background: var(--accent-soft); color: var(--accent-text); }
.side-nav a.active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.side-nav a .count { margin-left: auto; font-style: normal; font: 600 .7rem/1 var(--font-mono); background: var(--coral); color: #fff; padding: 3px 7px; border-radius: 99px; }
.side-foot { padding: 14px; border-top: 1px dashed var(--line); }
.pkg-chip { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 10px; }
.pkg-chip strong { font-size: .95rem; }
.pkg-chip.expired { border-color: var(--danger); }
.pkg-chip.expired .small { color: var(--danger); }
.meter { height: 4px; background: var(--surface-3); border-radius: 4px; overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.side-logout { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .88rem; padding: 6px 4px; }
.sidebar-backdrop { display: none; }

.app-main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; padding: 14px 28px; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.topbar-title { min-width: 0; }
.topbar-title h1 { font-size: 1.35rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-title .eyebrow { margin: 0; font-size: .62rem; }
.topbar-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; }
.avatar { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink) !important; font: 700 .85rem var(--font-display); text-decoration: none !important; }
.agent-pill, .live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: .8rem; color: var(--text-2) !important; text-decoration: none !important; white-space: nowrap; }
.agent-pill .dot, .live-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.agent-pill.on .dot, .live-pill .dot { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.agent-pill.busy .dot { background: var(--accent); animation: pulse 1s infinite; }
.agent-pill.warn .dot { background: var(--amber); animation: pulse 1s infinite; }
.notif-wrap { position: relative; }
.notif-btn { position: relative; }
.notif-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); border: 2px solid var(--surface-2); }
.notif-panel { position: absolute; top: calc(100% + 10px); right: 0; width: 360px; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .5); z-index: 80; overflow: hidden; }
.notif-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.notif-list { max-height: 400px; overflow-y: auto; }
.notif-item { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); text-decoration: none !important; color: inherit; }
.notif-item:last-child { border-bottom: 0; }
.notif-item:hover { background: var(--surface-2); }
.notif-item p { margin: 0 0 3px; font-size: .84rem; color: var(--text); line-height: 1.4; }
.notif-item span { font-size: .72rem; color: var(--muted); }
.notif-item.unread { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.notif-item.unread p { font-weight: 600; }
.content { padding: 24px 28px 48px; display: grid; gap: 20px; align-content: start; }
.content > .alert { margin-bottom: 0; }
.content > *, .grid-2 > *, .grid-3 > *, .grid-main > *, .stack > *, .kpis > *, .split > *, .contact-grid > *, .hero-grid > * { min-width: 0; }
.filters .f-wide { grid-column: span 2; }

/* KPI döşemeleri */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 14px; }
.kpi { padding: 18px 18px 16px; display: grid; gap: 6px; }
.kpi .k-label { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); font-weight: 500; }
.kpi .k-label .ic { width: 16px; height: 16px; color: var(--accent-text); }
.kpi .k-value { font-family: var(--font-mono); font-size: clamp(1.1rem, 1.4vw, 1.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .k-value small { font-family: var(--font-body); }
.kpi .k-value small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.kpi .k-foot { font-size: .76rem; color: var(--muted); }
.kpi .k-foot .up { color: var(--ok); }
.kpi.accent { --pc: var(--accent); }
.kpi.accent .k-value { color: var(--accent-text); }
.kpi.flash .k-value { animation: kflash .8s ease-out; }
@keyframes kflash { from { color: var(--accent); text-shadow: 0 0 18px var(--accent-soft); } }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.chart-box { position: relative; height: 260px; }
.chart-box.tall { height: 340px; }
.chart-box.short { height: 200px; }

/* Aktivite akışı */
.feed { list-style: none; margin: 0; padding: 0; display: grid; }
.feed li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line-soft); font-size: .88rem; align-items: start; }
.feed li:last-child { border-bottom: 0; }
.feed .f-dot { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent-text); }
.feed .f-dot .ic { width: 15px; height: 15px; }
.feed .f-time { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); white-space: nowrap; }
.feed li.new { animation: feedIn .5s ease-out; }
@keyframes feedIn { from { background: var(--accent-soft); } }

/* Tarama konsolu */
.console { background: #070b09; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font: 400 .8rem/1.7 var(--font-mono); color: #b9c9bf; height: 280px; overflow-y: auto; }
:root[data-theme="light"] .console { background: #15201b; color: #cfdcd4; }
.console .l-time { color: #5d7066; margin-right: 8px; }
.console .l-ok { color: #9fe870; }
.console .l-warn { color: #ffcf6b; }
.console .l-err { color: #ff8a80; }
.progress { height: 10px; border-radius: 10px; background: var(--surface-3); overflow: hidden; border: 1px solid var(--line); }
.progress i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(-45deg, var(--accent) 0 10px, color-mix(in srgb, var(--accent) 75%, #000) 10px 20px); background-size: 28px 28px; animation: stripes 1s linear infinite; transition: width .5s; }
@keyframes stripes { to { background-position: 28px 0; } }
.job-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.job-stats div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.job-stats b { display: block; font-family: var(--font-mono); font-size: 1.3rem; }
.job-stats span { font-size: .74rem; color: var(--muted); }
.verify-box { border: 1px solid var(--amber); background: var(--amber-soft); border-radius: 12px; padding: 16px 18px; color: var(--text); }
.verify-box h3 { color: var(--amber); margin-bottom: 6px; }

/* Filtre çubuğu */
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.filters label { font-size: .76rem; }
.filters .actions { display: flex; gap: 8px; align-items: end; }
.toolbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.seg a, .seg button, .seg label { padding: 7px 13px; font-size: .84rem; color: var(--text-2); border: 0; background: transparent; cursor: pointer; font-weight: 500; margin: 0; }
.seg a.active, .seg button.active, .seg input:checked + span { background: var(--accent); color: var(--accent-ink); }
.seg a:hover { text-decoration: none; }
.seg label { padding: 0; }
.seg label span { display: block; padding: 7px 13px; }
.seg input { display: none; }

/* Özellik listesi (detay) */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.spec div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line-soft); font-size: .88rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; text-align: right; }
.big-price { font-family: var(--font-mono); font-size: 2rem; font-weight: 600; color: var(--accent-text); letter-spacing: -0.02em; }
.stat-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line-soft); font-size: .88rem; }
.stat-line:last-child { border-bottom: 0; }
.stat-line span { color: var(--muted); }
.stat-line b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.deal { display: inline-flex; gap: 4px; align-items: center; font: 600 .72rem var(--font-mono); padding: 2px 8px; border-radius: 6px; background: var(--ok-soft); color: var(--ok); }
.deal.hot { background: var(--coral-soft); color: var(--coral); }

.empty { text-align: center; padding: 48px 24px; }
.empty-ic { width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.empty-ic .ic { width: 28px; height: 28px; }

.listing-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.l-card { overflow: hidden; display: flex; flex-direction: column; }
.l-card .l-img { aspect-ratio: 4/3; background: var(--surface-3); position: relative; }
.l-card .l-img img { width: 100%; height: 100%; object-fit: cover; }
.l-card .l-img .icon-btn { position: absolute; top: 10px; right: 10px; }
.l-card .l-body { padding: 14px 16px; display: grid; gap: 6px; flex: 1; }
.l-card .l-title { font-weight: 600; color: var(--text); line-height: 1.35; }

.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.device-card { padding: 16px; display: grid; gap: 6px; }
.license-key { font-family: var(--font-mono); font-size: 1.05rem; letter-spacing: .06em; padding: 12px 14px; border: 1px dashed var(--accent-line); border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; word-break: break-all; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.steps-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-mono); font-size: .8rem; color: var(--accent-ink); background: var(--accent); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-weight: 600; }
.steps-list li > div > b { display: block; }
.steps-list p { margin: 2px 0 0; color: var(--text-2); font-size: .9rem; }

.toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: grid; gap: 8px; }
.toast { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 11px 14px; box-shadow: var(--shadow); font-size: .88rem; max-width: 360px; animation: pop .2s ease-out; }
.toast.error { border-left-color: var(--danger); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a, .tabs button { padding: 10px 14px; border: 0; background: none; color: var(--muted); font: 600 .88rem var(--font-body); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.active, .tabs button.active { color: var(--text); border-bottom-color: var(--accent); }
.tabs a:hover { text-decoration: none; color: var(--text); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.receipt-preview { max-height: 70vh; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.receipt-preview img { margin: 0 auto; }
.receipt-preview iframe { width: 100%; height: 70vh; border: 0; }
.dot-inline { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-right: 6px; }
.dot-inline.on { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.bar-list { display: grid; gap: 9px; }
.bar-list .b-row { display: grid; grid-template-columns: minmax(90px, 140px) 1fr auto; gap: 10px; align-items: center; font-size: .84rem; }
.bar-list .b-track { height: 8px; background: var(--surface-3); border-radius: 8px; overflow: hidden; }
.bar-list .b-track i { display: block; height: 100%; background: var(--accent); border-radius: 8px; }
.bar-list .b-row:nth-child(2n) .b-track i { background: var(--sky); }
.bar-list .b-val { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
  .grid-main { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .survey { max-width: 560px; margin: 0 auto; width: 100%; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-100%); transition: transform .2s ease; }
  .sidebar.open { transform: none; box-shadow: var(--shadow); }
  .sidebar-close, .menu-btn { display: inline-grid; }
  .sidebar-backdrop.open { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 65; }
  .cta-band { grid-template-columns: 1fr; padding: 30px 24px; }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 16px 18px; margin: 0; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-grid; }
  .nav-cta-mobile { display: grid; gap: 8px; margin-top: 10px; }
  .hide-sm { display: none !important; }
  .filters .f-wide { grid-column: 1 / -1; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters .actions { grid-column: 1 / -1; }
  .features, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid, .form-grid.cols-3, .form-grid.cols-4 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .spec { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .survey-card { transform: scale(.86); }
  .survey-card.c1 { left: 0; top: 0; }
  .survey-card.c2 { right: 0; }
  .survey-card.c3 { display: none; }
  .topbar { padding: 12px 16px; }
  .content { padding: 18px 16px 40px; }
  .agent-pill span { display: none; }
  .job-stats { grid-template-columns: 1fr 1fr; }
  .auth-card { padding: 26px 20px; }
  .thumbs-lg { grid-template-columns: 1fr; grid-template-rows: none; }
  .thumbs-lg img:first-child { grid-row: auto; min-height: 220px; }
  .live-pill { display: none; }
  .kpi .k-value { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.print-only { display: none; }
@media print {
  .sidebar, .sidebar-backdrop, .topbar, .toast-stack, .no-print, .notice, .content > .alert { display: none !important; }
  .app-shell { display: block; }
  .app-main { display: block; }
  .content { padding: 0; display: block; }
  body, .app-shell, .app-main { background: #fff !important; }
  * { color: #16201b !important; box-shadow: none !important; text-shadow: none !important; }
  .print-only { display: block; }
  .print-masthead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; margin-bottom: 16px; border-bottom: 2px solid #16201b; font: 700 1.1rem var(--font-display); }
  .print-masthead span { font: 500 .78rem var(--font-body); }
  .print-masthead strong span { color: #4fd18b !important; }
  .toolbar { display: none !important; }
  .grid-main { display: block !important; }
  .grid-main > .stack { display: block !important; }
  .grid-main > .stack > * + * { margin-top: 14px; }
  .card, .card.pafta, .card.pafta.lit { background: #fff !important; border: 1px solid #ccc !important; border-radius: 6px; break-inside: avoid; page-break-inside: avoid; }
  .btn, .icon-btn, button, input, select, .score-chip small { display: none !important; }
  a { text-decoration: none !important; }
  a[href]::after { content: ""; }
  .thumbs-lg { display: block !important; }
  .thumbs-lg img { max-height: 260px; width: 100%; object-fit: cover; margin-bottom: 6px; }
  .thumbs-lg img:not(:first-child) { display: none; }
}
