.dp-alm {
  --alm-ink: #0b1220;
  --alm-muted: rgba(11, 18, 32, 0.62);
  --alm-amber: #9a3412;
  --alm-line: rgba(11, 18, 32, 0.1);
  font-family: "Manrope", "DM Sans", system-ui, sans-serif;
  color: var(--alm-ink);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(154, 52, 18, 0.08), transparent 55%),
    linear-gradient(180deg, #f8f6f4 0%, #fff 24%, #f8fafc 100%);
  overflow-x: clip;
}
.dp-alm h1, .dp-alm h2, .dp-alm h3 {
  font-family: "Manrope", "DM Sans", system-ui, sans-serif;
  letter-spacing: -0.03em;
  font-weight: 750;
}
.dp-alm-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.dp-alm-section { padding: 0 0 clamp(2.6rem, 5vw, 4rem); }
.dp-alm-section--top { padding-top: clamp(2.4rem, 5vw, 3.4rem); }
#yangin, #hirsiz { scroll-margin-top: 7.5rem; }
.dp-alm-sr, .dp-alm-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */
.dp-alm-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(--alm-muted);
}
.dp-alm-crumb a { color: var(--alm-amber); text-decoration: none; font-weight: 650; }
.dp-alm-hero { padding: clamp(2.2rem, 5vw, 3.4rem) 0 clamp(1.6rem, 3vw, 2.4rem); }
.dp-alm-hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center;
}
@media (max-width: 991px) { .dp-alm-hero__grid { grid-template-columns: 1fr; } }
.dp-alm-kicker {
  display: inline-flex; margin: 0 0 0.65rem; padding: 0.32rem 0.72rem; border-radius: 999px;
  background: rgba(154, 52, 18, 0.1); color: var(--alm-amber);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.dp-alm-hero h1 { margin: 0 0 0.7rem; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; }
.dp-alm-lead { margin: 0 0 1rem; max-width: 48ch; font-size: 1.05rem; line-height: 1.55; color: var(--alm-muted); }
.dp-alm-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.dp-alm-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-alm-btn--primary { background: linear-gradient(135deg, #9a3412, #7c2d12); color: #fff; }
.dp-alm-btn--ghost { border: 1px solid var(--alm-line); background: #fff; color: var(--alm-ink); }
.dp-alm-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.dp-alm-chip {
  padding: 0.32rem 0.65rem; border-radius: 999px; background: rgba(15, 118, 110, 0.1);
  color: #0f766e; font-size: 0.76rem; font-weight: 700;
}
.dp-alm-note { margin: 0.9rem 0 0; color: var(--alm-muted); font-size: 0.92rem; }
.dp-alm-note a { color: var(--alm-amber); font-weight: 700; }

.dp-hs { border-radius: 1.4rem; overflow: hidden; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18); }
.dp-hs svg { display: block; width: 100%; height: auto; }
.dp-hs text { font-family: Manrope, "DM Sans", sans-serif; }
.hs-k { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; }
.hs-k--fire { fill: #fdba74; }
.hs-k--theft { fill: #7dd3fc; }
.hs-s { fill: rgba(255, 255, 255, 0.6); font-size: 12px; font-weight: 600; }
.hs-ceil, .hs-floor { stroke: rgba(255, 255, 255, 0.16); stroke-width: 2; }
.hs-det { fill: #f5f5f4; }
.hs-led--ok { fill: #22c55e; animation: hs-led-ok 6s linear infinite; }
.hs-led--hot { fill: #ef4444; opacity: 0; animation: hs-led-hot 6s linear infinite; }
.hs-det-ring { fill: none; stroke: #f87171; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: hs-ring 1.1s ease-out infinite, hs-win-detect 6s linear infinite; }
.hs-smoke circle { fill: #a8a29e; opacity: 0; transform-box: fill-box; transform-origin: center; animation: hs-rise 2.4s ease-in infinite; }
.hs-smoke circle:nth-child(2) { animation-delay: 0.6s; }
.hs-smoke circle:nth-child(3) { animation-delay: 1.2s; }
.hs-smoke circle:nth-child(4) { animation-delay: 1.8s; }
.hs-bin { fill: #44403c; stroke: #78716c; stroke-width: 1.5; }
.hs-flame path { fill: #f97316; transform-box: fill-box; transform-origin: 50% 100%; animation: dp-flicker 0.5s ease-in-out infinite alternate; }
.hs-siren rect { fill: #dc2626; }
.hs-strobe { fill: #57534e; animation: hs-strobe 6s linear infinite; }
.hs-ring { fill: none; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hs-ring--fire { stroke: #fb923c; animation: hs-ring 1.2s ease-out infinite, hs-win-fire 6s linear infinite; }
.hs-ring--theft { stroke: #f87171; animation: hs-ring 1.2s ease-out infinite, hs-win-theft 6s linear infinite; }
.hs-ring:nth-of-type(2) { animation-delay: 0.45s, 0s; }
.hs-frame { fill: #050a18; stroke: #475569; stroke-width: 2; }
.hs-door { fill: #475569; stroke: #94a3b8; stroke-width: 1.5; transform-box: fill-box; transform-origin: 0 50%; animation: hs-door 6s ease-in-out infinite; }
.hs-mag { fill: #22c55e; animation: hs-mag 6s linear infinite; }
.hs-cone { fill: rgba(56, 189, 248, 0.14); transform-box: view-box; transform-origin: 614px 90px; animation: dp-sweep 3s ease-in-out infinite, hs-cone 6s linear infinite; }
.hs-pir { fill: #e2e8f0; }
.hs-bsiren-b { fill: #e2e8f0; animation: hs-bsiren 6s linear infinite; }
.hs-bubble { opacity: 0; animation: hs-bubble 6s ease-out infinite; }
.hs-bubble rect { fill: #7f1d1d; stroke: #f87171; }
.hs-b1 { fill: #fff; font-size: 12px; font-weight: 800; }
.hs-b2 { fill: #fecaca; font-size: 10.5px; font-weight: 600; }

@keyframes hs-led-ok { 0%, 34% { opacity: 1; } 35%, 96% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes hs-led-hot {
  0%, 34% { opacity: 0; } 35% { opacity: 1; } 42% { opacity: 0.25; } 49% { opacity: 1; } 56% { opacity: 0.25; }
  63% { opacity: 1; } 70% { opacity: 0.25; } 77% { opacity: 1; } 84% { opacity: 0.25; } 91% { opacity: 1; } 96%, 100% { opacity: 0; }
}
@keyframes hs-win-detect { 0%, 34% { visibility: hidden; } 35%, 95% { visibility: visible; } 96%, 100% { visibility: hidden; } }
@keyframes hs-win-fire { 0%, 44% { visibility: hidden; } 45%, 95% { visibility: visible; } 96%, 100% { visibility: hidden; } }
@keyframes hs-win-theft { 0%, 31% { visibility: hidden; } 32%, 82% { visibility: visible; } 83%, 100% { visibility: hidden; } }
@keyframes hs-ring { 0% { transform: scale(0.6); opacity: 0.85; } 100% { transform: scale(2.3); opacity: 0; } }
@keyframes hs-rise {
  0% { transform: translate(0, 10px) scale(0.6); opacity: 0; }
  25% { opacity: 0.55; }
  100% { transform: translate(40px, -200px) scale(2.1); opacity: 0; }
}
@keyframes hs-strobe { 0%, 44% { fill: #57534e; } 45%, 95% { fill: #fef08a; } 96%, 100% { fill: #57534e; } }
@keyframes hs-door { 0%, 14% { transform: scaleX(1); } 22%, 72% { transform: scaleX(0.14); } 80%, 100% { transform: scaleX(1); } }
@keyframes hs-mag { 0%, 17% { fill: #22c55e; } 18%, 76% { fill: #ef4444; } 77%, 100% { fill: #22c55e; } }
@keyframes hs-cone { 0%, 24% { fill: rgba(56, 189, 248, 0.14); } 26%, 78% { fill: rgba(248, 113, 113, 0.32); } 80%, 100% { fill: rgba(56, 189, 248, 0.14); } }
@keyframes hs-bsiren { 0%, 31% { fill: #e2e8f0; } 32%, 82% { fill: #dc2626; } 83%, 100% { fill: #e2e8f0; } }
@keyframes hs-bubble {
  0%, 40% { opacity: 0; transform: translateY(10px); }
  46%, 84% { opacity: 1; transform: translateY(0); }
  90%, 100% { opacity: 0; transform: translateY(0); }
}

/* ---------- Overview + compare ---------- */
.dp-alm-prose { max-width: 72ch; }
.dp-alm-prose h2, .dp-alm-head h2 { margin: 0 0 0.7rem; font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.dp-alm-prose p, .dp-alm-head p { margin: 0 0 0.8rem; color: var(--alm-muted); line-height: 1.6; }
.dp-alm-prose strong { color: var(--alm-ink); }
.dp-alm-head { margin-bottom: 1.1rem; max-width: 72ch; }
.dp-alm-compare-wrap {
  margin-top: 1.2rem; border: 1px solid var(--alm-line); border-radius: 1rem; overflow: hidden; background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}
.dp-alm-compare { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.dp-alm-compare th, .dp-alm-compare td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(11, 18, 32, 0.08); }
.dp-alm-compare tbody tr:last-child th, .dp-alm-compare tbody tr:last-child td { border-bottom: 0; }
.dp-alm-compare tbody th { width: 18%; color: var(--alm-muted); font-weight: 700; }
.dp-alm-compare thead th { background: #f8fafc; }
.dp-alm-compare-h { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 800; text-decoration: none; }
.dp-alm-compare-h::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; }
.dp-alm-compare-h--fire { color: #9a3412; }
.dp-alm-compare-h--fire::before { background: #f97316; }
.dp-alm-compare-h--theft { color: #0369a1; }
.dp-alm-compare-h--theft::before { background: #0ea5e9; }
@media (max-width: 640px) {
  .dp-alm-compare th, .dp-alm-compare td { padding: 0.6rem 0.65rem; font-size: 0.84rem; }
  .dp-alm-compare tbody th { width: 24%; }
}

/* ---------- Fire section ---------- */
.dp-fire {
  margin: 0 0 0;
  padding: clamp(2.2rem, 5vw, 3.6rem) 0;
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(180, 83, 9, 0.22), transparent 60%),
    #161311;
  color: #f6f1ea;
}
.dp-fire h2, .dp-fire h3 { color: #fff; }
.dp-fire-hero {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center;
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}
@media (max-width: 900px) { .dp-fire-hero { grid-template-columns: 1fr; } }
.dp-fire-collage { position: relative; display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 0.6rem; min-height: 240px; }
.dp-fire-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; min-height: 160px; }
.dp-fire-collage img:first-child { grid-row: span 2; min-height: 280px; }
.dp-fire-badge {
  grid-column: 2; margin: 0; padding: 0.85rem 0.9rem; border-radius: 0.9rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
}
.dp-fire-badge b { display: block; margin-bottom: 0.25rem; }
.dp-fire-badge span { color: rgba(246,241,234,0.72); font-size: 0.86rem; }
.dp-fire-kicker, .dp-theft-kicker {
  display: inline-flex; margin: 0 0 0.6rem; color: #fdba74; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.dp-fire-hero h2 { margin: 0 0 0.7rem; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; }
.dp-fire-hero p { margin: 0 0 1rem; color: rgba(246,241,234,0.76); line-height: 1.6; max-width: 58ch; }
.dp-fire-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.dp-fire-chips li {
  padding: 0.32rem 0.65rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14);
  color: #ffedd5; font-size: 0.78rem; font-weight: 700;
}
.dp-fire-sub, .dp-theft-sub { max-width: 74ch; margin: 2rem 0 0.9rem; }
.dp-fire-sub h3, .dp-theft-sub h3 { margin: 0 0 0.4rem; font-size: 1.35rem; }
.dp-fire-sub p { margin: 0; color: rgba(246,241,234,0.72); line-height: 1.55; }
.dp-fire-arch {
  border: 1px solid rgba(255,255,255,0.1); border-radius: 1.15rem; padding: 0.6rem 0.4rem 0.2rem;
  background: rgba(0,0,0,0.28);
}
.dp-fire-arch svg { width: 100%; height: auto; display: block; }
.dp-fire-arch text { fill: #f6f1ea; font-size: 13px; font-weight: 700; text-anchor: middle; font-family: Manrope, "DM Sans", sans-serif; }
.arch-line { fill: none; stroke: rgba(245, 158, 11, 0.35); stroke-width: 3; stroke-linejoin: round; }
.arch-pulse { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.arch-pulse--full { stroke: #fbbf24; stroke-dasharray: 34 1800; animation: arch-full 8s linear infinite; }
.arch-pulse--a, .arch-pulse--b { stroke: #fb923c; }
.arch-pulse--a { stroke-dasharray: 34 600; animation: arch-a 8s linear infinite; }
.arch-pulse--b { stroke-dasharray: 34 1400; animation: arch-b 8s linear infinite; }
.arch-break { opacity: 0; animation: arch-break 8s linear infinite; }
.arch-gap { fill: #110e0c; }
.arch-x { fill: none; stroke: #ef4444; stroke-width: 3; stroke-linecap: round; }
.dp-fire-arch .arch-break-t { fill: #fca5a5; font-size: 12px; }
.arch-panel-body { fill: #2a211c; stroke: #a8a29e; stroke-width: 1.5; }
.arch-lcd { fill: #0c0a09; stroke: #fdba74; }
.dp-fire-arch .arch-lcd-t { fill: #86efac; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; }
.dp-fire-arch .arch-lcd-t--warn { fill: #fde68a; }
.dp-fire-arch .arch-lcd-s, .dp-fire-arch .arch-panel-s { fill: #d6d3d1; font-size: 11px; font-weight: 600; }
.arch-lcd-a { animation: arch-lcd-a 8s linear infinite; }
.arch-lcd-b { opacity: 0; animation: arch-lcd-b 8s linear infinite; }
.arch-led--ok { fill: #22c55e; }
.arch-led--fault { fill: #44403c; animation: arch-fault 8s linear infinite; }
.dp-fire-arch .arch-port { fill: rgba(253, 186, 116, 0.8); font-size: 11px; font-weight: 800; }
.arch-dot {
  fill: #2a211c; stroke: #a8a29e; stroke-width: 1.5;
  animation: arch-lit-fill 8s linear infinite, arch-lit-stroke 8s linear infinite;
  animation-delay: var(--a), var(--b);
}
.dp-fire-arch .arch-addr { font-size: 11px; font-weight: 800; fill: #fde68a; }
.dp-fire-arch .arch-label { font-size: 13px; }
.arch-halo { fill: none; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.arch-halo--a { stroke: #fbbf24; animation: arch-ping 8s ease-out infinite; animation-delay: var(--a); }
.arch-halo--b { stroke: #fb923c; animation: arch-ping 8s ease-out infinite; animation-delay: var(--b); }
.dp-arch-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.6rem; }
@media (max-width: 700px) { .dp-arch-legend { grid-template-columns: 1fr; } }
.dp-arch-state {
  display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.7rem 0.85rem; border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03);
  color: rgba(246, 241, 234, 0.8); font-size: 0.88rem; line-height: 1.45;
}
.dp-arch-state b {
  flex: none; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: rgba(251, 191, 36, 0.18); color: #fbbf24; font-size: 0.78rem;
}
.dp-arch-state--a { animation: arch-state-a 8s linear infinite; }
.dp-arch-state--b { animation: arch-state-b 8s linear infinite; }
.dp-fire-grid, .dp-theft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (max-width: 900px) { .dp-fire-grid, .dp-theft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .dp-fire-grid, .dp-theft-grid { grid-template-columns: 1fr; } }
.dp-fire-card, .dp-theft-card {
  padding: 0.95rem 1rem 1rem; border-radius: 0.95rem; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}
.dp-fire-no, .dp-theft-no { display: block; margin-bottom: 0.35rem; color: rgba(251, 146, 60, 0.8); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.04em; }
.dp-fire-card h3, .dp-theft-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.dp-fire-card p, .dp-theft-card p { margin: 0; color: rgba(246,241,234,0.7); font-size: 0.9rem; line-height: 1.5; }
.dp-fire-std { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
@media (max-width: 800px) { .dp-fire-std { grid-template-columns: 1fr; } }
.dp-fire-std div { border-left: 3px solid #f59e0b; padding: 0.15rem 0 0.15rem 0.85rem; }
.dp-fire-std b { display: block; margin-bottom: 0.25rem; color: #fff; }
.dp-fire-std span { color: rgba(246,241,234,0.7); font-size: 0.9rem; line-height: 1.45; }

/* ---------- Theft section ---------- */
.dp-theft {
  margin: 0 0 clamp(2.4rem, 5vw, 3.4rem);
  padding: clamp(2.2rem, 5vw, 3.6rem) 0;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(14, 165, 233, 0.2), transparent 60%),
    #0b1222;
  color: #e2e8f0;
}
.dp-theft h2, .dp-theft h3 { color: #fff; }
.dp-theft-kicker { color: #7dd3fc; }
.dp-theft-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.1rem; }
.dp-theft-head > div { max-width: 66ch; }
.dp-theft-head h2 { margin: 0 0 0.6rem; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; }
.dp-theft-head p { margin: 0; color: rgba(226, 232, 240, 0.74); line-height: 1.6; }
.dp-theft-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-theft-legend li { display: flex; align-items: center; gap: 0.5rem; }
.dp-theft-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; }
.dp-theft-dot--no { background: #ef4444; }
.dp-theft-dot--yes { background: #22c55e; }
.dp-theft-sub p { margin: 0; color: rgba(226, 232, 240, 0.72); line-height: 1.55; }
.dp-theft-no { color: rgba(56, 189, 248, 0.85); }
.dp-theft-card p { color: rgba(226, 232, 240, 0.7); }

/* ---------- Alarm scenario tints ---------- */
.dp-sim--theft { --sim-rgb: 56, 189, 248; }
.dp-sim--theft .dp-sim-stage { background: #0b1530; }
.dp-sim--theft .dp-sim-scene { top: auto; bottom: 0.85rem; }
@media (max-width: 640px) { .dp-sim--theft .dp-sim-scene { bottom: 0.4rem; } }
.dp-flow--theft { --fl-rgb: 56, 189, 248; --fl-text: #e2e8f0; --fl-muted: rgba(226, 232, 240, 0.62); }

/* ---------- Fire scene ---------- */
.fs-ground { fill: #0f0d0c; }
.fs-shell { fill: #201b18; stroke: rgba(255, 255, 255, 0.18); stroke-width: 2; }
.fs-void { fill: #2b231e; }
.fs-wall { stroke: rgba(255, 255, 255, 0.3); stroke-width: 4; }
.fs-room-l { fill: rgba(246, 241, 234, 0.42); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; }
.fs-tag { fill: #e7e5e4; font-size: 11px; font-weight: 700; text-anchor: middle; }
.fs-tag--dim { fill: rgba(231, 229, 228, 0.5); font-size: 10px; }
.fs-tag--warn { fill: #fca5a5; }
.fs-glow { opacity: 0; transition: opacity 1.2s ease; }
.s-detect .fs-glow { opacity: 1; animation: dp-glow 1.4s ease-in-out infinite alternate; }
.fs-haze { fill: #78716c; opacity: 0; transition: opacity 2.4s ease; }
.s-detect .fs-haze { opacity: 0.28; }
.s-verify .fs-haze { opacity: 0.45; }
.fs-cab rect { fill: #3f3a36; stroke: #a8a29e; stroke-width: 1.5; }
.fs-cab .fs-cab-in { fill: #292524; }
.fs-cab-line { stroke: #a8a29e; stroke-width: 3; stroke-linecap: round; }
.fs-flame { transform: scale(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.6s ease; }
.s-detect .fs-flame { transform: scale(1); }
.s-detect .fs-flame path { transform-box: fill-box; transform-origin: 50% 100%; animation: dp-flicker 0.45s ease-in-out infinite alternate; }
.fs-f1 { fill: #f97316; }
.fs-f2 { fill: #fde047; animation-delay: 0.15s !important; }
.fs-smoke circle { fill: #a8a29e; opacity: 0; transform-box: fill-box; transform-origin: center; }
.s-detect .fs-smoke circle { animation: fs-rise 2.25s ease-in infinite; animation-delay: var(--d, 0s); }
.fs-wire { fill: none; stroke: #57534e; stroke-width: 2.5; stroke-linejoin: round; }
.fs-pulse { fill: none; stroke: #f97316; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 10 14; opacity: 0; transition: opacity 0.3s ease; }
.s-detect .fs-pulse--in, .s-alarm .fs-pulse--out { opacity: 1; animation: dp-dash 0.7s linear infinite; }
.fs-det-body { fill: #f5f5f4; stroke: #a8a29e; stroke-width: 1.5; }
.fs-det-led { fill: #22c55e; animation: dp-led-slow 2.4s ease-in-out infinite; }
.s-detect .fs-det-led { fill: #ef4444; animation: dp-blink 0.45s steps(2) infinite; }
.fs-det-ring { fill: none; stroke: #ef4444; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.s-detect .fs-det-ring { animation: dp-ring 1.2s ease-out infinite; }
.s-detect .fs-det-ring--2 { animation-delay: 0.5s; }
.fs-panel-body { fill: #7f1d1d; stroke: #fca5a5; stroke-width: 1.5; }
.fs-lcd { fill: #0c0a09; stroke: #44403c; }
.fs-lcd1 { fill: #86efac; font-size: 11px; font-weight: 800; text-anchor: middle; letter-spacing: 0.04em; transition: fill 0.3s ease; }
.fs-lcd2 { fill: #d6d3d1; font-size: 9px; font-weight: 600; text-anchor: middle; }
.s-detect .fs-lcd1 { fill: #fde68a; }
.s-verify .fs-lcd1 { fill: #fecaca; animation: dp-blink 0.9s steps(2) infinite; }
.fs-led-pw { fill: #22c55e; }
.fs-led-fl { fill: #57534e; transition: fill 0.3s ease; }
.fs-led-fire { fill: #44403c; transition: fill 0.3s ease; }
.s-detect .fs-led-fl { fill: #f59e0b; }
.s-verify .fs-led-fire { fill: #ef4444; animation: dp-blink 0.6s steps(2) infinite; }
.fs-panel-t { fill: #fff; font-size: 11px; font-weight: 800; text-anchor: middle; }
.fs-spk-body { fill: #d6d3d1; }
.fs-wave { fill: none; stroke: #fdba74; stroke-width: 2; stroke-linecap: round; opacity: 0; }
.s-alarm .fs-wave { animation: dp-wave 1s ease-out infinite; }
.s-alarm .fs-wave--2 { animation-delay: 0.3s; }
.fs-siren-body { fill: #dc2626; stroke: #fecaca; stroke-width: 1.5; }
.fs-strobe { fill: #57534e; }
.s-alarm .fs-strobe { animation: fs-strobe 0.5s steps(2) infinite; }
.fs-ring { fill: none; stroke: #f87171; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.s-alarm .fs-ring { animation: dp-ring 1.1s ease-out infinite; }
.s-alarm .fs-ring--2 { animation-delay: 0.45s; }
.fs-call rect { fill: #dc2626; stroke: #fecaca; stroke-width: 1; }
.fs-call circle { fill: #fecaca; }
.fs-exit rect { fill: #14532d; stroke: #4ade80; stroke-width: 1.2; }
.fs-exit text { fill: #bbf7d0; font-size: 10px; font-weight: 800; text-anchor: middle; }
.s-alarm .fs-exit rect { animation: fs-exit 0.9s ease-in-out infinite alternate; }
.fs-door { fill: #78716c; stroke: #d6d3d1; stroke-width: 1.5; transition: opacity 0.6s ease; }
.s-control .fs-door { opacity: 0.12; }
.fs-lock rect { fill: #ef4444; transition: fill 0.3s ease; }
.fs-lock-sh { fill: none; stroke: #ef4444; stroke-width: 2.5; transition: transform 0.4s ease, stroke 0.3s ease; }
.s-control .fs-lock rect { fill: #22c55e; }
.s-control .fs-lock-sh { stroke: #22c55e; transform: translateY(-5px); }
.fs-person circle, .fs-person path { fill: #e7e5e4; }
.fs-person .fs-legs { fill: none; stroke: #e7e5e4; stroke-width: 4; stroke-linecap: round; }
.fs-person { transition: transform 2.4s ease-in-out; }
.s-alarm .fs-person--a { transform: translateX(120px); }
.s-alarm .fs-person--b { transform: translateX(110px); }
.s-control .fs-person--a { transform: translateX(330px); }
.s-control .fs-person--b { transform: translateX(350px); }
.s-notify .fs-person--a { transform: translateX(380px); }
.s-notify .fs-person--b { transform: translateX(405px); }
.s-alarm:not(.s-notify) .fs-person { animation: dp-bob 0.4s ease-in-out infinite alternate; }
.fs-assy path { stroke: #a8a29e; stroke-width: 3; }
.fs-assy rect { fill: #15803d; }
.fs-assy text { fill: #fff; font-size: 8px; font-weight: 800; text-anchor: middle; }
.fs-phone-body { fill: #0c0a09; stroke: #57534e; stroke-width: 2; transition: stroke 0.3s ease; }
.fs-phone-scr { fill: #1c1917; }
.fs-phone-clock { fill: #44403c; font-size: 26px; font-weight: 800; text-anchor: middle; }
.s-notify .fs-phone-body { stroke: #f97316; }
.fs-notif { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.s-notify .fs-notif { opacity: 1; transform: translateY(0); }
.fs-notif rect { fill: #7f1d1d; stroke: #f87171; }
.fs-n1 { fill: #fff; font-size: 8.5px; font-weight: 800; }
.fs-n2 { fill: #fecaca; font-size: 9.5px; font-weight: 700; }
.fs-n3 { fill: #fca5a5; font-size: 8px; font-weight: 600; }

@keyframes fs-rise {
  0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
  20% { opacity: 0.55; }
  100% { transform: translate(var(--x, 0), -150px) scale(2.3); opacity: 0; }
}
@keyframes fs-strobe { 0% { fill: #fef9c3; } 100% { fill: #57534e; } }
@keyframes fs-exit { from { fill: #14532d; } to { fill: #16a34a; } }

/* ---------- Theft scene ---------- */
.bs-day { opacity: 0; transition: opacity 1s ease; }
.is-alt .bs-day { opacity: 1; }
.bs-stars circle { fill: #fff; opacity: 0.7; transition: opacity 1s ease; }
.is-alt .bs-stars circle { opacity: 0; }
.bs-moon { fill: #fef3c7; transition: opacity 1s ease; }
.bs-sun { fill: #fbbf24; opacity: 0; transition: opacity 1s ease; }
.is-alt .bs-moon { opacity: 0; }
.is-alt .bs-sun { opacity: 1; }
.bs-ground { fill: #0f172a; transition: fill 1s ease; }
.is-alt .bs-ground { fill: #475569; }
.bs-room { fill: #172036; transition: fill 1s ease; }
.is-alt .bs-room { fill: #22314f; }
.bs-wall { fill: #334155; }
.bs-room-l { fill: rgba(226, 232, 240, 0.45); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; }
.is-alt .bs-room-l { fill: rgba(226, 232, 240, 0.7); }
.bs-tag { fill: #cbd5e1; font-size: 11px; font-weight: 700; text-anchor: middle; }
.bs-tag--end { text-anchor: end; }
.is-alt .bs-tag--out { fill: #0f172a; }
.bs-shelf rect { fill: #1e293b; stroke: #475569; stroke-width: 1.5; }
.bs-shelf path { stroke: #475569; stroke-width: 1.5; }
.bs-shelf .bs-prod { fill: #334155; stroke: none; }
.bs-wire { fill: none; stroke: #3b4a66; stroke-width: 2.5; stroke-linejoin: round; }
.bs-pulse { fill: none; stroke: #38bdf8; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 10 14; opacity: 0; transition: opacity 0.3s ease; }
.bs-pulse--siren { stroke: #f87171; }
.s-door .bs-pulse--door, .s-delay:not(.is-alt) .bs-pulse--pir, .s-siren .bs-pulse--siren { opacity: 1; animation: dp-dash 0.7s linear infinite; }
.s-disarm .bs-pulse { opacity: 0; }
.bs-cone { fill: rgba(56, 189, 248, 0.12); transform-box: view-box; transform-origin: 926px 72px; animation: dp-sweep 3s ease-in-out infinite; transition: fill 0.4s ease; }
.s-delay:not(.is-alt) .bs-cone { fill: rgba(248, 113, 113, 0.3); }
.bs-pir-body { fill: #e2e8f0; stroke: #64748b; stroke-width: 1.5; }
.bs-cam path { stroke: #64748b; stroke-width: 3; }
.bs-cam rect { fill: #e2e8f0; }
.bs-cam-lens { fill: #0f172a; }
.bs-rec { fill: #475569; }
.s-siren .bs-rec { fill: #ef4444; animation: dp-blink 0.8s steps(2) infinite; }
.bs-rec-t { fill: #f87171; font-size: 10px; font-weight: 800; text-anchor: middle; opacity: 0; transition: opacity 0.3s ease; }
.s-siren .bs-rec-t { opacity: 1; }
.bs-ring { fill: none; stroke: #f87171; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.s-siren .bs-ring { animation: dp-ring 1.1s ease-out infinite; }
.s-siren .bs-ring--2 { animation-delay: 0.45s; }
.bs-isiren-b { fill: #e2e8f0; stroke: #64748b; stroke-width: 1.5; transition: fill 0.3s ease; }
.s-siren .bs-isiren-b { fill: #dc2626; }
.bs-osiren-b { fill: #e2e8f0; stroke: #64748b; stroke-width: 1.5; }
.bs-strobe { fill: #94a3b8; }
.s-siren .bs-strobe { animation: bs-strobe 0.5s steps(2) infinite; }
.bs-frame { fill: #050a18; stroke: #475569; stroke-width: 2; transition: fill 1s ease; }
.is-alt .bs-frame { fill: #a5d2ea; }
.bs-door { transform-box: fill-box; transform-origin: 0 50%; transition: transform 0.8s ease; }
.s-door .bs-door { transform: scaleX(0.12); }
.s-disarm .bs-door { transform: scaleX(1); }
.bs-door-leaf { fill: #475569; stroke: #94a3b8; stroke-width: 1.5; }
.bs-knob { fill: #e2e8f0; }
.bs-mag-m, .bs-mag-f { fill: #22c55e; transition: fill 0.3s ease; }
.s-door .bs-mag-f { fill: #ef4444; }
.s-disarm .bs-mag-f { fill: #22c55e; }
.bs-kp-body { fill: #e2e8f0; stroke: #64748b; stroke-width: 1.5; }
.bs-kp-lcd { fill: #0f172a; }
.bs-kp-1 { fill: #86efac; font-size: 9px; font-weight: 800; text-anchor: middle; letter-spacing: 0.04em; }
.bs-kp-2 { fill: #cbd5e1; font-size: 7px; font-weight: 600; text-anchor: middle; }
.bs-kp-keys { stroke: #94a3b8; stroke-width: 6; stroke-linecap: round; }
.bs-kp-led { fill: #22c55e; }
.s-door .bs-kp-1 { fill: #fde68a; }
.s-delay .bs-kp-1 { animation: dp-blink 0.8s steps(2) infinite; }
.s-delay .bs-kp-led { fill: #f59e0b; }
.s-siren .bs-kp-1 { fill: #fca5a5; animation: none; }
.s-siren .bs-kp-led { fill: #ef4444; }
.s-disarm .bs-kp-1 { fill: #86efac; animation: none; }
.s-disarm .bs-kp-led { fill: #22c55e; }
.bs-panel-body { fill: #1e293b; stroke: #64748b; stroke-width: 1.5; }
.bs-panel-led { fill: #22c55e; }
.s-door .bs-panel-led { fill: #f59e0b; }
.s-siren .bs-panel-led { fill: #ef4444; animation: dp-blink 0.6s steps(2) infinite; }
.s-disarm .bs-panel-led { fill: #22c55e; }
.bs-panel-t { fill: #e2e8f0; font-size: 10px; font-weight: 800; text-anchor: middle; letter-spacing: 0.06em; }
.bs-panel-bat { fill: #0f172a; stroke: #475569; }
.bs-panel-bt { fill: #94a3b8; font-size: 9px; font-weight: 700; text-anchor: middle; }
.bs-man { transition: transform 1.8s ease-in-out; }
.bs-man-head, .bs-man-body { fill: #0b0f1a; stroke: #a5b4fc; stroke-width: 1.6; transition: fill 0.6s ease, stroke 0.6s ease; }
.bs-man-hood { fill: none; stroke: #a5b4fc; stroke-width: 2.5; transition: opacity 0.6s ease; }
.bs-man-legs { fill: none; stroke: #a5b4fc; stroke-width: 4; stroke-linecap: round; transition: stroke 0.6s ease; }
.is-alt .bs-man-head, .is-alt .bs-man-body { fill: #0d9488; stroke: #5eead4; }
.is-alt .bs-man-legs { stroke: #5eead4; }
.is-alt .bs-man-hood { opacity: 0; }
.s-door .bs-man { transform: translateX(175px); }
.s-delay .bs-man { transform: translateX(430px); }
.is-alt.s-delay .bs-man { transform: translateX(280px); }
.s-siren .bs-man { transform: translateX(450px); }
.s-notify .bs-man { transition-duration: 2.4s; transform: translateX(-120px); }
.s-disarm .bs-man { transform: translateX(280px); }
.bs-phone-body { fill: #020617; stroke: #334155; stroke-width: 2; transition: stroke 0.3s ease; }
.bs-phone-scr { fill: #0f172a; }
.bs-phone-clock { fill: #334155; font-size: 24px; font-weight: 800; text-anchor: middle; }
.s-notify .bs-phone-body { stroke: #f87171; }
.s-disarm .bs-phone-body { stroke: #4ade80; }
.bs-notif { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.s-notify .bs-notif--alarm, .s-disarm .bs-notif--ok { opacity: 1; transform: translateY(0); }
.bs-notif--alarm rect { fill: #7f1d1d; stroke: #f87171; }
.bs-notif--ok rect { fill: #14532d; stroke: #4ade80; }
.bs-n1 { fill: #fff; font-size: 8px; font-weight: 800; }
.bs-n2 { fill: #e2e8f0; font-size: 9px; font-weight: 700; }
.bs-n3 { fill: #cbd5e1; font-size: 7.5px; font-weight: 600; }

@keyframes bs-strobe { 0% { fill: #3b82f6; } 100% { fill: #ef4444; } }

/* ---------- Bands, specs, gallery, faq, cta ---------- */
.dp-alm-band { padding: clamp(1.8rem, 4vw, 2.8rem) 0; background: #fff; border-block: 1px solid var(--alm-line); }
.dp-alm-band--alt { background: linear-gradient(180deg, #f8fafc, #fff); }
.dp-alm-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.3rem, 3vw, 2.6rem); align-items: center; }
@media (max-width: 991px) { .dp-alm-feature { grid-template-columns: 1fr; } }
.dp-alm-feature--flip .dp-alm-media { order: 2; }
.dp-alm-feature--flip .dp-alm-copy { order: 1; }
@media (max-width: 991px) {
  .dp-alm-feature--flip .dp-alm-media, .dp-alm-feature--flip .dp-alm-copy { order: unset; }
}
.dp-alm-media { border-radius: 1.15rem; overflow: hidden; border: 1px solid var(--alm-line); background: #fff; }
.dp-alm-media img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.dp-alm-copy h2 { margin: 0 0 0.55rem; font-size: clamp(1.3rem, 2.3vw, 1.7rem); }
.dp-alm-copy p { margin: 0; color: var(--alm-muted); line-height: 1.55; }
.dp-alm-specs-wrap { border: 1px solid var(--alm-line); border-radius: 1rem; overflow: hidden; background: #fff; }
.dp-alm-specs { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.dp-alm-specs th, .dp-alm-specs td {
  padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}
.dp-alm-specs th { width: 32%; background: #f8fafc; }
.dp-alm-specs tr:last-child th, .dp-alm-specs tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .dp-alm-specs, .dp-alm-specs tbody, .dp-alm-specs tr, .dp-alm-specs th, .dp-alm-specs td { display: block; width: 100%; }
  .dp-alm-specs th { border-bottom: 0; padding-bottom: 0.15rem; }
}
.dp-alm-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
@media (max-width: 767px) { .dp-alm-gallery { grid-template-columns: 1fr; } }
.dp-alm-gallery figure { margin: 0; }
.dp-alm-gallery img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0.85rem; border: 1px solid var(--alm-line); display: block; }
.dp-alm-gallery figcaption { margin-top: 0.4rem; font-size: 0.82rem; font-weight: 700; color: var(--alm-muted); }
.dp-alm-faq details {
  border: 1px solid var(--alm-line); border-radius: 0.85rem; background: #fff; margin-bottom: 0.55rem; padding: 0.85rem 1rem;
}
.dp-alm-faq summary { cursor: pointer; font-weight: 700; }
.dp-alm-faq summary::-webkit-details-marker { display: none; }
.dp-alm-faq p { margin: 0.65rem 0 0; color: var(--alm-muted); line-height: 1.5; }
.dp-alm-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, #1c1917, #7c2d12); color: #fff;
}
.dp-alm-cta h2 { margin: 0 0 0.3rem; color: #fff; font-size: 1.35rem; }
.dp-alm-cta p { margin: 0; color: rgba(255,255,255,0.78); max-width: 46ch; }
.dp-alm-cta .dp-alm-btn--ghost { color: #fff; border-color: rgba(255,255,255,0.28); background: transparent; }

/* ---------- Shared keyframes ---------- */
@keyframes dp-blink { 50% { opacity: 0.35; } }
@keyframes dp-led-slow { 0%, 80%, 100% { opacity: 1; } 88% { opacity: 0.3; } }
@keyframes dp-ring { 0% { transform: scale(0.7); opacity: 0.85; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes dp-wave { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(4px); } }
@keyframes dp-dash { to { stroke-dashoffset: -24; } }
@keyframes dp-spin { to { transform: rotate(360deg); } }
@keyframes dp-flicker { 0% { transform: scale(1, 1) skewX(0deg); } 100% { transform: scale(0.9, 1.12) skewX(4deg); } }
@keyframes dp-glow { from { opacity: 0.65; } to { opacity: 1; } }
@keyframes dp-sweep { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(7deg); } }
@keyframes dp-bob { from { translate: 0 0; } to { translate: 0 -2px; } }
@keyframes arch-full {
  0% { stroke-dashoffset: 34; opacity: 1; }
  45% { stroke-dashoffset: -1718; opacity: 1; }
  45.5%, 100% { stroke-dashoffset: -1718; opacity: 0; }
}
@keyframes arch-a {
  0%, 49.9% { stroke-dashoffset: 34; opacity: 0; }
  50% { stroke-dashoffset: 34; opacity: 1; }
  90%, 97% { stroke-dashoffset: -434; opacity: 1; }
  98%, 100% { stroke-dashoffset: -434; opacity: 0; }
}
@keyframes arch-b {
  0%, 49.9% { stroke-dashoffset: 34; opacity: 0; }
  50% { stroke-dashoffset: 34; opacity: 1; }
  90%, 97% { stroke-dashoffset: -1250; opacity: 1; }
  98%, 100% { stroke-dashoffset: -1250; opacity: 0; }
}
@keyframes arch-break { 0%, 47% { opacity: 0; } 49%, 97% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes arch-lcd-a { 0%, 47% { opacity: 1; } 48%, 98% { opacity: 0; } 99%, 100% { opacity: 1; } }
@keyframes arch-lcd-b { 0%, 47% { opacity: 0; } 48%, 98% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes arch-fault { 0%, 47% { fill: #44403c; } 48%, 98% { fill: #f59e0b; } 99%, 100% { fill: #44403c; } }
@keyframes arch-ping { 0% { transform: scale(1); opacity: 0.9; } 9% { transform: scale(1.9); opacity: 0; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes arch-lit-fill { 0% { fill: #9a3412; } 12%, 100% { fill: #2a211c; } }
@keyframes arch-lit-stroke { 0% { stroke: #fb923c; stroke-width: 3; } 12%, 100% { stroke: #a8a29e; stroke-width: 1.5; } }
@keyframes arch-state-a {
  0%, 47% { border-color: rgba(251, 191, 36, 0.7); background: rgba(251, 191, 36, 0.08); opacity: 1; }
  49%, 98% { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); opacity: 0.5; }
  100% { border-color: rgba(251, 191, 36, 0.7); background: rgba(251, 191, 36, 0.08); opacity: 1; }
}
@keyframes arch-state-b {
  0%, 47% { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); opacity: 0.5; }
  49%, 98% { border-color: rgba(251, 146, 60, 0.7); background: rgba(251, 146, 60, 0.08); opacity: 1; }
  100% { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  .dp-hs *, .dp-sim *, .dp-flow *, .dp-flow, .dp-fire-arch *, .dp-arch-state { animation: none !important; transition: none !important; }
  .dp-flow--process .dp-flow-node { animation: none !important; }
}
