/* Mailtogoing panel — tasarım sistemi (ui-ux-pro-max: Micro SaaS indigo, Inter + Fira Code, yoğun dashboard) */
:root, [data-theme="dark"] {
  --bg: #0b1020;
  --bg-2: #0f172a;
  --surface: rgba(23, 30, 52, .72);
  --surface-solid: #161d33;
  --surface-2: #1c2440;
  --surface-3: #252e4f;
  --line: rgba(148, 163, 184, .14);
  --line-2: rgba(148, 163, 184, .24);
  --text: #eef2ff;
  --text-2: #c7cde3;
  --muted: #8b93b0;
  --primary: #6366f1;
  --primary-2: #818cf8;
  --primary-soft: rgba(99, 102, 241, .16);
  --on-primary: #ffffff;
  --violet: #a78bfa;
  --sky: #38bdf8;
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, .14);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, .14);
  --bad: #f87171;
  --bad-soft: rgba(248, 113, 113, .14);
  --info: #60a5fa;
  --info-soft: rgba(96, 165, 250, .14);
  --ring: #a5b4fc;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 30px -12px rgba(2, 6, 23, .6);
  --glow: radial-gradient(1200px 600px at 0% -10%, rgba(99,102,241,.18), transparent 60%), radial-gradient(900px 500px at 110% 0%, rgba(167,139,250,.12), transparent 55%);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f5f6fb;
  --bg-2: #eef0f8;
  --surface: rgba(255, 255, 255, .82);
  --surface-solid: #ffffff;
  --surface-2: #f3f4fa;
  --surface-3: #e8eaf5;
  --line: rgba(30, 27, 75, .09);
  --line-2: rgba(30, 27, 75, .16);
  --text: #1e1b4b;
  --text-2: #3b3f63;
  --muted: #5b6180;
  --primary: #4f46e5;
  --primary-2: #6366f1;
  --primary-soft: rgba(79, 70, 229, .10);
  --ok: #059669; --ok-soft: rgba(5,150,105,.10);
  --warn: #b45309; --warn-soft: rgba(217,119,6,.12);
  --bad: #dc2626; --bad-soft: rgba(220,38,38,.10);
  --info: #2563eb; --info-soft: rgba(37,99,235,.10);
  --ring: #4f46e5;
  --shadow: 0 1px 2px rgba(30,27,75,.06), 0 8px 24px -12px rgba(30,27,75,.18);
  --glow: radial-gradient(1200px 600px at 0% -10%, rgba(99,102,241,.10), transparent 60%);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  font: 400 14.5px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text); background: var(--bg) var(--glow) fixed;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
code, .mono, .num { font-family: "Fira Code", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.inline { display: inline; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.right { text-align: right; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.stack > * + * { margin-top: 16px; }
.hide { display: none !important; }

/* ===== Kabuk ===== */
.shell { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 14px;
  padding: 18px 14px; background: color-mix(in srgb, var(--bg-2) 82%, transparent);
  border-right: 1px solid var(--line); backdrop-filter: blur(14px);
}
.logo { display: flex; align-items: center; gap: 10px; padding: 4px 8px 8px; color: var(--text); font-weight: 700; font-size: 16px; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet)); box-shadow: 0 6px 18px -6px rgba(99,102,241,.7);
}
.side-cta { justify-content: center; }
.nav { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; overflow-y: auto; }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px;
  color: var(--text-2); font-weight: 500; transition: background .18s, color .18s;
}
.nav-item svg { color: var(--muted); transition: color .18s; flex: none; }
.nav-item:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav-item:hover svg { color: var(--text); }
.nav-item.is-active { background: var(--primary-soft); color: var(--text); box-shadow: inset 2px 0 0 var(--primary-2); }
.nav-item.is-active svg { color: var(--primary-2); }
.nav-live {
  margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; font: 600 11px/20px "Fira Code", monospace;
  text-align: center; color: #fff; background: var(--primary); position: relative;
}
.nav-live::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid var(--primary); opacity: .5; animation: pulse 1.8s ease-out infinite; }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px 6px 2px; border-top: 1px solid var(--line); }
.me { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.me-txt { display: flex; flex-direction: column; min-width: 0; }
.me-txt strong { font-size: 13px; }
.me-txt small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--surface-3); color: var(--text); flex: none; }
.main-wrap { min-width: 0; display: flex; flex-direction: column; }
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 14px 28px;
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.page-title { font-size: 19px; font-weight: 600; }
.top-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.main { padding: 24px 28px 48px; max-width: 1440px; width: 100%; }
.menu-btn { display: none; }
.side-scrim { display: none; }

