/* ==========================================================================
   Dekago — Tasarım Sistemi
   Referans: invenza-html.vercel.app (renk, ölçü, animasyon birebir uyarlanmıştır)
   Marka: Dekago · pazaryeri satıcıları için kâr ve mağaza yönetimi
   Kural: renk/ölçü yalnız token'dan. Emoji yok, ikonlar inline SVG (Lucide 1.8 stroke).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   1) Token
   ========================================================================== */
:root {
  color-scheme: light;

  /* Marka */
  --primary: #22B573;
  --primary-dark: #15945A;
  --primary-light: #EAF8F1;
  --primary-ink: #0D6B3F;
  /* Metin olarak kullanılabilen yeşil — WCAG AA (beyaz zeminde 4.9:1).
     --primary yalnız zemin/ikon/çizgi için; metin için bu token. */
  --primary-ink-strong: #0B6B3E;
  --primary-glow: rgba(34, 181, 115, .28);

  /* Yüzey */
  --background: #F6F8FA;
  --surface: #FFFFFF;
  --surface-2: #FBFCFD;
  --subtle-bg: #F8FAFC;
  --border: #E8EDF1;
  --border-strong: #D6DEE6;

  /* Metin */
  --text: #17212B;
  --heading-color: #0F172A;
  --body-text: #334155;
  --text-secondary: #475569;
  --muted: #6B7280;
  --muted-color: #64748B;

  /* Anlamsal */
  --success: #22B573;
  --success-ink: #15803D;
  --success-soft: #DCFCE7;
  --warning: #F59E0B;
  --warning-ink: #B45309;
  --warning-soft: #FEF3C7;
  --danger: #EF4444;
  --danger-ink: #B91C1C;
  --danger-soft: #FEE2E2;
  --info: #3B82F6;
  --info-ink: #1D4ED8;
  --info-soft: #DBEAFE;
  --purple-ink: #7E22CE;
  --purple-soft: #F3E8FF;
  --orange-ink: #C2410C;
  --orange-soft: #FFF7ED;

  /* Ölçü */
  --sidebar-width: 264px;
  --sidebar-collapsed-width: 72px;
  --header-height: 64px;
  --page-max: 1400px;

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .10);
  --shadow-glow: 0 4px 14px rgba(34, 181, 115, .30);
  --shadow-glow-lg: 0 10px 40px -8px rgba(34, 181, 115, .45);

  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-num: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

.dark, html.dark, :root[data-theme="dark"] {
  color-scheme: dark;
  --background: #0F172A;
  --surface: #1E293B;
  --surface-2: #243447;
  --subtle-bg: #1E293B;
  --border: #334155;
  --border-strong: #475569;
  --text: #F1F5F9;
  --heading-color: #F1F5F9;
  --body-text: #CBD5E1;
  --text-secondary: #94A3B8;
  --muted: #94A3B8;
  --muted-color: #94A3B8;
  --primary: #22B573;
  --primary-dark: #1DBF7A;
  --primary-light: #0D2B1D;
  --primary-ink: #6EE7B7;
  --primary-ink-strong: #6EE7B7;   /* koyu zeminde açık yeşil zaten yeterli kontrast verir */
  --primary-glow: rgba(34, 181, 115, .18);
  --success-soft: #14532D;
  --success-ink: #4ADE80;
  --warning-soft: #451A03;
  --warning-ink: #FCD34D;
  --danger-soft: #450A0A;
  --danger-ink: #F87171;
  --info-soft: #1E3A5F;
  --info-ink: #60A5FA;
  --purple-soft: #2E1065;
  --purple-ink: #C084FC;
  --orange-soft: #431407;
  --orange-ink: #FB923C;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .35);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .5);
}

/* ==========================================================================
   2) Taban
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background-color: var(--background);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--heading-color);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--primary-light); color: var(--primary-ink); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.num { font-variant-numeric: tabular-nums; }
.sr {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* İnce kaydırma çubuğu */
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
*::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ==========================================================================
   3) Yerleşim
   ========================================================================== */
