/* ===== Blog: liste ===== */

/* ===== Blog: makale ===== */
.article-body { min-width: 0; color: #2c3b54; font-size: 1.04rem; line-height: 1.85; }
.article-body h2 { margin: 54px 0 16px; color: var(--navy); font-family: inherit; font-size: 1.75rem; line-height: 1.25; letter-spacing: -.04em; font-weight: 800; scroll-margin-top: 100px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 30px 0 10px; color: var(--navy); font-family: inherit; font-size: 1.2rem; letter-spacing: -.03em; font-weight: 800; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 1.3rem; }
.article-body li { margin-bottom: 8px; }
.article-body li::marker { color: var(--red); font-weight: 700; }
.article-body a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--navy); }
.article-body code { padding: 2px 7px; border-radius: 6px; color: #b0234a; background: #fdeff2; font-size: .88em; }

/* içerik bileşenleri */
.callout { display: flex; gap: 14px; margin: 26px 0; padding: 18px 20px; border: 1px solid #dbe6f7; border-left: 4px solid var(--blue); border-radius: 12px; background: #f5f8fe; font-size: .95rem; line-height: 1.7; }
.callout > i { margin-top: 3px; color: var(--blue); font-size: 1.15rem; }
.callout p:last-child { margin: 0; }
.callout.warn { border-color: #fbe2c4; border-left-color: #f28b2b; background: #fff8ef; }
.callout.warn > i { color: #f28b2b; }
.callout.danger { border-color: #f8d4da; border-left-color: var(--red); background: #fff5f6; }
.callout.danger > i { color: var(--red); }
.callout.ok { border-color: #cfeedd; border-left-color: #23a362; background: #f2fbf6; }
.callout.ok > i { color: #23a362; }
.table-wrap { margin: 26px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.cmp-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9rem; line-height: 1.55; }
.cmp-table th { padding: 13px 16px; color: #fff; background: var(--navy); font-size: .8125rem; letter-spacing: .04em; text-align: left; }
.cmp-table td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.cmp-table tr:nth-child(even) td { background: #fafbfd; }
.cmp-table td:first-child { color: var(--navy); font-weight: 700; }
.code-block { position: relative; margin: 24px 0; overflow: hidden; border-radius: 12px; background: #0b1d3b; }
.code-block .code-title { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-bottom: 1px solid rgba(255,255,255,.08); color: #8ea3c4; background: rgba(255,255,255,.04); font-size: .8125rem; font-weight: 700; }
.code-block pre { margin: 0; padding: 18px 20px; overflow-x: auto; color: #d6e2f5; font-family: Consolas, "Cascadia Code", monospace; font-size: .84rem; line-height: 1.7; }
.code-block .kw { color: #ff8a9b; font-weight: 700; }
.code-block .str { color: #8fe3b4; }
.code-block .cm { color: #6f86a8; }
.checklist { margin: 22px 0; padding: 0 !important; list-style: none; }
.checklist li { position: relative; margin-bottom: 10px; padding: 12px 16px 12px 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .95rem; line-height: 1.6; }
.checklist li::before { position: absolute; top: 12px; left: 15px; display: grid; width: 20px; height: 20px; place-items: center; content: "\2713"; border-radius: 50%; color: #fff; background: #23a362; font-size: .8125rem; font-weight: 800; }
.steps-list { margin: 22px 0; padding: 0 !important; list-style: none; counter-reset: step; }
.steps-list li { position: relative; margin-bottom: 14px; padding: 4px 0 4px 54px; counter-increment: step; }
.steps-list li::before { position: absolute; top: 0; left: 0; display: grid; width: 38px; height: 38px; place-items: center; content: counter(step); border-radius: 50%; color: #fff; background: var(--red); font-family: inherit; font-weight: 800; }

/* ===== Görseller / animasyonlar ===== */
.viz { position: relative; margin: 32px 0; padding: 26px 24px 22px; overflow: hidden; border: 1px solid #dbe6f7; border-radius: 16px; background: linear-gradient(180deg, #f7faff, #eef4fd); }
.viz-title { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--navy); font-family: inherit; font-size: .95rem; font-weight: 800; }
.viz-title i { color: var(--blue); }
.viz-cap { margin: 18px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.6; text-align: center; }
/* ekran dışındayken durur (blog.js .in sınıfını yönetir) */
.viz *, .viz *::before, .viz *::after { animation-play-state: paused; }
.viz.in *, .viz.in *::before, .viz.in *::after { animation-play-state: running; }

/* 1) tehditler */
.threats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.threat { padding: 16px 8px 14px; border: 1px solid #dbe6f7; border-radius: 12px; background: #fff; text-align: center; animation: thrGlow 10s infinite; animation-delay: calc(var(--i) * 2s); }
.threat i { display: grid; width: 42px; height: 42px; margin: 0 auto 10px; place-items: center; border-radius: 12px; color: var(--red); background: #ffedf0; font-size: 1.2rem; }
.threat b { display: block; color: var(--navy); font-size: .8125rem; line-height: 1.3; }
.threat span { display: block; margin-top: 4px; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
@keyframes thrGlow { 0%, 20%, 100% { border-color: #dbe6f7; box-shadow: none; transform: none; } 4%, 16% { border-color: var(--red); box-shadow: 0 10px 26px rgba(229,53,79,.18); transform: translateY(-5px); } }

/* 2) yedekleme ve geri yükleme döngüsü */
.rl-stage { display: grid; grid-template-columns: 1fr 100px 1fr; align-items: center; }
.rl-box { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px; border: 1px solid #dbe6f7; border-radius: 14px; background: #fff; }
.rl-box > i { color: var(--blue); font-size: 2rem; }
.rl-box small { color: var(--muted); font-size: .8125rem; font-weight: 700; }
.rl-file { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 8px; color: #0b6b3c; background: #e8f8ef; font-size: .8125rem; font-weight: 700; }
.rl-server .rl-file { animation: rlFile 10s infinite; }
.rl-link { position: relative; height: 3px; margin: 0 8px; background: repeating-linear-gradient(90deg, #c4d2e8 0 6px, transparent 6px 12px); }
.rl-pkt { position: absolute; top: -5px; width: 13px; height: 13px; margin-left: -6px; border-radius: 4px; opacity: 0; }
.rl-pkt-out { background: var(--blue); box-shadow: 0 0 10px rgba(21,94,239,.8); animation: rlOut 10s infinite; }
.rl-pkt-back { background: #23a362; box-shadow: 0 0 10px rgba(35,163,98,.8); animation: rlBack 10s infinite; }
.rl-status { position: relative; height: 34px; margin-top: 18px; }
.rl-status span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; opacity: 0; }
.rl-status .s1 { color: #1a56c4; animation: rlS1 10s infinite; }
.rl-status .s2 { color: var(--red); animation: rlS2 10s infinite; }
.rl-status .s3 { color: #0b6b3c; animation: rlS3 10s infinite; }
@keyframes rlFile { 0%, 38% { color: #0b6b3c; background: #e8f8ef; opacity: 1; transform: none; } 41% { color: var(--red); background: #ffedf0; transform: translateX(-5px); } 43% { transform: translateX(5px); } 45% { transform: translateX(-4px); } 50%, 58% { color: var(--red); background: #ffedf0; opacity: 0; transform: scale(.6); } 66% { color: #0b6b3c; background: #e8f8ef; opacity: 1; transform: scale(1.1); } 72%, 100% { color: #0b6b3c; background: #e8f8ef; opacity: 1; transform: none; } }
@keyframes rlOut { 0%, 8% { left: 0; opacity: 0; } 10% { opacity: 1; } 22% { opacity: 1; } 24%, 100% { left: 100%; opacity: 0; } }
@keyframes rlBack { 0%, 56% { left: 100%; opacity: 0; } 58% { opacity: 1; } 70% { opacity: 1; } 72%, 100% { left: 0; opacity: 0; } }
@keyframes rlS1 { 0%, 36% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes rlS2 { 0%, 38% { opacity: 0; } 42%, 54% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes rlS3 { 0%, 54% { opacity: 0; } 58%, 96% { opacity: 1; } 100% { opacity: 0; } }

/* 3) yedekli / yedeksiz */
.vs-lane { margin-bottom: 18px; }
.vs-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--navy); font-size: .85rem; font-weight: 800; }
.vs-lane.bad .vs-head i { color: var(--red); }
.vs-lane.good .vs-head i { color: #23a362; }
.vs-track { position: relative; display: flex; align-items: center; height: 46px; padding: 0 6px; border-radius: 10px; background: #fff; border: 1px solid #dbe6f7; }
.vs-event { flex: 0 0 auto; margin-right: 8px; padding: 5px 9px; border-radius: 7px; color: #fff; background: #333f57; font-size: .8125rem; font-weight: 800; }
.vs-bar { display: flex; align-items: center; height: 32px; width: var(--w); padding: 0 12px; overflow: hidden; border-radius: 8px; color: #fff; font-size: .8125rem; font-weight: 700; white-space: nowrap; animation: vsGrow 9s infinite; }
.vs-lane.bad .vs-bar { background: #c92640; }
.vs-lane.good .vs-bar { background: #0f7a45; }
@keyframes vsGrow { 0% { width: 0; } 10% { width: 0; } 45%, 88% { width: var(--w); } 100% { width: 0; } }
.vs-result { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: .8125rem; color: var(--muted); }

/* 4) RPO / RTO */
.rr-line { position: relative; height: 90px; margin: 14px 8px 8px; }
.rr-line::before { position: absolute; top: 26px; right: 0; left: 0; height: 4px; content: ""; border-radius: 4px; background: #cfd9ea; }
.rr-dot { position: absolute; top: 17px; width: 22px; height: 22px; margin-left: -11px; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--c); background: var(--c); }
.rr-dot::after { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: var(--navy); content: attr(data-l); font-size: .8125rem; font-weight: 800; white-space: nowrap; }
.rr-span { position: absolute; top: 22px; height: 12px; border-radius: 8px; opacity: .9; transform-origin: left; animation: rrGrow 8s infinite; }
.rr-span.rpo { left: 12%; width: 38%; background: #f28b2b; }
.rr-span.rto { left: 50%; width: 38%; background: var(--blue); animation-delay: .9s; }
.rr-tag { position: absolute; top: -8px; font-size: .8125rem; font-weight: 800; letter-spacing: .04em; }
@keyframes rrGrow { 0% { transform: scaleX(0); } 20%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* 5) yedek türleri grafiği */
.bt-row { display: grid; grid-template-columns: 96px 1fr; align-items: end; gap: 14px; margin-bottom: 14px; padding: 14px; border: 1px solid #dbe6f7; border-radius: 12px; background: #fff; }
.bt-label { align-self: center; color: var(--navy); font-size: .82rem; font-weight: 800; line-height: 1.35; }
.bt-label small { display: block; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.bt-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 84px; }
.bt-bar { position: relative; display: flex; height: var(--h); min-height: 8px; align-items: flex-start; justify-content: center; border-radius: 6px 6px 3px 3px; background: var(--col); transform-origin: bottom; animation: btGrow 8s infinite; animation-delay: calc(var(--i) * .22s); }
.bt-bar span { position: absolute; bottom: -19px; color: var(--muted); font-size: .8125rem; font-weight: 700; }
.bt-row .bt-bars { padding-bottom: 20px; height: 104px; }
.bt-full { --col: linear-gradient(180deg, #4f8bff, #155eef); }
.bt-diff { --col: linear-gradient(180deg, #34d399, #0e8f6a); }
.bt-inc { --col: linear-gradient(180deg, #fbbf6a, #f28b2b); }
@keyframes btGrow { 0% { transform: scaleY(0); } 14%, 86% { transform: scaleY(1); } 100% { transform: scaleY(0); } }

/* 6) 3-2-1 */
.c321 { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: center; }
.c-node { position: relative; padding: 18px 8px 14px; border: 1px solid #dbe6f7; border-radius: 14px; background: #fff; text-align: center; animation: cGlow 9s infinite; }
.c-node:nth-of-type(3) { animation-delay: 3s; }
.c-node:nth-of-type(5) { animation-delay: 6s; }
.c-node > i { display: block; margin-bottom: 8px; color: var(--blue); font-size: 1.9rem; }
.c-node b { display: block; color: var(--navy); font-size: .8125rem; }
.c-node small { display: block; margin-top: 3px; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.c-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 2px 9px; border-radius: 20px; color: #fff; background: var(--navy); font-size: .8125rem; font-weight: 800; white-space: nowrap; }
.c-link { position: relative; height: 3px; margin: 0 6px; background: repeating-linear-gradient(90deg, #c4d2e8 0 6px, transparent 6px 12px); }
.c-pkt { position: absolute; top: -5px; width: 13px; height: 13px; border-radius: 4px; background: var(--blue); box-shadow: 0 0 10px rgba(21,94,239,.8); opacity: 0; animation: cPkt 9s infinite; }
.c-link.l2 .c-pkt { animation-delay: 3s; background: var(--red); box-shadow: 0 0 10px rgba(229,53,79,.8); }
@keyframes cPkt { 0% { left: 0; opacity: 0; } 4% { opacity: 1; } 26% { opacity: 1; } 30%, 100% { left: calc(100% - 13px); opacity: 0; } }
@keyframes cGlow { 0%, 30%, 100% { border-color: #dbe6f7; box-shadow: none; } 6%, 26% { border-color: var(--blue); box-shadow: 0 10px 26px rgba(21,94,239,.18); } }
.c-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.c-tags span { padding: 5px 11px; border-radius: 20px; color: var(--navy); background: #fff; border: 1px solid #dbe6f7; font-size: .8125rem; font-weight: 800; }
.c-tags b { color: var(--red); }

/* 7) SQL zaman çizelgesi */
.sq-wrap { position: relative; padding: 38px 8px 54px; }
.sq-axis { position: relative; height: 6px; border-radius: 6px; background: #cfd9ea; }
.sq-mark { position: absolute; top: -14px; display: grid; width: 32px; height: 32px; margin-left: -16px; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; font-size: .8125rem; font-weight: 800; box-shadow: 0 4px 12px rgba(16,33,61,.2); }
.sq-mark.f { background: var(--blue); }
.sq-mark.d { background: #0e8f6a; }
.sq-log { position: absolute; top: -4px; width: 4px; height: 14px; margin-left: -2px; border-radius: 3px; background: #f28b2b; }
.sq-lbl { position: absolute; top: 28px; transform: translateX(-50%); color: var(--navy); font-size: .8125rem; font-weight: 800; white-space: nowrap; }
.sq-range { position: absolute; top: -3px; left: 0; height: 12px; border-radius: 8px; background: linear-gradient(90deg, rgba(21,94,239,.55), rgba(242,139,43,.65)); animation: sqRange 10s linear infinite; }
.sq-cursor { position: absolute; top: -26px; left: 0; width: 2px; height: 58px; background: var(--red); animation: sqCursor 10s linear infinite; }
.sq-cursor::before { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 6px; color: #fff; content: "Geri dönüş noktası"; background: var(--red); font-size: .8125rem; font-weight: 800; white-space: nowrap; }
@keyframes sqCursor { 0% { left: 4%; } 100% { left: 96%; } }
@keyframes sqRange { 0% { width: 4%; } 100% { width: 96%; } }

/* hesaplayıcı */
.calc { margin: 30px 0; padding: 26px; border: 1px solid #dbe6f7; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.calc h3 { margin: 0 0 4px; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.calc label { display: block; margin-bottom: 6px; color: var(--ink); font-size: .8125rem; font-weight: 700; }
.calc input { width: 100%; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 8px; font-size: .9rem; }
.calc input:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 .2rem rgba(21,94,239,.12); }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-card { padding: 16px 18px; border-radius: 12px; background: #f5f8fe; }
.calc-card small { display: block; color: var(--muted); font-size: .8125rem; font-weight: 700; }
.calc-card strong { display: block; margin-top: 3px; color: var(--navy); font-family: inherit; font-size: 1.5rem; letter-spacing: -.04em; }
.calc-card.loss strong { color: var(--red); }
.calc-note { margin: 14px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.6; }

/* hareket tercihi: animasyonları kapat, son hali göster */
@media (prefers-reduced-motion: reduce) {
  .viz *, .viz *::before, .viz *::after { animation: none !important; }
  .rl-status .s1, .rl-status .s2 { display: none; }
  .rl-status .s3 { opacity: 1; }
  .rr-span { transform: none; }
  .sq-cursor { left: 60%; } .sq-range { width: 60%; }
}

@media (max-width: 991.98px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .article-toc { display: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card.featured { flex-direction: column; }
  .post-card.featured .post-cover { width: 100%; min-height: 180px; }
}
@media (max-width: 767.98px) {
  .blog-hero { padding-top: 120px; }
  .article-header { padding-top: 115px; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-body h2 { font-size: 1.45rem; }
  .article-cta { flex-direction: column; align-items: stretch; padding: 24px; }
  .threats { grid-template-columns: repeat(2, 1fr); }
  .viz { padding: 20px 14px 18px; }
  .rl-stage { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); }
  .rl-box { min-width: 0; padding: 16px 6px; }
  .rl-file { padding: 6px 8px; font-size: .8125rem; }
  .c-node { padding: 22px 8px 14px; }
  .rr-dot::after { font-size: .8125rem; }
  .c321 { grid-template-columns: 1fr; gap: 6px; }
  .c-link { width: 3px; height: 34px; margin: 0 auto; background: repeating-linear-gradient(180deg, #c4d2e8 0 6px, transparent 6px 12px); }
  .c-pkt { display: none; }
  .bt-row { grid-template-columns: 1fr; }
  .calc-grid, .calc-out { grid-template-columns: 1fr; }
  .blog-teaser .teaser-head { flex-direction: column; align-items: flex-start; }
}

/* ===== Yeni görseller: saldırı zinciri / test akışı ===== */
.lane-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--navy); font-size: .82rem; font-weight: 800; }
.lane-title.bad i { color: var(--red); }
.lane-title.good i { color: #23a362; }
.chain-lane + .chain-lane { margin-top: 18px; }
.chain-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stp { position: relative; padding: 14px 6px 12px; border: 1px solid #dbe6f7; border-radius: 12px; color: var(--navy); background: #fff; font-size: .8125rem; font-weight: 700; line-height: 1.35; text-align: center; animation: stpHot 10s infinite; animation-delay: var(--d, 0s); }
.stp > i { display: block; margin-bottom: 7px; color: inherit; font-size: 1.3rem; opacity: .75; }
.stp:not(:last-child)::after { position: absolute; top: 50%; right: -9px; z-index: 1; color: #9fb0cb; content: "\203A"; font-size: 1.1rem; font-weight: 800; transform: translateY(-50%); }
.stp.block { animation-name: stpBlock; }
.stp.safe { animation-name: stpSafe; }
.stp.flow { animation-name: stpSafe; }
@keyframes stpHot { 0%, 1% { border-color: #dbe6f7; background: #fff; transform: none; } 4%, 76% { border-color: var(--red); background: #ffe9ed; color: #b0234a; box-shadow: 0 8px 20px rgba(229,53,79,.18); transform: translateY(-4px); } 86%, 100% { border-color: #dbe6f7; background: #fff; transform: none; } }
@keyframes stpBlock { 0%, 1% { border-color: #dbe6f7; background: #fff; transform: none; } 4%, 76% { border-color: var(--blue); background: #e1ecff; color: #1448b5; box-shadow: 0 8px 20px rgba(21,94,239,.22); transform: translateY(-4px); } 86%, 100% { border-color: #dbe6f7; background: #fff; transform: none; } }
@keyframes stpSafe { 0%, 1% { border-color: #dbe6f7; background: #fff; transform: none; } 4%, 76% { border-color: #23a362; background: #e3f8ec; color: #0b6b3c; box-shadow: 0 8px 20px rgba(35,163,98,.2); transform: translateY(-4px); } 86%, 100% { border-color: #dbe6f7; background: #fff; transform: none; } }
.stp.hot > i { animation: none; }
.stp.hot { --ic: var(--red); } .stp.block { --ic: var(--blue); } .stp.safe, .stp.flow { --ic: #23a362; }

/* ===== FTP / SFTP ===== */
.tls-lane + .tls-lane { margin-top: 20px; }
.tls-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--navy); font-size: .82rem; font-weight: 800; }
.tls-head.bad i { color: var(--red); } .tls-head.good i { color: #23a362; }
.tls-pipe { display: grid; grid-template-columns: 74px 1fr 74px; align-items: center; gap: 10px; }
.tls-node { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 4px; border: 1px solid #dbe6f7; border-radius: 12px; color: var(--navy); background: #fff; font-size: .8125rem; font-weight: 800; }
.tls-node i { color: var(--blue); font-size: 1.4rem; }
.tls-wire { position: relative; height: 56px; border-radius: 28px; }
.tls-wire::before { position: absolute; top: 50%; right: 0; left: 0; height: 3px; content: ""; background: repeating-linear-gradient(90deg, #c4d2e8 0 6px, transparent 6px 12px); transform: translateY(-50%); }
.tls-wire.secure { border: 2px solid #23a362; background: rgba(35,163,98,.07); }
.tls-wire.secure::before { display: none; }
.tls-lock { position: absolute; top: -13px; left: 50%; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #fff; background: #23a362; font-size: .8125rem; transform: translateX(-50%); }
.tls-pkt { position: absolute; top: 50%; left: 0; padding: 3px 8px; border-radius: 6px; font-family: inherit; font-size: .8125rem; font-style: normal; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(-50%); animation: tlsMove 6s linear infinite; }
.tls-pkt:nth-of-type(2) { animation-delay: 2s; } .tls-pkt:nth-of-type(3) { animation-delay: 4s; }
.plain .tls-pkt { color: #b0234a; background: #ffe3e8; }
.secure .tls-pkt { color: #fff; background: #0f7a45; }
.tls-spy { position: absolute; top: -26px; left: 50%; display: flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 20px; color: #fff; background: var(--red); font-size: .8125rem; font-weight: 800; white-space: nowrap; transform: translateX(-50%); animation: spyPulse 2s ease-in-out infinite; }
.tls-spy.blind { background: #6b7a92; animation: none; text-decoration: line-through; }
@keyframes tlsMove { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 78% { opacity: 1; } 100% { left: calc(100% - 118px); opacity: 0; } }
@keyframes spyPulse { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.1); } }
.cmp-table .yes { color: #0b6b3c; font-weight: 800; } .cmp-table .no { color: var(--red); font-weight: 800; }

/* ===== AES gösterimi ===== */
.scr { max-width: 520px; margin: 0 auto; overflow: hidden; border: 1px solid #1d3a6b; border-radius: 14px; background: #0b1d3b; box-shadow: 0 14px 40px rgba(6,20,45,.25); }
.scr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,.08); color: #c9d6ea; background: rgba(255,255,255,.04); font-size: .8125rem; font-weight: 700; }
.scr-state { padding: 3px 11px; border-radius: 20px; color: #ffb3bf; background: rgba(229,53,79,.2); font-size: .8125rem; font-weight: 800; transition: .3s; }
.scr[data-phase="1"] .scr-state, .scr[data-phase="3"] .scr-state { color: #ffd592; background: rgba(242,162,43,.2); }
.scr[data-phase="2"] .scr-state { color: #8fe3b4; background: rgba(35,163,98,.22); }
.scr-body { padding: 18px 18px 14px; font-family: inherit; font-variant-numeric: tabular-nums; font-size: .84rem; line-height: 1.9; }
.scr-line { color: #d6e2f5; white-space: pre; overflow: hidden; text-overflow: clip; letter-spacing: .02em; }
.scr[data-phase="1"] .scr-line, .scr[data-phase="3"] .scr-line { color: #ffd592; }
.scr[data-phase="2"] .scr-line { color: #8fe3b4; }
.scr-key { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,.08); color: #8ea3c4; font-size: .8125rem; font-weight: 700; }
.scr-key i { color: #f2c14e; }

/* ===== Aktarım süresi ===== */
.sp-lane { display: grid; grid-template-columns: 82px 1fr 84px; align-items: center; gap: 12px; margin-bottom: 12px; }
.sp-name { color: var(--navy); font-size: .8125rem; font-weight: 800; }
.sp-track { height: 16px; overflow: hidden; border-radius: 10px; background: #dde6f4; }
.sp-fill { width: 100%; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--blue), #6aa0ff); transform-origin: left; }
.sp-lane.slow .sp-fill { animation: spA 10s linear infinite; background: linear-gradient(90deg, #f28b2b, #fbbf6a); }
.sp-lane.mid .sp-fill { animation: spB 10s linear infinite; }
.sp-lane.fast .sp-fill { animation: spC 10s linear infinite; background: linear-gradient(90deg, #0e8f6a, #34d399); }
.sp-time { color: var(--muted); font-size: .8125rem; font-weight: 700; text-align: right; }
@keyframes spA { 0% { transform: scaleX(0); } 90%, 100% { transform: scaleX(1); } }
@keyframes spB { 0% { transform: scaleX(0); } 30%, 100% { transform: scaleX(1); } }
@keyframes spC { 0% { transform: scaleX(0); } 6%, 100% { transform: scaleX(1); } }

@media (max-width: 767.98px) {
  .chain-row { grid-template-columns: 1fr; gap: 14px; }
  .stp { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; }
  .stp > i { margin: 0; }
  .stp:not(:last-child)::after { top: auto; right: auto; bottom: -15px; left: 50%; transform: translateX(-50%) rotate(90deg); }
  .tls-pipe { grid-template-columns: 56px 1fr 56px; gap: 6px; }
  .tls-node { font-size: .8125rem; }
  .tls-pkt { font-size: .8125rem; }
  .sp-lane { grid-template-columns: 62px 1fr 64px; gap: 8px; }
  .scr-body { padding: 14px 12px; font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .stp, .tls-pkt, .tls-spy, .sp-fill { animation: none !important; }
  .stp.hot { border-color: var(--red); } .stp.block { border-color: var(--blue); } .stp.safe, .stp.flow { border-color: #23a362; }
}

/* ===== Yeni yazılar: 6 adımlı akış, 8'li hata ızgarası ===== */
.chain-row.six { grid-template-columns: repeat(6, 1fr); }
.threats.eight { grid-template-columns: repeat(4, 1fr); }
.threats.eight .threat { animation-duration: 16s; }
@media (max-width: 991.98px) {
  .chain-row.six { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .chain-row.six .stp:nth-child(3n)::after { display: none; }
}
@media (max-width: 575.98px) {
  .chain-row.six { grid-template-columns: repeat(2, 1fr); }
  .chain-row.six .stp::after { display: none; }
  .threats.eight { grid-template-columns: repeat(2, 1fr); }
}