/* ===== Butonlar ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 10px;
  border: 1px solid transparent; font: 500 14px/1 Inter, sans-serif; cursor: pointer; white-space: nowrap;
  transition: background .18s, border-color .18s, color .18s, transform .12s, box-shadow .18s; text-decoration: none !important;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--primary-2), var(--primary)); color: var(--on-primary); box-shadow: 0 6px 16px -8px rgba(99,102,241,.9), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-3); border-color: var(--line-2); }
.btn-danger { background: var(--bad-soft); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 30%, transparent); }
.btn-danger:hover { background: color-mix(in srgb, var(--bad) 22%, transparent); }
.btn-sm { height: 32px; padding: 0 11px; font-size: 13px; border-radius: 8px; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; border: 1px solid transparent;
  background: transparent; color: var(--muted); cursor: pointer; transition: background .18s, color .18s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }

/* ===== Kartlar ===== */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  backdrop-filter: blur(16px); min-width: 0;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 0; flex-wrap: wrap; }
.card-head h2 { font-size: 15px; }
.card-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card-body { padding: 16px 20px 20px; }
.card-flush .card-body { padding: 8px 0 4px; }
.grid { display: grid; gap: 16px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.mt { margin-top: 16px; } .mt-lg { margin-top: 24px; }

/* ===== KPI ===== */
.kpi {
  position: relative; overflow: hidden; padding: 16px 18px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(16px);
}
.kpi::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--primary), var(--violet)); opacity: 0; transition: opacity .2s; }
.kpi:hover::before { opacity: .9; }
.kpi-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.kpi-value { margin-top: 8px; font: 600 26px/1.15 "Fira Code", monospace; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi-sub { margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.kpi-spark { margin: 10px -4px -6px; height: 32px; }
.kpi-spark svg { width: 100%; height: 100%; }
.spark-line { fill: none; stroke: var(--primary-2); stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.spark-fill { fill: var(--primary-soft); }
.kpi-ok .kpi-value { color: var(--ok); } .kpi-warn .kpi-value { color: var(--warn); } .kpi-bad .kpi-value { color: var(--bad); }

/* ===== Rozetler ===== */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap; border: 1px solid transparent;
}
.badge-muted { background: var(--surface-3); color: var(--text-2); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-live { background: var(--primary-soft); color: var(--primary-2); }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.4s ease-in-out infinite; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot-ok { background: var(--ok); } .dot-bad { background: var(--bad); } .dot-warn { background: var(--warn); } .dot-muted { background: var(--muted); }

/* ===== İlerleme ===== */
.progress { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--violet)); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.progress-ok > span { background: var(--ok); } .progress-warn > span { background: var(--warn); } .progress-bad > span { background: var(--bad); }
.progress-live > span { background-image: linear-gradient(90deg, var(--primary), var(--violet), var(--primary)); background-size: 200% 100%; animation: flow 2.4s linear infinite; }

/* ===== Grafik ===== */
.bc { display: flex; align-items: flex-end; gap: 6px; height: 210px; padding-top: 8px; }
.bc-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; min-width: 0; outline: none; }
.bc-stack { position: relative; flex: 1; width: 100%; max-width: 30px; display: flex; align-items: flex-end; }
.bc-stack span { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 6px 6px 3px 3px; transition: height .5s cubic-bezier(.2,.8,.2,1), filter .15s; }
.bc-sent { background: color-mix(in srgb, var(--primary) 34%, transparent); }
.bc-open { background: var(--primary); }
.bc-click { background: var(--sky); }
.bc-col:hover .bc-stack span, .bc-col:focus .bc-stack span { filter: brightness(1.2); }
.bc-x { font: 400 10.5px "Fira Code", monospace; color: var(--muted); height: 14px; }
.legend { display: flex; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 12.5px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-sent { background: color-mix(in srgb, var(--primary) 34%, transparent); } .lg-open { background: var(--primary); } .lg-click { background: var(--sky); }
.donut-bg { fill: none; stroke: var(--surface-3); stroke-width: 7; }
.donut-fg { fill: none; stroke: var(--primary-2); stroke-width: 7; stroke-linecap: round; transition: stroke-dasharray .6s; }
.donut-ok .donut-fg { stroke: var(--ok); } .donut-warn .donut-fg { stroke: var(--warn); } .donut-bad .donut-fg { stroke: var(--bad); }

/* ===== Tablo ===== */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 10px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.table .num, .table td.right, .table th.right { text-align: right; }
.t-title { font-weight: 500; color: var(--text); }
.t-title:hover { color: var(--primary-2); }
.t-sub { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ===== Form ===== */
.field { display: flex; flex-direction: column; gap: 6px; }
.field + .field { margin-top: 14px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.help { margin: 0; color: var(--muted); font-size: 12.5px; }
.input {
  width: 100%; min-height: 40px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--surface-2); color: var(--text); font: 400 14px/1.4 Inter, sans-serif; transition: border-color .18s, box-shadow .18s, background .18s;
}
.input:hover { border-color: color-mix(in srgb, var(--primary-2) 40%, var(--line-2)); }
.input:focus { outline: none; border-color: var(--primary-2); box-shadow: 0 0 0 3px var(--primary-soft); background: var(--surface-solid); }
textarea.input { min-height: 120px; resize: vertical; }
textarea.code { font: 400 13px/1.55 "Fira Code", monospace; min-height: 420px; tab-size: 2; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b93b0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 34px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13.5px; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--primary); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); cursor: pointer; font-size: 13px; transition: all .18s; }
.chip input:checked + span { border-color: var(--primary-2); background: var(--primary-soft); color: var(--text); box-shadow: 0 0 0 1px var(--primary-2) inset; }
.chip input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 2px; }
.form-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { padding: 3px 8px; border-radius: 7px; background: var(--surface-3); border: 1px solid var(--line); font: 500 12px "Fira Code", monospace; color: var(--text-2); cursor: pointer; }
.tag:hover { border-color: var(--primary-2); color: var(--text); }

