/* ===========================================================
   KasaDefterim Pro — Web Panel · Tasarım Sistemi v3
   Swiss/minimal premium fintech · slate-navy · Space Grotesk +
   Inter + JetBrains Mono (rakamlar). Marka aksanı: turuncu.
   =========================================================== */
:root {
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --bg:        #090d18;
  --bg-2:      #0b1020;
  --surface:   #121a2c;
  --surface-2: #19223a;
  --surface-3: #232f4a;
  --border:    rgba(255,255,255,.07);
  --border-2:  rgba(255,255,255,.13);
  --text:      #f3f6fc;
  --text-2:    #99a3ba;
  --text-3:    #5d6781;
  --brand:     #ff8c00;
  --brand-2:   #ffab3d;
  --brand-soft:rgba(255,140,0,.13);
  --brand-glow:rgba(255,140,0,.40);
  --green:     #28d17c;
  --green-soft:rgba(40,209,124,.13);
  --red:       #ff5a63;
  --red-soft:  rgba(255,90,99,.13);
  --blue:      #4aa3ff;
  --purple:    #a779ff;
  --teal:      #2ee6c4;
  --yellow:    #ffce4a;
  --shadow-sm: 0 1px 2px rgba(2,6,16,.5);
  --shadow:    0 12px 30px -10px rgba(2,6,16,.6);
  --shadow-lg: 0 32px 70px -18px rgba(2,6,16,.75);
  --r-xs: 9px; --r-sm: 12px; --r: 16px; --r-lg: 22px; --r-full: 999px;
  --sidebar: 256px;
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -.005em;
}
.hidden { display: none !important; }
::selection { background: var(--brand-glow); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--border-2); }

input, select, button, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .font-display { font-family: var(--font-display); letter-spacing: -.02em; }
/* Tüm parasal / sayısal değerler: hizalı mono rakamlar (fintech imzası) */
.tnum { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
  transition: transform .12s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), border-color .18s, opacity .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-3); border-color: var(--border-2); }
.btn:active { transform: scale(.975); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #1a1205; border: none; box-shadow: 0 8px 22px -8px var(--brand-glow);
}
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 10px 28px -8px var(--brand-glow); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: transparent; }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); border-color: transparent; }
.btn-danger { background: var(--red-soft); color: var(--red); border-color: transparent; }
.btn-danger:hover { background: rgba(255,90,99,.2); }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: var(--r-xs); }
.btn-icon { padding: 9px; border-radius: var(--r-xs); border-color: transparent; background: transparent; }
.btn svg { width: 17px; height: 17px; }

/* ---------- Inputs ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; font-weight: 600; color: var(--text-2); letter-spacing: .02em; text-transform: uppercase; }
.input, .select {
  width: 100%; padding: 12px 14px; background: var(--bg-2);
  border: 1px solid var(--border-2); border-radius: var(--r-sm); color: var(--text);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s;
  outline: none;
}
.input::placeholder { color: var(--text-3); }
.input:focus, .select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); background: var(--surface); }
.select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2399a3ba' 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 13px center; padding-right: 38px;
}
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--text-3); pointer-events: none; }
.input-icon .input { padding-left: 40px; }

/* ============================================================
   LOGIN — iki panelli (split) premium
   ============================================================ */
.auth-wrap { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--bg); }

