@charset "utf-8";
/* Pixelator — "Showroom" arayüzü (design-concepts/pixelator/a-showroom.html'den uyarlandı) */
:root {
  --bg: #f5f5f7;
  --card: #fff;
  --t: #1d1d1f;
  --m: #6e6e73;
  --line: #e3e3e8;
  --acc: #0071e3;
  --ok: #30d158;
  --warn: #ff9f0a;
  --g: 1.5px;
  --r: 22%;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--t);
  font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
img { -webkit-user-drag: none; user-select: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; }
.hidden-stage { position: absolute; width: 0; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; }
#qualityBubble { display: none !important; }

/* ---------- yükleniyor ---------- */
/* Yalnız cihaz ekranı kararır; pikseller sol üstten sağ alta dalga hâlinde öne doğru kabarır (canvas, ui.js).
   Script display: block/none yapar; görünürlüğü ui.js .on ile yönetir, böylece dalga en az bir tur tamamlanır. */
#loader {
  position: absolute; inset: 0; z-index: 3; overflow: hidden; border-radius: inherit;
  display: block !important; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
  background: rgba(0, 0, 0, .58); cursor: progress; touch-action: none;
}
#loader.on { opacity: 1; visibility: visible; transition: opacity .2s; }
#loader .wave { position: absolute; pointer-events: none; }
.ld-pill {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #fff;
  background: #ffffff1f; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 8px 15px 8px 12px; border-radius: 99px; border: 1px solid #ffffff26;
}
.ld-pill i { width: 7px; height: 7px; border-radius: 50%; background: #7cc4ff; box-shadow: 0 0 8px #7cc4ff; animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- üst bar ---------- */
/* umtpz.com ana sayfasındaki üst menünün birebir kopyası (index.html .pill) */
.pill {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; width: max-content; align-items: center; gap: 2px; padding: 5px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .15);
  font: 500 14px/1.55 Inter, system-ui, sans-serif; color: #0B0B0C; white-space: nowrap;
}
.pill a { text-decoration: none; color: inherit; }
.pill .me { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; font-weight: 600; letter-spacing: -.01em; }
.pill .me img { display: block; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.links { position: relative; display: flex; }
.links a { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; color: #4F5056; transition: color .25s; }
.links a:hover { color: #0B0B0C; }
.ind { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 999px; background: rgba(0, 0, 0, .06); transition: transform .45s cubic-bezier(.2, .7, .1, 1), width .45s cubic-bezier(.2, .7, .1, 1), opacity .3s; opacity: 0; }
.pill .go { margin-left: 4px; padding: 8px 16px; border-radius: 999px; background: #0B0B0C; color: #fff; transition: background .25s; }
.pill .go:hover { background: #2F4BFF; }
.pill .lang { display: flex; margin-left: 4px; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .05); }
.pill .lang button { font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 9px; border: 0; border-radius: 999px; background: none; color: #4F5056; cursor: pointer; transition: color .25s, background .25s, box-shadow .25s; }
.pill .lang button:hover { color: #0B0B0C; }
.pill .lang button.on { background: #fff; color: #0B0B0C; box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
.pill :focus-visible { outline: 2px solid #2F4BFF; outline-offset: 3px; }
@media (max-width: 900px) { .links { display: none; } }
@media (max-width: 600px) { .pill .me span { display: none; } .pill .me { padding-right: 4px; } }
.hero-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.status {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--m);
  background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 99px; white-space: nowrap;
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px #ff9f0a26; transition: background .3s, box-shadow .3s; }
.status.ok i { background: var(--ok); box-shadow: 0 0 0 4px #30d15826; }
.status.err i { background: #ff453a; box-shadow: 0 0 0 4px #ff453a26; }

main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 64px); align-items: center; padding: 104px 0 40px;
}
.eyebrow { font-size: 13px; font-weight: 600; color: var(--acc); }
h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; margin: 12px 0 18px; text-wrap: balance; }
.lead { font-size: 18px; color: var(--m); max-width: 36ch; }
.specs { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.specs b { display: block; font-size: 22px; letter-spacing: -.02em; }
.specs small { color: var(--m); font-size: 13px; }

/* ---------- cihaz ---------- */
.stage { display: flex; flex-direction: column; align-items: stretch; gap: 16px; width: 100%; max-width: 640px; justify-self: center; }
.device {
  position: relative; background: linear-gradient(160deg, #2c2c2e, #0c0c0d);
  border-radius: 34px; padding: 0 20px 20px;
  box-shadow: inset 0 1px 0 #ffffff26, 0 40px 80px -30px #0006, 0 12px 24px -12px #0004;
}
.device::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, #ffffff14, transparent 40%);
}
/* üst çerçeve: cihaz adı + CANLI butonu ekranın dışında, çizimi kapatmaz */
.bezel { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 4px 0 8px; }
.dev-name { font-size: 10px; font-weight: 600; letter-spacing: .22em; color: #ffffff4d; }
.screen { position: relative; background: #000; border-radius: 16px; padding: 10px; --inner: 6px; }
.pixels { display: grid; gap: var(--g); touch-action: none; cursor: crosshair; border-radius: var(--inner); overflow: hidden; }
.pixels > .rows { display: grid; grid-template-columns: repeat(40, minmax(0, 1fr)); gap: var(--g); }
.pixels.hq, .pixels.hq > .rows { gap: 0; }
.pixels.hq .pixel { border-radius: 0; }  /* görüntünün dış köşeleri .pixels'in border-radius'uyla yuvarlanır */
.pixel { aspect-ratio: 1; border-radius: var(--r); position: relative; overflow: hidden; background: #000; }
.pixel:hover { filter: brightness(1.3); }
.sub { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); pointer-events: none; }
.sub i { display: block; }
.live {
  display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: #fff;
  background: #ffffff14; border: 1px solid #ffffff1a;
  padding: 4px 10px 4px 8px; border-radius: 99px; opacity: .85; transition: opacity .2s, background .2s;
}
.live:hover { opacity: 1; background: #ffffff24; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; }

/* ---------- araç çubuğu ---------- */
.bar {
  container: bar / inline-size;
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px;
  box-shadow: 0 10px 30px -12px #0002;
}
.seg { display: flex; background: var(--bg); border-radius: 99px; padding: 3px; }
.seg button {
  display: flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 99px;
  font-size: 13px; font-weight: 500; color: var(--m); white-space: nowrap; transition: color .15s, background .15s;
}
.seg button:hover { color: var(--t); }
.seg button.on { background: #fff; color: var(--t); box-shadow: 0 1px 4px #0002; }
.seg svg { width: 16px; height: 16px; flex: none; }
.seg button span { display: none; }
.wells { position: relative; width: 46px; height: 36px; flex: none; border-radius: 10px; }
.wells:hover .well { transform: scale(1.06); }
.well { position: absolute; width: 26px; height: 26px; border-radius: 8px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 2px 6px #0002; transition: transform .15s; }
.well.fg { left: 0; top: 0; z-index: 2; }
.well.bg { left: 17px; top: 10px; }
/* seçili rengin halkası (outline 2 + 2 px) ve hover büyümesi kesilmesin diye pay; eksi margin bar yüksekliğini korur */
.sw { display: flex; gap: 6px; overflow: hidden; padding: 6px; margin: -6px -4px; }
.sw button { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px #0000001a; flex: none; transition: transform .15s; }
.sw button:hover { transform: scale(1.15); }
.sw button.on { outline: 2px solid var(--acc); outline-offset: 2px; }
@container bar (max-width: 520px) { .sw button:nth-child(n+7) { display: none; } }
@container bar (max-width: 440px) { .sw button:nth-child(n+5) { display: none; } }
.send {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 104px;
  background: var(--acc); color: #fff; font-weight: 600; padding: 9px 18px; border-radius: 99px; font-size: 14px;
  white-space: nowrap; font-variant-numeric: tabular-nums; transition: filter .15s, transform .1s;
}
.send:hover { filter: brightness(1.1); }
.send:active { transform: scale(.97); }
.send svg { width: 15px; height: 15px; }

.prog { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; opacity: 0; transition: opacity .3s; margin: -4px 24px 0; }
.prog.on { opacity: 1; }
.prog i { display: block; height: 100%; width: 0; background: var(--acc); transition: width .2s; }
.meta { display: flex; gap: 4px 6px; font-size: 13px; color: var(--m); flex-wrap: wrap; justify-content: center; align-items: center; }
.meta button { display: inline-flex; align-items: center; gap: 6px; color: var(--m); padding: 6px 10px; border-radius: 99px; transition: background .15s, color .15s; }
.meta button:hover { color: var(--t); background: #fff; }
.meta svg { width: 15px; height: 15px; }
.meta .state { width: 100%; text-align: center; min-height: 20px; font-variant-numeric: tabular-nums; }

/* ---------- bölümler ---------- */
section { padding: 56px 0; }
.sh { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
h2 { font-size: 32px; letter-spacing: -.03em; font-weight: 700; }
.sh p { color: var(--m); margin-top: 4px; }
.q { display: flex; background: #e8e8ed; border-radius: 10px; padding: 3px; }
.q button { padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--m); white-space: nowrap; }
.q button.on { background: #fff; color: var(--t); box-shadow: 0 1px 3px #0002; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.gal > * { background: #fff; border-radius: 18px; padding: 8px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; text-align: left; position: relative; }
.gal > *:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px #0003; }
.gal img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 11px; display: block; background: #111; }
.gal.lq img { image-rendering: pixelated; }
.gal span { display: block; font-size: 12px; color: var(--m); margin: 7px 4px 1px; }
.gal .busy::after { content: ""; position: absolute; inset: 8px 8px auto; aspect-ratio: 5 / 4; border-radius: 11px; background: #fff8; }
.upload {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  border: 1.5px dashed #c7c7cc !important; background: transparent !important; color: var(--m); font-size: 13px; min-height: 120px;
}
.upload:hover { color: var(--acc); border-color: var(--acc) !important; }
.upload small { opacity: .4; font-size: 11px; font-weight: 400; line-height: 1.3; color: var(--m); text-align: center; max-width: 13em; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how > div { background: #fff; border-radius: 22px; padding: 28px; border: 1px solid var(--line); }
.how b { display: block; font-size: 17px; margin: 14px 0 6px; letter-spacing: -.01em; }
.how p { color: var(--m); font-size: 14px; line-height: 1.7; }
kbd { font: 600 12px Inter, system-ui, sans-serif; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; color: var(--t); white-space: nowrap; }
.num { width: 32px; height: 32px; border-radius: 50%; background: var(--t); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
footer { text-align: center; color: var(--m); font-size: 13px; padding: 32px 16px 56px; padding-bottom: max(56px, env(safe-area-inset-bottom)); }

/* ---------- renk seçici ---------- */
.picker {
  position: fixed; z-index: 200; width: 288px; display: none;
  background: #fff; border-radius: 20px; padding: 14px; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px #0004, 0 8px 20px -10px #0002;
}
.picker.open { display: block; animation: pop .16s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.pk-scrim { position: fixed; inset: 0; z-index: 199; display: none; background: #0000; }
.pk-scrim.open { display: block; }
.pk-tabs { display: flex; background: var(--bg); border-radius: 10px; padding: 3px; margin-bottom: 12px; }
.pk-tabs button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 6px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--m); }
.pk-tabs button i { width: 12px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1px #0002; }
.pk-tabs button.on { background: #fff; color: var(--t); box-shadow: 0 1px 3px #0002; }
.pk-sv { position: relative; height: 160px; border-radius: 12px; cursor: crosshair; touch-action: none;
  background: linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, transparent), var(--hue, red); }
.pk-sv b, .pk-hue b { position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #0003, 0 2px 6px #0004; transform: translate(-50%, -50%); pointer-events: none; }
.pk-hue { position: relative; height: 14px; margin: 14px 0; border-radius: 99px; cursor: pointer; touch-action: none;
  background: linear-gradient(90deg, red, #ff0, lime, cyan, blue, #f0f, red); }
.pk-hue b { top: 50%; background: var(--hue, red); }
.pk-row { display: flex; gap: 8px; align-items: center; }
.pk-prev { width: 36px; height: 36px; border-radius: 10px; box-shadow: inset 0 0 0 1px #0002; flex: none; }
.pk-hex { flex: 1; min-width: 0; height: 36px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font: 500 14px ui-monospace, "SF Mono", Menlo, monospace; text-transform: uppercase; color: var(--t); background: var(--bg); user-select: text; -webkit-user-select: text; }
.pk-hex:focus { outline: 2px solid var(--acc); outline-offset: -1px; background: #fff; }
.pk-drop { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--m); background: var(--bg); flex: none; }
.pk-drop:hover { color: var(--t); }
.pk-drop svg { width: 17px; height: 17px; }
.pk-lbl { font-size: 11px; font-weight: 600; color: var(--m); text-transform: uppercase; letter-spacing: .06em; margin: 14px 0 8px; }
.pk-sw { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.pk-sw button { aspect-ratio: 1; border-radius: 8px; box-shadow: inset 0 0 0 1px #0000001a; transition: transform .12s; }
.pk-sw button:hover { transform: scale(1.12); }
.pk-sw:empty::after { content: "Henüz yok"; grid-column: 1 / -1; font-size: 12px; color: #aeaeb2; }
.pk-note { display: none; margin-top: 12px; font-size: 12px; color: var(--m); line-height: 1.5; }
.pk-apply { display: none; width: 100%; margin-top: 10px; background: var(--t); color: #fff; font-weight: 600; font-size: 14px; padding: 10px; border-radius: 12px; }
.picker.is-bg .pk-note, .picker.is-bg .pk-apply { display: block; }
.pk-grab { display: none; }

/* ---------- duyarlı ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 84px 0 24px; text-align: center; }
  .hero-top { justify-content: center; }
  .lead { margin: 0 auto; }
  .specs { justify-content: center; }
  .how { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :root { --g: 1px; }
  h1 { font-size: 32px; margin: 8px 0 12px; }
  .lead { font-size: 16px; }
  .specs { gap: 20px; margin-top: 20px; }
  .specs b { font-size: 18px; }
  .device { padding: 0 10px 10px; border-radius: 22px; }
  .bezel { height: 36px; padding: 0 2px 0 6px; }
  .dev-name { font-size: 9px; }
  .screen { padding: 5px; border-radius: 12px; --inner: 7px; }
  .live { padding: 3px 8px 3px 7px; font-size: 10px; }
  .ld-pill { font-size: 12px; padding: 6px 12px 6px 10px; }
  /* the left column may shrink below its content (Safari's wider font left no room for Send on a 402 px phone):
     the tool buttons give way first, their labels cut short if it ever comes to that */
  .bar { border-radius: 22px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tools wells" "sw send"; gap: 8px; padding: 8px; }
  .seg { grid-area: tools; min-width: 0; }
  .seg button { flex: 1 1 auto; min-width: 0; justify-content: center; padding: 7px 8px; gap: 5px; }
  .seg button span { overflow: hidden; text-overflow: ellipsis; }
  .seg button span { display: inline; }
  .wells { grid-area: wells; }
  .sw { grid-area: sw; justify-content: space-between; }
  .sw button { display: block !important; width: 24px; height: 24px; }
  .send { grid-area: send; min-width: 0; padding: 9px 16px; }
  .prog { margin: -2px 16px 0; }
  section { padding: 32px 0; }
  h2 { font-size: 26px; }
  .gal { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .gal > * { padding: 5px; border-radius: 14px; }
  .gal img { border-radius: 10px; }
  .gal span { display: none; }
  .upload { min-height: 0; aspect-ratio: auto; font-size: 11px; text-align: center; }
  .how > div { padding: 22px; }
  /* renk seçici alt sayfa olur */
  .picker { left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; border-radius: 22px 22px 0 0; padding: 8px 16px max(18px, env(safe-area-inset-bottom)); }
  .picker.open { animation: sheet .2s ease-out; }
  .pk-grab { display: block; width: 36px; height: 5px; border-radius: 3px; background: #d1d1d6; margin: 2px auto 10px; }
  .pk-scrim.open { background: #0004; }
  .pk-sv { height: 150px; }
  @keyframes sheet { from { transform: translateY(40%); opacity: 0; } }
}
@media (max-width: 380px) { .sw button:nth-child(n+7) { display: none !important; } }
@media (hover: none) { .pixel:hover { filter: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before { animation-duration: .001s !important; transition: none !important; } }
