/* Entegrasyonlar, Logo bağlantısı ve Güvenlik sayfaları. Renk, yazı ve yarıçap yalnız site.css değişkenlerinden. */

/* durum açıklaması */
.ent-legend { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--fg2); font-size: 15px; line-height: 24px; }
.ent-legend p { max-width: none; display: flex; align-items: center; gap: 12px; }

/* sayfa başı içindekiler: ad / ne akar / durum */
.ent-idx > li { display: grid; grid-template-columns: 3fr 6fr 3fr; column-gap: 24px; align-items: start; padding: 20px 0; }
.ent-idx h3 { font-size: 19px; line-height: 26px; }
.ent-idx h3 a { color: var(--fg); text-decoration: none; }
.ent-idx h3 a:hover { color: var(--acc); text-decoration: underline; }
.ent-idx p { color: var(--muted); }
.ent-idx__s { display: grid; gap: 4px; justify-items: start; }
.ent-plain { color: var(--muted); font-size: 14px; line-height: 22px; }

/* her entegrasyon bir bölüm */
.ent { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: start; }
.ent__head { grid-column: 1 / span 4; position: sticky; top: 96px; }
.ent__head h2 { font-size: 32px; line-height: 40px; letter-spacing: -.02em; }
.ent__head .ent__st { margin-top: 16px; display: grid; gap: 4px; justify-items: start; }
.ent__body { grid-column: 5 / span 8; min-width: 0; }
.ent__more { margin-top: 24px; }

/* etiket-değer satırları */
.facts { margin: 0; }
.facts > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; padding: 16px 0; border-top: 1px solid var(--rule); }
.facts > div:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { font: 600 16px/26px var(--f-body); color: var(--fg); }
.facts dd { margin: 0; color: var(--muted); min-width: 0; }
.facts dd p { max-width: 60ch; }
.facts dd p + p, .facts dd p + ul, .facts dd ul + p { margin-top: 8px; }
.facts dd ul > li { padding: 3px 0; }
.facts dd ul.bul > li { position: relative; padding-left: 18px; }
.facts dd ul.bul > li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 1.5px; background: var(--muted); }
.facts strong { color: var(--fg); font-weight: 600; }

/* uç yolları */
.ep-base { color: var(--muted); }
code.ep { display: inline-block; padding: 1px 8px; border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 13px; line-height: 22px; overflow-wrap: anywhere; word-break: break-word; }
.eps { margin-top: 8px; }
.eps > li { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); column-gap: 16px; padding: 10px 0; border-top: 1px solid var(--rule); }
.eps > li:first-child { border-top: 0; }
.eps__t { color: var(--fg); font-weight: 500; }
.eps__c { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: flex-start; }

/* küçük etiket */
.tag { display: inline-block; margin-left: 8px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 999px; font: 500 13px/22px var(--f-body); color: var(--fg2); white-space: nowrap; vertical-align: 1px; }

/* üç sütunlu listeler (Logo sayfası) */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; row-gap: 40px; align-items: start; }
.cols3 h3 { font-size: 22px; line-height: 30px; margin-bottom: 8px; }
.cols3 .col-lead { color: var(--muted); font-size: 16px; line-height: 26px; margin-bottom: 20px; }
.cols3 .rows > li { padding: 12px 0; }
.cols3 .rows b { font-weight: 600; color: var(--fg); }
.cols3 .rows .sub { display: block; color: var(--muted); font-size: 15px; line-height: 24px; }