.kap { width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 0 24px; }
.kap--dar { max-width: 860px; }
.bolum { padding: 72px 0; }
.bolum--dar { padding: 48px 0; }
.bolum--vurgu { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.izgara { display: grid; gap: 16px; }
.izgara--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.izgara--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.izgara--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.izgara--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.satir { display: flex; align-items: center; gap: 12px; }
.satir--ara { justify-content: space-between; }
.satir--sar { flex-wrap: wrap; }
.sag { margin-left: auto; }

/* ==========================================================================
   4) Üst menü — yatay, yapışkan (site)
   ========================================================================== */
.ust {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.ust--kaydi { box-shadow: var(--shadow-sm); }

.ust-i {
  display: flex; align-items: center; gap: 8px;
  height: 68px; max-width: var(--page-max); margin: 0 auto; padding: 0 24px;
}

/* Marka */
.marka { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--heading-color); }
.marka-i {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, #26C67E 0%, var(--primary) 45%, var(--primary-dark) 100%);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 3px 10px var(--primary-glow);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.marka:hover .marka-i { transform: translateY(-1px) scale(1.04); box-shadow: 0 6px 18px var(--primary-glow); }
.marka-i svg { width: 21px; height: 21px; }
.marka-a { display: flex; flex-direction: column; line-height: 1; }
.marka-b { font-size: 17px; font-weight: 800; letter-spacing: -.04em; color: var(--heading-color); }
.marka-s { font-size: 9.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--primary-ink-strong); margin-top: 3px; }

/* Menü */
.menu { display: flex; align-items: center; gap: 2px; margin-left: 16px; }
.menu a {
  position: relative; padding: 8px 13px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500; color: var(--text-secondary);
  transition: color .15s var(--ease), background-color .15s var(--ease);
  white-space: nowrap;
}
.menu a:hover { color: var(--text); background: var(--background); }
.menu a.on { color: var(--primary-ink-strong); font-weight: 600; }
.menu a.on::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 2px;
  background: var(--primary); border-radius: 2px 2px 0 0;
}
.ust-sag { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* Simge düğmesi */
.ib {
  width: 38px; height: 38px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text-secondary); cursor: pointer;
  transition: all .15s var(--ease);
}
.ib:hover { background: var(--background); color: var(--text); border-color: var(--border-strong); }
.ib:active { transform: scale(.96); }

/* Mobil menü */
.ust-mobil { display: none; }
.menu.acik {
  display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  position: absolute; top: 100%; left: 0; right: 0; margin: 0;
  padding: 10px 16px 16px; background: var(--surface);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  animation: fadeInDown .2s var(--ease) both;
}
.menu.acik a { padding: 13px 12px; font-size: 14px; border-radius: var(--radius-sm); }
/* Mobilde dokunma hedefi: en az 40 px (WCAG 44'e yakın, sektör standardı) */
.menu.acik a { min-height: 40px; display: flex; align-items: center; }
.menu.acik a.on::after { display: none; }
.menu.acik a.on { background: var(--primary-light); }