/* ===== Sekmeler ===== */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); width: fit-content; max-width: 100%; overflow-x: auto; }
.tab { padding: 7px 13px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: 13.5px; white-space: nowrap; }
.tab:hover { color: var(--text); text-decoration: none; }
.tab.is-active { background: var(--surface-solid); color: var(--text); box-shadow: var(--shadow); }
.tab .count { margin-left: 6px; font: 500 11.5px "Fira Code", monospace; color: var(--muted); }

/* ===== Kampanya / canlı ===== */
.camp { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); align-items: center; }
.camp:last-child { border-bottom: 0; }
.camp-meta { display: flex; gap: 14px; color: var(--muted); font-size: 12.5px; flex-wrap: wrap; }
.camp-meta span { display: inline-flex; align-items: center; gap: 5px; }
.camp .progress { grid-column: 1 / -1; }
.funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.funnel-step { padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.funnel-step b { display: block; font: 600 20px "Fira Code", monospace; margin-top: 4px; }
.funnel-step small { color: var(--muted); }

/* ===== Alan adı / DNS ===== */
.dns-row { display: grid; grid-template-columns: 110px 70px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dns-row:last-child { border-bottom: 0; }
.dns-row .help { grid-column: 1 / -1; }
.copy { display: flex; align-items: center; gap: 8px; min-width: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; padding: 4px 4px 4px 10px; }
.copy code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 12.5px; color: var(--text-2); }
.copy-label { font-size: 11.5px; color: var(--muted); flex: none; }
.copy .icon-btn { width: 30px; height: 30px; flex: none; }

/* ===== Uyarı / toast / boş durum ===== */
.banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; border: 1px solid; }
.banner > div { flex: 1; }
.banner svg { flex: none; }
.banner-bad { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 35%, transparent); color: var(--text); }
.banner-bad > svg { color: var(--bad); }
.banner-warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.banner-warn > svg { color: var(--warn); }
.banner-info { background: var(--primary-soft); border-color: color-mix(in srgb, var(--primary-2) 35%, transparent); }
.banner-info > svg { color: var(--primary-2); }
.notes { margin: 0; padding-left: 18px; }
.notes li + li { margin-top: 4px; }
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-radius: 12px; background: var(--surface-solid);
  border: 1px solid var(--line-2); box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); animation: toastIn .3s cubic-bezier(.2,.8,.2,1);
}
.toast span { flex: 1; }
.toast-ok > svg { color: var(--ok); } .toast-err > svg { color: var(--bad); } .toast-warn > svg { color: var(--warn); }
.toast-x { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 6px; }
.empty { text-align: center; padding: 44px 20px; }
.empty-ic { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; color: var(--primary-2); background: var(--primary-soft); }
.empty h3 { font-size: 16px; }
.empty p { color: var(--muted); max-width: 420px; margin: 6px auto 18px; }