/* yapı şeması */
.dg { padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.dg svg { width: 100%; height: auto; overflow: visible; }
.dg__tall { display: none; max-width: 360px; margin-inline: auto; }
.dg-box { fill: var(--paper); stroke: color-mix(in srgb, var(--fg) 30%, transparent); stroke-width: 1; }
.dg-box--main { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; }
.dg-t { font: 600 20px var(--f-head); fill: var(--fg); }
.dg-s { font: 400 14px var(--f-body); fill: var(--fg2); }
.dg-l { font: 500 13px var(--f-body); fill: var(--fg); }
.dg-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.dg-head { fill: var(--ink); }
.dg-cap { margin-top: 24px; color: var(--muted); max-width: 70ch; }

/* sayfaya özel SSS */
.faq2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
.faq2__head { grid-column: 1 / span 4; }
.faq2__list { grid-column: 5 / span 8; }

/* kapanış bandı */
.cta-band .btns { gap: 12px 32px; }
.cta-band p { color: var(--fg2); margin-top: 8px; }

/* güvenlik: ek vurgu */
.pledge { padding: 24px; border: 1px solid var(--rule); border-left: 3px solid var(--acc); border-radius: 0 12px 12px 0; background: var(--panel); }
.pledge p { max-width: 62ch; }

@media (max-width: 960px) {
  .ent-idx > li { grid-template-columns: 1fr; row-gap: 8px; }
  .ent__head, .ent__body, .faq2__head, .faq2__list { grid-column: 1 / -1; }
  .ent__head { position: static; }
  .ent__head h2 { font-size: 28px; line-height: 34px; }
  .cols3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .dg__wide { display: none; }
  .dg__tall { display: block; }
  .dg { padding: 24px 16px; }
}
@media (max-width: 640px) {
  .facts > div { grid-template-columns: 1fr; row-gap: 4px; }
  .eps > li { grid-template-columns: 1fr; row-gap: 6px; }
  .ent__head h2 { font-size: 26px; line-height: 32px; }
}

/* Logo sayfası: kurulum adımları ve iki sütunlu istek bölümü */
.ls { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.ls > li { border-top: 1px solid var(--line); padding-top: 20px; }
.ls h3 { font-size: 19px; line-height: 26px; margin-bottom: 8px; }
.ls p { color: var(--muted); font-size: 16px; line-height: 26px; }
.sidecols { row-gap: 32px; align-items: start; }
.side-l { grid-column: 1 / span 4; }
.side-l .lead { margin-top: 16px; }
.side-r { grid-column: 5 / span 8; }
.defs code { font-size: .8em; }
@media (max-width: 960px) {
  .ls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-l, .side-r { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ls { grid-template-columns: 1fr; }
}
.prose-rows > li > div > p + p { margin-top: 12px; }


/* ═════ v2: hareketli bağlantı şeması ve bölüm görselleri (yalnız /entegrasyonlar) ═════ */
.ent-hero { padding: 112px 0 64px; }
.ent-hero .crumbs { color: var(--muted-d); margin-bottom: 24px; }
.ent-hero .crumbs a { color: var(--muted-d); }
.ent-hero .crumbs a:hover { color: var(--white); }
.ent-hero .crumbs li + li::before { color: var(--muted-d); }
.ent-hero h1 { max-width: 14em; font-size: 56px; line-height: 64px; letter-spacing: -.025em; }
@media (min-width: 1200px) { .ent-hero h1 { font-size: 64px; line-height: 72px; } }
.ent-hero .lead { margin-top: 24px; max-width: 38em; }
.ent-hero .phead__btns { margin-top: 32px; }
.ent-hero .phead__btns .btn--text { color: var(--acc); }

.cx-wrap { margin-top: 48px; }
.cx-stage { position: relative; aspect-ratio: 1000 / 560; container-type: inline-size; }
.cx-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
.cx-vsvg { display: none; }
.cx-line { fill: none; stroke: color-mix(in srgb, var(--muted-d) 45%, transparent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
/* akan paket yok: bağlantı yönü düğümlerdeki dolu (gelir) ve içi boş (gider) işaretlerle okunur; sahne adımı etkin bağlantıyı öne çıkarır */
.js .cx .cx-lk { opacity: .32; transition: opacity .24s var(--ease-out); }
.js .cx .cx-node { opacity: .6; transition: opacity .24s var(--ease-out), border-color .24s var(--ease-out); }
.js .cx.at-1 .cx-lk[data-lk~="1"], .js .cx.at-2 .cx-lk[data-lk~="2"], .js .cx.at-3 .cx-lk[data-lk~="3"], .js .cx.at-4 .cx-lk[data-lk~="4"], .js .cx.at-5 .cx-lk { opacity: 1; }
.js .cx.at-1 .cx-node[data-lk~="1"], .js .cx.at-2 .cx-node[data-lk~="2"], .js .cx.at-3 .cx-node[data-lk~="3"], .js .cx.at-4 .cx-node[data-lk~="4"], .js .cx.at-5 .cx-node { opacity: 1; }
.js .cx.at-1 .cx-node[data-lk~="1"], .js .cx.at-2 .cx-node[data-lk~="2"], .js .cx.at-3 .cx-node[data-lk~="3"], .js .cx.at-4 .cx-node[data-lk~="4"] { border-color: var(--sun); }

.cx-core { position: absolute; left: 50%; top: 50%; width: 18%; aspect-ratio: 1; translate: -50% -50%; z-index: 3; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--muted-d); color: var(--white); }
.cx-core b { font: 600 max(18px, 2.5cqw)/1.1 var(--f-head); letter-spacing: -.01em; }
.cx-core > span:not(.cx-core__r) { margin-top: 4px; font: 500 max(12px, 1.1cqw)/1.2 var(--f-body); color: var(--muted-d); }
.cx-core__r { display: none; }

.cx-node { position: absolute; z-index: 2; width: 22%; translate: -50% -50%; padding: 1.1cqw 1.3cqw 1.2cqw; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--ink-line); color: var(--muted-d); display: grid; gap: .25em; text-decoration: none; }
.cx-node b { font: 600 max(13.5px, 1.45cqw)/1.25 var(--f-head); color: var(--white); }
.cx-i, .cx-o { position: relative; padding-left: 1.15em; font: 400 max(11.5px, 1.08cqw)/1.35 var(--f-body); color: var(--muted-d); }
.cx-i::before, .cx-o::before { content: ""; position: absolute; left: .1em; top: .5em; width: .5em; height: .5em; border-radius: 50%; box-sizing: border-box; }
.cx-i::before { background: var(--muted-d); }
.cx-o::before { border: 1.5px solid var(--muted-d); }
.cx-st { display: inline-flex; align-items: center; gap: .5em; font: 600 max(11px, .98cqw)/1.4 var(--f-body); font-style: normal; color: var(--ok); margin-top: .1em; }
.cx-st::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.cx-st--soon { color: var(--muted-d); } .cx-st--soon::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.cx-n-logo { left: 14%; top: 23.2%; } .cx-n-b2b { left: 14%; top: 50%; } .cx-n-kat { left: 14%; top: 76.8%; }
.cx-n-ebelge { left: 86%; top: 23.2%; } .cx-n-kargo { left: 86%; top: 50%; } .cx-n-banka { left: 86%; top: 76.8%; }
.cx-n-yaz { left: 50%; top: 11%; } .cx-n-kur { left: 50%; top: 89%; }
.cx-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; min-height: 36px; margin-top: 12px; padding-right: 52px; font: 400 14px/22px var(--f-body); color: var(--muted-d); }
.cx-lg { display: inline-flex; align-items: center; gap: 8px; }
.cx-lg::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-sizing: border-box; }
.cx-lg--i::before { background: var(--muted-d); } .cx-lg--o::before { border: 1.5px solid var(--muted-d); }
.cx-steps { margin-top: 16px; }
.cx-go { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin-top: 20px; font: 400 14px/22px var(--f-body); color: var(--muted-d); }
.cx-go__t { flex: none; }
.cx-go ul { display: flex; flex-wrap: wrap; gap: 0 4px; }
.cx-go a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--acc); font-weight: 500; text-decoration: none; transition: background-color .15s var(--ease-out); }
.cx-go a:hover { color: var(--white); background: var(--ink-2); text-decoration: underline; }
.cx-steps .sc-lab { font-size: 14px; }

