/* Prodavetiye kullanım filmleri: ortak tasarım.
   Düzen: karanlık "ekran" (solda uygulamanın menüsü, sağda anlatılan ekran) + altında oynatıcı; sayfa kabuğu temaya uyar.
   Renk: mürekkep lacivert, mühür kırmızısı vurgu, onay yeşili. Yazı: Bricolage Grotesque (başlık), Figtree (metin), Playfair italik (davetiye). */
:root {
  --bg: #eceef4; --fg: #14172b; --muted: #596079; --line: #d3d8e6; --surface: #ffffff; --accent: #c8382a; --accent-fg: #ffffff;
  --st-bg: #14172b; --st-panel: #1f2344; --st-line: #30365f; --st-fg: #eef0fa; --st-mut: #a7aed0; --st-acc: #ff7a66; --ok: #4cc38a; --warn: #f2b84b;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif; --body: 'Figtree', 'Segoe UI', system-ui, sans-serif; --serif: 'Playfair Display', Georgia, serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0d0f19; --fg: #e9ebf5; --muted: #98a0bb; --line: #272c42; --surface: #161a2a; --accent: #ef6a58; --accent-fg: #14172b; color-scheme: dark; } }
:root[data-theme="dark"] { --bg: #0d0f19; --fg: #e9ebf5; --muted: #98a0bb; --line: #272c42; --surface: #161a2a; --accent: #ef6a58; --accent-fg: #14172b; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; padding-block: 20px 36px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1120px; margin: 0 auto; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.wrap > * { min-width: 0; }
.crumb { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.crumb a { color: var(--muted); }
.top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 20px; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 4vw, 34px); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.sub { margin: 4px 0 0; color: var(--muted); font-size: 15px; max-width: 62ch; }
a { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang button { border: 0; background: none; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

/* sahne */
.stage { position: relative; background: var(--st-bg); color: var(--st-fg); border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 210px minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); height: 620px; }
.bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--st-line); font-size: 13px; color: var(--st-mut); }
.bar .ch { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--st-fg); }
.bar .no { background: var(--st-panel); border-radius: 999px; padding: 3px 10px; font-variant-numeric: tabular-nums; }
.side { padding: 16px 12px 16px 16px; min-height: 0; }
.side .cap2 { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--st-mut); font-weight: 600; margin: 2px 8px 10px; }
.nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.nav li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--st-mut); transition: background .35s, color .35s; }
.nav li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--st-line); transition: background .35s; }
.nav li.cur { background: var(--st-panel); color: var(--st-fg); font-weight: 700; box-shadow: inset 0 0 0 1px var(--st-acc); }
.nav li.cur::before { background: var(--st-acc); }