/* ==========================================================================
   5) Düğme
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 500; font-family: inherit; line-height: 1.4;
  border: 1px solid transparent; background: transparent;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), box-shadow .18s var(--ease), transform .12s var(--ease);
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn:active:not(:disabled) { transform: scale(.985); }
.btn svg { flex: none; }

.btn-primary {
  /* #22B573 üzerinde beyaz metin 2.65 kontrast veriyor (WCAG AA 4.5 ister).
     Bu yüzden düğme zemini koyulaştırıldı: #15945A → 3.9, #0F7A48 → 4.9.
     Marka rengi (--primary) vurgu/ikon/çizgi için korunur. */
  background: #10804C; color: #fff; border-color: #10804C;
  box-shadow: 0 1px 2px rgba(16, 128, 76, .24);
}
.btn-primary:hover:not(:disabled) {
  background: #0B6B3E; border-color: #0B6B3E;
  box-shadow: 0 4px 14px rgba(16, 128, 76, .34);
}
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover:not(:disabled) { background: var(--background); border-color: var(--muted); }
.btn-outline {
  background: transparent; color: var(--primary-ink-strong); border-color: var(--primary-ink-strong);
}.btn-outline:hover:not(:disabled) { background: var(--primary-light); }
.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.btn-ghost:hover:not(:disabled) { background: var(--background); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover:not(:disabled) { background: #DC2626; border-color: #DC2626; }
.btn-dark { background: var(--heading-color); color: #fff; border-color: var(--heading-color); }
.btn-dark:hover:not(:disabled) { background: #1E293B; }

.btn-sm { padding: 6px 12px; font-size: 12.5px; border-radius: var(--radius-sm); gap: 6px; }
.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: var(--radius-md); font-weight: 600; }
.btn-xl { padding: 16px 34px; font-size: 16px; border-radius: var(--radius-md); font-weight: 600; }
.btn-icon { padding: 8px; }
.btn-tam { width: 100%; }

/* ==========================================================================
   6) Kart / Panel
   ========================================================================== */
.kart {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  position: relative;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.kart:hover { box-shadow: var(--shadow-md); }
.kart--duz:hover { box-shadow: none; }
.kart--tik { cursor: pointer; }

.kart-b { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.kart-t { font-size: 16px; font-weight: 600; color: var(--heading-color); letter-spacing: -.01em; }
.kart-a { font-size: 13px; color: var(--muted-color); margin-top: 3px; line-height: 1.5; }

/* İstatistik kartı (referans: dash-stat-card) */
.stat-k {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px; position: relative; overflow: hidden;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.stat-k::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--info));
  opacity: 0; transition: opacity .25s var(--ease);
}
.stat-k:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-k:hover::before { opacity: 1; }

.stat-b { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.stat-ik { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.stat-v {
  font-size: 28px; font-weight: 800; color: var(--heading-color);
  letter-spacing: -.03em; line-height: 1.1; margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.stat-v--ok { color: var(--primary-ink-strong); }
.stat-l {
  font-size: 12px; font-weight: 500; color: var(--muted);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px;
}
.stat-c { height: 4px; background: var(--border); border-radius: 4px; overflow: hidden; }
.stat-c-f { height: 100%; border-radius: 4px; transition: width 1s var(--ease); }

/* Simge arka planları */
.ik-bg-primary { background: var(--primary-light); color: var(--primary-ink-strong); }
.ik-bg-success { background: var(--success-soft); color: var(--success-ink); }
.ik-bg-danger { background: var(--danger-soft); color: var(--danger-ink); }
.ik-bg-warning { background: var(--warning-soft); color: var(--warning-ink); }
.ik-bg-info { background: var(--info-soft); color: var(--info-ink); }
.ik-bg-purple { background: var(--purple-soft); color: var(--purple-ink); }
.ik-bg-orange { background: var(--orange-soft); color: var(--orange-ink); }
.ik-bg-gray { background: var(--background); color: var(--muted); }

/* Simge kutusu */
.iko {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; flex: none;
  background: var(--primary-light); color: var(--primary-ink-strong);
  transition: transform .3s var(--ease-out), background-color .2s var(--ease);
}
.kart:hover .iko { transform: scale(1.06); }

/* ==========================================================================
   7) Rozet / etiket
   ========================================================================== */
.rozet {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.rozet::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; flex: none;
}
.rozet--noktasiz::before { display: none; }
.rozet--basari { background: var(--success-soft); color: var(--success-ink); }
.rozet--uyari { background: var(--warning-soft); color: var(--warning-ink); }
.rozet--hata { background: var(--danger-soft); color: var(--danger-ink); }
.rozet--bilgi { background: var(--info-soft); color: var(--info-ink); }
.rozet--gri { background: var(--background); color: var(--text-secondary); }
.rozet--mor { background: var(--purple-soft); color: var(--purple-ink); }
.rozet--turuncu { background: var(--orange-soft); color: var(--orange-ink); }
.rozet--ana { background: var(--primary-light); color: var(--primary-ink); }

/* Trend göstergesi */
.trend { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.trend--up { color: #16A34A; background: var(--success-soft); }
.trend--down { color: #DC2626; background: var(--danger-soft); }
.trend--flat { color: var(--muted); background: var(--background); }

/* ==========================================================================
   8) Karşılama bandı (referans: welcome-banner)
   ========================================================================== */
.bant {
  background: linear-gradient(135deg, #22B573 0%, #1A9A60 35%, #15945A 65%, #0D6B3F 100%);
  border-radius: var(--radius-lg); padding: 32px 36px; color: #fff;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 8px 32px rgba(34, 181, 115, .25), 0 2px 8px rgba(0, 0, 0, .08);
}
.bant::before {
  content: ""; position: absolute; top: -80px; right: -40px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 70%);
  pointer-events: none;
}
.bant::after {
  content: ""; position: absolute; bottom: -100px; left: 15%;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .06) 0%, transparent 70%);
  pointer-events: none;
}
.bant-i { display: flex; align-items: flex-start; gap: 16px; position: relative; z-index: 1; }
.bant-ik {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .2);
  display: grid; place-items: center; backdrop-filter: blur(8px);
}
.bant h2 { font-size: 24px; font-weight: 700; letter-spacing: -.3px; margin-bottom: 6px; color: #fff; }
.bant p { font-size: 14px; opacity: .92; line-height: 1.6; max-width: 560px; }
.bant strong { color: #fff; font-weight: 700; background: rgba(255, 255, 255, .2); padding: 2px 8px; border-radius: 6px; backdrop-filter: blur(4px); }
.bant-e { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }

.bant .btn-cam {
  background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px); padding: 8px 16px; border-radius: 10px;
  font-size: 13px; font-weight: 500;
}
.bant .btn-cam:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .4); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, .1); }
.bant .btn-beyaz {
  background: #fff; color: var(--primary-ink); border: 1px solid #fff;
  padding: 8px 16px; border-radius: 10px; font-size: 13px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}
.bant .btn-beyaz:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, .15); }

/* ==========================================================================
   9) Form
   ========================================================================== */
.form-etiket { display: block; font-size: 13px; font-weight: 600; color: var(--body-text); margin-bottom: 6px; }
.form-etiket .gerekli { color: var(--danger); margin-left: 2px; }

.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 14px; height: 42px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); color: var(--text);
  font-size: 14px; font-family: inherit;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease);
}
.form-textarea { height: auto; min-height: 104px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: var(--border-strong); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary-ink-strong);
  box-shadow: 0 0 0 3px rgba(34, 181, 115, .1);
}
.form-input.hata, .form-textarea.hata { border-color: var(--danger); }
.form-input:disabled, .form-select:disabled, .form-textarea:disabled { opacity: .6; cursor: not-allowed; background: var(--background); }
.form-select {
  appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-yardim { display: block; margin-top: 5px; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.form-alan { margin-bottom: 16px; }
.form-alan:last-child { margin-bottom: 0; }

/* Arama kutusu */
.ara { position: relative; }
.ara-ik { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.ara input { padding-left: 38px; }

/* Filtre çubuğu */
.filtre {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; margin-bottom: 16px;
}
.filtre .ara { flex: 1; min-width: 220px; }
.filtre .form-input, .filtre .form-select { height: 40px; font-size: 13px; min-width: 148px; }
.filtre-say { margin-left: auto; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Anahtar (switch) */
.anahtar { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.anahtar input { position: absolute; opacity: 0; width: 0; height: 0; }
.anahtar-i {
  width: 38px; height: 22px; border-radius: 999px; background: var(--border-strong);
  position: relative; flex: none; transition: background-color .2s var(--ease);
}
.anahtar-i::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .2s var(--ease);
}
.anahtar input:checked + .anahtar-i { background: var(--primary); }
.anahtar input:checked + .anahtar-i::after { transform: translateX(16px); }
.anahtar input:focus-visible + .anahtar-i { outline: 2px solid var(--primary); outline-offset: 3px; }

/* Onay kutusu */
.onay { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13.5px; }
.onay input { width: 17px; height: 17px; accent-color: var(--primary-ink-strong); cursor: pointer; }

/* ==========================================================================
   10) Tablo
   ========================================================================== */
.tablo-s { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.tablo-s-scroll { overflow-x: auto; }
.tablo {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.tablo thead th {
  background: var(--subtle-bg); padding: 11px 16px; text-align: left;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border); white-space: nowrap;
}
.tablo thead th[data-sirala] { cursor: pointer; user-select: none; }
.tablo thead th[data-sirala]:hover { color: var(--text); }
.tablo tbody tr { border-bottom: 1px solid var(--border); transition: background-color .12s var(--ease); }
.tablo tbody tr:hover { background: var(--subtle-bg); }
.tablo tbody tr:last-child { border-bottom: 0; }
.tablo tbody td { padding: 12px 16px; vertical-align: middle; }
.tablo td.num, .tablo th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tablo td.c, .tablo th.c { text-align: center; }
.tablo .soluk { color: var(--muted); font-size: 12.5px; }
.tablo .ok { color: var(--primary-ink-strong); font-weight: 700; }
.tablo .yok { color: var(--border-strong); }

.tablo-alt {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--muted); background: var(--surface);
  flex-wrap: wrap; gap: 12px;
}

/* ==========================================================================
   11) Sekmeler / çipler
   ========================================================================== */
.sekme { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; }
.sekme button {
  padding: 10px 14px; border: 0; background: none; cursor: pointer;
  font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.sekme button:hover { color: var(--text); }
.sekme button[aria-selected="true"] { color: var(--primary-ink-strong); border-bottom-color: var(--primary-ink-strong); font-weight: 600; }

.cip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 12.5px; font-weight: 500; color: var(--text-secondary);
  cursor: pointer; transition: all .15s var(--ease);
}
.cip:hover { border-color: var(--primary-ink-strong); color: var(--primary-ink-strong); }
.cip[aria-pressed="true"] { background: var(--primary-light); border-color: var(--primary-ink-strong); color: var(--primary-ink); font-weight: 600; }

/* ==========================================================================
   12) Açılır / modal / bildirim
   ========================================================================== */
.modal-arka {
  position: fixed; inset: 0; z-index: 200; background: rgba(15, 23, 42, .45);
  backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px;
  animation: fadeIn .16s var(--ease) both;
}
.modal {
  width: 100%; max-width: 480px; max-height: calc(100vh - 32px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); animation: scaleIn .2s var(--ease) both;
}
.modal--genis { max-width: 760px; }
.modal--tam { max-width: 980px; }
.modal-b { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-b h3 { font-size: 16px; font-weight: 600; }
.modal-g { padding: 22px; overflow-y: auto; flex: 1; }
.modal-a { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--border); background: var(--subtle-bg); }

/* Bildirim */
.bildirim-alan {
  position: fixed; top: 16px; right: 16px; z-index: 300;
  display: flex; flex-direction: column; gap: 10px; max-width: 400px;
  pointer-events: none;
}
.bildirim {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 16px;
  box-shadow: var(--shadow-lg); pointer-events: auto;
  animation: slideInRight .28s var(--ease-out) both;
}
.bildirim.cikiyor { animation: slideOutRight .22s var(--ease) both; }
.bildirim-ik { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.bildirim-ik--ok { background: var(--success-soft); color: var(--success-ink); }
.bildirim-ik--hata { background: var(--danger-soft); color: var(--danger-ink); }
.bildirim-ik--uyari { background: var(--warning-soft); color: var(--warning-ink); }
.bildirim-ik--bilgi { background: var(--info-soft); color: var(--info-ink); }
.bildirim-i { flex: 1; min-width: 0; }
.bildirim-i b { display: block; font-size: 13.5px; font-weight: 600; color: var(--heading-color); }
.bildirim-i p { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.bildirim-x { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 2px; border-radius: 4px; flex: none; }
.bildirim-x:hover { color: var(--text); background: var(--background); }

/* ==========================================================================
   13) Boş durum / iskelet
   ========================================================================== */
.bos { padding: 60px 24px; text-align: center; }
.bos-ik {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 16px;
  background: var(--primary-light); color: var(--primary-ink-strong);
  display: grid; place-items: center;
}
.bos h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.bos p { font-size: 13.5px; color: var(--muted); max-width: 42ch; margin: 0 auto; line-height: 1.6; }
.bos .btn { margin-top: 18px; }

.iskelet {
  background: linear-gradient(90deg, var(--border) 25%, var(--background) 50%, var(--border) 75%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   14) Animasyonlar (referansla birebir)
   ========================================================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: none; } }
@keyframes slideOutRight { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(100%); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 5px rgba(34, 181, 115, .3); } 50% { box-shadow: 0 0 20px rgba(34, 181, 115, .5); } }
@keyframes salla { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

.a { animation: fadeIn .4s var(--ease) both; }
.a-up { animation: slideUp .45s var(--ease) both; }
.a-in-up { animation: slideInUp .5s var(--ease) both; }
.a-scale { animation: scaleIn .3s var(--ease) both; }
.a-float { animation: float 6s ease-in-out infinite; }
.a-glow { animation: glow 2.6s ease-in-out infinite; }
.a-don { animation: spin 1s linear infinite; }

/* Gecikmeli giriş (referans: stagger) */
.g-1 { animation-delay: .05s; animation-fill-mode: backwards; }
.g-2 { animation-delay: .1s; animation-fill-mode: backwards; }
.g-3 { animation-delay: .15s; animation-fill-mode: backwards; }
.g-4 { animation-delay: .2s; animation-fill-mode: backwards; }
.g-5 { animation-delay: .25s; animation-fill-mode: backwards; }
.g-6 { animation-delay: .3s; animation-fill-mode: backwards; }

/* Kaydırmayla görünür olma */
.gor {
  opacity: 0; transform: translateY(20px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.gor.gorundu { opacity: 1; transform: none; }
/* JS kapalıysa / observer kurulamazsa içerik görünür kalsın */
.no-js .gor, html:not(.js) .gor { opacity: 1; transform: none; }

/* Sayı sayacı */
.sayac { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   15) Yardımcı
   ========================================================================== */
.gizli { display: none !important; }
/* `hidden` özniteliği her zaman kazansın — display'li bileşenler (rozet, sayaç,
   ızgara) [hidden]'i eziyordu. Tek kural, tüm site. */
[hidden] { display: none !important; }
.metin-soluk { color: var(--muted); }
.metin-kucuk { font-size: 12.5px; }
.metin-orta { font-size: 13.5px; }
.metin-orta-soluk { font-size: 13.5px; color: var(--muted); }
.kalin { font-weight: 600; }
.orta { text-align: center; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.bosluk-0 { margin: 0; }

/* Bölüm başlığı */
.bas { max-width: 62ch; margin-bottom: 40px; }
.bas-k {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--primary-ink-strong); background: var(--primary-light);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.bas h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.035em; }
.bas p { margin-top: 12px; font-size: 16px; color: var(--body-text); line-height: 1.65; }
.bas--orta { margin-left: auto; margin-right: auto; text-align: center; }

/* ==========================================================================
   16) Site: kahraman
   ========================================================================== */
.ka { position: relative; overflow: hidden; padding: 84px 0 72px; }
.ka::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 380px at 18% -6%, rgba(34, 181, 115, .12), transparent 68%),
    radial-gradient(620px 320px at 84% 4%, rgba(59, 130, 246, .07), transparent 70%);
}
.ka-i { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ka-etiket {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 14px 0 6px; margin-bottom: 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
}
.ka-etiket i {
  width: 20px; height: 20px; border-radius: 999px; flex: none;
  background: var(--primary-light); color: var(--primary-ink-strong);
  display: grid; place-items: center;
}
.ka h1 {
  font-size: clamp(36px, 4.4vw, 58px); font-weight: 800;
  letter-spacing: -.045em; line-height: 1.06;
  max-width: 24ch;
}
.ka h1 em { font-style: normal; color: var(--primary-ink-strong); position: relative; }
.ka h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .12em;
  background: var(--primary-light); border-radius: 3px; z-index: -1;
}
.ka-a { margin-top: 22px; font-size: 17.5px; color: var(--body-text); max-width: 64ch; line-height: 1.62; }
.ka-btn { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ka-not { margin-top: 20px; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 18px; }
.ka-not span { display: inline-flex; align-items: center; gap: 6px; }
.ka-not svg { color: var(--primary-ink-strong); }

/* Kahraman görseli — uygulama önizlemesi */
.ka-g {
  position: relative; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 24px 70px -20px rgba(15, 23, 42, .22), 0 8px 24px -8px rgba(15, 23, 42, .1);
  overflow: hidden;
}
.ka-g::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(140deg, transparent 55%, rgba(34, 181, 115, .05) 100%);
}
.ka-g-b {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--subtle-bg);
}
.ka-g-b i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.ka-g-b i:first-child { background: #FCA5A5; }
.ka-g-b i:nth-child(2) { background: #FCD34D; }
.ka-g-b i:nth-child(3) { background: #86EFAC; }
.ka-g-ad { margin-left: 8px; font-size: 11px; color: var(--muted); font-weight: 500; }
.ka-g-c { padding: 18px; }

/* İstatistik şeridi */
.serit {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.serit > div { background: var(--surface); padding: 22px 20px; }
.serit b {
  display: block; font-size: 27px; font-weight: 800;
  letter-spacing: -.035em; color: var(--heading-color);
  font-variant-numeric: tabular-nums;
}
.serit span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   17) Site: adımlar
   ========================================================================== */
.adimlar {
  display: grid; gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.adim { background: var(--surface); padding: 24px; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.adim-n {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--primary-light); color: var(--primary-ink);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.adim h3 { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.adim p { font-size: 13.5px; color: var(--body-text); line-height: 1.6; }

/* ==========================================================================
   18) Site: paketler
   ========================================================================== */
.paketler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.paket {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  display: flex; flex-direction: column; position: relative;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.paket:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.paket--on { border-color: var(--primary-ink-strong); box-shadow: 0 0 0 1px var(--primary), var(--shadow-md); }
.paket--on:hover { box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg); }
.paket-bant {
  position: absolute; top: -11px; left: 24px;
  background: var(--primary); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
  box-shadow: var(--shadow-glow);
}
.paket h3 { font-size: 16.5px; font-weight: 700; }
.paket-a { font-size: 12.5px; color: var(--muted); margin-top: 5px; min-height: 36px; line-height: 1.5; }
.paket-f { display: flex; align-items: baseline; gap: 6px; margin: 20px 0; }
.paket-f b { font-size: 36px; font-weight: 800; letter-spacing: -.04em; color: var(--heading-color); font-variant-numeric: tabular-nums; }
.paket-f small { font-size: 12.5px; color: var(--muted); }
.paket-ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.paket-ul li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--body-text); line-height: 1.45; }
.paket-ul li svg { flex: none; margin-top: 2px; color: var(--primary-ink-strong); }
.paket-ul li.yok { color: var(--muted); }
.paket-ul li.yok svg { color: var(--border-strong); }
.paket .btn { margin-top: auto; }
.paket-dip { text-align: center; margin-top: 28px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   19) Site: SSS
   ========================================================================== */
.sss { display: grid; gap: 10px; }
.sss details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color .15s var(--ease), box-shadow .2s var(--ease);
}
.sss details[open] { border-color: var(--primary-ink-strong); box-shadow: 0 0 0 1px var(--primary); }
.sss summary {
  padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none; color: var(--heading-color);
}
.sss summary::-webkit-details-marker { display: none; }
.sss summary::after {
  content: ""; width: 9px; height: 9px; flex: none;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.sss details[open] summary::after { transform: rotate(225deg) translateY(-2px); border-color: var(--primary-ink-strong); }
.sss .icerik { padding: 0 20px 18px; font-size: 13.5px; color: var(--body-text); line-height: 1.7; }
.sss details[open] .icerik { animation: fadeIn .25s var(--ease) both; }

/* ==========================================================================
   20) Site: CTA
   ========================================================================== */
.cagri {
  background: linear-gradient(135deg, #22B573 0%, #1A9A60 40%, #0D6B3F 100%);
  color: #fff; border-radius: var(--radius-xl); padding: 56px 44px;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(34, 181, 115, .5);
}
.cagri::before {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%);
  pointer-events: none;
}
.cagri::after {
  content: ""; position: absolute; left: -60px; bottom: -140px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 70%);
  pointer-events: none;
}
.cagri h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; max-width: 24ch; position: relative; z-index: 1; color: #fff; }
.cagri p { margin-top: 12px; font-size: 15.5px; opacity: .92; max-width: 56ch; position: relative; z-index: 1; }
.cagri .btn { background: #fff; color: #0B6B3E; margin-top: 26px; position: relative; z-index: 1; font-weight: 700; }
.cagri .btn:hover { background: rgba(255, 255, 255, .94); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }

/* ==========================================================================
   21) Site: alt bilgi
   ========================================================================== */
.alt-b { border-top: 1px solid var(--border); background: var(--surface); padding: 56px 0 24px; }
.alt-i { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 40px; }
.alt-i h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.alt-i ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.alt-i a { font-size: 13.5px; color: var(--text-secondary); transition: color .15s var(--ease); }
.alt-i a:hover { color: var(--primary-ink-strong); }
.alt-not {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  font-size: 12.5px; color: var(--muted);
}
.alt-not .sag { display: flex; gap: 18px; }
.alt-not a:hover { color: var(--primary-ink-strong); }

/* ==========================================================================
   22) Yasal metin
   ========================================================================== */
.yasal { max-width: 780px; margin: 0 auto; }
.yasal h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 10px; }
.yasal .tarih { font-size: 12.5px; color: var(--muted); margin-bottom: 36px; }
.yasal h2 { font-size: 18px; font-weight: 700; margin: 36px 0 12px; }
.yasal h3 { font-size: 15px; font-weight: 600; margin: 22px 0 8px; }
.yasal p, .yasal li { font-size: 14.5px; line-height: 1.78; color: var(--body-text); }
.yasal p { margin-bottom: 12px; }
.yasal ul, .yasal ol { margin: 0 0 16px; padding-left: 22px; }
.yasal li { margin-bottom: 8px; }
.yasal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13.5px; }
.yasal th, .yasal td { border: 1px solid var(--border); padding: 10px 13px; text-align: left; vertical-align: top; }
.yasal th { background: var(--subtle-bg); font-weight: 600; color: var(--heading-color); }
.yasal a { color: var(--primary-ink-strong); font-weight: 500; }
.yasal a:hover { text-decoration: underline; }
.yasal .kutu { background: var(--subtle-bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; margin: 20px 0; }
.yasal code {
  font-family: ui-monospace, 'SF Mono', monospace; font-size: 12.5px;
  background: var(--subtle-bg); border: 1px solid var(--border);
  padding: 1px 6px; border-radius: 5px;
}

/* ==========================================================================
   23) Form kartı (giriş/kayıt)
   ========================================================================== */
.form-kart {
  width: 100%; max-width: 440px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-md);
  animation: slideUp .4s var(--ease) both;
}
.form-kart--genis { max-width: 560px; }
.form-kart h1 { font-size: 23px; font-weight: 800; letter-spacing: -.03em; }
.form-kart > p { margin-top: 6px; margin-bottom: 20px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.form-kart .btn-tam { margin-top: 22px; }
.alt-link { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.alt-link a { color: var(--primary-ink-strong); font-weight: 600; }
.alt-link a:hover { text-decoration: underline; }

/* Uyarı kutusu */
.not {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.55;
  margin-bottom: 16px;
}
.not--h { background: var(--danger-soft); color: var(--danger-ink); border: 1px solid color-mix(in srgb, var(--danger) 24%, var(--border)); }
.not--t { background: var(--success-soft); color: var(--success-ink); border: 1px solid color-mix(in srgb, var(--success) 24%, var(--border)); }
.not--u { background: var(--warning-soft); color: var(--warning-ink); border: 1px solid color-mix(in srgb, var(--warning) 26%, var(--border)); }
.not--b { background: var(--info-soft); color: var(--info-ink); border: 1px solid color-mix(in srgb, var(--info) 24%, var(--border)); }

/* ==========================================================================
   24) Duyarlı
   ========================================================================== */
@media (max-width: 1080px) {
  .ka-i { grid-template-columns: 1fr; gap: 40px; }
  .izgara--4, .izgara--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .izgara--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .serit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alt-i { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .menu { display: none; }
  .ust-sag [data-menu] { display: grid; }
  .ust-i { height: 62px; padding: 0 16px; gap: 6px; }
  /* Üst barda marka + 2 düğme + menü: yer kalmıyor → "Ücretsiz başla" gizlenir,
     "Giriş yap" ikon düğmeye döner. Aksiyon sayfanın kendi CTA'sında var. */
  .ust-sag { gap: 6px; }
  .ust-sag > .btn { height: 34px; padding: 0 12px; font-size: 12.5px; }
  /* Mobilde ana CTA gizlenir (sayfa içi CTA'lar yeterli); "Giriş yap" kalır. */
  .ust-sag > a[href="/hesap/kayit"] { display: none; }
  .ust-sag > .ib[data-tema] { display: none; }
  .marka-b { font-size: 16px; }
  .marka-s { font-size: 9px; }
  .marka-i { width: 32px; height: 32px; border-radius: 10px; }
  .marka-i svg { width: 19px; height: 19px; }
  .kap { padding: 0 16px; }
  .bolum { padding: 52px 0; }
  .ka { padding: 52px 0 44px; }
  .izgara--2, .izgara--3, .izgara--4, .izgara--5 { grid-template-columns: 1fr; }
  .paketler { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .adim { grid-template-columns: 1fr; gap: 12px; }
  .cagri { padding: 40px 24px; border-radius: var(--radius-lg); }
  .alt-i { grid-template-columns: 1fr; gap: 28px; }
  .bant { padding: 24px 22px; border-radius: var(--radius-md); }
  .bant h2 { font-size: 20px; }
  .stat-v { font-size: 24px; }
  .form-kart { padding: 24px 20px; }
  .yasal table { font-size: 12.5px; }
  .filtre { flex-direction: column; align-items: stretch; padding: 12px; }
  /* column yönünde flex-basis yüksekliğe dönüşür → .ara şişmesin */
  .filtre .ara { flex: 0 0 auto; min-width: 100%; height: auto; }
  .filtre .form-input, .filtre .form-select { width: 100%; min-width: 0; }
  .filtre-say { margin-left: 0; }
}

@media (max-width: 520px) {
  .ka h1 { font-size: 32px; }
  .ka-a { font-size: 16px; }
  .serit { grid-template-columns: 1fr 1fr; }
  .serit > div { padding: 18px 16px; }
  .serit b { font-size: 22px; }
  .btn-lg, .btn-xl { width: 100%; }
  .ka-btn { flex-direction: column; }
  .paket { padding: 24px 20px; }
  .bolum { padding: 44px 0; }
  .bas { margin-bottom: 28px; }
  .bas h2 { font-size: 24px; }
  .cagri h2 { font-size: 23px; }
  .sss summary { padding: 14px 16px; font-size: 13.5px; }
  .sss .icerik { padding: 0 16px 16px; }
  .bildirim-alan { left: 12px; right: 12px; max-width: none; }
}

/* ==========================================================================
   25) Erişilebilirlik: hareket azaltma
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .gor { opacity: 1; transform: none; }
}

/* Yazdırma */
@media print {
  .ust, .alt-b, .cagri, .btn, .filtre { display: none !important; }
  body { background: #fff; }
  .kart, .tablo-s { box-shadow: none !important; border: 1px solid #ddd !important; }
  .bant { background: #f0f0f0 !important; color: #000 !important; }
}