/* ===== Önizleme ===== */
.preview { width: 100%; height: 600px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }

/* ===== Isınma ===== */
.warm { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.warm + .warm { margin-top: 14px; }
.warm .progress { grid-column: 1 / -1; }
.warm-name { font-weight: 500; }

/* ===== Giriş / herkese açık ===== */
body.bare { display: grid; place-items: center; padding: 24px; }
.bare-wrap { width: 100%; max-width: 420px; }
.bare-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); backdrop-filter: blur(16px); text-align: center; }
.bare-card h1 { font-size: 21px; margin: 14px 0 6px; }
.bare-card p { color: var(--muted); margin: 0 0 20px; }
.bare-card form { text-align: left; }
.bare-card .btn { width: 100%; justify-content: center; margin-top: 18px; }
.big-ic { width: 56px; height: 56px; margin: 0 auto; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary), var(--violet)); }
.big-ic.bad { background: var(--bad-soft); color: var(--bad); }
.big-ic.ok { background: var(--ok-soft); color: var(--ok); }
.err { color: var(--bad); font-size: 13px; margin-top: 10px; }

/* ===== Sayfalama ===== */
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px; }
.pager-info { color: var(--muted); font-size: 12.5px; }

/* ===== Animasyon ===== */
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes flow { to { background-position: -200% 0; } }
@keyframes toastIn { from { transform: translateY(10px); opacity: 0; } }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } }
.main > * { animation: rise .35s cubic-bezier(.2,.8,.2,1) both; }
.main > *:nth-child(2) { animation-delay: .04s; } .main > *:nth-child(3) { animation-delay: .08s; } .main > *:nth-child(4) { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Duyarlı ===== */
@media (max-width: 1200px) { .g-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1024px) {
  .g-main, .split, .g-3 { grid-template-columns: 1fr; }
  .funnel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 50; left: 0; top: 0; width: 272px; transform: translateX(-100%); transition: transform .25s cubic-bezier(.2,.8,.2,1); background: var(--bg-2); }
  body.side-open .side { transform: none; }
  body.side-open .side-scrim { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(2,6,23,.55); }
  .menu-btn { display: inline-grid; }
  .top { padding: 12px 16px; }
  .main { padding: 18px 16px 40px; }
  .g-2, .g-4 { grid-template-columns: 1fr; }
  .g-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dns-row { grid-template-columns: 1fr; }
  .table th, .table td { padding: 10px 14px; }
  .funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
