/* Ana sayfa (v2): canlı hero sahnesi + her bölümde hareketli ürün ekranı.
   Takım (devices.css / motion.css / scenes.js) ortaktır; burada yalnız yerleşim ve bu sayfaya özel sahne kareleri vardır.
   Hareket yalnız kısa geçişlerdir (transform / opacity / clip-path / stroke-dashoffset); süzülme ya da sonsuz süs animasyonu yoktur. */

/* ═════ 1. hero ═════ */
.hero { padding: 112px 0 64px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 40px; align-content: center; }
.hero__copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; align-self: end; }
.hero h1 { font-size: 60px; line-height: 66px; }
.hero__copy .lead { margin-top: 24px; max-width: 28em; }
.hero__btns { margin-top: 36px; }
.hero__facts { margin-top: 36px; display: grid; gap: 8px; grid-column: 1; grid-row: 2; align-self: start; position: relative; z-index: 2; }
.hero__facts li { font-size: 14px; line-height: 24px; color: var(--fg2); }
.hero .hero__facts .ico { color: var(--fg2); }
.hero__art { min-width: 0; grid-column: 2; grid-row: 1 / span 2; align-self: center; }

.hs { position: relative; width: min(100%, 716px); margin-inline: auto; }
.hs-sc { position: relative; container-type: inline-size; aspect-ratio: 716 / 672; width: 100%; }
.hs-pos { position: absolute; }
.hs-pos--win { left: 0; top: 1.4%; z-index: 2; }
.hs-pos--term { right: 0; top: 11%; z-index: 4; }
.hs-pos--pr { left: 1%; top: 51%; z-index: 3; }
.hs-pos--lb { left: 36%; top: 55%; z-index: 5; }

/* web penceresi */
.hs-win { --dv-w: clamp(300px, 63cqw, 452px); font-size: clamp(9.4px, 1.74cqw, 12.4px); aspect-ratio: 3 / 2; grid-template-columns: 1fr; margin: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 3em 6em -1.4em rgba(0, 0, 0, .65); }
.hs-win .dv-win__body { gap: .8em; padding: 1.1em 1.2em; }
.hs-panel { overflow: visible; }
.hs-cols { --cols: 1.2fr 1.5fr 1.5fr 1.05fr; gap: .6em; padding-inline: .8em; }
.hs-newrow { position: relative; background: color-mix(in srgb, var(--u-acc) 7%, var(--u-surface)); }
.hs-st, .hs-act { justify-items: start; }
.hs-ok { min-height: 2.1em; padding-inline: 1em; font-size: .88em; }
.hs-trk { font-family: var(--f-mono); font-size: .72em; }
.hs-toasts { position: absolute; right: 1em; bottom: 1em; z-index: 6; }
.hs-toast { min-width: 19em; }
.hs-cursor { left: 62%; top: 52%; }
.sc.s1 .hs-cursor { --cx: 0; --cy: 0; }
.sc.s2 .hs-cursor { --cx: 9.4em; --cy: -6.4em; }
.sc.s3 .hs-cursor { --cx: 9.4em; --cy: -6.4em; opacity: 0; transition: opacity .24s .24s, translate .4s var(--ease-out); }
.hs-cursor { opacity: 0; transition: opacity .24s, translate .4s var(--ease-out); }
.sc.s2 .hs-cursor { opacity: 1; }
.sc.s3 .hs-cursor, .sc.s4 .hs-cursor, .sc.s5 .hs-cursor, .sc.s6 .hs-cursor { opacity: 0; }

