/* ChewDrop — ChewPanel ile aynı koyu/kırmızı tema */
:root {
  --bg: #171717; --sidebar: #0f0f0f; --panel: #1c1c1c; --panel-2: #262626;
  --border: #262626; --border-2: #333333;
  --text: #fafafa; --text-dim: #d4d4d4; --muted: #a3a3a3; --faint: #737373;
  --red: #ff3d47; --red-2: #ff5760; --red-dim: #a5121a; --red-glow: rgba(255,61,71,.15);
  --ok: #4ade80; --warn: #fbbf24; --info: #93bbfe;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, Menlo, monospace;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --grid: 24px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 13.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: var(--grid) var(--grid); background-position: -1px -1px; }
a { color: var(--red-2); text-decoration: none; } a:hover { text-decoration: underline; }
button, input, select, textarea { font-family: inherit; font-size: .88rem; color: inherit; }
button { cursor: pointer; }
h1 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.015em; margin: 0; }
h2 { font-size: 1rem; font-weight: 600; margin: 0; }
h3 { font-size: .82rem; color: var(--text); margin: 0 0 .8rem; font-weight: 600; font-family: var(--mono); }
h3 .hint { font-family: var(--sans); font-weight: 400; color: var(--muted); font-size: .75rem; margin-left: .5rem; }
.mono { font-family: var(--mono); font-size: .82rem; }
.hint { color: var(--muted); font-size: .82rem; }
.faint { color: var(--faint); font-size: .78rem; }
.center { text-align: center; }
p { margin: 0 0 .6rem; }
code { background: var(--bg); padding: .1rem .35rem; border-radius: 4px; font-family: var(--mono); font-size: .82em; color: var(--text-dim); border: 1px solid var(--border); }
hr { border: none; border-top: 1px solid var(--border); margin: .9rem 0; }
.hidden { display: none !important; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- uygulama kabuğu ---------- */
.app { display: flex; min-height: 100vh; }
#sidebar { width: 230px; flex: 0 0 230px; background: var(--sidebar); border-right: 1px solid var(--border); position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
#sidebar .brand { padding: 1.1rem 1.2rem; font-weight: 700; font-size: 1rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .55rem; }
.star { color: var(--red); }
#sidebar .brand .ver { margin-left: auto; font-size: .68rem; color: var(--faint); font-weight: 500; padding: .1rem .4rem; border: 1px solid var(--border); border-radius: 4px; font-family: var(--mono); }
#sidebar nav { flex: 1; padding: .55rem; display: flex; flex-direction: column; gap: .15rem; overflow-y: auto; }
#sidebar nav a { display: flex; align-items: center; gap: .6rem; padding: .5rem .75rem; border-radius: 6px; color: var(--text-dim); font-size: .87rem; font-weight: 500; transition: all .12s; }
#sidebar nav a:hover { color: var(--text); background: var(--bg); text-decoration: none; }
#sidebar nav a.active { color: var(--text); background: var(--panel-2); }
#sidebar nav a.active .ic { color: var(--red); }
#sidebar nav .ic { display: inline-block; width: 14px; text-align: center; opacity: .9; font-size: .82rem; font-family: var(--mono); }
#sidebar nav .section-title { padding: 1rem .75rem .3rem; font-size: .68rem; color: var(--faint); font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
#sidebar nav .cnt { margin-left: auto; font-family: var(--mono); font-size: .68rem; color: var(--red-2); }
#sidebar .quota { padding: .2rem .75rem .6rem; }
#sidebar .foot { padding: .9rem 1.2rem; border-top: 1px solid var(--border); font-size: .8rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
#sidebar .foot .who { color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sbUp { margin: .2rem .75rem .4rem; padding: .55rem .65rem; border: 1px solid var(--border-2); border-radius: 8px; background: var(--panel); font-size: .74rem; }
#sbUp .row { justify-content: space-between; }
button.link { background: none; border: none; color: var(--red-2); padding: 0; font-size: .8rem; }
button.link:hover { text-decoration: underline; }

#content { flex: 1; min-width: 0; padding: 1.5rem 2rem 3rem; max-width: 1280px; }
.pageHead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.pageHead .sub { color: var(--muted); font-size: .82rem; margin-top: .3rem; font-family: var(--mono); }
.row { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grid { display: grid; gap: .8rem; }
.grid.two { grid-template-columns: 1fr 1fr; }
.grid.side { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
@media (max-width: 1000px) { .grid.two { grid-template-columns: 1fr; } }
@media (max-width: 1250px) { .grid.side { grid-template-columns: 1fr; } }

.card { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 1.15rem 1.3rem; }
.card + .card { margin-top: .8rem; }
.card.flush { padding: 0; overflow: hidden; }
.card.flush > h3 { padding: 1rem 1.2rem 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: .95rem 1.15rem; }
.stat .label { font-size: .7rem; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: .4rem; }
.stat .num { font-size: 1.45rem; font-weight: 700; letter-spacing: -.025em; margin-top: .3rem; font-variant-numeric: tabular-nums; font-family: var(--mono); }
.stat .delta { font-size: .72rem; margin-top: .35rem; color: var(--muted); font-family: var(--mono); }

.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .68rem; font-weight: 600; padding: .18rem .55rem; border-radius: 5px; font-family: var(--mono); white-space: nowrap; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.ok { color: var(--ok); background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.25); }
.badge.warn { color: var(--warn); background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.25); }
.badge.bad { color: var(--red-2); background: rgba(255,61,71,.12); border: 1px solid rgba(255,61,71,.3); }
.badge.dim { color: var(--muted); background: rgba(163,163,163,.1); border: 1px solid rgba(163,163,163,.2); }
.badge.info { color: var(--info); background: rgba(147,187,254,.1); border: 1px solid rgba(147,187,254,.25); }
.badge.live .dot { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.btn { background: var(--panel-2); border: 1px solid var(--border-2); color: var(--text); padding: .42rem .85rem; border-radius: 6px; font-weight: 500; font-size: .82rem; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; transition: all .12s; white-space: nowrap; text-decoration: none; }
.btn:hover { background: #2e2e2e; border-color: #444; text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-2); border-color: var(--red-2); }
.btn.danger { color: var(--red-2); border-color: rgba(255,61,71,.35); background: rgba(255,61,71,.06); }
.btn.danger:hover { background: rgba(255,61,71,.14); }
.btn.sm { padding: .25rem .6rem; font-size: .75rem; }
.btn.big { width: 100%; padding: .8rem 1rem; font-size: .95rem; font-weight: 600; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: var(--panel-2); border-color: transparent; }

.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .8rem; }
.field label { font-size: .76rem; color: var(--muted); font-weight: 500; }
.field input[type=text], .field input[type=password], .field input[type=number], .field input[type=datetime-local], .field select, .field textarea, .inp { background: var(--bg); border: 1px solid var(--border-2); color: var(--text); padding: .5rem .7rem; border-radius: 6px; width: 100%; outline: none; transition: border-color .12s; }
.field input:focus, .field select:focus, .field textarea:focus, .inp:focus { border-color: var(--red); }
.field textarea { min-height: 70px; resize: vertical; font-size: .84rem; }
.field .desc { color: var(--faint); font-size: .74rem; }
.check { display: flex; align-items: center; gap: .5rem; font-size: .84rem; cursor: pointer; }
.check input { accent-color: var(--red); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 700px) { .fgrid { grid-template-columns: 1fr; } }

.tabs { display: flex; gap: .2rem; border-bottom: 1px solid var(--border); margin-bottom: 1.1rem; overflow-x: auto; }
.tabs a { padding: .55rem .9rem; color: var(--muted); font-size: .84rem; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.active { color: var(--text); border-bottom-color: var(--red); }

.tw { overflow-x: auto; border-radius: 10px; }
table.t { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.card.flush table.t { border: none; border-radius: 0; }
table.t th { text-align: left; padding: .55rem .9rem; background: var(--bg); color: var(--muted); font-size: .72rem; font-family: var(--mono); font-weight: 500; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.t td { padding: .6rem .9rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.t tr:last-child td { border-bottom: none; }
table.t tbody tr:hover td { background: var(--panel-2); }
table.t .r { text-align: right; }
table.t .num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .8rem; white-space: nowrap; }
table.t .acts { display: flex; gap: .3rem; justify-content: flex-end; }
table.t .empty td { color: var(--faint); text-align: center; padding: 1.4rem; }
table.t td.fn { max-width: 380px; }
table.t td.fn a { color: var(--text); font-weight: 500; }
table.t tr.sel td { background: rgba(255,61,71,.08); }
table.t th.ck, table.t td.ck { width: 30px; padding-right: 0; }
table.t th.sortable { cursor: pointer; user-select: none; }
table.t th.sortable:hover, table.t th.sorted { color: var(--text); }
.ua { font-size: .72rem; color: var(--faint); max-width: 320px; }

.ext { display: inline-grid; place-items: center; min-width: 38px; height: 22px; padding: 0 .3rem; border-radius: 4px; font-family: var(--mono); font-size: .62rem; font-weight: 600; background: var(--panel-2); border: 1px solid var(--border-2); color: var(--text-dim); margin-right: .55rem; vertical-align: middle; }
.ext.arc { color: var(--warn); border-color: rgba(251,191,36,.3); }
.ext.vid { color: var(--info); border-color: rgba(147,187,254,.3); }
.ext.exe { color: var(--red-2); border-color: rgba(255,61,71,.3); }

.bar-wrap { height: 6px; background: var(--bg); border-radius: 3px; overflow: hidden; border: 1px solid var(--border); }
.bar-wrap i { display: block; height: 100%; background: var(--red); transition: width .25s; }
.bar-wrap.ok i { background: var(--ok); }
.minibar { display: inline-block; width: 60px; height: 5px; background: var(--bg); border: 1px solid var(--border-2); border-radius: 3px; overflow: hidden; vertical-align: middle; margin-right: .4rem; }
.minibar i { display: block; height: 100%; background: var(--red); }
.minibar.ok i { background: var(--ok); }

/* 14 günlük çubuk grafik */
.chart { display: flex; align-items: flex-end; gap: 4px; height: 120px; padding-top: .4rem; }
.chart .b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; min-width: 0; }
.chart .b i { display: block; width: 100%; max-width: 30px; background: var(--red); border-radius: 3px 3px 0 0; min-height: 2px; opacity: .85; }
.chart .b:hover i { opacity: 1; background: var(--red-2); }
.chart .b span { font-size: .6rem; color: var(--faint); font-family: var(--mono); }
.chart .b.zero i { background: var(--border-2); }

/* ---------- yükleme ---------- */
.drop { border: 2px dashed var(--border-2); border-radius: 12px; padding: 2.6rem 1rem; text-align: center; color: var(--muted); transition: all .12s; cursor: pointer; background: var(--panel); }
.drop:hover { border-color: #555; }
.drop.over { border-color: var(--red); color: var(--text); background: var(--red-glow); }
.drop .big { font-size: 2.2rem; color: var(--red); line-height: 1; margin-bottom: .6rem; }
.drop b { color: var(--text); }
#dropAll { position: fixed; inset: 0; background: rgba(23,23,23,.88); border: 3px dashed var(--red); z-index: 80; display: none; place-items: center; font-size: 1.3rem; font-weight: 600; pointer-events: none; }
#dropAll.on { display: grid; }
.qitem { padding: .8rem 1rem; border-bottom: 1px solid var(--border); }
.qitem:last-child { border-bottom: none; }
.qitem .top { display: flex; gap: .7rem; align-items: center; margin-bottom: .45rem; }
.qitem .nm { flex: 1; min-width: 0; font-weight: 500; }
.qitem .info { display: flex; justify-content: space-between; gap: .5rem; font-family: var(--mono); font-size: .72rem; color: var(--faint); margin-top: .35rem; flex-wrap: wrap; }
.qitem .link { margin-top: .5rem; display: flex; gap: .4rem; }
.qitem .link input { flex: 1; font-family: var(--mono); font-size: .78rem; padding: .3rem .55rem; }

/* ---------- modal / toast / login ---------- */
#modal { position: fixed; inset: 0; background: rgba(0,0,0,.65); display: none; align-items: flex-start; justify-content: center; padding: 6vh 1rem; z-index: 50; overflow-y: auto; }
#modal.on { display: flex; }
#modal .box { background: var(--panel); border: 1px solid var(--border-2); border-radius: 12px; width: 100%; max-width: 560px; padding: 1.3rem 1.4rem; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
#modal .box h2 { margin-bottom: .9rem; }
#modal .foot { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.secret { font-family: var(--mono); background: var(--bg); border: 1px solid var(--border-2); padding: .6rem .8rem; border-radius: 6px; user-select: all; word-break: break-all; }
.kvlist { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: .84rem; }
.kvlist .k { color: var(--muted); }
.kvlist .v { font-family: var(--mono); font-size: .8rem; min-width: 0; overflow-wrap: anywhere; }

#toasts { position: fixed; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: .5rem; z-index: 90; }
.toast { background: var(--panel); border: 1px solid var(--border-2); border-left: 3px solid var(--ok); padding: .6rem .9rem; border-radius: 8px; font-size: .84rem; max-width: 380px; box-shadow: 0 8px 30px rgba(0,0,0,.4); animation: in .15s ease; }
.toast.err { border-left-color: var(--red); }
@keyframes in { from { transform: translateY(6px); opacity: 0; } }

.login { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.login .box { width: 100%; max-width: 360px; background: var(--panel); border: 1px solid var(--border-2); border-radius: 12px; padding: 1.6rem; }
.login .brand { font-weight: 700; font-size: 1.2rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .5rem; }
.spin { display: inline-block; width: 12px; height: 12px; border: 2px solid var(--border-2); border-top-color: var(--red); border-radius: 50%; animation: sp .7s linear infinite; vertical-align: middle; }
@keyframes sp { to { transform: rotate(360deg); } }

/* ---------- herkese açık indirme sayfası ---------- */
.pub { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 16px; gap: 1rem; }
.pub-brand { font-weight: 700; font-size: 1.1rem; display: flex; gap: .5rem; align-items: center; }
.pub-card { width: 100%; max-width: 520px; background: var(--panel); border: 1px solid var(--border-2); border-radius: 14px; padding: 1.6rem; box-shadow: 0 20px 60px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 1.1rem; }
.pub-card h1 { font-size: 1.15rem; overflow-wrap: anywhere; }
.pub-file { display: flex; gap: 1rem; align-items: center; }
.pub-ext { flex: 0 0 56px; height: 64px; border-radius: 9px; background: var(--panel-2); border: 1px solid var(--border-2); display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: .78rem; color: var(--red-2); position: relative; }
.pub-ext::after { content: ""; position: absolute; top: -1px; right: -1px; width: 14px; height: 14px; background: var(--panel); border-left: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); border-bottom-left-radius: 5px; }
.pub-meta { min-width: 0; }
.pub-note { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: .7rem .85rem; color: var(--text-dim); font-size: .86rem; overflow-wrap: anywhere; }
.pub-kv { padding: .2rem 0; }
.pub-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; margin: 0 auto; }
.pub-ico.bad { background: rgba(255,61,71,.12); color: var(--red-2); border: 1px solid rgba(255,61,71,.3); }
.pub-card > h1, .pub-card > .hint { text-align: center; }
.pub-pw .field { margin-bottom: .6rem; }
.err-line { color: var(--red-2); font-size: .82rem; }
.pub-foot { font-size: .7rem; }

@media (max-width: 900px) {
  .app { flex-direction: column; }
  #sidebar { width: 100%; flex: none; height: auto; position: relative; }
  #sidebar nav { flex-direction: row; flex-wrap: wrap; }
  #sidebar nav .section-title, #sidebar .quota { display: none; }
  #content { padding: 1rem 16px; }
  .hide-sm { display: none; }
}

/* ---------- herkese açık site (ana sayfa + dosya sayfası) ---------- */
body.site { min-height: 100vh; }
.site-wrap { max-width: 980px; margin: 0 auto; padding: 0 16px 2rem; display: flex; flex-direction: column; gap: 1.4rem; min-height: 100vh; }
.site-wrap.narrow { max-width: 600px; }
.site-wrap.narrow .pub-card { max-width: none; }
.site-h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.site-logo { display: flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 700; font-size: 1.1rem; min-width: 0; }
.site-logo:hover { text-decoration: none; }
.site-logo img { max-height: 40px; max-width: 180px; object-fit: contain; }
.site-logo span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
details.lang { position: relative; flex: 0 0 auto; }
details.lang summary { list-style: none; cursor: pointer; padding: .4rem .75rem; border: 1px solid var(--border-2); border-radius: 7px; background: var(--panel); font-size: .82rem; color: var(--text-dim); user-select: none; }
details.lang summary::-webkit-details-marker { display: none; }
details.lang[open] summary, details.lang summary:hover { border-color: var(--red); color: var(--text); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); background: var(--panel); border: 1px solid var(--border-2); border-radius: 9px; padding: .3rem; min-width: 170px; box-shadow: 0 14px 40px rgba(0,0,0,.5); z-index: 20; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem; }
.lang-menu a { padding: .4rem .6rem; border-radius: 5px; color: var(--text-dim); font-size: .82rem; white-space: nowrap; }
.lang-menu a:hover { background: var(--panel-2); color: var(--text); text-decoration: none; }
.lang-menu a.on { color: var(--red-2); background: var(--red-glow); }
.hero { text-align: center; padding: 2.4rem 0 .4rem; }
.hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.hero-sub { color: var(--muted); font-size: 1.02rem; margin: .9rem auto 0; max-width: 640px; }
.site-body { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem 1.4rem; color: var(--text-dim); overflow-wrap: anywhere; }
.site-body img { max-width: 100%; height: auto; }
.site-files { display: flex; flex-direction: column; gap: 1rem; }
.ffeat, .flist { display: flex; flex-direction: column; gap: .7rem; }
.fcard { display: flex; align-items: center; gap: 1rem; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: .95rem 1.1rem; transition: border-color .12s; }
.fcard:hover { border-color: var(--border-2); }
.fcard .pub-ext { flex: 0 0 46px; height: 54px; font-size: .7rem; }
.fcard-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.fcard h3 { font-family: var(--sans); font-size: 1rem; margin: 0; overflow-wrap: anywhere; }
.fcard h3 a { color: var(--text); }
.fcard .fname { font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fcard .fdesc { color: var(--muted); font-size: .86rem; margin: .1rem 0 .15rem; }
.fcard .badge { align-self: flex-start; margin-bottom: .2rem; }
.fcard > .btn { flex: 0 0 auto; padding: .6rem 1.1rem; font-weight: 600; }
.fcard.big { padding: 1.4rem 1.5rem; border-color: var(--red); background: linear-gradient(135deg, var(--red-glow), transparent 60%), var(--panel); }
.fcard.big h3 { font-size: 1.3rem; }
.fcard.big .pub-ext { flex-basis: 60px; height: 70px; font-size: .82rem; }
.fcard.big > .btn.big { width: auto; padding: .85rem 1.6rem; font-size: 1rem; }
.site-f { margin-top: auto; padding-top: 1.4rem; border-top: 1px solid var(--border); text-align: center; display: flex; flex-direction: column; gap: .5rem; }
.site-f-custom { color: var(--muted); font-size: .84rem; }
@media (max-width: 640px) {
  .fcard { flex-wrap: wrap; }
  .fcard > .btn, .fcard.big > .btn.big { width: 100%; }
  .hero { padding-top: 1.4rem; }
}
[dir=rtl] .pub-ext::after { right: auto; left: -1px; border-left: none; border-right: 1px solid var(--border-2); border-bottom-left-radius: 0; border-bottom-right-radius: 5px; }
[dir=rtl] .kvlist { direction: rtl; }

/* panel: dil sekmeleri ve ana sayfa editörü */
.ltabs { display: flex; flex-wrap: wrap; gap: .25rem; margin-bottom: .9rem; }
.ltabs button { background: var(--bg); border: 1px solid var(--border-2); color: var(--muted); padding: .3rem .6rem; border-radius: 5px; font-size: .76rem; font-family: var(--mono); }
.ltabs button.on { border-color: var(--red); color: var(--text); background: var(--red-glow); }
.ltabs button.filled::after { content: " •"; color: var(--ok); }
.langchecks { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .35rem .8rem; }
.brandrow { display: flex; align-items: center; gap: .8rem; padding: .5rem 0; border-bottom: 1px solid var(--border); }
.brandrow:last-child { border-bottom: none; }
.brandrow .prev { width: 64px; height: 40px; border-radius: 6px; border: 1px solid var(--border-2); background: var(--bg) center/contain no-repeat; flex: 0 0 auto; }
.brandrow .nm { flex: 1; }
.hfile { display: grid; grid-template-columns: auto minmax(0,1fr) 70px auto auto; gap: .7rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--border); }
.hfile:last-child { border-bottom: none; }
.hfile input[type=number] { padding: .25rem .4rem; }
.field textarea.code { font-family: var(--mono); font-size: .78rem; min-height: 120px; }
.btn.pulse { box-shadow: 0 0 0 3px var(--red-glow); }
.badge.feat { color: var(--red-2); background: var(--red-glow); border: 1px solid var(--red); }

/* =====================================================================
   Açık (beyaz) site teması — yalnızca ziyaretçi sayfaları (body.site.light)
   ===================================================================== */
body.site.light {
  --bg: #f6f7f9; --panel: #ffffff; --panel-2: #f3f5f8;
  --border: #e6e9ef; --border-2: #d4d9e1;
  --text: #0f172a; --text-dim: #334155; --muted: #5b6678; --faint: #8a94a6;
  --ok: #15803d; --warn: #b45309; --info: #1d4ed8;
  --shadow-1: 0 1px 2px rgba(15,23,42,.05), 0 2px 8px rgba(15,23,42,.04);
  --shadow-2: 0 2px 4px rgba(15,23,42,.05), 0 12px 32px rgba(15,23,42,.08);
  color-scheme: light;
  background-color: var(--bg); background-image: none; color: var(--text);
  font-size: 15px;
}
body.site.light a { color: var(--red); }
body.site.light .site-wrap { gap: 1.6rem; }
body.site.light .site-h { border-bottom-color: var(--border); padding: 1rem 0; }
body.site.light .site-logo { color: var(--text); font-weight: 800; letter-spacing: -.01em; }
body.site.light .site-logo .star { color: var(--red); }

/* dil menüsü */
body.site.light details.lang summary { background: var(--panel); border-color: var(--border-2); color: var(--text-dim); box-shadow: var(--shadow-1); }
body.site.light details.lang[open] summary, body.site.light details.lang summary:hover { border-color: var(--red); color: var(--text); }
body.site.light .lang-menu { background: var(--panel); border-color: var(--border); box-shadow: var(--shadow-2); }
body.site.light .lang-menu a { color: var(--text-dim); }
body.site.light .lang-menu a:hover { background: var(--panel-2); color: var(--text); }
body.site.light .lang-menu a.on { color: var(--red); background: color-mix(in srgb, var(--red) 9%, #fff); }

/* üst bölüm */
body.site.light .hero { padding: 3.4rem 1rem 1rem; border-radius: 20px;
  background: radial-gradient(70% 90% at 50% 0%, color-mix(in srgb, var(--red) 11%, transparent), transparent 70%); }
body.site.light .hero h1 { color: var(--text); font-weight: 800; letter-spacing: -.035em; }
body.site.light .hero-sub { color: var(--muted); font-size: 1.1rem; line-height: 1.6; }

/* güven rozetleri */
.trust { list-style: none; margin: 1.5rem auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.trust li { display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .9rem; border-radius: 999px; background: var(--panel); border: 1px solid var(--border); font-size: .84rem; color: var(--text-dim); font-weight: 500; }
.trust .ti { color: var(--red); font-size: .9rem; line-height: 1; }
body.site.light .trust li { box-shadow: var(--shadow-1); }
.site-wrap.narrow > .trust { margin-top: -.4rem; }

/* serbest içerik */
body.site.light .site-body { background: var(--panel); border-color: var(--border); color: var(--text-dim); box-shadow: var(--shadow-1); line-height: 1.7; }

/* dosya kartları */
body.site.light .fcard { background: var(--panel); border-color: var(--border); border-radius: 14px; box-shadow: var(--shadow-1); transition: box-shadow .15s, border-color .15s, transform .15s; }
body.site.light .fcard:hover { border-color: color-mix(in srgb, var(--red) 35%, var(--border)); box-shadow: var(--shadow-2); transform: translateY(-1px); }
body.site.light .fcard h3 a { color: var(--text); }
body.site.light .fcard h3 a:hover { color: var(--red); text-decoration: none; }
body.site.light .fcard .fdesc { color: var(--muted); }
body.site.light .fcard .mono.faint { color: var(--muted); }
body.site.light .fcard.big { border: 1.5px solid color-mix(in srgb, var(--red) 45%, var(--border)); box-shadow: var(--shadow-2);
  background: linear-gradient(135deg, color-mix(in srgb, var(--red) 7%, #fff), #fff 60%); }

/* dosya simgesi */
body.site.light .pub-ext { background: color-mix(in srgb, var(--red) 9%, #fff); border-color: color-mix(in srgb, var(--red) 22%, #fff); color: var(--red); border-radius: 10px; }
body.site.light .pub-ext::after { background: var(--bg); border-color: color-mix(in srgb, var(--red) 22%, #fff); }
body.site.light .fcard .pub-ext::after, body.site.light .pub-card .pub-ext::after { background: var(--panel); }
body.site.light .pub-ext[data-k=arc] { background: #fff7e6; border-color: #fde3b0; color: #b45309; }
body.site.light .pub-ext[data-k=app] { background: #eef2ff; border-color: #d4dcfe; color: #4338ca; }
body.site.light .pub-ext[data-k=media] { background: #fdf2f8; border-color: #f9d3e8; color: #be185d; }
body.site.light .pub-ext[data-k=img] { background: #ecfdf5; border-color: #c4f0dc; color: #047857; }
body.site.light .pub-ext[data-k=doc] { background: #eff6ff; border-color: #cfe1fd; color: #1d4ed8; }
body.site.light .pub-ext[data-k=arc]::after { border-color: #fde3b0; }
body.site.light .pub-ext[data-k=app]::after { border-color: #d4dcfe; }
body.site.light .pub-ext[data-k=media]::after { border-color: #f9d3e8; }
body.site.light .pub-ext[data-k=img]::after { border-color: #c4f0dc; }
body.site.light .pub-ext[data-k=doc]::after { border-color: #cfe1fd; }

/* butonlar ve rozetler */
body.site.light .btn { background: var(--panel); border-color: var(--border-2); color: var(--text); box-shadow: var(--shadow-1); }
body.site.light .btn:hover { background: var(--panel-2); border-color: var(--border-2); }
body.site.light .btn.primary { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.1), 0 4px 14px color-mix(in srgb, var(--red) 28%, transparent); }
body.site.light .btn.primary:hover { background: color-mix(in srgb, var(--red) 88%, #000); border-color: color-mix(in srgb, var(--red) 88%, #000); }
body.site.light .badge.feat { color: var(--red); background: color-mix(in srgb, var(--red) 10%, #fff); border-color: color-mix(in srgb, var(--red) 30%, #fff); }

/* dosya sayfası */
body.site.light .pub-card { background: var(--panel); border-color: var(--border); border-radius: 18px; box-shadow: var(--shadow-2); padding: 1.8rem; }
body.site.light .pub-card h1 { color: var(--text); }
body.site.light .pub-note { background: var(--panel-2); border-color: var(--border); color: var(--text-dim); }
body.site.light .pub-kv { background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; padding: .9rem 1rem; }
body.site.light .kvlist .k { color: var(--muted); }
body.site.light .kvlist .v { color: var(--text); }
body.site.light .pub-ico.bad { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
body.site.light .field label { color: var(--text-dim); }
body.site.light .field input[type=password] { background: #fff; border-color: var(--border-2); color: var(--text); }
body.site.light .field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 15%, transparent); }
body.site.light .err-line { color: #dc2626; }
body.site.light .hint { color: var(--muted); }
body.site.light .faint { color: var(--faint); }

/* alt bilgi */
body.site.light .site-f { border-top-color: var(--border); }
body.site.light .site-f-custom { color: var(--muted); }
@media (max-width: 640px) { body.site.light .hero { padding-top: 2rem; } }

.btn .ico { flex: 0 0 auto; }
.fcard .mono .ico { vertical-align: -2px; }
body.site.light .pub-ext::after { display: none; }
body.site.light .btn.primary.big { padding: .9rem 1.2rem; font-size: 1rem; border-radius: 10px; }

/* ---------- tanıtım sayfası: geniş, fütüristik, animasyonlu ---------- */
html { scroll-behavior: smooth; }
.lp { --v2: #7c3aed; --v3: #06b6d4; overflow-x: clip; }
.lp-in { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 72px); }
.site-nav { display: flex; gap: 1.5rem; margin-inline-start: auto; margin-inline-end: .5rem; }
.site-nav a, body.site.light .site-nav a { color: var(--text-dim); font-size: .92rem; font-weight: 500; }
.site-nav a:hover, body.site.light .site-nav a:hover { color: var(--red); text-decoration: none; }
.lp .site-h, body.site.light .lp .site-h { position: sticky; top: 0; z-index: 40; padding: 1rem clamp(16px, 4vw, 72px); border-bottom: 1px solid transparent; background: color-mix(in srgb, var(--panel) 62%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color .2s, background .2s; }
.lp .site-h.scrolled, body.site.light .lp .site-h.scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--panel) 88%, transparent); }

.lp-hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
#lpNet { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.lp-aurora { position: absolute; inset: -20%; z-index: -3; filter: blur(70px); opacity: .55; background: radial-gradient(28% 34% at 74% 30%, var(--red), transparent 70%), radial-gradient(26% 32% at 88% 66%, var(--v2), transparent 70%), radial-gradient(24% 30% at 58% 74%, var(--v3), transparent 70%); animation: lpAurora 16s ease-in-out infinite alternate; }
body.site.light .lp-aurora { opacity: .3; }
.lp-gridbg { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(color-mix(in srgb, var(--text) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--text) 7%, transparent) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent); }
.lp-hero-g { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 5rem); align-items: center; padding-block: 3rem; }
.lp-hero h1 { font-size: clamp(2.5rem, 5.6vw, 5.4rem); line-height: 1.04; font-weight: 800; letter-spacing: -.04em; color: transparent; background: linear-gradient(100deg, var(--text) 10%, var(--red) 48%, var(--v2) 70%, var(--text) 95%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; animation: lpShine 9s ease-in-out infinite alternate; }
.lp-sub { margin: 1.4rem 0 0; max-width: 680px; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.25rem); line-height: 1.65; }
.lp-btns { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.lp-btns .btn { padding: .95rem 1.8rem; font-size: 1rem; font-weight: 600; border-radius: 12px; transition: transform .15s, box-shadow .15s, background .15s; }
.lp-btns .btn:hover { transform: translateY(-2px); }
.lp-hero .trust { justify-content: flex-start; margin-top: 1.8rem; }

.lp-stage { position: relative; aspect-ratio: 1; width: min(100%, 520px); margin-inline: auto; display: grid; place-items: center; perspective: 900px; }
.lp-ring { position: absolute; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--red) 45%, transparent); animation: lpSpin 26s linear infinite; }
.lp-ring.r1 { inset: 3%; }
.lp-ring.r2 { inset: 14%; border-style: solid; border-color: transparent; border-top-color: var(--v2); border-right-color: var(--v3); border-width: 2px; animation-duration: 9s; animation-direction: reverse; }
.lp-ring.r3 { inset: 24%; border-color: color-mix(in srgb, var(--v3) 45%, transparent); animation-duration: 18s; }
.lp-holo { position: relative; width: 56%; padding: 0 1rem 1.2rem; border-radius: 22px; background: color-mix(in srgb, var(--panel) 72%, transparent); border: 1px solid color-mix(in srgb, var(--red) 30%, var(--border)); box-shadow: 0 30px 70px color-mix(in srgb, var(--red) 24%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform-style: preserve-3d; }
.lp-holo-top { display: flex; gap: .3rem; padding: .8rem 0; }
.lp-holo-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); }
.lp-core { width: 92px; height: 92px; margin: .3rem auto 1rem; border-radius: 26px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--red), var(--v2)); box-shadow: 0 14px 34px color-mix(in srgb, var(--red) 45%, transparent); animation: lpPulse 2.8s ease-in-out infinite; }
.lp-core svg { animation: lpDrop 2.8s ease-in-out infinite; }
.lp-bars { display: flex; flex-direction: column; gap: .5rem; }
.lp-bars span { position: relative; height: 8px; border-radius: 6px; overflow: hidden; background: color-mix(in srgb, var(--text) 9%, transparent); }
.lp-bars span::after { content: ""; position: absolute; inset: 0; width: 45%; border-radius: 6px; background: linear-gradient(90deg, var(--red), var(--v3)); animation: lpSlide 2.4s ease-in-out infinite; }
.lp-bars span:nth-child(2)::after { animation-delay: -.8s; }
.lp-bars span:nth-child(3)::after { animation-delay: -1.6s; }
.lp-orb { position: absolute; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--border); box-shadow: 0 14px 30px rgba(15,23,42,.16); animation: lpFloat 5s ease-in-out infinite; }
.lp-orb.o1 { top: 11%; left: 9%; color: #059669; }
.lp-orb.o2 { top: 20%; right: 5%; color: #d97706; animation-delay: -1.7s; }
.lp-orb.o3 { bottom: 10%; right: 17%; color: var(--v3); animation-delay: -3.3s; }

.lp-marquee { overflow: hidden; padding: 1rem 0; border-block: 1px solid var(--border); background: color-mix(in srgb, var(--panel) 70%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-mq-t { display: flex; width: max-content; align-items: center; gap: 1.6rem; animation: lpMarq 38s linear infinite; white-space: nowrap; }
.lp-mq-t span { font-weight: 600; font-size: 1.02rem; color: var(--text-dim); }
.lp-mq-t b { color: var(--red); font-weight: 400; }

.lp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-top: 3.5rem; }
.lp-stat { padding: 1.8rem; border-radius: 20px; text-align: center; background: var(--panel); border: 1px solid var(--border); }
.lp-stat .n { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; color: transparent; background: linear-gradient(120deg, var(--red), var(--v2)); -webkit-background-clip: text; background-clip: text; font-variant-numeric: tabular-nums; }
.lp-stat .l { margin-top: .4rem; color: var(--muted); font-size: .95rem; }

.lp-sec { padding-top: clamp(3.5rem, 7vw, 6.5rem); scroll-margin-top: 40px; }
.lp-sec > h2, .lp-split h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; color: var(--text); }
.lp-sec > h2 { text-align: center; margin-bottom: 2.4rem; }
.lp-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.lp-card { --mx: 50%; --my: 0%; position: relative; grid-column: span 2; padding: 1.8rem; border-radius: 20px; overflow: hidden; background: var(--panel); border: 1px solid var(--border); transition: transform .18s, border-color .18s, box-shadow .18s; }
.lp-card.c1, .lp-card.c2 { grid-column: span 3; }
.lp-card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .2s; pointer-events: none; background: radial-gradient(300px circle at var(--mx) var(--my), color-mix(in srgb, var(--red) 15%, transparent), transparent 70%); }
.lp-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--red) 40%, var(--border)); box-shadow: 0 20px 50px rgba(15,23,42,.1); }
.lp-card:hover::before { opacity: 1; }
.lp-card h3 { position: relative; margin: 0 0 .4rem; font-family: var(--sans); font-size: 1.2rem; font-weight: 700; color: var(--text); }
.lp-card p, .lp-split p, .lp-steps p, .lp-faq p { position: relative; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.lp-ico { position: relative; width: 52px; height: 52px; margin-bottom: 1.1rem; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--red), var(--v2)); }
.lp-card.c2 .lp-ico { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.lp-card.c3 .lp-ico { background: linear-gradient(135deg, #10b981, #047857); }
.lp-card.c4 .lp-ico { background: linear-gradient(135deg, #f59e0b, #b45309); }
.lp-card.c5 .lp-ico { background: linear-gradient(135deg, #ec4899, #be185d); }
.lp-card.c6 .lp-ico { background: linear-gradient(135deg, #06b6d4, #0e7490); }

.lp-show { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 5rem); }
.lp-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.lp-split h2 { margin-bottom: .9rem; }
.lp-split p { font-size: 1.12rem; }
.lp-demo { padding: 2rem; border-radius: 22px; background: var(--panel); border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(15,23,42,.08); }
.lp-demo-row { display: flex; align-items: center; gap: .8rem; }
.lp-demo-dot { width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, var(--red), var(--v2)); }
.lp-demo-line { flex: 1; height: 12px; border-radius: 7px; background: color-mix(in srgb, var(--text) 10%, transparent); }
.lp-demo-bar { height: 14px; margin-top: 1.3rem; border-radius: 8px; overflow: hidden; background: color-mix(in srgb, var(--text) 8%, transparent); }
.lp-demo-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--red), var(--v3)); animation: lpResume 7s ease-in-out infinite; }
.lp-demo-sig { display: flex; align-items: flex-end; gap: 4px; height: 24px; margin-top: 1.1rem; }
.lp-demo-sig i { width: 7px; border-radius: 3px; background: var(--ok); animation: lpSig 7s steps(1) infinite; }
.lp-demo-sig i:nth-child(1) { height: 25%; } .lp-demo-sig i:nth-child(2) { height: 50%; } .lp-demo-sig i:nth-child(3) { height: 75%; } .lp-demo-sig i:nth-child(4) { height: 100%; }
.lp-langs { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.lp-langs span { padding: .6rem 1.1rem; border-radius: 999px; background: var(--panel); border: 1px solid var(--border); font-weight: 600; color: var(--text-dim); animation: lpFloat 6s ease-in-out infinite; }
.lp-langs span:nth-child(3n) { animation-delay: -2s; border-color: color-mix(in srgb, var(--red) 40%, var(--border)); }
.lp-langs span:nth-child(3n+1) { animation-delay: -4s; }

.lp-steps { --p: 0; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lp-steps::before, .lp-steps::after { content: ""; position: absolute; top: 28px; inset-inline: 16.6%; height: 3px; border-radius: 3px; background: var(--border); }
.lp-steps::after { background: linear-gradient(90deg, var(--red), var(--v2)); transform: scaleX(var(--p)); transform-origin: left; }
[dir=rtl] .lp-steps::after { transform-origin: right; }
.lp-steps li { position: relative; z-index: 1; text-align: center; padding: 0 1rem; }
.lp-num { width: 58px; height: 58px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--red), var(--v2)); box-shadow: 0 0 0 7px var(--bg); }
.lp-steps h3 { margin: 0 0 .4rem; font-family: var(--sans); font-size: 1.2rem; font-weight: 700; color: var(--text); }

.lp-faq { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: .65rem; }
.lp-faq details { padding: 1.1rem 1.4rem; border-radius: 15px; background: var(--panel); border: 1px solid var(--border); transition: border-color .15s; }
.lp-faq details[open] { border-color: color-mix(in srgb, var(--red) 40%, var(--border)); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: 1.04rem; color: var(--text); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq p { margin-top: .6rem; }
.lp .site-f { margin-top: clamp(3rem, 6vw, 5rem); padding-block: 1.6rem; }

.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.hid { opacity: 0; transform: translateY(28px); }
.lp-bento .reveal:nth-child(2), .lp-stats .reveal:nth-child(2), .lp-steps .reveal:nth-child(2) { transition-delay: .08s; }
.lp-bento .reveal:nth-child(3), .lp-stats .reveal:nth-child(3), .lp-steps .reveal:nth-child(3) { transition-delay: .16s; }
.lp-bento .reveal:nth-child(5) { transition-delay: .08s; }
.lp-bento .reveal:nth-child(6) { transition-delay: .16s; }

@keyframes lpAurora { to { transform: translate3d(-5%, 4%, 0) scale(1.12); } }
@keyframes lpShine { to { background-position: 100% 0; } }
@keyframes lpSpin { to { transform: rotate(360deg); } }
@keyframes lpFloat { 50% { transform: translateY(-9px); } }
@keyframes lpPulse { 50% { transform: scale(1.05); } }
@keyframes lpDrop { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(4px); } }
@keyframes lpSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(230%); } }
@keyframes lpMarq { to { transform: translateX(-33.333%); } }
@keyframes lpResume { 0% { width: 4%; } 38%, 58% { width: 56%; } 92%, 100% { width: 100%; } }
@keyframes lpSig { 0%, 37% { opacity: 1; } 38%, 58% { opacity: .15; } 59%, 100% { opacity: 1; } }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .lp .lang { margin-inline-start: auto; }
  .lp-hero { min-height: 0; }
  .lp-hero-g { grid-template-columns: 1fr; text-align: center; padding-block: 2.2rem; }
  .lp-sub { margin-inline: auto; }
  .lp-btns, .lp-hero .trust { justify-content: center; }
  .lp-stage { width: min(84%, 400px); }
  .lp-split { grid-template-columns: 1fr; text-align: center; }
  .lp-split .lp-ico { margin-inline: auto; }
  .lp-split.rev > :first-child { order: 2; }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-card, .lp-card.c1, .lp-card.c2 { grid-column: auto; }
  .lp-steps { grid-template-columns: 1fr; gap: 2rem; }
  .lp-steps::before, .lp-steps::after { display: none; }
}
@media (max-width: 560px) {
  .lp-stats { grid-template-columns: 1fr; }
  .lp-btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp *, .lp *::before, .lp *::after { animation: none !important; }
  .lp-demo-bar i { width: 70%; }
  .lp-hero h1 { background-position: 30% 0; }
}
.lp-card.c6 { grid-column: span 6; }
@media (max-width: 960px) { .lp-card.c6 { grid-column: auto; } }

/* ---------- dosya sayfası: tanıtım sayfasıyla aynı tema ---------- */
.lp-fhero { min-height: calc(100vh - 150px); }
.lp-fwrap { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; padding-block: clamp(2rem, 5vw, 4rem); }
.lp-file .lp-fhero .trust { justify-content: center; margin: 0; }
.lp-file .pub-card, body.site.light .lp-file .pub-card { position: relative; width: 100%; max-width: 640px; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 26px; border: 1px solid color-mix(in srgb, var(--red) 28%, var(--border)); background: color-mix(in srgb, var(--panel) 74%, transparent); box-shadow: 0 30px 80px color-mix(in srgb, var(--red) 20%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: lpCardIn .6s cubic-bezier(.2,.7,.2,1); }
.lp-file .pub-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: linear-gradient(120deg, var(--red), var(--v2), var(--v3), var(--red)); background-size: 300% 100%; animation: lpShine 7s linear infinite alternate; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }
.lp-file .pub-card h1 { font-size: clamp(1.3rem, 2.6vw, 1.85rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; }
.lp-file .pub-card > h1, .lp-file .pub-card > .hint { text-align: center; }
.lp-file .pub-card > .btn { align-self: center; }
.lp-file .pub-card > .btn.big { align-self: stretch; }
.lp-file .pub-ext, body.site.light .lp-file .pub-ext { flex: 0 0 72px; height: 72px; border-radius: 20px; border: none; color: #fff; font-size: .85rem; background: linear-gradient(135deg, var(--red), var(--v2)); box-shadow: 0 12px 28px color-mix(in srgb, var(--red) 38%, transparent); animation: lpPulse 2.8s ease-in-out infinite; }
.lp-file .pub-ext::after { display: none; }
body.site.light .lp-file .pub-kv, body.site.light .lp-file .pub-note, .lp-file .pub-kv, .lp-file .pub-note { background: color-mix(in srgb, var(--panel-2) 72%, transparent); border: 1px solid var(--border); border-radius: 14px; }
.lp-file .pub-kv { padding: 1rem 1.1rem; }
.lp-file .btn.primary.big, body.site.light .lp-file .btn.primary.big { position: relative; overflow: hidden; padding: 1.05rem 1.3rem; font-size: 1.05rem; font-weight: 700; border: none; border-radius: 14px; color: #fff; background: linear-gradient(110deg, var(--red), var(--v2)); box-shadow: 0 14px 34px color-mix(in srgb, var(--red) 36%, transparent); transition: transform .15s, box-shadow .15s; }
.lp-file .btn.primary.big:hover, body.site.light .lp-file .btn.primary.big:hover { transform: translateY(-2px); background: linear-gradient(110deg, var(--red), var(--v2)); box-shadow: 0 18px 42px color-mix(in srgb, var(--red) 46%, transparent); }
.lp-file .btn.primary.big::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); animation: lpSweep 3.4s ease-in-out infinite; }
.lp-file .pub-pw { display: flex; flex-direction: column; gap: .3rem; }
.lp-file .pub-pw .btn { width: 100%; }
.lp-file .site-f { margin-top: 0; }
@keyframes lpCardIn { from { transform: translateY(14px); } }
@keyframes lpSweep { 0% { transform: translateX(-130%) skewX(-18deg); } 60%, 100% { transform: translateX(320%) skewX(-18deg); } }
@media (max-width: 560px) {
  .lp-file .pub-ext, body.site.light .lp-file .pub-ext { flex-basis: 58px; height: 58px; border-radius: 16px; }
}
