/* Güvenlik sistemleri: katman halkaları, sistem kartları, yerleşim planı, gece alarmı simülasyonu */
.dp-gs .dp-net-hero h1 { max-width: 18ch; }
.gs-grad {
  background: linear-gradient(90deg, #d97706, #dc2626 45%, #7c3aed 75%, #059669);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.gs-hero-sys { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.25rem; }
.gs-hero-sys a {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.38rem 0.75rem 0.38rem 0.5rem;
  border-radius: 999px; border: 1px solid rgba(11, 18, 32, 0.1); background: #fff;
  color: #0b1220; font-size: 0.84rem; font-weight: 700; text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.gs-hero-sys a svg { width: 16px; height: 16px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gs-hero-sys a:hover { border-color: var(--c); transform: translateY(-1px); box-shadow: 0 8px 18px -10px var(--c); color: #0b1220; }

/* ---------- Hero: katman halkaları ---------- */
.gs-hero-art { border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(11, 18, 32, 0.45); }
.gs-art { display: block; width: 100%; height: auto; border-radius: 24px; }
.gs-art text { font-family: Manrope, "DM Sans", sans-serif; }
.gs-art-grid circle { fill: rgba(148, 163, 184, 0.18); }
.gs-art-ring { fill: none; stroke-width: 2; stroke-dasharray: 3 7; opacity: 0.7; animation: gs-ring-hit 9s ease infinite; animation-play-state: paused; }
.gs-art-ring--1 { stroke: #f59e0b; animation-play-state: running; }
.gs-art-ring--2 { stroke: #a78bfa; animation-play-state: running; animation-delay: 3s; }
.gs-art-ring--3 { stroke: #f87171; opacity: 0.55; animation: none; }
.gs-art-ring--4 { stroke: #34d399; animation-play-state: running; animation-delay: 6s; }
.gs-art-sweep { transform-origin: 280px 220px; animation: gs-spin 7s linear infinite; }
.gs-art-node circle { fill: #0f1b2e; stroke: rgba(148, 163, 184, 0.4); stroke-width: 1.5; }
.gs-art-node svg { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gs-art-node--1 svg { stroke: #fbbf24; }
.gs-art-node--2 svg { stroke: #c4b5fd; }
.gs-art-node--3 svg { stroke: #fca5a5; }
.gs-art-node circle { animation: gs-node 4s ease-in-out infinite; animation-delay: var(--d); }
.gs-art-node--1 circle { --nc: #f59e0b; }
.gs-art-node--2 circle { --nc: #a78bfa; }
.gs-art-node--3 circle { --nc: #f87171; }
.gs-art-core circle { fill: rgba(16, 185, 129, 0.16); stroke: #34d399; stroke-width: 2; animation: nd-breathe 2.4s ease-in-out infinite; }
.gs-art-core svg { fill: none; stroke: #6ee7b7; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gs-art-lbl rect { fill: #0b1526; stroke: rgba(245, 158, 11, 0.5); }
.gs-art-lbl text { fill: #fcd34d; font-size: 11px; font-weight: 900; letter-spacing: 0.14em; text-anchor: middle; }
.gs-art-lbl--2 rect { stroke: rgba(167, 139, 250, 0.5); }
.gs-art-lbl--2 text { fill: #c4b5fd; }
.gs-art-lbl--3 rect { stroke: rgba(248, 113, 113, 0.5); }
.gs-art-lbl--3 text { fill: #fca5a5; }
.gs-art-lbl--4 rect { stroke: rgba(52, 211, 153, 0.5); }
.gs-art-lbl--4 text { fill: #6ee7b7; font-size: 10px; }

.gs-art-threat { opacity: 0; animation: gs-threat 9s cubic-bezier(0.45, 0, 0.25, 1) infinite; }
.gs-art-threat circle { fill: rgba(239, 68, 68, 0.25); stroke: #ef4444; stroke-width: 2; }
.gs-art-threat .gs-art-threat-in { fill: #fecaca; stroke: none; }
.gs-art-threat--1 { --x0: 30px; --y0: 54px; --x1: 117px; --y1: 111px; }
.gs-art-threat--2 { --x0: 551px; --y0: 408px; --x1: 400px; --y1: 303px; animation-delay: 3s; }
.gs-art-threat--3 { --x0: 543px; --y0: 38px; --x1: 324px; --y1: 189px; animation-delay: 6s; }
.gs-art-threat--3 circle { fill: rgba(168, 85, 247, 0.25); stroke: #a855f7; }
.gs-art-x { opacity: 0; animation: gs-x 9s ease infinite; }
.gs-art-x circle { fill: rgba(239, 68, 68, 0.18); stroke: #ef4444; stroke-width: 2; }
.gs-art-x path { stroke: #fecaca; stroke-width: 2.5; stroke-linecap: round; }
.gs-art-x--2 { animation-delay: 3s; }
.gs-art-x--3 { animation-delay: 6s; }
.gs-art-msg { opacity: 0; animation: gs-x 9s ease infinite; }
.gs-art-msg rect { fill: rgba(15, 27, 46, 0.92); stroke: rgba(239, 68, 68, 0.55); }
.gs-art-msg text { fill: #fecaca; font-size: 12px; font-weight: 800; text-anchor: middle; }
.gs-art-msg--2 { animation-delay: 3s; }
.gs-art-msg--3 { animation-delay: 6s; }

@keyframes gs-spin { to { transform: rotate(360deg); } }
@keyframes gs-node { 0%, 100% { stroke: rgba(148, 163, 184, 0.4); } 50% { stroke: var(--nc); } }
@keyframes gs-threat {
  0% { transform: translate(var(--x0), var(--y0)); opacity: 0; }
  5% { opacity: 1; }
  28%, 44% { transform: translate(var(--x1), var(--y1)); opacity: 1; }
  50%, 100% { transform: translate(var(--x1), var(--y1)); opacity: 0; }
}
@keyframes gs-x {
  0%, 27% { opacity: 0; transform-box: fill-box; }
  31%, 44% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes gs-ring-hit {
  0%, 26% { stroke-width: 2; opacity: 0.7; }
  30%, 40% { stroke-width: 5; opacity: 1; }
  50%, 100% { stroke-width: 2; opacity: 0.7; }
}

/* ---------- Sistem kartları ---------- */
.gs-sys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1100px) { .gs-sys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gs-sys { grid-template-columns: 1fr; } }
.gs-sys__card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 1.2rem; background: #fff;
  border: 1px solid rgba(11, 18, 32, 0.08); color: #0b1220; text-decoration: none;
  box-shadow: 0 14px 30px -22px rgba(11, 18, 32, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: gs-rise 0.6s ease both; animation-delay: calc(var(--i) * 0.08s);
}
.gs-sys__card:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 24px 40px -24px var(--c); color: #0b1220; }
.gs-sys__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b1220; }
.gs-sys__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gs-sys__card:hover .gs-sys__img img { transform: scale(1.05); }
.gs-sys__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 18, 32, 0.55)); }
.gs-sys__ico {
  position: absolute; left: 0.9rem; bottom: -1px; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 14px 14px 0 0; background: #fff; color: var(--c);
}
.gs-sys__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gs-sys__body { display: flex; flex-direction: column; flex: 1; padding: 0.9rem 1.1rem 1.1rem; }
.gs-sys__tag { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c); }
.gs-sys__body h3 { margin: 0.3rem 0 0.4rem; font-size: 1.15rem; }
.gs-sys__body p { margin: 0 0 0.7rem; font-size: 0.9rem; line-height: 1.55; color: rgba(11, 18, 32, 0.65); }
.gs-sys__body ul { display: grid; gap: 0.3rem; margin: 0 0 0.9rem; padding: 0; list-style: none; }
.gs-sys__body li { position: relative; padding-left: 1.1rem; font-size: 0.84rem; font-weight: 700; }
.gs-sys__body li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.gs-sys__go { margin-top: auto; font-size: 0.88rem; font-weight: 800; color: var(--c); }
.gs-sys__go::after { content: " →"; }

@keyframes gs-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Katman planı ---------- */
.gs-layers { display: grid; grid-template-columns: 330px 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 960px) { .gs-layers { grid-template-columns: 1fr; } }
.gs-layers__tabs { display: grid; gap: 0.45rem; }
.gs-layers__tab {
  display: flex; align-items: center; gap: 0.7rem; width: 100%; padding: 0.7rem 0.8rem; border-radius: 0.95rem;
  border: 1px solid rgba(11, 18, 32, 0.1); background: #fff; color: #0b1220; font: inherit; text-align: left; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.gs-layers__tab:hover { border-color: var(--c); }
.gs-layers__tab:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.gs-layers__tab[aria-selected="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); box-shadow: 0 10px 24px -18px var(--c); }
.gs-layers__n {
  display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); font-weight: 900; font-size: 0.85rem;
}
.gs-layers__tab[aria-selected="true"] .gs-layers__n { background: var(--c); color: #fff; }
.gs-layers__ti { flex: 1; display: grid; }
.gs-layers__ti b { font-size: 0.98rem; }
.gs-layers__ti small { font-size: 0.8rem; color: rgba(11, 18, 32, 0.6); }
.gs-layers__ic { color: var(--c); }
.gs-layers__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gs-layers__panel {
  padding: 0.95rem 1rem; border-radius: 0.95rem; background: #0b1220; color: #e2e8f0;
  border-left: 4px solid var(--c); animation: gs-rise 0.35s ease;
}
.gs-layers__panel p { margin: 0 0 0.6rem; font-size: 0.9rem; line-height: 1.55; color: #cbd5e1; }
.gs-layers__panel ul { display: grid; gap: 0.25rem; margin: 0 0 0.75rem; padding: 0; list-style: none; }
.gs-layers__panel li { position: relative; padding-left: 1rem; font-size: 0.86rem; font-weight: 700; }
.gs-layers__panel li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.gs-layers__links { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.gs-layers__links a {
  padding: 0.3rem 0.65rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff;
  font-size: 0.8rem; font-weight: 700; text-decoration: none;
}
.gs-layers__links a:hover { background: var(--c); color: #fff; }
.gs-layers__hint { margin: 0.2rem 0 0; font-size: 0.8rem; color: rgba(11, 18, 32, 0.55); }

.gs-plan { border-radius: 1.2rem; background: #fff; border: 1px solid rgba(11, 18, 32, 0.08); padding: 0.75rem; box-shadow: 0 20px 40px -30px rgba(11, 18, 32, 0.4); }
.gs-plan svg { display: block; width: 100%; height: auto; }
.gs-plan text { font-family: Manrope, "DM Sans", sans-serif; }
.gs-plan__legend { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 0.6rem 0.25rem 0; padding: 0; list-style: none; font-size: 0.8rem; font-weight: 700; color: rgba(11, 18, 32, 0.7); }
.gs-plan__legend i { display: inline-block; width: 10px; height: 10px; margin-right: 0.35rem; border-radius: 3px; background: var(--c); vertical-align: -1px; }

.gp-ground { fill: #eef2f6; }
.gp-zone { fill: rgba(11, 18, 32, 0.38); font-size: 11px; font-weight: 900; letter-spacing: 0.14em; text-anchor: middle; }
.gp-dev-l { fill: #334155; font-size: 11px; font-weight: 800; text-anchor: middle; }
.gp-wall { fill: #fff; stroke: #64748b; stroke-width: 4; }
.gp-inner { fill: none; stroke: #94a3b8; stroke-width: 3; }
.gp-door { stroke: #fff; stroke-width: 6; }
.gp-desk { fill: #e2e8f0; }
.gp-shelf { fill: #e2e8f0; stroke: #cbd5e1; }
.gp-park path { stroke: #cbd5e1; stroke-width: 2; }
.gp-car { fill: #cbd5e1; }

.gp-l { --lc: #d97706; transition: opacity 0.4s ease; }
.gp-l--giris { --lc: #7c3aed; }
.gp-l--ic { --lc: #dc2626; }
.gp-l--ag { --lc: #059669; }
.gp-fence { fill: none; stroke: var(--lc); stroke-width: 2.5; stroke-dasharray: 8 6; }
.gp-gate-gap { fill: #eef2f6; }
.gp-post { fill: #334155; }
.gp-arm { fill: var(--lc); }
.gp-cone { fill: var(--lc); fill-opacity: 0.1; stroke: var(--lc); stroke-opacity: 0.35; stroke-width: 1; }
.gp-cam circle { fill: #fff; stroke: var(--lc); stroke-width: 3; }
.gp-turn rect { fill: var(--lc); }
.gp-turn path { stroke: var(--lc); stroke-width: 3; stroke-linecap: round; }
.gp-reader { fill: var(--lc); }
.gp-pir-fan { fill: var(--lc); fill-opacity: 0.08; stroke: var(--lc); stroke-opacity: 0.35; stroke-dasharray: 4 4; }
.gp-pir-b { fill: #fff; stroke: var(--lc); stroke-width: 2.5; }
.gp-smoke circle { fill: #fff; stroke: var(--lc); stroke-width: 2.5; }
.gp-smoke circle + circle { fill: var(--lc); stroke: none; }
.gp-siren rect { fill: var(--lc); }
.gp-siren path { fill: none; stroke: var(--lc); stroke-width: 2; stroke-linejoin: round; }
.gp-panel { fill: #0b1220; stroke: var(--lc); stroke-width: 2.5; }
.gp-net { fill: none; stroke: var(--lc); stroke-width: 2; stroke-dasharray: 4 6; opacity: 0.55; }
.gp-net--wan { stroke-dasharray: 2 5; }
.gp-rack { fill: #0b1220; }
.gp-fw { fill: var(--lc); }
.gp-u { fill: #334155; }
.gp-dev-l--fw { fill: #fff; font-size: 9px; }

.gs-layers:not([data-layer="all"]) .gp-l { opacity: 0.14; }
.gs-layers[data-layer="cevre"] .gp-l--cevre,
.gs-layers[data-layer="giris"] .gp-l--giris,
.gs-layers[data-layer="ic"] .gp-l--ic,
.gs-layers[data-layer="ag"] .gp-l--ag { opacity: 1; }
.gs-layers[data-layer="cevre"] .gp-l--cevre .gp-cone,
.gs-layers[data-layer="giris"] .gp-l--giris .gp-cone,
.gs-layers[data-layer="ic"] .gp-l--ic .gp-cone,
.gs-layers[data-layer="ic"] .gp-l--ic .gp-pir-fan { animation: gs-cone 1.8s ease-in-out infinite; }
.gs-layers[data-layer="ag"] .gp-net { opacity: 1; animation: nd-flow 1s linear infinite; }
.gs-layers[data-layer="cevre"] .gp-arm { transform-box: fill-box; transform-origin: left center; animation: gs-arm 3.6s ease-in-out infinite; }
.gs-layers[data-layer="ic"] .gp-siren { animation: nd-breathe 0.8s ease-in-out infinite; }
.gs-layers[data-layer="ag"] .gp-fw { animation: nd-breathe 0.9s ease-in-out infinite; }

@keyframes gs-cone { 0%, 100% { fill-opacity: 0.1; } 50% { fill-opacity: 0.32; } }
@keyframes gs-arm { 0%, 30%, 80%, 100% { transform: rotate(0); } 45%, 65% { transform: rotate(-70deg); } }

/* ---------- Gece alarmı simülasyonu ---------- */
.dp-sim--gs { --sim-rgb: 56, 189, 248; }
.dp-sim--gs .dp-sim-stage { background: #070d19; }
.dp-flow--gs { --fl-rgb: 56, 189, 248; }
.dp-flow--gs .dp-flow-node--warn, .dp-flow--gs .dp-flow-link--warn { --fl-rgb: 251, 191, 36; }
.dp-flow--gs .dp-flow-tag--no { background: rgba(251, 191, 36, 0.2); color: #fcd34d; }
.dp-flow--gs .dp-flow-tag--yes { background: rgba(56, 189, 248, 0.2); color: #7dd3fc; }
.dp-flow--gs .dp-flow-decide { flex-basis: 170px; }
.dp-flow--gs .dp-flow-diamond { --fl-rgb: 251, 191, 36; }
.dp-flow--gs button.dp-flow-diamond { appearance: none; -webkit-appearance: none; padding: 0; font: inherit; cursor: pointer; }

.gs-stars circle { fill: #e2e8f0; animation: gs-twinkle 3s ease-in-out infinite; }
.gs-stars circle:nth-child(2n) { animation-delay: -1.4s; }
.gs-moon { fill: #f8fafc; opacity: 0.85; filter: drop-shadow(0 0 14px rgba(248, 250, 252, 0.5)); }
.gs-ground { fill: #0b1526; }
@keyframes gs-twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.9; } }

.gs-l { fill: none; stroke: rgba(148, 163, 184, 0.22); stroke-width: 3; stroke-linecap: round; transition: stroke 0.4s ease; }
.gs-r { fill: none; stroke: #38bdf8; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 30; opacity: 0; transition: opacity 0.4s ease; animation: nd-flow 1s linear infinite; }
.gs-r--g { stroke: #f87171; }
.gs-r--f { stroke: #4ade80; }
.dp-sim--gs.is-alt .gs-r { stroke: #fbbf24; }
.dp-sim--gs[data-stage="motion"] .gs-r--a,
.dp-sim--gs[data-stage="verify"] .gs-r--b,
.dp-sim--gs[data-stage="siren"] .gs-r--g,
.dp-sim--gs[data-stage="notify"] .gs-r--c,
.dp-sim--gs[data-stage="notify"] .gs-r--d,
.dp-sim--gs[data-stage="notify"] .gs-r--e,
.dp-sim--gs[data-stage="dispatch"] .gs-r--f,
.dp-sim--gs[data-stage="dismiss"] .gs-r--b,
.dp-sim--gs[data-stage="report"] .gs-r--d,
.dp-sim--gs[data-stage="report"] .gs-r--e { opacity: 1; }
.dp-sim--gs.s-motion .gs-l--a,
.dp-sim--gs.s-verify .gs-l--b,
.dp-sim--gs.s-notify .gs-l--c,
.dp-sim--gs.s-notify .gs-l--d,
.dp-sim--gs.s-notify .gs-l--e { stroke: rgba(56, 189, 248, 0.45); }
.dp-sim--gs.s-siren .gs-l--g { stroke: rgba(248, 113, 113, 0.5); }
.dp-sim--gs.s-dispatch .gs-l--f { stroke: rgba(74, 222, 128, 0.5); }
.dp-sim--gs.s-report .gs-l--d,
.dp-sim--gs.s-report .gs-l--e { stroke: rgba(251, 191, 36, 0.45); }

.gs-bar-post { fill: #334155; stroke: #64748b; }
.gs-bar-led { fill: #ef4444; transition: fill 0.3s ease; }
.gs-bar-arm { transform-origin: 78px 311px; transition: transform 1s cubic-bezier(0.45, 0, 0.25, 1); }
.gs-bar-arm rect { fill: #f8fafc; stroke: #94a3b8; }
.gs-bar-arm path { stroke: #ef4444; stroke-width: 10; }
.dp-sim--gs[data-stage="dispatch"] .gs-bar-arm { transform: rotate(-80deg); }
.dp-sim--gs[data-stage="dispatch"] .gs-bar-led { fill: #22c55e; }

.gs-roof { fill: #1e293b; stroke: #475569; stroke-width: 2; stroke-linejoin: round; }
.gs-wall { fill: #0f1b2d; stroke: #334155; stroke-width: 2; }
.gs-door { fill: #1e293b; stroke: #475569; }
.gs-win { fill: #1e3a5f; stroke: #475569; }
.gs-win-x { stroke: #475569; stroke-width: 2; }
.gs-crate { fill: #3f3424; stroke: #6b5a3c; }
.gs-zone { fill: rgba(148, 163, 184, 0.5); font-size: 11px; font-weight: 900; letter-spacing: 0.14em; text-anchor: middle; }

.gs-pir path { fill: #e2e8f0; stroke: #94a3b8; }
.gs-pir-led { fill: #64748b; }
.dp-sim--gs[data-stage="motion"] .gs-pir-led { fill: #ef4444; animation: nd-breathe 0.5s ease-in-out infinite; }
.gs-pir-cone { fill: rgba(248, 113, 113, 0.18); stroke: rgba(248, 113, 113, 0.5); stroke-dasharray: 5 6; opacity: 0; transition: opacity 0.4s ease; }
.dp-sim--gs[data-stage="motion"] .gs-pir-cone { opacity: 1; animation: gs-pulse 1s ease-in-out infinite; }
.gs-cam-cone { fill: rgba(56, 189, 248, 0.12); stroke: rgba(56, 189, 248, 0.45); opacity: 0; transition: opacity 0.4s ease; }
.dp-sim--gs.s-verify .gs-cam-cone { opacity: 1; }
.dp-sim--gs.is-alt.s-verify .gs-cam-cone { fill: rgba(251, 191, 36, 0.1); stroke: rgba(251, 191, 36, 0.45); }
.gs-cam-rec { fill: #475569; }
.dp-sim--gs.s-verify .gs-cam-rec { fill: #ef4444; animation: nd-breathe 0.8s ease-in-out infinite; }

.gs-panel > rect:first-child { fill: #e2e8f0; stroke: #94a3b8; }
.gs-panel-lcd { fill: #14532d; transition: fill 0.3s ease; }
.gs-panel-led { fill: #22c55e; }
.dp-sim--gs[data-stage="motion"] .gs-panel-lcd { fill: #a16207; }
.dp-sim--gs:not(.is-alt).s-siren .gs-panel-lcd { fill: #991b1b; }
.dp-sim--gs:not(.is-alt).s-siren .gs-panel-led { fill: #ef4444; animation: nd-breathe 0.5s ease-in-out infinite; }

.gs-siren-glow { fill: rgba(239, 68, 68, 0.2); opacity: 0; filter: blur(6px); }
.gs-siren-b { fill: #e2e8f0; stroke: #94a3b8; }
.gs-strobe { fill: #7f1d1d; }
.gs-siren-w { fill: none; stroke: #f87171; stroke-width: 2.5; stroke-linecap: round; opacity: 0; }
.dp-sim--gs[data-stage="siren"] .gs-siren-glow,
.dp-sim--gs[data-stage="notify"] .gs-siren-glow { opacity: 1; animation: gs-strobe-glow 0.6s steps(2, jump-none) infinite; }
.dp-sim--gs[data-stage="siren"] .gs-strobe,
.dp-sim--gs[data-stage="notify"] .gs-strobe { animation: gs-strobe 0.6s steps(2, jump-none) infinite; }
.dp-sim--gs[data-stage="siren"] .gs-siren-w,
.dp-sim--gs[data-stage="notify"] .gs-siren-w { opacity: 1; animation: gs-pulse 0.6s ease-in-out infinite; }
@keyframes gs-strobe { 0% { fill: #ef4444; } 100% { fill: #3b82f6; } }
@keyframes gs-strobe-glow { 0% { fill: rgba(239, 68, 68, 0.45); } 100% { fill: rgba(59, 130, 246, 0.45); } }
@keyframes gs-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.gs-man, .gs-cat { opacity: 0; transition: transform 1.1s cubic-bezier(0.45, 0, 0.25, 1), opacity 0.4s ease; }
.gs-man { transform: translate(150px, 372px); }
.gs-man circle, .gs-man path { fill: #94a3b8; }
.gs-cat { transform: translate(380px, 372px); }
.gs-cat path { fill: #a8a29e; }
.gs-cat .gs-cat-tail { fill: none; stroke: #a8a29e; stroke-width: 4; stroke-linecap: round; }
.dp-sim--gs:not(.is-alt)[data-stage="motion"] .gs-man,
.dp-sim--gs:not(.is-alt)[data-stage="verify"] .gs-man { opacity: 1; transform: translate(470px, 372px); }
.dp-sim--gs[data-stage="siren"] .gs-man { opacity: 1; transform: translate(190px, 372px); }
.dp-sim--gs[data-stage="notify"] .gs-man,
.dp-sim--gs[data-stage="dispatch"] .gs-man { opacity: 0; transform: translate(40px, 372px); }
.dp-sim--gs.is-alt[data-stage="motion"] .gs-cat,
.dp-sim--gs.is-alt[data-stage="verify"] .gs-cat { opacity: 1; transform: translate(472px, 372px); }
.dp-sim--gs[data-stage="dismiss"] .gs-cat,
.dp-sim--gs[data-stage="report"] .gs-cat { opacity: 1; transform: translate(552px, 372px); }

.gs-ai { opacity: 0; transition: opacity 0.35s ease; }
.gs-ai > rect:first-child { fill: none; stroke: #38bdf8; stroke-width: 2; stroke-dasharray: 6 4; }
.gs-ai-tag { fill: #0369a1; }
.gs-ai text { fill: #fff; font-size: 11px; font-weight: 900; letter-spacing: 0.04em; }
.gs-ai--cat > rect:first-child { stroke: #fbbf24; }
.gs-ai--cat .gs-ai-tag { fill: #b45309; }
.dp-sim--gs:not(.is-alt)[data-stage="verify"] .gs-ai--man,
.dp-sim--gs.is-alt[data-stage="verify"] .gs-ai--cat { opacity: 1; }

.gs-rack-t { letter-spacing: 0.14em; font-weight: 900; }
.gs-fw-glow { fill: none; stroke: transparent; stroke-width: 2.5; transition: stroke 0.35s ease; }
.dp-sim--gs[data-stage="notify"] .gs-fw-glow,
.dp-sim--gs[data-stage="dispatch"] .gs-fw-glow { stroke: #4ade80; animation: nd-breathe 0.9s ease-in-out infinite; }
.dp-sim--gs[data-stage="report"] .gs-fw-glow { stroke: #fbbf24; animation: nd-breathe 0.9s ease-in-out infinite; }

.gs-bub { opacity: 0; transform-box: fill-box; transform-origin: center bottom; transform: scale(0.7); transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.gs-bub rect { fill: #b91c1c; }
.gs-bub text { fill: #fff; font-size: 12px; font-weight: 800; text-anchor: middle; }
.dp-sim--gs[data-stage="notify"] .gs-bub,
.dp-sim--gs[data-stage="dispatch"] .gs-bub,
.dp-sim--gs[data-stage="report"] .gs-bub { opacity: 1; transform: none; }
.dp-sim--gs[data-stage="dispatch"] .gs-bub rect { fill: #15803d; }
.dp-sim--gs[data-stage="report"] .gs-bub rect { fill: #b45309; }

.gs-guard-c { fill: rgba(255, 255, 255, 0.04); stroke: rgba(148, 163, 184, 0.45); stroke-width: 2; transition: fill 0.35s ease, stroke 0.35s ease; }
.gs-guard svg { fill: none; stroke: #cbd5e1; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dp-sim--gs[data-stage="dispatch"] .gs-guard-c { fill: rgba(74, 222, 128, 0.16); stroke: #4ade80; animation: nd-breathe 0.9s ease-in-out infinite; }
.dp-sim--gs.is-alt .gs-guard { opacity: 0.3; }

.dp-sim--gs.s-arm .gs-log-1 { fill: #4ade80; }
.dp-sim--gs[data-stage="motion"] .gs-log-1 { fill: #fcd34d; }
.dp-sim--gs:not(.is-alt).s-siren .gs-log-1 { fill: #f87171; }
.dp-sim--gs[data-stage="dispatch"] .gs-log-1 { fill: #4ade80; }
.dp-sim--gs.is-alt.s-verify .gs-log-1 { fill: #fcd34d; }

.gs-pkt { opacity: 0; transform: translate(362px, 262px); transition: transform 0.9s cubic-bezier(0.45, 0, 0.25, 1), opacity 0.3s ease; }
.gs-pkt circle { fill: #ef4444; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.7)); }
.gs-pkt text { fill: #fff; font-size: 14px; font-weight: 900; text-anchor: middle; }
.dp-sim--gs.is-alt .gs-pkt circle { fill: #d97706; filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6)); }
.dp-sim--gs[data-stage="motion"] .gs-pkt { opacity: 1; transform: translate(362px, 238px); }
.dp-sim--gs[data-stage="verify"] .gs-pkt { opacity: 1; transform: translate(728px, 192px); }
.dp-sim--gs[data-stage="siren"] .gs-pkt { opacity: 1; transform: translate(254px, 214px); }
.dp-sim--gs[data-stage="notify"] .gs-pkt { opacity: 1; transform: translate(893px, 186px); }
.dp-sim--gs[data-stage="dispatch"] .gs-pkt { opacity: 1; transform: translate(856px, 294px); }
.dp-sim--gs[data-stage="dispatch"] .gs-pkt circle { fill: #16a34a; }
.dp-sim--gs[data-stage="dismiss"] .gs-pkt { opacity: 1; transform: translate(728px, 192px); }
.dp-sim--gs[data-stage="report"] .gs-pkt { opacity: 1; transform: translate(893px, 186px); }

@media (max-width: 640px) {
  .dp-sim--gs .dp-sim-stage { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .dp-sim--gs .dp-sim-svg { width: 760px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gs-art *, .gs-sys__card, .gs-layers *, .gs-plan * { animation: none !important; }
  .gs-art-threat, .gs-art-x, .gs-art-msg { opacity: 0; }
}

.gs-sys__art { display: block; width: 100%; height: 100%; }
.gs-ba-road { fill: #1e293b; }
.gs-ba-lane { stroke: #64748b; stroke-width: 3; }
.gs-ba-reader { fill: #334155; }
.gs-ba-screen { fill: #38bdf8; }
.gs-ba-post { fill: #e2e8f0; stroke: #94a3b8; }
.gs-ba-led { fill: #ef4444; transition: fill 0.3s ease 0.3s; }
.gs-ba-arm { transform-origin: 122px 109.5px; transition: transform 0.9s cubic-bezier(0.45, 0, 0.25, 1); }
.gs-ba-arm rect { fill: #f8fafc; stroke: #94a3b8; }
.gs-ba-arm path { stroke: #ef4444; stroke-width: 11; }
.gs-ba-car { transition: transform 1s cubic-bezier(0.45, 0, 0.25, 1) 0.5s; }
.gs-ba-car rect, .gs-ba-car path { fill: #d97706; }
.gs-ba-car circle { fill: #0b1220; stroke: #475569; stroke-width: 3; }
.gs-sys__card:hover .gs-ba-arm { transform: rotate(-80deg); }
.gs-sys__card:hover .gs-ba-led { fill: #22c55e; }
.gs-sys__card:hover .gs-ba-car { transform: translateX(-60px); }

@media (max-width: 960px) {
  .gs-plan { order: -1; }
  .gs-layers__ti small { line-height: 1.3; }
  .gs-layers__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-layers__panel, .gs-layers__hint { grid-column: 1 / -1; }
  .gs-layers__ic { display: none; }
}