.panels { position: relative; min-width: 0; min-height: 0; }
.panel { position: absolute; inset: 0; padding: 18px 24px 12px 20px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; animation: panelin .45s ease-out; }
.panel[hidden] { display: none; }
.it { opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; }
.it.on { opacity: 1; transform: none; }
.h { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -0.015em; line-height: 1.12; margin: 0; text-wrap: balance; }
.lab { font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--st-mut); font-weight: 600; }
.card { background: var(--st-panel); border: 1px solid var(--st-line); border-radius: 12px; padding: 12px 14px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { background: var(--st-panel); border: 1px solid var(--st-line); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; font-weight: 500; }
.chip.acc { background: var(--st-acc); border-color: var(--st-acc); color: #1a0c09; font-weight: 700; }
.chip.ok { border-color: var(--ok); color: var(--ok); }
.chip.warn { border-color: var(--warn); color: var(--warn); }
.big { font-family: var(--display); font-size: clamp(34px, 6vw, 64px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.35; }
.chk::before { content: "\2713"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #082a1a; font-weight: 800; font-size: 13px; display: grid; place-items: center; margin-top: 1px; }
.chk.no::before { content: "\00D7"; background: var(--warn); color: #2b1c00; font-size: 16px; }
.mut { color: var(--st-mut); font-size: 13.5px; }
.ordno { font-family: var(--display); font-weight: 700; font-size: 20px; }
.steps { display: flex; flex-wrap: wrap; gap: 6px; }
.steps .chip { font-size: 12.5px; padding: 4px 10px; }
.sep { height: 1px; background: var(--st-line); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.three .card b { display: block; font-family: var(--display); font-size: 18px; margin-bottom: 4px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fade { opacity: 0; transition: opacity .45s; }
.fade.on { opacity: 1; }
.pipe { display: grid; gap: 0; max-width: 600px; }
.pipe .st { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding-bottom: 12px; position: relative; }
.pipe .st:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--st-line); }
.pipe .n { width: 34px; height: 34px; border-radius: 50%; background: var(--st-acc); color: #1a0c09; display: grid; place-items: center; font-weight: 800; }
.pipe b { font-family: var(--display); font-size: 17px; }

/* uygulama ekranı örnekleri (açık zeminli, gerçek ekranlar gibi) */
.win { background: #fff; color: #14172b; border-radius: 12px; overflow: hidden; max-width: 640px; box-shadow: 0 8px 30px rgb(0 0 0 / .25); }
.win .tb { display: flex; align-items: center; gap: 6px; padding: 7px 12px; background: #eef0f6; font-size: 11.5px; color: #596079; }
.win .tb i { width: 9px; height: 9px; border-radius: 50%; background: #cfd4e4; }
.win .tb span { margin-left: 8px; background: #fff; border-radius: 999px; padding: 2px 12px; }
.win .bd { padding: 12px 14px; display: grid; gap: 9px; }
.win h3 { margin: 0; font: 700 16px var(--display); }
.win .mut { color: #6a7189; }
.win .sm { font-size: 12.5px; color: #6a7189; }
.fld { display: grid; gap: 3px; font-size: 11.5px; color: #596079; font-weight: 600; }
.fld > span { display: block; border: 1px solid #cfd4e4; border-radius: 8px; padding: 5px 10px; min-height: 30px; font-size: 14px; font-weight: 500; color: #14172b; background: #fbfcfe; }
.fld > span.typing-t::after { content: "|"; animation: blink 1s steps(1) infinite; color: #c8382a; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.btn { border: 0; display: inline-block; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; background: #14172b; color: #fff; text-align: center; transition: transform .25s, box-shadow .25s; }
.btn.ghost { background: #fff; color: #14172b; border: 1px solid #cfd4e4; }
.btn.go { background: #1f7a55; }
.btn.press.on { transform: scale(.94); box-shadow: 0 0 0 4px rgb(255 122 102 / .45); }
.pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 11.5px; font-weight: 700; background: #eef0f6; color: #596079; white-space: nowrap; }
.pill.ok { background: #dff5e9; color: #146c43; } .pill.warn { background: #fdf0d2; color: #8a5a00; } .pill.seal { background: #fde3df; color: #a22a1d; } .pill.blue { background: #dfe9fb; color: #1f4f9a; }
.tbl { display: grid; font-size: 13px; }
.tbl > div { display: grid; grid-template-columns: var(--cols, 1fr 1fr 1fr); gap: 10px; padding: 7px 4px; border-top: 1px solid #e6e9f2; align-items: center; }
.tbl > div:first-child { border-top: 0; font-size: 11px; color: #8089a3; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.tbl > div > :last-child { text-align: right; }
.tbl .hl { background: #fff3dc; border-radius: 6px; transition: background .4s; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.tile { background: #f4f6fb; border-radius: 10px; padding: 8px 11px; }
.tile small { display: block; font-size: 11px; color: #6a7189; }
.tile b { font: 700 18px var(--display); }
.tile b.neg { color: #a22a1d; } .tile b.pos { color: #146c43; }
.drop { border: 2px dashed #b9c0d6; border-radius: 12px; padding: 16px; text-align: center; font-size: 13.5px; color: #596079; }
.file { display: inline-flex; align-items: center; gap: 6px; background: #eef0f6; border-radius: 8px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; margin: 2px 4px 2px 0; }
.file.new { background: #dff5e9; color: #146c43; }
.mail { background: #fff; color: #14172b; border-radius: 12px; padding: 12px 14px; max-width: 560px; font-size: 13px; line-height: 1.45; display: grid; gap: 4px; box-shadow: 0 8px 30px rgb(0 0 0 / .25); }
.mail .hd { color: #6a7189; font-size: 12px; }
.mail b { font-weight: 700; }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.board .col { background: #eef0f6; border-radius: 10px; padding: 8px; display: grid; gap: 6px; align-content: start; min-height: 110px; }
.board .col h4 { margin: 0; font-size: 11.5px; color: #596079; text-transform: uppercase; letter-spacing: .06em; }
.board .kc { background: #fff; border-radius: 8px; padding: 7px 8px; font-size: 12.5px; box-shadow: 0 1px 2px rgb(0 0 0 / .08); transition: transform .5s, opacity .5s; }
.board .kc small { display: block; color: #6a7189; font-size: 11px; }
.switch { display: inline-block; width: 38px; height: 22px; border-radius: 999px; background: #cfd4e4; position: relative; transition: background .35s; vertical-align: middle; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .35s; }
.switch.on { background: #1f7a55; } .switch.on::after { transform: translateX(16px); }
.perm { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 62px); gap: 6px 8px; font-size: 13px; align-items: center; }
.perm > b { font-size: 11px; color: #8089a3; text-transform: uppercase; letter-spacing: .05em; text-align: center; }
.perm > span.c { text-align: center; font-weight: 800; color: #1f7a55; } .perm > span.x { text-align: center; color: #b9c0d6; }
.perm > span.c.chg { background: #fff3dc; border-radius: 6px; }
.side, .panels { grid-row: 3; }
/* Açıklama sahnenin üstünde: görülmeden geçmesin */
.cap { grid-row: 2; grid-column: 1 / -1; border-bottom: 1px solid var(--st-line); padding: 14px 20px 16px; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.4; min-height: 4.2em; display: flex; align-items: center; background: rgb(0 0 0 / .18); text-wrap: pretty; }

/* oynatıcı */
.player { display: grid; gap: 10px; }
.ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.play { border: 0; background: var(--accent); color: var(--accent-fg); font-weight: 700; border-radius: 999px; padding: 10px 20px; min-width: 128px; }
.sm2 { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; }
.time { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--muted); min-width: 92px; }
.scrub { flex: 1 1 220px; accent-color: var(--accent); height: 28px; }
.chapters { display: flex; flex-wrap: wrap; gap: 8px; }
.chapters button { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 7px 11px; font-size: 13px; text-align: left; color: var(--muted); }
.chapters button b { display: block; font-size: 11px; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.chapters button[aria-current="true"] { border-color: var(--accent); color: var(--fg); }
.foot { color: var(--muted); font-size: 13px; margin: 0; }
.next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.next a { border: 1px solid var(--line); background: var(--surface); color: var(--fg); text-decoration: none; border-radius: 12px; padding: 10px 16px; font-weight: 600; font-size: 14px; }
.next a small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }

/* ana sayfa */
.films { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.film { display: grid; gap: 8px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; text-decoration: none; color: var(--fg); }
.film:hover { border-color: var(--accent); }
.film .k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.film h2 { font-family: var(--display); font-size: 21px; margin: 0; letter-spacing: -.01em; }
.film p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.film .go { color: var(--accent); font-weight: 700; font-size: 14px; }
.journey { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.journey span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.journey i { color: var(--muted); font-style: normal; }

@keyframes panelin { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 860px) {
  .stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; height: auto; }
  .side { grid-row: 3; padding: 12px 14px 0; }
  .panels { grid-row: 4; }
  .side .cap2 { display: none; }
  .nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .nav li { padding: 5px 10px; font-size: 12.5px; }
  .panels { min-height: 640px; }
  .panel { padding: 16px; }
  .three, .two { grid-template-columns: minmax(0, 1fr); }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap { min-height: 5.6em; }
}
@media (prefers-reduced-motion: reduce) { .panel { animation: none; } .it, .switch, .switch::after, .board .kc { transition: none; } }
