/* Güvenlik duvarı sayfası: hero, modem karşılaştırması, UTM modülleri */
.dp-fw { --fw-violet: #6d4fc2; }
.dp-fw .dp-net-kicker { color: var(--fw-violet); }

/* Hero */
.dp-fw .nh-k { fill: #c4b5fd; }
.fh-lane { fill: none; stroke: rgba(148, 163, 184, 0.26); stroke-width: 3; stroke-linecap: round; }
.fh-lane--ok { stroke: rgba(74, 222, 128, 0.35); }
.fh-run { fill: none; stroke: #86efac; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 30; animation: nd-flow 1.3s linear infinite; }
.fh-run--2 { animation-delay: -0.4s; }
.fh-run--3 { animation-delay: -0.8s; }
.fh-glow { animation: nd-breathe 3s ease-in-out infinite; }
.fh-wall rect { fill: #7c2d12; stroke: #c2410c; stroke-width: 1; }
.fh-badge circle { fill: #4c1d95; stroke: #c4b5fd; stroke-width: 2; }
.fh-badge path { fill: rgba(196, 181, 253, 0.25); stroke: #ede9fe; stroke-width: 1.6; stroke-linejoin: round; }
.fh-badge .fh-badge-t { fill: none; stroke: #4ade80; stroke-width: 2.4; stroke-linecap: round; }
.fh-pkt { offset-rotate: 0deg; offset-distance: 0%; opacity: 0; animation: fh-ok 3.2s linear infinite; }
.fh-pkt--ok rect { fill: #4ade80; stroke: #14532d; stroke-width: 1; }
.fh-pkt--bad { animation-name: fh-bad; }
.fh-pkt--bad circle { fill: #ef4444; filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.9)); }
.fh-x { opacity: 0; animation: fh-x 3.2s linear infinite; }
.fh-x circle { fill: #ef4444; }
.fh-x path { stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
@keyframes fh-ok {
  0% { offset-distance: 0%; opacity: 0; }
  6% { opacity: 1; }
  88% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes fh-bad {
  0% { offset-distance: 0%; opacity: 0; }
  6% { opacity: 1; }
  55% { offset-distance: 96%; opacity: 1; }
  62% { offset-distance: 88%; opacity: 0; }
  100% { offset-distance: 88%; opacity: 0; }
}
@keyframes fh-x { 0%, 53% { opacity: 0; } 56%, 74% { opacity: 1; } 82%, 100% { opacity: 0; } }
.fh-mod rect { fill: rgba(15, 23, 42, 0.85); stroke: rgba(167, 139, 250, 0.35); }
.fh-mod circle { fill: #4ade80; }
.fh-mod text { fill: #e2e8f0; font-size: 11px; font-weight: 800; }
.fh-mod { animation: fh-mod 3s ease-in-out infinite; }
@keyframes fh-mod { 0%, 100% { opacity: 0.6; } 15%, 30% { opacity: 1; } }

/* Modem vs firewall */
.dp-fw-vs { border-radius: 1.25rem; border: 1px solid var(--net-line); background: #fff; overflow: hidden; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06); }
.dp-fw-vs__head, .dp-fw-vs__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0.75rem; padding: 0.75rem 1.1rem; }
.dp-fw-vs__head { background: #f8fafc; border-bottom: 1px solid var(--net-line); }
.dp-fw-vs__head b { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; }
.dp-fw-vs__head b.is-fw { color: var(--fw-violet); }
.dp-fw-vs__ico { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 0.6rem; background: #e2e8f0; color: #475569; flex: none; }
.is-fw .dp-fw-vs__ico { background: rgba(109, 79, 194, 0.12); color: var(--fw-violet); }
.dp-fw-vs__ico svg, .dp-fw-mod__ico svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dp-fw-vs__row { border-bottom: 1px solid rgba(11, 18, 32, 0.06); font-size: 0.92rem; font-weight: 600; animation: fw-row 0.5s ease both; animation-delay: calc(var(--i) * 0.06s); }
.dp-fw-vs__row:last-child { border-bottom: 0; }
.dp-fw-vs__row em { justify-self: start; font-style: normal; font-size: 0.8rem; font-weight: 800; padding: 0.25rem 0.65rem; border-radius: 999px; }
.dp-fw-vs__row em.is-no { background: #fee2e2; color: #991b1b; }
.dp-fw-vs__row em.is-yes { background: #dcfce7; color: #166534; }
.dp-fw-vs__row em.is-fw { background: #ede9fe; color: #5b21b6; }
@keyframes fw-row { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .dp-fw-vs__head, .dp-fw-vs__row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.5rem; padding: 0.65rem 0.75rem; }
  .dp-fw-vs__head b { font-size: 0.78rem; flex-direction: column; gap: 0.25rem; }
  .dp-fw-vs__row { font-size: 0.84rem; }
  .dp-fw-vs__row em { font-size: 0.72rem; padding: 0.2rem 0.5rem; }
}

/* UTM modülleri */
.dp-fw-mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 960px) { .dp-fw-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dp-fw-mods { grid-template-columns: 1fr; } }
.dp-fw-mod {
  display: flex; flex-direction: column; gap: 0.5rem; padding: 1.1rem; border-radius: 1.1rem; background: #fff;
  border: 1px solid var(--net-line); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.dp-fw-mod:hover { transform: translateY(-3px); border-color: rgba(109, 79, 194, 0.4); box-shadow: 0 18px 36px rgba(76, 29, 149, 0.12); }
.dp-fw-mod h3 { margin: 0.2rem 0 0; font-size: 1.05rem; }
.dp-fw-mod p { margin: 0; color: var(--net-muted); font-size: 0.9rem; line-height: 1.55; }
.dp-fw-mod__ico { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 0.8rem; background: linear-gradient(135deg, #4c1d95, #6d4fc2); color: #fff; }
.dp-fw-mod__ico svg { width: 1.3rem; height: 1.3rem; }
.dp-fw-mod__log {
  display: flex; align-items: center; gap: 0.5rem; margin-top: auto; padding: 0.55rem 0.7rem; border-radius: 0.7rem;
  background: #0f172a; color: #c4b5fd; font: 700 0.74rem/1.35 ui-monospace, Menlo, monospace;
}
.dp-fw-mod__log i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #4ade80; flex: none; animation: nd-breathe 1.4s ease-in-out infinite; animation-delay: calc(var(--i) * -0.25s); }
.dp-fw .dp-use-prods span { display: inline-flex; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--use-dark, #0f172a); color: #fff; font-size: 0.8rem; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .dp-fw * { animation: none !important; }
  .fh-pkt, .fh-x { display: none; }
}