.auth-brand {
  position: relative; overflow: hidden; padding: 56px 54px;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255,140,0,.18), transparent 48%),
    radial-gradient(90% 80% at 100% 100%, rgba(74,163,255,.10), transparent 55%),
    linear-gradient(160deg, #0f1626, #090d18 65%);
  border-right: 1px solid var(--border);
}
.auth-brand::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 28% 22%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 28% 22%, #000, transparent 72%);
}
.auth-brand-inner { position: relative; z-index: 1; }
.auth-hero { font-size: 35px; line-height: 1.14; font-weight: 700; margin-top: 44px; max-width: 14ch; }
.auth-hero b { color: var(--brand); }
.auth-points { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 16px; max-width: 30ch; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 14.5px; }
.auth-points .pic { width: 22px; height: 22px; border-radius: 7px; background: var(--brand-soft); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.auth-points .pic svg { width: 13px; height: 13px; color: var(--brand); }
.auth-foot { position: relative; z-index: 1; color: var(--text-3); font-size: 12.5px; font-weight: 600; letter-spacing: .03em; }

.auth-formside { display: flex; align-items: center; justify-content: center; padding: 32px; }
.auth-card { width: 100%; max-width: 384px; animation: rise .5s var(--ease-out) both; }
.auth-card .brand-logo { display: none; margin-bottom: 18px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.brand-logo { display: flex; align-items: center; gap: 11px; }
.brand-logo .mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 20px -6px var(--brand-glow); }
.brand-logo .mark svg { width: 22px; height: 22px; color: #1a1205; }
.brand-logo .name { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.brand-logo .name b { color: var(--brand); }
.auth-sub { color: var(--text-2); font-size: 14.5px; margin-bottom: 24px; font-weight: 500; }

.seg { display: flex; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 4px; margin-bottom: 22px; gap: 3px; }
.seg button { flex: 1; padding: 9px; border-radius: var(--r-xs); color: var(--text-2); font-weight: 600; font-size: 14px; transition: all .18s var(--ease); }
.seg button.active { background: var(--surface-2); color: var(--text); box-shadow: var(--shadow-sm); }
.seg.seg-brand button.active { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #1a1205; }

.stack > * + * { margin-top: 14px; }
.auth-err { color: var(--red); font-size: 13px; min-height: 17px; transition: color .2s; }
.auth-link { text-align: center; }
.auth-link button { color: var(--brand); font-weight: 600; font-size: 13.5px; padding: 4px; }
.auth-link button:hover { color: var(--brand-2); }
.remember { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-2); cursor: pointer; user-select: none; }
.remember input { width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; }

/* ============================================================
   APP SHELL
   ============================================================ */
.app { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; min-height: 100dvh; }

.sidebar {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 18px 14px; position: sticky; top: 0; height: 100vh; height: 100dvh;
}
.sidebar .logo { display: flex; align-items: center; gap: 10px; padding: 6px 8px 18px; }
.sidebar .logo .mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 6px 16px -6px var(--brand-glow); }
.sidebar .logo .mark svg { width: 18px; height: 18px; color: #1a1205; }
.sidebar .logo .name { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.sidebar .logo .name b { color: var(--brand); }

/* Workspace switcher */
.ws-switch { position: relative; margin-bottom: 16px; }
.ws-switch-btn {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); text-align: left;
  transition: border-color .15s, background .15s;
}
.ws-switch-btn:hover { border-color: var(--border-2); background: var(--surface-2); }
.ws-switch-btn .ws-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); display: grid; place-items: center; flex-shrink: 0; }
.ws-switch-btn .ws-ico svg { width: 16px; height: 16px; color: var(--brand); }
.ws-switch-btn .meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.ws-switch-btn .meta .nm { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-switch-btn .meta .rl { font-size: 11.5px; color: var(--text-3); }
.ws-switch-btn .chev { color: var(--text-3); flex-shrink: 0; }
.ws-switch-btn .chev svg { width: 15px; height: 15px; }
.ws-menu {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg); padding: 6px; max-height: 320px; overflow-y: auto;
  animation: pop .15s var(--ease-out) both;
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.ws-menu .item { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: var(--r-xs); cursor: pointer; transition: background .12s; width: 100%; text-align: left; }
.ws-menu .item:hover { background: var(--surface-3); }
.ws-menu .item.active { background: var(--brand-soft); }
.ws-menu .item .nm { font-size: 13.5px; font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-menu .item .rl { font-size: 11px; color: var(--text-3); }
.ws-menu .sep { height: 1px; background: var(--border); margin: 6px 4px; }

/* Nav */
.nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm);
  color: var(--text-2); font-weight: 600; font-size: 14px; transition: all .15s var(--ease); position: relative;
}
.nav-item svg { width: 19px; height: 19px; flex-shrink: 0; }
.nav-item:hover { background: var(--surface); color: var(--text); }
.nav-item.active { background: var(--brand-soft); color: var(--brand); }
.nav-item.active::before { content: ""; position: absolute; left: -14px; top: 50%; transform: translateY(-50%); width: 3px; height: 22px; background: var(--brand); border-radius: 0 3px 3px 0; box-shadow: 0 0 12px var(--brand-glow); }
.nav-item .count { margin-left: auto; font-size: 11.5px; background: var(--surface-2); color: var(--text-3); padding: 1px 8px; border-radius: var(--r-full); font-weight: 700; font-family: var(--font-mono); }

.side-foot { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 8px; }
.user-row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-sm); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; flex-shrink: 0; background: linear-gradient(135deg, var(--brand), var(--brand-2)); font-family: var(--font-display); }
.user-row .meta { flex: 1; min-width: 0; }
.user-row .meta .nm { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-row .meta .em { font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Main */
.main { display: flex; flex-direction: column; min-width: 0; background: radial-gradient(120% 60% at 100% 0%, rgba(255,140,0,.05), transparent 40%), var(--bg); }
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px;
  padding: 16px 28px; background: rgba(9,13,24,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
}
.topbar .burger { display: none; }
.topbar h1 { font-size: 19px; font-weight: 700; }
.topbar .spacer { flex: 1; }
.content { padding: 26px 28px 56px; max-width: 1200px; width: 100%; margin: 0 auto; }
.view { animation: viewin .34s var(--ease-out) both; }
@keyframes viewin { from { opacity: 0; transform: translateY(10px); } }

.role-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: var(--r-full); }
.role-owner  { background: var(--brand-soft); color: var(--brand); }
.role-editor { background: rgba(74,163,255,.14); color: var(--blue); }
.role-viewer { background: var(--surface-2); color: var(--text-2); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); position: relative; }
.card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); border-radius: var(--r) var(--r) 0 0; pointer-events: none; }
.card-pad { padding: 20px; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-head h2 { font-size: 15px; font-weight: 600; }
.card-head .spacer { flex: 1; }

/* Greeting */
.greet { margin-bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.greet h2 { font-size: 26px; font-weight: 700; }
.greet h2 .wave { display: inline-block; animation: wave 2.2s var(--ease) infinite; transform-origin: 70% 70%; }
@keyframes wave { 0%,60%,100%{transform:rotate(0)} 15%{transform:rotate(16deg)} 30%{transform:rotate(-8deg)} 45%{transform:rotate(12deg)} }
.greet p { color: var(--text-3); font-size: 14px; margin-top: 4px; }

/* Stat cards */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; position: relative; overflow: hidden; transition: transform .2s var(--ease-out), border-color .2s, box-shadow .2s; box-shadow: var(--shadow-sm); }
.stat::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent); }
.stat:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow); }
.stat .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 13px; }
.stat .ico svg { width: 20px; height: 20px; }
.stat .label { font-size: 11.5px; color: var(--text-2); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.stat .val { font-size: 24px; font-weight: 700; margin-top: 4px; font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.stat.accent-green .ico { background: var(--green-soft); color: var(--green); }
.stat.accent-red .ico { background: var(--red-soft); color: var(--red); }
.stat.accent-brand .ico { background: var(--brand-soft); color: var(--brand); }
.stat.accent-blue .ico { background: rgba(74,163,255,.14); color: var(--blue); }
.stat.accent-yellow .ico { background: rgba(255,206,74,.14); color: var(--yellow); }
.stat.accent-brand { background: linear-gradient(160deg, rgba(255,140,0,.08), var(--surface) 55%); }
/* stat değer satırı + delta rozeti + alt metin (Faz 5e Dashboard+) */
.stat .val-row { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-top: 4px; }
.stat .val-row .val { margin-top: 0; }
.stat .delta { font-size: 12px; font-weight: 700; font-family: var(--font-mono); font-variant-numeric: tabular-nums; padding: 2px 7px; border-radius: var(--r-full); white-space: nowrap; letter-spacing: -.01em; }
.stat .delta.pos  { background: var(--green-soft); color: var(--green); }
.stat .delta.neg  { background: var(--red-soft); color: var(--red); }
.stat .delta.flat { background: var(--surface-2); color: var(--text-3); }
.stat .stat-sub { font-size: 12.5px; color: var(--text-3); font-weight: 600; }

/* dashboard tarih aralığı seçici (segment) */
.seg-range { display: inline-flex; gap: 2px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 3px; flex-wrap: wrap; }
.seg-range button { padding: 6px 12px; border-radius: var(--r-xs); font-size: 12.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; transition: all .15s var(--ease); }
.seg-range button:hover { color: var(--text); }
.seg-range button.active { background: var(--surface-3); color: var(--text); box-shadow: var(--shadow-sm); }

/* Chart grid */
.grid-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-bottom: 20px; }
.chart-box { position: relative; height: 264px; }
.chart-box.sm { height: 244px; }
.chart-empty { display: grid; place-items: center; height: 100%; color: var(--text-3); font-size: 13.5px; }

/* ---------- Transaction list ---------- */
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .search { flex: 1; min-width: 180px; max-width: 340px; }
.chips { display: flex; gap: 6px; background: var(--bg-2); border: 1px solid var(--border); padding: 4px; border-radius: var(--r-sm); }
.chip { padding: 7px 13px; border-radius: var(--r-xs); font-size: 13px; font-weight: 600; color: var(--text-2); transition: all .15s var(--ease); }
.chip.active { background: var(--surface-2); color: var(--text); box-shadow: var(--shadow-sm); }
.chip.active.inc { color: var(--green); }
.chip.active.exp { color: var(--red); }

/* transactions summary bar */
.txn-summary { display: flex; gap: 22px; flex-wrap: wrap; padding: 2px 8px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--border); }
.txn-summary:empty { display: none; }
.txn-summary .it { display: flex; flex-direction: column; gap: 2px; }
.txn-summary .it .k { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.txn-summary .it .v { font-size: 16px; font-weight: 700; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* confirm modal icon */
.confirm-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.confirm-ico svg { width: 22px; height: 22px; }

/* settings: danger zone + clickable user row */
.ks-danger { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.ks-danger-t { font-size: 12px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.user-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-align: left; border-radius: var(--r-sm); padding: 4px; transition: background .12s; background: transparent; border: none; }
.user-main:hover { background: var(--surface); }

.txn-list { display: flex; flex-direction: column; }
.txn {
  display: flex; align-items: center; gap: 14px; padding: 14px 8px; border-bottom: 1px solid var(--border);
  transition: background .12s; border-radius: var(--r-xs);
}
.txn:last-child { border-bottom: none; }
.txn:hover { background: var(--surface-2); }
.txn:hover .txn-actions { opacity: 1; }
.txn-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.txn-ico svg { width: 19px; height: 19px; }
.txn-ico.inc { background: var(--green-soft); color: var(--green); }
.txn-ico.exp { background: var(--red-soft); color: var(--red); }
.txn-main { flex: 1; min-width: 0; }
.txn-main .desc { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.txn-main .sub { font-size: 12.5px; color: var(--text-3); margin-top: 2px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.cat-chip { background: var(--surface-2); color: var(--text-2); padding: 2px 9px; border-radius: var(--r-full); font-size: 11.5px; font-weight: 600; }
.txn-amt { font-weight: 700; font-size: 15px; white-space: nowrap; font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.txn-amt.inc { color: var(--green); }
.txn-amt.exp { color: var(--red); }
.txn-actions { display: flex; gap: 4px; opacity: 0; transition: opacity .15s; }
.txn-actions button { padding: 7px; border-radius: var(--r-xs); color: var(--text-3); }
.txn-actions button:hover { background: var(--surface-3); color: var(--text); }
.txn-actions button.del:hover { color: var(--red); }
.txn-actions button svg { width: 16px; height: 16px; display: block; }

/* generic item cards (accounts/suppliers/members) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); gap: 14px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; transition: transform .2s var(--ease-out), border-color .2s, box-shadow .2s; box-shadow: var(--shadow-sm); }
.tile:hover { transform: translateY(-2px); border-color: var(--border-2); box-shadow: var(--shadow); }
.tile .top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tile .top .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.tile .top .ico svg { width: 21px; height: 21px; }
.tile .top .nm { font-weight: 700; font-size: 15px; font-family: var(--font-display); }
.tile .top .sub { font-size: 12.5px; color: var(--text-3); }
.tile .big { font-size: 23px; font-weight: 700; font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.tile .rows { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.tile .rows .r { display: flex; justify-content: space-between; font-size: 13px; }
.tile .rows .r span:first-child { color: var(--text-3); }
.tile .rows .r b { font-weight: 700; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tile-foot { display: flex; gap: 8px; margin-top: 16px; }

/* member row */
.member { display: flex; align-items: center; gap: 13px; padding: 14px 8px; border-bottom: 1px solid var(--border); }
.member:last-child { border-bottom: none; }
.member .meta { flex: 1; min-width: 0; }
.member .meta .nm { font-weight: 650; font-size: 14.5px; }
.member .meta .em { font-size: 12.5px; color: var(--text-3); }
.member .ctrls { display: flex; align-items: center; gap: 8px; }

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* color swatches (account modal) */
.swatches { display: flex; gap: 9px; flex-wrap: wrap; }
.swatch { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; border: 2.5px solid transparent; transition: transform .12s var(--ease), border-color .12s; }
.swatch:hover { transform: scale(1.12); }
.swatch.active { border-color: var(--text); }

/* ---------- Empty / skeleton ---------- */
.empty { text-align: center; padding: 56px 20px; color: var(--text-3); }
.empty .ico { width: 60px; height: 60px; border-radius: 18px; background: var(--surface-2); display: grid; place-items: center; margin: 0 auto 16px; }
.empty .ico svg { width: 28px; height: 28px; color: var(--text-3); }
.empty h3 { color: var(--text-2); font-size: 16px; font-weight: 700; margin-bottom: 5px; font-family: var(--font-display); }
.empty p { font-size: 13.5px; max-width: 360px; margin: 0 auto; }
.skel { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-xs); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- Modal ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(3,6,14,.62); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); display: grid; place-items: center; padding: 20px; animation: fade .18s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); animation: modalin .28s var(--ease-out) both; max-height: 90vh; overflow-y: auto; }
@keyframes modalin { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal-head { display: flex; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-size: 17px; font-weight: 700; flex: 1; }
.modal-head .x { padding: 8px; border-radius: var(--r-xs); color: var(--text-3); }
.modal-head .x:hover { background: var(--surface-2); color: var(--text); }
.modal-head .x svg { width: 18px; height: 18px; display: block; }
.modal-body { padding: 22px; }
.modal-body .stack > * + * { margin-top: 15px; }
.modal-foot { display: flex; gap: 10px; padding: 0 22px 22px; }
.modal-foot .btn { flex: 1; }
.type-toggle { display: flex; gap: 8px; }
.type-toggle button { flex: 1; padding: 13px; border-radius: var(--r-sm); border: 1.5px solid var(--border-2); font-weight: 700; color: var(--text-2); transition: all .15s var(--ease); }
.type-toggle button.active.exp { border-color: var(--red); background: var(--red-soft); color: var(--red); }
.type-toggle button.active.inc { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.grid-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* invite code box */
.code-box { display: flex; align-items: center; gap: 10px; background: var(--bg-2); border: 1px dashed var(--border-2); border-radius: var(--r-sm); padding: 14px 16px; margin-top: 12px; }
.code-box .code { flex: 1; font-size: 22px; font-weight: 700; letter-spacing: .2em; color: var(--brand); font-family: var(--font-mono); }

/* ---------- Toast ---------- */
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { display: flex; align-items: center; gap: 11px; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 12px 18px; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600; animation: toastin .3s var(--ease-out) both; }
@keyframes toastin { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.toast.out { animation: toastout .22s var(--ease) forwards; }
@keyframes toastout { to { opacity: 0; transform: translateY(8px); } }
.toast .dot { width: 9px; height: 9px; }
.toast.ok .dot { background: var(--green); box-shadow: 0 0 10px var(--green); }
.toast.err .dot { background: var(--red); box-shadow: 0 0 10px var(--red); }
.toast.info .dot { background: var(--brand); box-shadow: 0 0 10px var(--brand); }

/* read-only banner */
.ro-banner { display: flex; align-items: center; gap: 10px; background: rgba(74,163,255,.1); border: 1px solid rgba(74,163,255,.25); color: var(--blue); border-radius: var(--r-sm); padding: 11px 15px; font-size: 13.5px; font-weight: 600; margin-bottom: 18px; }
.ro-banner svg { width: 17px; height: 17px; flex-shrink: 0; }

.scrim { position: fixed; inset: 0; background: rgba(3,6,14,.55); z-index: 39; animation: fade .18s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-card .brand-logo { display: flex; }
}
@media (max-width: 720px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; width: 272px; z-index: 40;
    transform: translateX(-100%); transition: transform .26s var(--ease-out); height: 100dvh;
  }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .topbar { padding: 14px 16px; }
  .topbar .burger { display: grid; place-items: center; padding: 8px; border-radius: var(--r-xs); background: var(--surface-2); }
  .topbar .burger svg { width: 20px; height: 20px; }
  .content { padding: 18px 16px 64px; }
  .greet h2 { font-size: 22px; }
}
@media (max-width: 440px) {
  .stats { grid-template-columns: 1fr; }
  .grid-cols-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   LANDING (pazarlama ana sayfa)
   ============================================================ */
html { scroll-behavior: smooth; }
.landing { background: var(--bg); }
.lsec, .hero { scroll-margin-top: 74px; }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: var(--r-sm); }
.btn-outline { background: transparent; border: 1px solid var(--border-2); color: var(--text); }
.btn-outline:hover { background: var(--surface-2); border-color: var(--text-3); }

/* Navbar */
.lnav { position: sticky; top: 0; z-index: 50; transition: background .25s var(--ease), border-color .25s; border-bottom: 1px solid transparent; }
.lnav.scrolled { background: rgba(9,13,24,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--border); }
.lnav-in { max-width: 1180px; margin: 0 auto; padding: 15px 28px; display: flex; align-items: center; gap: 24px; }
.lnav-links { display: flex; gap: 26px; margin-left: 16px; flex: 1; }
.lnav-links a { color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.lnav-links a:hover { color: var(--text); }
.lnav-actions { display: flex; gap: 10px; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 55% at 78% -8%, rgba(255,140,0,.17), transparent 60%), radial-gradient(50% 45% at 2% 8%, rgba(74,163,255,.10), transparent 60%); }
.hero-bg::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 72% 0%, #000, transparent 72%); mask-image: radial-gradient(circle at 72% 0%, #000, transparent 72%); }
.hero-in { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 60px 28px 84px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); padding: 6px 13px; border-radius: var(--r-full); margin-bottom: 22px; }
.eyebrow .ed { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.hero-copy h1 { font-size: 48px; line-height: 1.07; font-weight: 700; letter-spacing: -.03em; }
.hero-copy h1 b { color: var(--brand); }
.hero-copy p { color: var(--text-2); font-size: 17px; line-height: 1.6; margin-top: 20px; max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-cta .btn svg { width: 18px; height: 18px; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--text-3); font-size: 13.5px; font-weight: 500; }

/* Hero mockup */
.hero-visual { position: relative; }
.hero-glow { position: absolute; inset: 10% 10% auto; height: 55%; background: radial-gradient(closest-side, var(--brand-glow), transparent); filter: blur(46px); opacity: .45; z-index: 0; }
.mock { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--border-2); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; }
.mock-bar i:nth-child(1){ background:#ff5f57 } .mock-bar i:nth-child(2){ background:#febc2e } .mock-bar i:nth-child(3){ background:#28c840 }
.mock-bar span { margin-left: 10px; font-size: 11.5px; color: var(--text-3); font-family: var(--font-mono); }
.mock-body { padding: 18px; }
.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.mock-stats .ms { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.mock-stats .ms .l { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.mock-stats .ms .v { font-size: 15px; font-weight: 700; font-family: var(--font-mono); }
.mock-chart { height: 148px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 10px; }

/* Sections */
.lsec { max-width: 1180px; margin: 0 auto; padding: 72px 28px; }
.lsec-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.lsec-head h2 { font-size: 34px; font-weight: 700; letter-spacing: -.025em; }
.lsec-head p { color: var(--text-2); font-size: 16px; margin-top: 12px; line-height: 1.6; }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; transition: transform .2s var(--ease-out), border-color .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow); }
.feat .fi { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; }
.feat .fi svg { width: 23px; height: 23px; }
.feat .fi.b { background: var(--brand-soft); color: var(--brand); }
.feat .fi.g { background: var(--green-soft); color: var(--green); }
.feat .fi.o { background: rgba(74,163,255,.13); color: var(--blue); }
.feat .fi.p { background: rgba(167,121,255,.14); color: var(--purple); }
.feat .fi.t { background: rgba(46,230,196,.13); color: var(--teal); }
.feat h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feat p { color: var(--text-2); font-size: 14px; line-height: 1.6; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.step .sn { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--brand); background: var(--brand-soft); margin-bottom: 14px; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14px; line-height: 1.6; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; max-width: 760px; margin: 0 auto; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.price-card.popular { border-color: rgba(255,140,0,.45); background: linear-gradient(180deg, rgba(255,140,0,.07), var(--surface) 42%); box-shadow: 0 24px 60px -26px var(--brand-glow); }
.pc-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,var(--brand),var(--brand-2)); color: #1a1205; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: var(--r-full); }
.pc-head h3 { font-size: 16px; font-weight: 700; color: var(--text-2); }
.pc-price { font-size: 29px; font-weight: 700; font-family: var(--font-display); letter-spacing: -.02em; margin: 8px 0; display: flex; flex-direction: column; }
.pc-price span { font-size: 13px; font-weight: 500; color: var(--text-3); font-family: var(--font-body); }
.pc-head p { color: var(--text-2); font-size: 13.5px; margin-bottom: 18px; }
.pc-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 22px; flex: 1; }
.pc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.pc-list li::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; border-radius: 50%; background-color: var(--green-soft);
  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='%2328d17c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; }
.price-note { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 22px; }

/* CTA band */
.cta-band { padding: 8px 28px 28px; }
.cta-in { max-width: 1180px; margin: 0 auto; text-align: center; padding: 56px 28px; border-radius: var(--r-lg); position: relative; overflow: hidden;
  background: radial-gradient(80% 140% at 50% 0%, rgba(255,140,0,.15), transparent 60%), var(--surface); border: 1px solid var(--border-2); }
.cta-in h2 { font-size: 32px; font-weight: 700; letter-spacing: -.025em; }
.cta-in p { color: var(--text-2); font-size: 16px; margin: 12px 0 26px; }
.cta-in .btn svg { width: 18px; height: 18px; }

/* Footer */
.lfoot { border-top: 1px solid var(--border); margin-top: 36px; }
.lfoot-in { max-width: 1180px; margin: 0 auto; padding: 40px 28px 24px; display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.lfoot-brand p { color: var(--text-3); font-size: 13.5px; margin-top: 12px; }
.lfoot-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.lfoot-links a { color: var(--text-2); font-size: 14px; transition: color .15s; }
.lfoot-links a:hover { color: var(--brand); }
.lfoot-copy { max-width: 1180px; margin: 0 auto; padding: 16px 28px 32px; color: var(--text-3); font-size: 12.5px; border-top: 1px solid var(--border); }

/* auth back link */
.auth-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 13px; font-weight: 600; margin-bottom: 18px; transition: color .15s; }
.auth-back:hover { color: var(--text); }
.auth-back svg { width: 15px; height: 15px; }

@media (max-width: 860px) {
  .lnav-links { display: none; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .hero-copy h1 { font-size: 38px; }
  .feat-grid, .steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .feat-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 31px; }
  .lsec { padding: 56px 18px; }
  .lsec-head h2 { font-size: 26px; }
  .cta-in h2 { font-size: 26px; }
  .lnav-actions #navStart { display: none; }
}

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-weight: 600; font-size: 13.5px; transition: all .15s var(--ease); }
.lang-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--r-sm); box-shadow: var(--shadow-lg); padding: 6px; min-width: 170px; max-height: 330px; overflow-y: auto; animation: pop .14s var(--ease-out) both; }
.lang-item { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: var(--r-xs); color: var(--text-2); font-size: 13.5px; font-weight: 500; transition: background .12s, color .12s; }
.lang-item:hover { background: var(--surface-3); color: var(--text); }
.lang-item.active { background: var(--brand-soft); color: var(--brand); font-weight: 700; }

/* ---------- Pricing monthly/yearly toggle ---------- */
.pc-toggle { display: inline-flex; gap: 3px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 3px; margin: 6px 0 10px; }
.pc-toggle button { padding: 6px 14px; border-radius: var(--r-xs); font-size: 13px; font-weight: 600; color: var(--text-2); transition: all .15s var(--ease); }
.pc-toggle button.active { background: var(--surface-3); color: var(--text); box-shadow: var(--shadow-sm); }
.pc-soon { font-size: 12px; color: var(--text-3); font-weight: 600; margin-bottom: 12px; }

/* ---------- Faz 5b: nav bölümleri + modül stilleri ---------- */
.nav-sec { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); padding: 15px 12px 5px; }
.nav-sec:first-child { padding-top: 2px; }