/* ışının hedefi: okutulan barkod kartları */
.hs-tgts { position: absolute; left: 63%; top: 0; width: 36%; z-index: 3; }
.hs-tgt { position: absolute; left: 0; right: 0; top: 0; padding: .9em 1em 1em; border-radius: .8em; background: var(--white); color: var(--ink); box-shadow: 0 1.4em 2.6em -1em rgba(0, 0, 0, .65); font-size: clamp(9px, 1.7cqw, 12.2px); opacity: 0; }
.hs-tgt__a { display: flex; justify-content: space-between; align-items: baseline; gap: .6em; padding-bottom: .5em; margin-bottom: .6em; border-bottom: .1em solid var(--ink); font-size: .95em; }
.hs-tgt__a b { font: 600 1em/1.2 var(--f-body); } .hs-tgt__a .m { font: 500 .9em/1.2 var(--f-mono); color: var(--muted); }
.hs-tgt .ui-barcode { height: 3.2em; color: var(--ink); }
.sc.at-4 .hs-tgt--1 { animation: hs-t1 2.6s linear both; }
.sc.at-4 .hs-tgt--2 { animation: hs-t2 2.6s linear both; }
@keyframes hs-t1 { 0% { opacity: 0; } 6% { opacity: 1; } 37% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes hs-t2 { 0%, 38% { opacity: 0; } 44% { opacity: 1; } 76% { opacity: 1; } 82%, 100% { opacity: 0; } }

/* yazıcı ve etiket */
.hs-printer { --dv-w: clamp(150px, 34cqw, 244px); margin: 0; }
.hs-printer .dv-paper { left: 7%; right: 7%; height: 19.6em; font-size: .94em; transform: translateY(calc(-100% - 3.6em)); transition: transform 1.9s cubic-bezier(.45, .05, .25, 1), opacity .4s; }
.sc.s5 .hs-printer .dv-paper { opacity: 0; transition: opacity .4s; }
.hs-label { --dv-w: clamp(104px, 21.5cqw, 154px); margin: 0; box-shadow: 0 1.4em 2.6em -.8em rgba(0, 0, 0, .7); }

/* el terminali */
.hs-term { --dv-w: clamp(190px, 32cqw, 228px); --beam-w: 20em; --beam-h: 14.4em; margin: 0; }
.sc.at-4 .hs-term { animation: hs-fire2 2.6s linear both; }
@keyframes hs-fire2 {
  0% { --fire: 0; --sw: -1; } 6% { --fire: 1; --sw: -.7; } 22% { --fire: 1; --sw: .8; } 30% { --fire: 0; --sw: 0; }
  42% { --fire: 0; --sw: -1; } 48% { --fire: 1; --sw: -.7; } 64% { --fire: 1; --sw: .8; } 72%, 100% { --fire: 0; --sw: 0; }
}
.hs-term .ta__views, .hs-term .ta__bar { font-size: 1.17em; }
.hs-term .ta__body { gap: .55em; }
.hs-term .ta__pk-h { align-items: center; gap: .4em; }
.hs-term .ta__pk-h .ui-badge { font-size: .8em; }
.hs-tgtbox > * { display: grid; align-content: center; gap: .3em; }
.hs-term .ta__big { font-size: 2.3em; }
.hs-term .ta__count { font-size: 2.4em; }
.hs-p1, .hs-p2, .hs-p3, .hs-sts > * { opacity: 0; }
.sc.at-4 .hs-p1 { animation: hs-p1 2.6s linear both; }
.sc.at-4 .hs-p2 { animation: hs-p2 2.6s linear both; }
.sc.at-4 .hs-p3 { animation: hs-p3 2.6s linear both; }
.sc.at-4 .hs-s0 { animation: hs-s0 2.6s linear both; }
.sc.at-4 .hs-s1 { animation: hs-s1 2.6s linear both; }
.sc.at-4 .hs-s2 { animation: hs-s2 2.6s linear both; }
.sc.at-4 .hs-s3 { animation: hs-s3 2.6s linear both; }
.sc.at-4 .hs-bar > i { animation: hs-fill 2.6s linear both; }
@keyframes hs-p1 { 0% { opacity: 0; } 5% { opacity: 1; } 36% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes hs-p2 { 0%, 38% { opacity: 0; } 43% { opacity: 1; } 72% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes hs-p3 { 0%, 74% { opacity: 0; } 80%, 100% { opacity: 1; } }
@keyframes hs-s0 { 0% { opacity: 0; } 4% { opacity: 1; } 18% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes hs-s1 { 0%, 20% { opacity: 0; } 24% { opacity: 1; } 60% { opacity: 1; } 63%, 100% { opacity: 0; } }
@keyframes hs-s2 { 0%, 62% { opacity: 0; } 66% { opacity: 1; } 76% { opacity: 1; } 79%, 100% { opacity: 0; } }
@keyframes hs-s3 { 0%, 78% { opacity: 0; } 82%, 100% { opacity: 1; } }
@keyframes hs-fill { 0%, 78% { clip-path: inset(0 100% 0 0 round 99em); } 100% { clip-path: inset(0 0 0 0 round 99em); } }
.hs-last { min-height: 2.9em; }
.hs-term .ta__toast { bottom: 4.6em; }

/* iplikler (adım geldikçe çizilir) */
.hs-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; fill: none; overflow: visible; }
.hs-w { stroke: rgba(255, 255, 255, .32); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; vector-effect: non-scaling-stroke; transition: stroke-dashoffset .4s var(--ease-out); }
.sc.s3 .hs-w--a, .sc.s2 .hs-w--b, .sc.s5 .hs-w--c, .sc.s6 .hs-w--d { stroke-dashoffset: 0; }

.hs-ctl { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; }
.hs-steps { flex: 1; min-width: 0; }
.hs-steps > li { flex: 1 0 84px; }
.hs-ctl .sc-ctl { flex: none; margin-top: -8px; }
.hs-steps button { font-size: 14px; }
.hs-note { margin-top: 16px; max-width: 64ch; font-size: 14px; line-height: 20px; color: var(--fg2); }

/* ═════ 2. sayılarla ═════ */
.nums { background: var(--white); border-bottom: 1px solid var(--line); padding-block: 40px; }
.nums__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.nums__list > li { display: flex; align-items: baseline; gap: 16px; padding: 4px 24px; border-left: 1px solid var(--line); }
.nums__list > li:first-child { border-left: 0; padding-left: 0; }
.nums__n { font: 600 52px/1 var(--f-head); letter-spacing: -.02em; color: var(--fg); font-variant-numeric: tabular-nums; }
.nums__t { font: 600 16px/24px var(--f-body); color: var(--fg); }
.nums__t small { display: block; font: 400 14px/20px var(--f-body); color: var(--muted); }

/* ═════ 3. üç ürün ═════ */
.prod { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.prod[hidden] { display: none; }
.prod__scene { min-width: 0; display: grid; gap: 16px; justify-items: stretch; position: relative; }
.prod__ctl { display: flex; justify-content: flex-end; margin-top: -4px; }
.prod__txt h3 { font-size: 30px; line-height: 40px; margin-bottom: 16px; }
.prod__who { color: var(--muted); }
.prod__list { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.prod__list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 24px; color: var(--ink); }
.prod__list svg { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; color: var(--acc); }
.prod__flow { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); max-width: none; }
.prod__flow strong { font-weight: 600; margin-right: 4px; }
.prod__btns { margin-top: 24px; }
.prod__lh { margin: 0 0 8px; font: 600 14px/20px var(--f-body); letter-spacing: normal; color: var(--muted); }
.prod__split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 4px 4px 0; }
.prod__split li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.prod__split .is-muted li { color: var(--muted); }

/* mini sahneler */
.ms { container-type: inline-size; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 28px 24px 24px; min-height: 300px; font-size: 14px; line-height: 20px; overflow: hidden; }
.ms__cap { margin-top: 16px; min-height: 24px; font: 500 16px/24px var(--f-body); color: var(--ink); text-align: center; max-width: none; }
.ms__cap > span { display: block; }
/* Yalnız WMS */
.ms__row { display: grid; grid-template-columns: 116px minmax(0, 1fr) 116px; gap: 8px; align-items: stretch; }
.ms__node { border: 1px solid var(--line); border-radius: 12px; padding: 16px 8px 12px; text-align: center; display: grid; align-content: start; gap: 4px; background: var(--paper); min-height: 168px; }
.ms__node--t { border-color: var(--ink); background: var(--white); }
.ms__node b { font: 600 16px/24px var(--f-head); } .ms__node > span { color: var(--muted); font-size: 13px; }
.ms__got { margin-top: 10px; display: grid; gap: 6px; text-align: left; }
.ms__got li { display: flex; align-items: center; gap: 6px; font: 600 12px/16px var(--f-body); color: var(--u-ok); }
.ms__got .ui-ico { width: 14px; height: 14px; }
.ms__lanes { position: relative; }
.ms__lane { position: absolute; left: 6px; right: 6px; height: 2px; background: var(--line); border-radius: 2px; }
.ms__lane::after { content: ""; position: absolute; top: -4px; width: 9px; height: 9px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.ms__lane--r { top: 34%; } .ms__lane--r::after { right: 0; rotate: 45deg; }
.ms__lane--l { top: 72%; } .ms__lane--l::after { left: 0; rotate: -135deg; }
.ms__pk { position: absolute; top: -30px; left: 0; padding: 4px 12px; border-radius: 8px; background: var(--ink); color: var(--white); font: 600 12px/16px var(--f-body); white-space: nowrap; opacity: 0; --tr: calc(100cqw - 48px - 232px - 16px - 74px); }
.ms__lane--l .ms__pk { left: auto; right: 0; background: var(--sun); color: var(--sun-ink); }
.sc.at-1 .ms__pk--1, .sc.at-2 .ms__pk--2, .sc.at-3 .ms__pk--3 { animation: ms-r 1.35s var(--ease-out) both; }
.sc.at-4 .ms__pk--4, .sc.at-5 .ms__pk--5 { animation: ms-l 1.45s var(--ease-out) both; }
@keyframes ms-r { 0% { opacity: 0; translate: 0 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; translate: var(--tr) 0; } }
@keyframes ms-l { 0% { opacity: 0; translate: 0 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; translate: calc(var(--tr) * -1) 0; } }
/* ERP + WMS */
.ms--erp { padding-bottom: 20px; }
.ms__loop { position: relative; width: 340px; height: 184px; margin: 8px auto 0; max-width: 100%; }
.ms__n { position: absolute; width: 132px; height: 66px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); display: flex; align-items: center; gap: 8px; padding: 0 16px; color: var(--muted); transition: border-color .24s, color .24s, background-color .24s; }
.ms__n b { font: 600 16px/20px var(--f-head); }
.ms__n .ui-ico { width: 22px; height: 22px; }
.ms__n--1 { left: 0; top: 0; } .ms__n--2 { right: 0; top: 0; } .ms__n--3 { right: 0; bottom: 0; } .ms__n--4 { left: 0; bottom: 0; }
.sc.at-1 .ms__n--1, .sc.at-2 .ms__n--1, .sc.at-3 .ms__n--2, .sc.at-4 .ms__n--3, .sc.at-5 .ms__n--4 { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.ms__c { position: absolute; background: var(--line); overflow: hidden; }
.ms__c::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scale(0); transition: transform .4s var(--ease-out); }
.ms__c--1 { left: 132px; top: 32px; width: 76px; height: 2px; } .ms__c--1::before { transform-origin: left; }
.ms__c--2 { right: 65px; top: 66px; width: 2px; height: 52px; } .ms__c--2::before { transform-origin: top; }
.ms__c--3 { left: 132px; bottom: 32px; width: 76px; height: 2px; } .ms__c--3::before { transform-origin: right; }
.ms__c--4 { left: 65px; top: 66px; width: 2px; height: 52px; } .ms__c--4::before { transform-origin: bottom; }
.sc.s3 .ms__c--1::before, .sc.s4 .ms__c--2::before, .sc.s5 .ms__c--3::before { transform: none; }
.ms__b2b { position: absolute; left: 10px; top: 0; display: flex; align-items: center; gap: 4px; z-index: 2; }
.ms__b2bl { width: 24px; height: 2px; background: var(--ink); }
.ms--erp .ms__loop { margin-top: 30px; }
/* Sigorta tedarik */
.ms--sig { padding-top: 26px; }
.ms__rail { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); font: 500 12px/16px var(--f-body); color: var(--muted); text-align: center; padding-top: 24px; }
.ms__rail li { position: relative; transition: color .3s; }
.ms__rail li::before { content: ""; position: absolute; left: 50%; top: -18px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); z-index: 1; transition: background-color .24s, border-color .24s, scale .24s var(--ease-out); }
.ms__rail::before { content: ""; position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: 3px; height: 2px; background: var(--line); }
.ms__rail::after { content: ""; position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: 3px; height: 2px; background: var(--ink); transform-origin: left; transform: scaleX(calc(var(--k, 0) / 6)); transition: transform .4s var(--ease-out); }
.ms--sig { --k: 0; }
.ms--sig.s2 { --k: 1; } .ms--sig.s3 { --k: 2; } .ms--sig.s4 { --k: 3; } .ms--sig.s5 { --k: 4; } .ms--sig.s6 { --k: 5; } .ms--sig.s7 { --k: 6; }
.sc.s1 .ms__rail li:nth-child(-n+1), .sc.s2 .ms__rail li:nth-child(-n+2), .sc.s3 .ms__rail li:nth-child(-n+3), .sc.s4 .ms__rail li:nth-child(-n+4), .sc.s5 .ms__rail li:nth-child(-n+5), .sc.s6 .ms__rail li:nth-child(-n+6), .sc.s7 .ms__rail li:nth-child(-n+7) { color: var(--ink); }
.sc.s1 .ms__rail li:nth-child(-n+1)::before, .sc.s2 .ms__rail li:nth-child(-n+2)::before, .sc.s3 .ms__rail li:nth-child(-n+3)::before, .sc.s4 .ms__rail li:nth-child(-n+4)::before, .sc.s5 .ms__rail li:nth-child(-n+5)::before, .sc.s6 .ms__rail li:nth-child(-n+6)::before, .sc.s7 .ms__rail li:nth-child(-n+7)::before { background: var(--ink); border-color: var(--ink); }
.sc.at-1 .ms__rail li:nth-child(1)::before, .sc.at-2 .ms__rail li:nth-child(2)::before, .sc.at-3 .ms__rail li:nth-child(3)::before, .sc.at-4 .ms__rail li:nth-child(4)::before, .sc.at-5 .ms__rail li:nth-child(5)::before, .sc.at-6 .ms__rail li:nth-child(6)::before, .sc.at-7 .ms__rail li:nth-child(7)::before { scale: 1.5; background: var(--sun); border-color: var(--ink); }
.ms__file { width: 232px; margin-top: 24px; padding: 16px 16px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); transform: translateX(calc(var(--k) * (100cqw - 48px - 232px) / 6)); transition: transform .4s var(--ease-out); }
.ms__file-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ms__file-h b { font: 600 15px/20px var(--f-mono); }
.ms__fst { justify-items: end; }
.ms__file-r { margin-top: 12px; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.ms__file-r > span { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.ms__file-r em { font-style: normal; font-weight: 600; font-size: 12px; color: var(--u-ok); justify-items: end; }

/* ═════ 4. depoda iş el terminalinde biter ═════ */
.td { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.td__steps { display: grid; gap: 4px; }
.td__steps button { position: relative; overflow: hidden; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; width: 100%; padding: 16px; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 12px; color: var(--fg2); cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.td__steps button:hover { color: var(--fg); }
.td__steps li.is-now button { background: var(--ink-2); border-color: var(--ink-line); color: var(--fg); }
.td__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink-line); font: 600 14px/1 var(--f-head); font-variant-numeric: tabular-nums; transition: background-color .25s, border-color .25s, color .25s; }
.td__steps li.is-now .td__n { border-color: var(--sun); color: var(--sun); }
.td__steps li.is-done .td__n { color: var(--fg2); }
.td__t { display: block; font: 600 20px/28px var(--f-head); color: inherit; }
.td__d { display: block; margin-top: 2px; font-size: 15px; line-height: 22px; color: var(--fg2); }
.td__steps li.is-now .td__d { color: var(--fg); }
.td__steps .sc-bar { position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px; overflow: hidden; background: transparent; }
.td__steps .sc-bar::after { content: ""; position: absolute; inset: 0; background: var(--sun); transform-origin: left; transform: scaleX(0); }
.td__steps li.is-done .sc-bar::after { transform: none; opacity: .5; }
.td__steps li.is-now .sc-bar::after { animation: sc-fill var(--dur, 3200ms) linear forwards; animation-play-state: paused; }
.td__steps.is-playing li.is-now .sc-bar::after { animation-play-state: running; }
.td__steps.is-manual li.is-now .sc-bar::after { animation: none; transform: none; }
.td__foot { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.td__stage { position: relative; min-width: 0; }
.td-sc { position: relative; width: min(100%, 640px); margin-inline: auto; padding-top: 152px; min-height: 940px; }
.td-term { position: relative; z-index: 3; margin-left: 5%; width: 312px; max-width: 100%; }
.td-term .dv-term { --dv-w: 312px; margin: 0; --beam-w: 17em; --beam-h: 12.2em; }
.td-phone { position: absolute; z-index: 4; right: 0; bottom: 8px; width: 232px; }
.td-phone .dv-phone { --dv-w: 232px; margin: 0; }
.td-phone__cap { margin-top: 16px; text-align: center; font: 500 16px/24px var(--f-body); color: var(--fg); max-width: none; }
.td-phone__cap small { display: block; font: 400 14px/20px var(--f-body); color: var(--fg2); }
.td-tgts { position: absolute; left: 5%; top: 0; width: 312px; max-width: 100%; z-index: 2; height: 128px; }
.td-tgt { position: absolute; left: 6%; right: 6%; top: 0; padding: 12px 16px 16px; border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: 0 22px 40px -16px rgba(0, 0, 0, .7); font-size: 12px; }
.td-tgt__a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--ink); }
.td-tgt__a b { font: 600 12px/16px var(--f-body); } .td-tgt__a .m { font: 500 12px/16px var(--f-mono); color: var(--muted); }
.td-tgt .ui-barcode { height: 40px; color: var(--ink); }
.td-tgt--qr .ui-qr { width: 60px; height: 60px; margin-inline: auto; color: var(--ink); }
.td-tgt--qr { top: -4px; padding-bottom: 8px; }
.td-sc .dv-term .ta__views, .td-sc .dv-term .ta__bar { font-size: 1.14em; }
.td-sc .dv-term .ta__body { gap: .7em; padding: .8em .85em; }
.td-phone .ta__body { font-size: 1.16em; }
.td-sc .dv-term .ta__big { font-size: 2.3em; }
.td-sc .dv-term .ta__count { font-size: 2.3em; }
.td-sc .dv-term .ta { --mode: var(--ta-m-recv); }
.td-sc.at-2 .ta { --mode: var(--ta-m-xfer); } .td-sc.at-3 .ta { --mode: var(--ta-acc); } .td-sc.at-4 .ta { --mode: var(--ta-m-pack); } .td-sc.at-5 .ta { --mode: var(--ta-m-pack); } .td-sc.at-6 .ta { --mode: var(--ta-m-count); }
.td-b1 > i { --p: 1; } .td-b1 { --p: .25; }
.td-b1 > i { clip-path: inset(0 75% 0 0 round 99em); }
.sc.at-1 .td-b1 > i { animation: td-b1 3.2s var(--ease-out) both; }
@keyframes td-b1 { 0%, 20% { clip-path: inset(0 79% 0 0 round 99em); } 45%, 100% { clip-path: inset(0 75% 0 0 round 99em); } }
.td-bd6 { --p: .33; }
.td-sc .dv-term .ta__steps { padding-top: .1em; }
.td-b3 > i { clip-path: inset(0 0 0 0 round 99em); }
.sc.at-3 .td-b3 > i { animation: td-b3 3.2s var(--ease-out) both; }
@keyframes td-b3 { 0%, 25% { clip-path: inset(0 100% 0 0 round 99em); } 60%, 100% { clip-path: inset(0 0 0 0 round 99em); } }
.td-cam { font-size: .82em; }

/* ═════ 5. sigorta dosyası ═════ */
.sg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: center; }
.sg__rail { width: min(100%, 940px); display: flex; align-items: flex-start; gap: 14px; }
.sg-steps { flex: 1; min-width: 0; }
.sg-steps > li { flex: 1 0 96px; }
.sg__rail .sc-ctl { flex: none; margin-top: -8px; }
.sg__stage { width: min(100%, 940px); }
.sg-win { --dv-w: min(940px, calc(100vw - 32px)); font-size: calc(var(--dv-w) / 58); aspect-ratio: 2 / 1; margin: 0; box-shadow: 0 0 0 1px rgba(24, 26, 51, .09), var(--shadow); }
.sg-win .dv-win__body { gap: .8em; padding: 1.1em 1.4em; }
.sg-win .dv-win__h { flex-wrap: nowrap; }
.dv-win__h .dv-ht { margin: 0; font: 600 1.55em/1.2 var(--f-head); color: var(--u-ink); letter-spacing: 0; }
.sg-win h3, .sg-win .dv-ht { font-size: 1.45em; white-space: nowrap; }
.sg-portal { font-size: .78em; }
.dv-win__h .sg-fst { display: grid; justify-items: end; min-width: 11em; }
.sg-rs, .sg-sup > .ta__stack { justify-items: start; }
.sg-cols { --cols: 1.1fr 1.1fr 1.8fr; }
.sg-panel { overflow: visible; }
.sg-ev { position: relative; min-height: 4.6em; }
.sg-card { min-width: 0; padding: .6em .9em; gap: .9em; background: var(--u-surface); }
.sg-card > div { min-width: 0; }
.sg-card .ui-row__end { margin-left: auto; }
.sg-th { width: 4em; flex: none; aspect-ratio: 3 / 2; border-radius: .5em; }
.sg__more { width: min(100%, 940px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sg__note { font-size: 15px; line-height: 24px; color: var(--muted); max-width: 66ch; }

/* ═════ 6. entegrasyonlar ═════ */
#entegrasyon { overflow: clip; }
.ig { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.ig__weave { position: sticky; top: 96px; padding: 20px 16px 28px; border-radius: var(--r-card); background: var(--ink-2); border: 1px solid var(--ink-line); }
.ig__ctl { position: absolute; right: 12px; bottom: 12px; }
.ig__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ig__c { padding: 24px; display: grid; align-content: start; gap: 12px; }
.ig__c--logo { order: 1; } .ig__c--katalog { order: 2; } .ig__c--b2b { order: 3; grid-column: 1 / -1; } .ig__c--ebelge { order: 4; } .ig__c--kargo { order: 5; } .ig__c--banka { order: 6; grid-column: 1 / -1; } .ig__c--ajan { order: 7; grid-column: 1 / -1; }
.ig__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.ig__n { font-size: 20px; line-height: 28px; }
.ig__s { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ig__s .status { font-size: 13px; }
.ig__plain { color: var(--muted-d); }
.ig__f { color: var(--fg); font-size: 16px; line-height: 24px; max-width: none; }
.ig__alt { max-width: none; color: var(--muted-d); font-size: 14px; line-height: 20px; padding-top: 12px; border-top: 1px solid var(--ink-line); }
.ig__con { font: 500 12px/20px var(--f-mono); background: var(--ink); border: 1px solid var(--ink-line); border-radius: 8px; padding: 12px; display: grid; gap: 4px; color: var(--fg); }
.ig__ln { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; overflow: hidden; }
.ig__m { color: var(--sun); font-weight: 600; }
.ig__r { margin-left: auto; color: var(--muted-d); font-weight: 600; }
.ig__r--ok { color: var(--ok); }
.ig__links { margin-top: 32px; gap: 8px 32px; }
.card--glass { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r-card); }
.card--glass.lift:hover { background: var(--ink-3); }

/* ═════ 7. güvenlik ═════ */
.gv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gv__c { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 24px 32px; box-shadow: var(--shadow); }
.gv__c:hover { border-color: var(--muted); }
.gv__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--paper); color: var(--ink); margin-bottom: 20px; }
.gv__sv { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gv__c h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.gv__c p { color: var(--muted); font-size: 16px; line-height: 24px; }
.sec__more { margin-top: 16px; }

/* ═════ 8. devreye alma ═════ */
.onb { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.onb::before { content: ""; position: absolute; left: 22px; right: calc((100% - 72px) / 4 - 22px); top: 21px; height: 2px; background: var(--line); transform-origin: left; transition: transform .4s var(--ease-out); }
.js .onb:not(.in)::before { transform: scaleX(0); }
.onb > li { position: relative; }
.onb__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white); font: 600 20px/1 var(--f-head); font-variant-numeric: tabular-nums; margin-bottom: 20px; box-shadow: 0 0 0 4px var(--white); position: relative; }
.onb h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.onb p { color: var(--muted); font-size: 16px; line-height: 24px; }

/* ═════ 9–10. sss, kapanış ═════ */
.faq { row-gap: 32px; }
.faq__head { grid-column: 1 / span 4; }
.faq__list { grid-column: 5 / span 8; }
.faq__more { margin-top: 8px; }
.close { align-items: start; row-gap: 48px; }
.close__form { grid-column: 1 / span 7; }
.close__next { grid-column: 9 / span 4; }
.close__next h3 { margin-bottom: 20px; }
.next > li { font-size: 18px; line-height: 26px; padding: 20px 0 !important; display: flex; gap: 16px; align-items: baseline; }
.next > li::before { margin: 0; flex: none; width: 20px; }
.close__c { margin-top: 32px; display: grid; gap: 4px; }
.hs-cv { content-visibility: auto; }
@media (max-width: 640px) { [aria-labelledby="h-guv"].hs-cv { contain-intrinsic-size: auto 1788px; } [aria-labelledby="h-dev"].hs-cv { contain-intrinsic-size: auto 768px; } [aria-labelledby="h-sss"].hs-cv { contain-intrinsic-size: auto 628px; } }
@media (min-width: 641px) and (max-width: 1000px) { [aria-labelledby="h-guv"].hs-cv { contain-intrinsic-size: auto 998px; } [aria-labelledby="h-dev"].hs-cv { contain-intrinsic-size: auto 438px; } [aria-labelledby="h-sss"].hs-cv { contain-intrinsic-size: auto 533px; } }
@media (min-width: 1001px) { [aria-labelledby="h-guv"].hs-cv { contain-intrinsic-size: auto 698px; } [aria-labelledby="h-dev"].hs-cv { contain-intrinsic-size: auto 248px; } [aria-labelledby="h-sss"].hs-cv { contain-intrinsic-size: auto 403px; } }
/* Ekran dışı bölümler: ilk boyamada atlanır; ölçülmüş gerçekçi yükseklikler */
#urunler.sec, #depo.sec, #sigorta.sec, #entegrasyon.sec { content-visibility: auto; }
@media (max-width: 640px) {
  #urunler.sec { contain-intrinsic-size: auto 1458px; }
  #depo.sec { contain-intrinsic-size: auto 2007px; }
  #sigorta.sec { contain-intrinsic-size: auto 1006px; }
  #entegrasyon.sec { contain-intrinsic-size: auto 2550px; }
}
@media (min-width: 641px) and (max-width: 1000px) {
  #urunler.sec { contain-intrinsic-size: auto 1185px; }
  #depo.sec { contain-intrinsic-size: auto 1644px; }
  #sigorta.sec { contain-intrinsic-size: auto 829px; }
  #entegrasyon.sec { contain-intrinsic-size: auto 1950px; }
}
@media (min-width: 1001px) {
  #urunler.sec { contain-intrinsic-size: auto 872px; }
  #depo.sec { contain-intrinsic-size: auto 984px; }
  #sigorta.sec { contain-intrinsic-size: auto 837px; }
  #entegrasyon.sec { contain-intrinsic-size: auto 1487px; }
}


/* ═════ dokuma (bölüm 6) — hareket verisi weave.js'te ═════ */
.weave { width: 100%; height: auto; overflow: visible; }
.wv-warp { stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; }
.wv-head { fill: var(--fg); font: 500 13px var(--f-body); }
.wv-hmark { fill: rgba(255, 255, 255, .5); }
.wv-weft { fill: none; stroke-width: 3; stroke-linecap: round; }
.wv-row .wv-weft { stroke: rgba(255, 255, 255, .55); }
.wv-row .wv-node { fill: rgba(255, 255, 255, .9); }
.wv-row .wv-ring { stroke: rgba(255, 255, 255, .9); }
.wv-row .wv-ok { stroke: var(--ok); }
.wv-row .wv-tip { fill: var(--sun); }
.wv-ring { fill: none; stroke-width: 1.5; stroke-opacity: .3; }
.wv-patch-bg { stroke: var(--ink); stroke-width: 3.5; stroke-linecap: butt; fill: none; }
.wv-patch { stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; stroke-linecap: butt; fill: none; }
.wv-end { fill: var(--muted-d); font: 500 13px var(--f-body); stroke: var(--ink); stroke-width: 5px; paint-order: stroke; stroke-linejoin: round; }
.wv-ok { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wv-lbl-bg { fill: var(--ink-2); stroke: var(--ink-line); stroke-width: 1; }
.wv-lbl-t { fill: var(--fg); font: 400 13px var(--f-body); }
.wv-mono { font-family: var(--f-mono); font-weight: 500; font-size: 13px; }

/* ═════ duyarlı ═════ */
@media (max-width: 1180px) {
  .hero__grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); column-gap: 24px; }
  .hero h1 { font-size: 50px; line-height: 56px; }
  .td { grid-template-columns: minmax(0, 1fr); }
  .td__list { order: 2; }
  .ig { grid-template-columns: 1fr; }
  .ig__weave { position: relative; top: 0; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 1099px) {
  .hero { padding: 104px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 0; }
  .hero__copy, .hero__facts, .hero__art { grid-column: 1; grid-row: auto; }
  .hero__art { margin-top: 40px; }
  .hero__facts { order: 3; margin-top: 36px; }
  .hero h1 { font-size: 52px; line-height: 58px; }
  .hero__copy .lead { max-width: 34em; }
  .prod { grid-template-columns: 1fr; gap: 32px; }
  .gv { grid-template-columns: 1fr 1fr; }
  .faq__head, .faq__list { grid-column: 1 / -1; }
  .close__form, .close__next { grid-column: 1 / -1; }
  .nums__list { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .nums__list > li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  .onb { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .onb::before { display: none; }
  .ig__cards { grid-template-columns: 1fr; }
  .ig__c--b2b, .ig__c--banka, .ig__c--ajan { grid-column: auto; }
}
@media (max-width: 640px) {
  .hero { padding: 92px 0 48px; }
  .hero h1 { font-size: 38px; line-height: 44px; }
  .hero__copy .lead { font-size: 18px; line-height: 28px; }
  .hero__btns { margin-top: 26px; gap: 10px; }
  .hero__btns .btn { flex: 1 1 auto; padding: 0 14px; }
  .hero__art { margin-top: 32px; }
  .hero__facts { margin-top: 28px; }
  /* hero sahnesi: pencere üstte, terminal ve yazıcı altta */
  .hs-sc { aspect-ratio: auto; height: 800px; }
  .hs-win { --dv-w: 100cqw; font-size: 10.6px; aspect-ratio: auto; height: 252px; }
  .hs-pos--win { left: 0; right: 0; top: 0; }
  .hs-c2 { display: none; }
  .hs-cols { --cols: 1.25fr 1.5fr 1fr; }
  .hs-toast { min-width: 0; width: 100%; }
  .hs-toasts { left: .8em; right: .8em; }
  .hs-pos--term { right: 0; top: 236px; }
  .hs-term { --dv-w: 218px; }
  .hs-pos--pr { left: 0; top: 288px; }
  .hs-printer { --dv-w: 150px; }
  .hs-pos--lb { left: 3%; top: 357px; }
  .hs-label { --dv-w: 124px; }
  .hs-tgts { left: 24%; top: 147px; width: 74%; }
  .hs-tgt { font-size: 10.5px; }
  .hs-wires { display: none; }
  .hs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; overflow: visible; }
  .hs-steps > li { flex: none; }
  .hs-steps button { font-size: 13px; line-height: 18px; }
  .hs-ctl { align-items: flex-start; }
  .nums__n { font-size: 40px; }
  .nums__list > li { flex-direction: column; gap: 4px; padding: 0 12px; }
  .nums__list > li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .nums__t { font-size: 15px; }
  .prod__list { grid-template-columns: 1fr; }
  .prod__split { grid-template-columns: 1fr; gap: 16px; }
  .prod__txt h3 { font-size: 24px; line-height: 32px; }
  .ms { padding: 22px 14px 18px; }
  .ms__row { grid-template-columns: 82px minmax(0, 1fr) 82px; gap: 4px; }
  .ms__node { padding: 12px 6px 10px; }
  .ms__node b { font-size: 15px; }
  .ms__pk { --tr: calc(100cqw - 28px - 164px - 8px - 70px); font-size: 11.5px; padding: 3px 9px; }
  .ms__got li { font-size: 11.5px; }
  .ms__rail { font-size: 10.5px; }
  .ms__file { width: 200px; transform: translateX(calc(var(--k) * (100cqw - 28px - 200px) / 6)); }
  .td-sc { padding-top: 138px; min-height: 0; }
  .td-term { margin-left: 0; width: 100%; display: flex; justify-content: center; }
  .td-term .dv-term { --dv-w: min(292px, 80vw); }
  .td-tgts { left: 50%; translate: -50% 0; width: min(292px, 80vw); }
  .td-phone { position: relative; right: auto; bottom: auto; margin: 24px auto 0; width: 150px; }
  .td-phone .dv-phone { --dv-w: 150px; }
  .td-phone__cap { font-size: 13px; line-height: 18px; }
  .td__d { font-size: 14px; }
  .sg-win { font-size: 11px; aspect-ratio: auto; min-height: 350px; grid-template-columns: 1fr; }
  .sg-win .dv-win__body { padding: 1em; }
  .sg-win .dv-win__h { flex-wrap: wrap; }
  .sg-win h3, .sg-win .dv-ht { font-size: 1.3em; }
  .sg-cols { --cols: 1.3fr 1.7fr; }
  .sg__rail { flex-wrap: wrap; }
  .sg-steps { flex-wrap: wrap; overflow: visible; gap: 12px 8px; flex-basis: 100%; }
  .sg-steps > li { flex: 1 0 calc(25% - 8px); }
  .sg__rail .sc-ctl { order: -1; margin-top: 0; }
  .gv { grid-template-columns: 1fr; }
  .onb { grid-template-columns: 1fr; row-gap: 28px; }
  .ig__c { padding: 18px; }
}
@media (max-width: 400px) {
  .hs-sc { height: 752px; }
  .hs-term { --dv-w: 200px; }
  .hs-printer { --dv-w: 136px; }
}