/* bölüm görselleri */
.ent__vis { margin-bottom: 28px; padding: 28px 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; overflow: hidden; position: relative; min-width: 0; }
.ent__vis--dark { background: var(--ink); border-color: var(--ink-line); }
.ent__vis--row { grid-auto-flow: column; justify-content: center; align-items: center; gap: 32px; padding-bottom: 40px; }
.ent-win { --dv-w: min(640px, calc(100vw - 96px)); aspect-ratio: 16 / 6.4; }
.ent-cols { --cols: 1fr 1.7fr 1.3fr; }
.ent-cols4 { --cols: 1.3fr 1fr 1.25fr 1.5fr; }
.ent-bridge { position: static; width: 100%; max-width: 600px; height: auto; inset: auto; overflow: visible; }
.ent-bridge .eb-box { fill: var(--ink-2); stroke: var(--ink-line); stroke-width: 1; }
.ent-bridge .eb-box--main { fill: var(--ink-3); stroke: var(--sun); stroke-width: 1.5; }
.ent-bridge .eb-t { font: 600 15px var(--f-body); fill: var(--white); }
.ent-bridge .eb-s { font: 400 12px var(--f-body); fill: var(--muted-d); }
.ent-bridge .eb-ln { fill: none; stroke: var(--muted-d); stroke-width: 1.5; vector-effect: none; }
.ent-bridge .eb-ah { fill: var(--muted-d); }
.ent-b2b { place-items: center start; padding-left: 32px; }
.ent-code { margin: 0; font: 500 13.5px/24px var(--f-mono); color: var(--paper); white-space: pre; overflow-x: auto; max-width: 100%; }
.ent-code .m { color: var(--sun); font-weight: 600; } .ent-code .u { color: var(--white); } .ent-code .c { color: var(--ok); background: var(--ok-bg); border-radius: 4px; padding: 0 4px; } .ent-code .s { color: var(--muted-d); }
.dv-label.ent-lbl { --dv-w: 200px; margin: 0; }
.ent-card { min-width: 272px; padding: 16px 20px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 12px; font-size: 14px; line-height: 22px; align-content: start; }
.ent-card__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 16px/24px var(--f-head); color: var(--ink); }
.ent-jobs { width: 310px; min-width: 0; }
.ent-stack { display: grid; justify-items: end; } .ent-stack > * { grid-area: 1 / 1; }
.ent-prn { display: flex; align-items: center; justify-content: center; gap: 36px; position: relative; }
.dv-printer.ent-pr { --dv-w: min(220px, 56vw); margin: 0; }
.ent-ctl { top: -12px; right: -8px; bottom: auto; }
.ent__vis--row.sc-wrap { padding-top: 28px; }
.ent__vis--row .ent-ctl { position: absolute; top: 12px; right: 12px; }
.facts > div.ent-without { margin: 10px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.facts > div.ent-without:last-child { border-bottom: 1px solid var(--line); }
.facts .ent-without dt { color: var(--ink); }
.facts .ent-without dd { color: var(--ink); }
@media (max-width: 1000px) {
  .cx-stage { aspect-ratio: auto; container-type: normal; display: grid; gap: 12px; padding-left: 34px; position: relative; }
  .cx-svg { display: none; }
  .cx-vsvg { display: block; position: absolute; left: 4px; top: 24px; bottom: 24px; width: 12px; height: calc(100% - 48px); overflow: visible; }
  .cx-core, .cx-node { position: static; translate: none; width: auto; scale: none !important; }
  .cx-core { aspect-ratio: auto; border-radius: 16px; padding: 14px 18px; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 12px; text-align: left; }
  .cx-core b { font-size: 22px; } .cx-core > span:not(.cx-core__r) { margin: 0; font-size: 14px; }
  .cx-core__r { display: none; }
  .cx-node { padding: 12px 16px 14px; }
  .cx-node b { font-size: 16px; } .cx-i, .cx-o { font-size: 13.5px; } .cx-st { font-size: 12.5px; }
  .cx-node::before { content: ""; position: absolute; left: -30px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--muted-d); }
  .js .cx.at-1 .cx-node[data-lk~="1"]::before, .js .cx.at-2 .cx-node[data-lk~="2"]::before, .js .cx.at-3 .cx-node[data-lk~="3"]::before, .js .cx.at-4 .cx-node[data-lk~="4"]::before { background: var(--sun); }
  .ent__vis--row { grid-auto-flow: row; }
  .ent-prn { flex-direction: column; gap: 20px; }
  .ent-win { --dv-w: min(560px, calc(100vw - 64px)); }
}
@media (max-width: 640px) {
  .ent-hero { padding-top: 96px; }
  .ent-hero h1 { font-size: 36px; line-height: 42px; }
  .ent__vis { padding: 20px 12px; }
  .ent-card { min-width: 0; width: 100%; }
  .ent-jobs { width: 100%; }
}

/* ── tablet/telefon: duraklat düğmesi maketin dışında, sağ alt köşenin altında (açılışta yazıcı ajanı) ── */
@media (max-width: 1000px) {
  .ent__vis--row.sc-wrap { padding-top: 0; margin-bottom: 56px; }
  .ent__vis--row .ent-ctl { top: calc(100% + 10px); right: 0; }
}