/* durum etiketi (kredi/bütçe) */
.st-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-full); white-space: nowrap; }
.st-active    { background: var(--green-soft); color: var(--green); }
.st-completed { background: rgba(74,163,255,.14); color: var(--blue); }
.st-paused    { background: rgba(255,206,74,.14); color: var(--yellow); }
.st-over      { background: var(--red-soft); color: var(--red); }

/* ilerleme çubuğu (kredi/bütçe) */
.pbar { height: 7px; background: var(--surface-3); border-radius: var(--r-full); overflow: hidden; margin: 6px 0 4px; }
.pbar > i { display: block; height: 100%; border-radius: var(--r-full); background: var(--brand); transition: width .55s var(--ease-out); }
.pbar > i.g { background: var(--green); }
.pbar > i.r { background: var(--red); }
.pbar > i.b { background: var(--blue); }

/* transfer & düzenli işlem satır ikonu */
.txn-ico.tr  { background: rgba(74,163,255,.14); color: var(--blue); }
.txn-ico.neu { background: var(--surface-3); color: var(--text-2); }

/* tile başlığında sağda durum etiketi */
.tile .top .st-pill { margin-left: auto; align-self: flex-start; }

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] .tile .top .st-pill { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .lang-item { text-align: right; }
[dir="rtl"] .nav-item.active::before { left: auto; right: -14px; border-radius: 3px 0 0 3px; }
[dir="rtl"] .auth-back svg, [dir="rtl"] .hero-cta .btn svg, [dir="rtl"] .cta-in .btn svg { transform: scaleX(-1); }
[dir="rtl"] .txn-amt, [dir="rtl"] .stat .val, [dir="rtl"] .tile .big { direction: ltr; }

/* ---------- Faz 5f: App Store rozeti + ürün vitrini + SSS ---------- */
.appstore-badge { display: inline-flex; align-items: center; gap: 11px; padding: 9px 18px 9px 15px; border-radius: 13px; background: #000; border: 1px solid rgba(255,255,255,.22); color: #fff; transition: transform .18s var(--ease-out), border-color .18s; }
.appstore-badge:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.42); }
.appstore-badge .apple { width: 25px; height: 25px; flex-shrink: 0; }
.appstore-badge .asb-t { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.appstore-badge .asb-t small { font-size: 10.5px; font-weight: 500; opacity: .92; }
.appstore-badge .asb-t b { font-size: 18px; font-weight: 600; font-family: var(--font-display); letter-spacing: -.01em; }
.hero-copy .appstore-badge { margin-top: 18px; }
.appstore-badge.sm { padding: 7px 14px 7px 12px; gap: 9px; margin-top: 14px; }
.appstore-badge.sm .apple { width: 20px; height: 20px; }
.appstore-badge.sm .asb-t small { font-size: 9.5px; }
.appstore-badge.sm .asb-t b { font-size: 15px; }

.show-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.show-card { display: flex; flex-direction: column; gap: 14px; }
.show-card figcaption { color: var(--text-2); font-size: 13.5px; font-weight: 600; text-align: center; }
.sc-frame { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.sc-bar { display: flex; gap: 6px; padding: 11px 14px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border); }
.sc-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.sc-body { padding: 16px; min-height: 190px; display: flex; flex-direction: column; gap: 12px; }
.sc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sc-stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; padding: 9px 11px; }
.sc-stat span { display: block; font-size: 9.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.sc-stat b { font-size: 14px; font-family: var(--font-mono); font-weight: 700; color: var(--text); }
.sc-stat b.g { color: var(--green); } .sc-stat b.r { color: var(--red); } .sc-stat b.y { color: var(--yellow); }
.sc-bars { display: flex; align-items: flex-end; gap: 7px; height: 46px; margin-top: auto; }
.sc-bars i { flex: 1; background: linear-gradient(180deg, var(--brand), rgba(255,140,0,.22)); border-radius: 4px 4px 0 0; }
.sc-member { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--border); }
.sc-member:last-child { border-bottom: none; }
.sc-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.sc-nm { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--text); }
.sc-pill { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-full); background: var(--surface-2); color: var(--text-2); }
.sc-pill.o { background: var(--brand-soft); color: var(--brand); } .sc-pill.b { background: rgba(74,163,255,.14); color: var(--blue); }
.sc-row { display: flex; align-items: center; gap: 11px; padding: 8px 0; }
.sc-row > span { width: 74px; font-size: 12.5px; color: var(--text-2); font-weight: 600; flex-shrink: 0; }
.sc-pbar { flex: 1; height: 8px; background: var(--surface-3); border-radius: var(--r-full); overflow: hidden; }
.sc-pbar i { display: block; height: 100%; background: var(--brand); border-radius: var(--r-full); }
.sc-pbar i.g { background: var(--green); } .sc-pbar i.r { background: var(--red); }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--border-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; cursor: pointer; font-weight: 650; font-size: 15px; color: var(--text); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-ico { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.faq-ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-ico::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-item[open] .faq-ico::after { transform: rotate(90deg); opacity: 0; }
.faq-a { padding: 0 20px 20px; color: var(--text-2); font-size: 14px; line-height: 1.7; }

[dir="rtl"] .appstore-badge .asb-t, [dir="rtl"] .sc-stat span { text-align: right; }
[dir="rtl"] .faq-item summary { flex-direction: row-reverse; }

@media (max-width: 760px) { .show-grid { grid-template-columns: 1fr; max-width: 430px; margin: 0 auto; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
