.dp-bar {
  --bar-ink: #0b1220;
  --bar-muted: rgba(11, 18, 32, 0.62);
  --bar-green: #15803d;
  --bar-line: rgba(11, 18, 32, 0.1);
  font-family: "Manrope", "DM Sans", system-ui, sans-serif;
  color: var(--bar-ink);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(11, 163, 80, 0.09), transparent 55%),
    linear-gradient(180deg, #f5f8f6 0%, #fff 24%, #f8fafc 100%);
  overflow-x: clip;
}
.dp-bar h1, .dp-bar h2, .dp-bar h3, .dp-bar h4 { font-family: inherit; letter-spacing: -0.03em; font-weight: 750; }
.dp-bar-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.dp-bar-section { padding: 0 0 clamp(2.6rem, 5vw, 4rem); }
.dp-bar-section--top { padding-top: clamp(2.4rem, 5vw, 3.4rem); }
#urunler, #arac, #turnike, #kullanim { scroll-margin-top: 7.5rem; }
.dp-bar-sr, .dp-bar-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */
.dp-bar-crumb {
  display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center;
  margin: 0 0 1rem; padding: 0; list-style: none; font-size: 0.86rem; color: var(--bar-muted);
}
.dp-bar-crumb a { color: var(--bar-green); text-decoration: none; font-weight: 650; }
.dp-bar-hero { padding: clamp(2.2rem, 5vw, 3.4rem) 0 clamp(1.6rem, 3vw, 2.4rem); }
.dp-bar-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center; }
@media (max-width: 991px) { .dp-bar-hero__grid { grid-template-columns: 1fr; } }
.dp-bar-kicker {
  display: inline-flex; margin: 0 0 0.65rem; padding: 0.32rem 0.72rem; border-radius: 999px;
  background: rgba(21, 128, 61, 0.1); color: var(--bar-green);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.dp-bar-hero h1 { margin: 0 0 0.7rem; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; }
.dp-bar-lead { margin: 0 0 1rem; max-width: 50ch; font-size: 1.05rem; line-height: 1.55; color: var(--bar-muted); }
.dp-bar-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.dp-bar-chip { padding: 0.32rem 0.65rem; border-radius: 999px; background: rgba(3, 105, 161, 0.08); color: #0369a1; font-size: 0.76rem; font-weight: 700; }
.dp-bar-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.dp-bar-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.72rem 1.15rem; border-radius: 999px; font-size: 0.92rem; font-weight: 700; text-decoration: none;
  border: 0; cursor: pointer; font-family: inherit;
}
.dp-bar-btn--primary { background: linear-gradient(135deg, #15803d, #166534); color: #fff; }
.dp-bar-btn--ghost { border: 1px solid var(--bar-line); background: #fff; color: var(--bar-ink); }
.dp-bar-note { margin: 0.9rem 0 0; color: var(--bar-muted); font-size: 0.92rem; }
.dp-bar-note a { color: var(--bar-green); font-weight: 700; }

.dp-hb { border-radius: 1.4rem; overflow: hidden; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18); }
.dp-hb svg { display: block; width: 100%; height: auto; }
.dp-hb text { font-family: Manrope, "DM Sans", sans-serif; }
.hb-k { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; }
.hb-k--car { fill: #86efac; }
.hb-k--walk { fill: #7dd3fc; }
.hb-s { fill: rgba(255, 255, 255, 0.6); font-size: 12px; font-weight: 600; }
.hb-s--tag { fill: rgba(255, 255, 255, 0.35); font-size: 11px; text-anchor: middle; }
.hb-road { fill: #1e293b; }
.hb-lane { stroke: rgba(255, 255, 255, 0.3); stroke-width: 3; stroke-dasharray: 14 12; }
.hb-pole { stroke: #64748b; stroke-width: 5; }
.hb-cam { fill: #e2e8f0; }
.hb-flash { fill: #fff; opacity: 0; animation: hb-flash 6s linear infinite; }
.hb-rays { fill: rgba(250, 204, 21, 0.22); opacity: 0; animation: hb-rays 6s linear infinite; }
.hb-bubble { opacity: 0; animation: hb-bubble 6s ease-out infinite; }
.hb-bubble > rect:first-child { fill: #052e1a; stroke: #22c55e; stroke-width: 1.5; }
.hb-plate { fill: #fff; }
.hb-plate-t { fill: #0f172a; font-size: 11px; font-weight: 800; text-anchor: middle; }
.hb-ok { fill: #86efac; font-size: 11px; font-weight: 800; }
.hb-cab { fill: #f59e0b; }
.hb-lamp { fill: #ef4444; animation: hb-lamp 6s linear infinite; }
.hb-arm { transform-box: view-box; transform-origin: 176px 261.5px; animation: hb-arm 6s ease-in-out infinite; }
.hb-car { animation: hb-car 6s ease-in-out infinite; }
.hb-car-body { fill: #38bdf8; }
.hb-car-win { fill: rgba(15, 23, 42, 0.75); }
.hb-wheel { fill: #0f172a; stroke: #94a3b8; stroke-width: 3; }
.hb-head { fill: #fde68a; }
.hb-chev { fill: none; stroke: rgba(125, 211, 252, 0.35); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hb-tcab { fill: #cbd5e1; stroke: #64748b; stroke-width: 1.5; }
.hb-reader { fill: #0f172a; stroke: #94a3b8; }
.hb-reader-led { fill: #f59e0b; animation: hb-reader 6s linear infinite; }
.hb-beam { stroke: rgba(248, 113, 113, 0.85); stroke-width: 2; stroke-dasharray: 3 4; opacity: 0; animation: hb-beam 6s linear infinite; }
.hb-flap { fill: rgba(125, 211, 252, 0.45); stroke: #7dd3fc; stroke-width: 1.5; transform-box: view-box; }
.hb-flap--t { transform-origin: 505px 176px; animation: hb-flap-t 6s ease-in-out infinite; }
.hb-flap--b { transform-origin: 505px 254px; animation: hb-flap-b 6s ease-in-out infinite; }
.hb-walker { animation: hb-walker 6s ease-in-out infinite; }
.hb-walker-s { fill: #a78bfa; }
.hb-walker-h { fill: #f1f5f9; }

@keyframes hb-flash { 0%, 20% { opacity: 0; } 21% { opacity: 1; } 23% { opacity: 0; } 24% { opacity: 1; } 26%, 100% { opacity: 0; } }
@keyframes hb-rays { 0%, 20% { opacity: 0; } 21%, 28% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes hb-bubble { 0%, 21% { opacity: 0; transform: translateY(6px); } 25%, 46% { opacity: 1; transform: translateY(0); } 52%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes hb-lamp { 0%, 27% { fill: #ef4444; } 28%, 64% { fill: #22c55e; } 65%, 100% { fill: #ef4444; } }
@keyframes hb-arm { 0%, 22% { transform: rotate(0deg); } 30%, 62% { transform: rotate(-82deg); } 70%, 100% { transform: rotate(0deg); } }
@keyframes hb-car { 0% { transform: translateX(-150px); } 20%, 31% { transform: translateX(0); } 58%, 100% { transform: translateX(330px); } }
@keyframes hb-reader { 0%, 27% { fill: #f59e0b; } 28%, 64% { fill: #22c55e; } 65%, 100% { fill: #f59e0b; } }
@keyframes hb-beam { 0%, 36% { opacity: 0; } 38%, 56% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes hb-flap-t { 0%, 29% { transform: rotate(0deg); } 34%, 62% { transform: rotate(-90deg); } 68%, 100% { transform: rotate(0deg); } }
@keyframes hb-flap-b { 0%, 29% { transform: rotate(0deg); } 34%, 62% { transform: rotate(90deg); } 68%, 100% { transform: rotate(0deg); } }
@keyframes hb-walker { 0% { transform: translateX(300px); } 22%, 32% { transform: translateX(418px); } 62%, 100% { transform: translateX(680px); } }

/* ---------- Text blocks ---------- */
.dp-bar-prose { max-width: 72ch; }
.dp-bar-prose h2, .dp-bar-head h2 { margin: 0 0 0.7rem; font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.dp-bar-prose p, .dp-bar-head p { margin: 0 0 0.8rem; color: var(--bar-muted); line-height: 1.6; }
.dp-bar-prose strong { color: var(--bar-ink); }
.dp-bar-head { margin-bottom: 1.1rem; max-width: 72ch; }

/* ---------- Products ---------- */
.dp-bar-group { display: flex; align-items: center; gap: 0.55rem; margin: 1.4rem 0 0.8rem; font-size: 1.1rem; }
.dp-bar-group-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(21, 128, 61, 0.1); color: var(--bar-green); }
.dp-bar-group-ico svg, .dp-method-ico svg, .dp-safe-ico svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.dp-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
@media (max-width: 1000px) { .dp-prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dp-prod-grid { grid-template-columns: 1fr; } }
.dp-prod {
  display: flex; flex-direction: column; border-radius: 1.1rem; overflow: hidden; background: #fff;
  border: 1px solid var(--bar-line); box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04); scroll-margin-top: 8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dp-prod:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08); }
.dp-prod:target { outline: 3px solid rgba(21, 128, 61, 0.55); outline-offset: 2px; }
.dp-prod-anim { background: linear-gradient(180deg, #0f1b36, #14294b); padding: 0.4rem 0.6rem; }
.dp-prod-anim svg { display: block; width: 100%; height: auto; }
.dp-prod-body { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.dp-prod-body h4 { margin: 0; font-size: 1.02rem; }
.dp-prod-body p { margin: 0; color: var(--bar-muted); font-size: 0.9rem; line-height: 1.5; }
.dp-prod-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: auto 0 0; padding: 0.3rem 0 0; list-style: none; }
.dp-prod-tags li { padding: 0.18rem 0.5rem; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: 0.72rem; font-weight: 700; }

.pc-ground { stroke: #475569; stroke-width: 2; }
.pc-ceiling { stroke: #64748b; stroke-width: 4; }
.pc-cab { fill: #f59e0b; }
.pc-arm { transform-box: view-box; transform-origin: 32px 55.5px; animation: pc-arm 4s ease-in-out infinite; }
.pc-arm--hizli { animation-duration: 1.8s; }
.pc-speed { fill: none; stroke: #7dd3fc; stroke-width: 2.5; stroke-linecap: round; animation: pc-speed 1.8s ease-in-out infinite; }
.pc-asphalt { fill: #1e293b; }
.pc-bollard { animation: pc-bollard 4s ease-in-out infinite; }
.pc-boll { fill: #94a3b8; stroke: #cbd5e1; stroke-width: 1.5; }
.pc-boll-band { fill: #facc15; }
.pc-boll-led { fill: #ef4444; animation: bar-blink 0.8s steps(2) infinite; }
.pc-fold1 { transform-box: view-box; transform-origin: 32px 55.5px; animation: pc-fold1 4s ease-in-out infinite; }
.pc-fold2 { transform-box: view-box; transform-origin: 92px 55.5px; animation: pc-fold2 4s ease-in-out infinite; }
.pc-joint { fill: #1f2937; stroke: #fbbf24; stroke-width: 1.5; }
.pc-tcab { fill: #cbd5e1; stroke: #64748b; stroke-width: 1.5; }
.pc-led { fill: #22c55e; }
.pc-tripod line { stroke: #e2e8f0; stroke-width: 5; stroke-linecap: round; }
.pc-tripod { transform-box: view-box; transform-origin: 88px 50px; animation: pc-tri 3s ease-in-out infinite; }
.pc-hub { fill: #94a3b8; }
.pc-gcab { fill: #cbd5e1; stroke: #64748b; stroke-width: 1.5; }
.pc-flap { fill: rgba(125, 211, 252, 0.5); stroke: #7dd3fc; stroke-width: 1.2; transform-box: view-box; }
.pc-flap--t { transform-origin: 80px 36px; animation: pc-flap-t 4s ease-in-out infinite; }
.pc-flap--b { transform-origin: 80px 64px; animation: pc-flap-b 4s ease-in-out infinite; }
.pc-dot { animation: pc-dot 4s ease-in-out infinite; }
.pc-dot ellipse { fill: #a78bfa; }
.pc-dot circle { fill: #f1f5f9; }
.pc-frame { fill: none; stroke: #94a3b8; stroke-width: 3; }
.pc-post { stroke: #e2e8f0; stroke-width: 4; }
.pc-rotor path { fill: none; stroke: #e2e8f0; stroke-width: 4; stroke-linecap: round; }
.pc-rotor { transform-box: view-box; transform-origin: 80px 50px; animation: pc-rot 2.4s linear infinite; }
.pc-rotor--b { animation-delay: -0.8s; }
.pc-rotor--c { animation-delay: -1.6s; }
.pc-comb { fill: none; stroke: #64748b; stroke-width: 4; stroke-linecap: round; }
.pc-wide { fill: rgba(125, 211, 252, 0.5); stroke: #7dd3fc; stroke-width: 1.2; transform-box: view-box; transform-origin: 37px 32px; animation: pc-wide 4s ease-in-out infinite; }
.pc-wheel { fill: none; stroke: #e2e8f0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@keyframes pc-arm { 0%, 20% { transform: rotate(0deg); } 40%, 65% { transform: rotate(-80deg); } 85%, 100% { transform: rotate(0deg); } }
@keyframes pc-speed { 0%, 25% { opacity: 0; } 40%, 60% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes pc-bollard { 0%, 25% { transform: translateY(0); } 45%, 70% { transform: translateY(56px); } 90%, 100% { transform: translateY(0); } }
@keyframes pc-fold1 { 0%, 20% { transform: rotate(0deg); } 40%, 65% { transform: rotate(-42deg); } 85%, 100% { transform: rotate(0deg); } }
@keyframes pc-fold2 { 0%, 20% { transform: rotate(0deg); } 40%, 65% { transform: rotate(42deg); } 85%, 100% { transform: rotate(0deg); } }
@keyframes pc-tri { 0%, 35% { transform: rotate(0deg); } 65%, 100% { transform: rotate(120deg); } }
@keyframes pc-flap-t { 0%, 28% { transform: rotate(0deg); } 36%, 66% { transform: rotate(-90deg); } 76%, 100% { transform: rotate(0deg); } }
@keyframes pc-flap-b { 0%, 28% { transform: rotate(0deg); } 36%, 66% { transform: rotate(90deg); } 76%, 100% { transform: rotate(0deg); } }
@keyframes pc-dot { 0% { transform: translateX(-12px); } 25%, 34% { transform: translateX(58px); } 70%, 100% { transform: translateX(172px); } }
@keyframes pc-rot { 0% { transform: scaleX(1); } 25% { transform: scaleX(0); } 50% { transform: scaleX(-1); } 75% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes pc-wide { 0%, 25% { transform: rotate(0deg); } 40%, 70% { transform: rotate(-90deg); } 85%, 100% { transform: rotate(0deg); } }

/* ---------- Dark scenario sections ---------- */
.dp-bar-dark { padding: clamp(2.2rem, 5vw, 3.6rem) 0; color: #e2e8f0; }
.dp-bar-dark h2, .dp-bar-dark h3 { color: #fff; }
.dp-bar-dark--car { background: radial-gradient(700px 300px at 0% 0%, rgba(34, 197, 94, 0.18), transparent 60%), #0b1324; }
.dp-bar-dark--gate {
  margin-bottom: clamp(2.4rem, 5vw, 3.4rem);
  background: radial-gradient(700px 300px at 100% 0%, rgba(14, 165, 233, 0.2), transparent 60%), #0a1628;
}
.dp-bar-dhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.1rem; }
.dp-bar-dhead > div { max-width: 68ch; }
.dp-bar-dhead h2 { margin: 0 0 0.6rem; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; }
.dp-bar-dhead p { margin: 0; color: rgba(226, 232, 240, 0.74); line-height: 1.6; }
.dp-bar-dkicker { display: inline-flex; margin: 0 0 0.6rem; color: #86efac; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.dp-bar-dkicker--gate { color: #7dd3fc; }
.dp-bar-legend { display: grid; gap: 0.4rem; margin: 0; padding: 0; list-style: none; font-size: 0.86rem; font-weight: 700; color: rgba(226, 232, 240, 0.85); }
.dp-bar-legend li { display: flex; align-items: center; gap: 0.5rem; }
.dp-bar-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; }
.dp-bar-dot--yes { background: #22c55e; }
.dp-bar-dot--no { background: #ef4444; }

.dp-sim--car { --sim-rgb: 34, 197, 94; }
.dp-sim--gate { --sim-rgb: 56, 189, 248; }
.dp-sim--car .dp-sim-stage { background: #0f1b36; }
.dp-sim--gate .dp-sim-stage { background: #0d1a2e; }
.dp-sim--car .dp-sim-scene, .dp-sim--gate .dp-sim-scene { top: auto; bottom: 0.85rem; }
@media (max-width: 640px) { .dp-sim--car .dp-sim-scene, .dp-sim--gate .dp-sim-scene { bottom: 0.4rem; } }
.dp-sim-btn--warn:not(:disabled) { background: #b45309; border-color: #f59e0b; animation-name: bar-pulse-warn; }
.dp-sim-btn--warn:not(:disabled):hover { background: #92400e; }
.dp-flow--car { --fl-rgb: 34, 197, 94; --fl-text: #e2e8f0; --fl-muted: rgba(226, 232, 240, 0.62); }
.dp-flow--gate { --fl-rgb: 56, 189, 248; --fl-text: #e2e8f0; --fl-muted: rgba(226, 232, 240, 0.62); }
.dp-flow--car .dp-flow-link--ok, .dp-flow--gate .dp-flow-link--ok { --fl-rgb: 34, 197, 94; }
.dp-bar .dp-flow--process { --fl-rgb: 21, 128, 61; }

/* ---------- Vehicle scene ---------- */
.vs-city rect { fill: #15243f; }
.vs-win rect { fill: #fde68a; opacity: 0.45; }
.vs-label { fill: rgba(226, 232, 240, 0.45); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; }
.vs-road { fill: #1f2937; }
.vs-curb { stroke: #64748b; stroke-width: 3; }
.vs-lane { stroke: rgba(255, 255, 255, 0.3); stroke-width: 3; stroke-dasharray: 22 18; }
.vs-loop { fill: none; stroke: #475569; stroke-width: 2; stroke-dasharray: 6 4; transition: fill 0.3s ease, stroke 0.3s ease; }
[data-stage="approach"] .vs-loop--1, [data-stage="read"] .vs-loop--1, [data-stage="open"] .vs-loop--1, [data-stage="deny"] .vs-loop--1,
[data-stage="pass"] .vs-loop--2 { fill: rgba(34, 197, 94, 0.35); stroke: #22c55e; stroke-dasharray: none; }
.vs-tag { fill: #94a3b8; font-size: 11px; font-weight: 700; text-anchor: middle; }
.vs-booth-roof { fill: #475569; }
.vs-booth-body { fill: #334155; stroke: #475569; }
.vs-mon { fill: #020617; stroke: #1e293b; stroke-width: 2; }
.vs-mon-1 { fill: #86efac; font-size: 10.5px; font-weight: 800; text-anchor: middle; }
.vs-mon-2 { fill: #cbd5e1; font-size: 9.5px; font-weight: 600; text-anchor: middle; }
.s-deny .vs-mon-1 { fill: #fca5a5; }
.vs-mon-led { fill: #22c55e; }
.s-deny .vs-mon-led { fill: #ef4444; animation: bar-blink 0.6s steps(2) infinite; }
.vs-booth-t { fill: #cbd5e1; font-size: 11px; font-weight: 700; text-anchor: middle; }
.vs-pole { stroke: #64748b; stroke-width: 5; }
.vs-cam rect { fill: #e2e8f0; }
.vs-cam circle { fill: #0f172a; stroke: #94a3b8; stroke-width: 2; }
.vs-cam path { stroke: #94a3b8; stroke-width: 3; stroke-linecap: round; }
.vs-rays { fill: rgba(250, 204, 21, 0.22); opacity: 0; }
[data-stage="read"] .vs-rays { animation: vs-flash 0.7s ease-out 3; }
.vs-bubble { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.s-read .vs-bubble { opacity: 1; transform: translateY(0); }
.s-close .vs-bubble { opacity: 0; }
.vs-bubble-box { fill: #0f172a; stroke: #f59e0b; stroke-width: 2; transition: stroke 0.3s ease; }
.s-open .vs-bubble-box { stroke: #22c55e; }
.s-deny .vs-bubble-box { stroke: #ef4444; }
.vs-plate { fill: #fff; stroke: #0f172a; stroke-width: 1.5; }
.vs-plate-t { fill: #0f172a; font-size: 14px; font-weight: 800; text-anchor: middle; letter-spacing: 0.04em; }
.vs-status { fill: #fde68a; font-size: 11.5px; font-weight: 800; }
.s-open .vs-status { fill: #86efac; }
.s-deny .vs-status { fill: #fca5a5; }
.vs-car { transform: translateX(-300px); transition: transform 2.2s ease-in-out; }
.s-approach .vs-car { transform: translateX(235px); }
.s-pass .vs-car { transform: translateX(620px); }
.s-close .vs-car { transform: translateX(1000px); transition-duration: 1.6s; transition-timing-function: ease-in; }
.vs-car-body { fill: #38bdf8; transition: fill 0.6s ease; }
.is-alt .vs-car-body { fill: #f472b6; }
.vs-car-win { fill: rgba(15, 23, 42, 0.75); }
.vs-car-head { fill: #fde68a; }
.vs-car-tail { fill: #ef4444; }
.vs-wheel { fill: #0f172a; stroke: #94a3b8; stroke-width: 4; }
.vs-beam { stroke: rgba(248, 113, 113, 0.9); stroke-width: 2; stroke-dasharray: 4 5; opacity: 0; transition: opacity 0.3s ease; }
[data-stage="pass"] .vs-beam { opacity: 1; animation: bar-dash 0.7s linear infinite; }
.vs-cab { fill: #f59e0b; stroke: #b45309; stroke-width: 1.5; }
.vs-cell { fill: #0f172a; transition: fill 0.3s ease; }
[data-stage="pass"] .vs-cell { fill: #ef4444; }
.vs-light { fill: #0f172a; stroke: #334155; }
.vs-light-stem { fill: #475569; }
.vs-lamp-r { fill: #ef4444; transition: fill 0.3s ease; }
.vs-lamp-g { fill: #14532d; transition: fill 0.3s ease; }
.s-open:not(.s-close) .vs-lamp-r { fill: #450a0a; }
.s-open:not(.s-close) .vs-lamp-g { fill: #22c55e; }
.vs-arm { transform-box: view-box; transform-origin: 520px 262px; transition: transform 1s ease-in-out; }
.s-open:not(.s-close) .vs-arm { transform: rotate(-84deg); }
.s-close .vs-arm { transition-delay: 0.9s; }
.vs-arm-tip { fill: #ef4444; }
.vs-pivot { fill: #1f2937; stroke: #fbbf24; stroke-width: 2; }

@keyframes vs-flash { 0% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Turnstile scene ---------- */
.ts-wall { stroke: #64748b; stroke-width: 6; }
.ts-door { stroke: #7dd3fc; stroke-width: 3; opacity: 0.6; }
.ts-label { fill: rgba(226, 232, 240, 0.5); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; }
.ts-lift { fill: #1e293b; stroke: #475569; }
.ts-chev { fill: none; stroke: rgba(125, 211, 252, 0.3); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ts-cab { fill: #cbd5e1; stroke: #64748b; stroke-width: 1.5; }
.ts-beam { stroke: rgba(248, 113, 113, 0.85); stroke-width: 2; stroke-dasharray: 4 4; opacity: 0; transition: opacity 0.3s ease; }
[data-stage="pass"] .ts-beam { opacity: 1; animation: bar-dash 0.7s linear infinite; }
.ts-flap { fill: rgba(125, 211, 252, 0.45); stroke: #7dd3fc; stroke-width: 1.5; transform-box: view-box; transition: transform 0.6s ease; }
.ts-flap--t { transform-origin: 500px 136px; }
.ts-flap--b { transform-origin: 500px 224px; }
.s-open:not(.s-close) .ts-flap--t { transform: rotate(-90deg); }
.s-open:not(.s-close) .ts-flap--b { transform: rotate(90deg); }
.ts-wide { fill: rgba(125, 211, 252, 0.28); stroke: #7dd3fc; stroke-width: 1.5; }
.ts-access { fill: none; stroke: #7dd3fc; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ts-tag { fill: #94a3b8; font-size: 11px; font-weight: 700; text-anchor: middle; }
.ts-reader rect { fill: #0f172a; stroke: #94a3b8; stroke-width: 1.5; }
.ts-reader-led { fill: #f59e0b; transition: fill 0.3s ease; }
[data-stage="card"] .ts-reader-led { fill: #38bdf8; animation: bar-blink 0.4s steps(2) infinite; }
.s-open:not(.s-close) .ts-reader-led { fill: #22c55e; }
.s-deny .ts-reader-led { fill: #ef4444; }
.ts-ring { fill: none; stroke: #38bdf8; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
[data-stage="card"] .ts-reader .ts-ring { animation: bar-ring 1s ease-out infinite; }
[data-stage="card"] .ts-reader .ts-ring--2 { animation-delay: 0.4s; }
.ts-ring--deny { stroke: #ef4444; }
.s-deny .ts-ring--deny { animation: bar-ring 0.9s ease-out infinite; }
.ts-ind-bg { fill: #1e293b; stroke: #64748b; stroke-width: 1.5; }
.ts-ind-ok, .ts-ind-no { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 0.3s ease; }
.ts-ind-ok { stroke: #22c55e; }
.ts-ind-no { stroke: #ef4444; }
.s-open:not(.s-close) .ts-ind-ok, .s-deny .ts-ind-no { opacity: 1; }
.ts-pdks-b { fill: #020617; stroke: #334155; stroke-width: 1.5; }
.ts-pdks-t { fill: #64748b; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; }
.ts-pdks-1 { fill: #e2e8f0; font-size: 14px; font-weight: 800; transition: fill 0.3s ease; }
.s-open .ts-pdks-1 { fill: #86efac; }
.s-deny .ts-pdks-1 { fill: #fca5a5; }
.ts-pdks-2 { fill: #cbd5e1; font-size: 11px; font-weight: 600; }
.ts-pdks-3 { fill: #64748b; font-size: 10px; font-weight: 600; }
.ts-person { transition: transform 1.8s ease-in-out; }
.s-card .ts-person { transform: translateX(270px); }
.s-pass .ts-person { transform: translateX(520px); }
.s-close .ts-person { transform: translateX(760px); }
.s-deny .ts-person { transform: translateX(240px); }
.ts-person-s { fill: #a78bfa; transition: fill 0.6s ease; }
.is-alt .ts-person-s { fill: #fb923c; }
.ts-person-h { fill: #f1f5f9; }
.ts-person-card { fill: #38bdf8; }
.is-alt .ts-person-card { fill: #f87171; }

/* ---------- Use cases (shared component in durupos-sim.css) ---------- */
.dp-bar .dp-use {
  --use-accent: #15803d; --use-accent-rgb: 21, 128, 61; --use-on: #86efac;
  --use-tip-bg: #f0fdf4; --use-tip-ink: #14532d;
}

/* ---------- Methods, table, safety ---------- */
.dp-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
@media (max-width: 900px) { .dp-method-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dp-method-grid { grid-template-columns: 1fr; } }
.dp-method { padding: 1rem; border-radius: 1rem; background: #fff; border: 1px solid var(--bar-line); }
.dp-method-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 0.8rem; background: rgba(21, 128, 61, 0.1); color: var(--bar-green); }
.dp-method h3 { margin: 0.7rem 0 0.3rem; font-size: 1rem; }
.dp-method p { margin: 0; color: var(--bar-muted); font-size: 0.9rem; line-height: 1.5; }
.dp-bar-table-wrap { border: 1px solid var(--bar-line); border-radius: 1rem; overflow-x: auto; background: #fff; }
.dp-bar-table, .dp-bar-specs { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.dp-bar-table { min-width: 640px; }
.dp-bar-table th, .dp-bar-table td, .dp-bar-specs th, .dp-bar-specs td {
  padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}
.dp-bar-table tbody tr:last-child th, .dp-bar-table tbody tr:last-child td,
.dp-bar-specs tr:last-child th, .dp-bar-specs tr:last-child td { border-bottom: 0; }
.dp-bar-table thead th { background: #f8fafc; }
.dp-bar-table thead a { color: var(--bar-green); font-weight: 800; text-decoration: none; }
.dp-bar-table tbody th { color: var(--bar-muted); font-weight: 700; width: 16%; }
.dp-bar-specs th { width: 32%; background: #f8fafc; }
@media (max-width: 640px) {
  .dp-bar-specs, .dp-bar-specs tbody, .dp-bar-specs tr, .dp-bar-specs th, .dp-bar-specs td { display: block; width: 100%; }
  .dp-bar-specs th { border-bottom: 0; padding-bottom: 0.15rem; }
}
.dp-bar-band { padding: clamp(2rem, 4vw, 3rem) 0; background: #fff; border-block: 1px solid var(--bar-line); }
.dp-safe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
@media (max-width: 900px) { .dp-safe-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dp-safe-grid { grid-template-columns: 1fr; } }
.dp-safe { display: flex; gap: 0.8rem; padding: 1rem; border-radius: 1rem; background: #f8fafc; border: 1px solid var(--bar-line); }
.dp-safe-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #0b1324; color: #86efac; }
.dp-safe h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.dp-safe p { margin: 0; color: var(--bar-muted); font-size: 0.9rem; line-height: 1.5; }
.dp-safe a { display: inline-block; margin-top: 0.4rem; color: var(--bar-green); font-weight: 700; font-size: 0.88rem; text-decoration: none; }

/* ---------- FAQ, CTA ---------- */
.dp-bar-faq details { border: 1px solid var(--bar-line); border-radius: 0.85rem; background: #fff; margin-bottom: 0.55rem; padding: 0.85rem 1rem; }
.dp-bar-faq summary { cursor: pointer; font-weight: 700; }
.dp-bar-faq summary::-webkit-details-marker { display: none; }
.dp-bar-faq p { margin: 0.65rem 0 0; color: var(--bar-muted); line-height: 1.5; }
.dp-bar-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.8rem); border-radius: 1.1rem;
  background: linear-gradient(135deg, #0b1324, #14532d); color: #fff;
}
.dp-bar-cta h2 { margin: 0 0 0.3rem; color: #fff; font-size: 1.35rem; }
.dp-bar-cta p { margin: 0; color: rgba(255, 255, 255, 0.78); max-width: 50ch; }
.dp-bar-cta .dp-bar-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); background: transparent; }

/* ---------- Shared keyframes ---------- */
@keyframes bar-blink { 50% { opacity: 0.35; } }
@keyframes bar-ring { 0% { transform: scale(0.7); opacity: 0.85; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes bar-dash { to { stroke-dashoffset: -18; } }
@keyframes bar-pulse-warn { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.55); } 50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); } }

@media (prefers-reduced-motion: reduce) {
  .dp-hb *, .dp-prod-anim * { animation: none !important; transition: none !important; }
}
