/* ==========================================================================
   BHARATEDGE — SECURITY & SURVEILLANCE SOLUTION PAGE
   Scope: security-surveillance.html only. Loaded alongside the shared
   css/solutions-template.css (hero shell, breadcrumb, chips, overview grid,
   diagram-frame, deployment rail, stat band, FAQ accordion, CTA — all reused
   verbatim from there). Everything in *this* file is specific to this page:
   the radar sweep, the AI detection showcase, the capability explorer and
   the incident-response console. Fully additive — no existing selector is
   touched.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero: live-monitoring badge + radar sweep (replaces the network schematic)
   -------------------------------------------------------------------------- */
.sec-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(226, 240, 252, .68);
}
.sec-live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #ff4d4f; }
.sec-live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid #ff4d4f;
  animation: secLivePing 1.8s ease-out infinite;
}
@keyframes secLivePing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

.sec-hero-radar {
  width: min(480px, 38vw) !important;
  aspect-ratio: 1 / 1;
  right: 10px !important;
  transform: translateY(-50%) !important;
}
.sec-radar { position: relative; width: 100%; height: 100%; }
.sec-radar svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sec-radar-ring { fill: none; stroke: rgba(148, 197, 230, .3); stroke-width: 1.2; }
.sec-radar-ring.is-dashed { stroke-dasharray: 3 6; stroke: rgba(148, 197, 230, .22); }
.sec-radar-cross { stroke: rgba(148, 197, 230, .16); stroke-width: 1; }
.sec-radar-core { fill: var(--accent); filter: drop-shadow(0 0 8px rgba(245, 158, 11, .85)); }
.sec-radar-blip { fill: var(--accent); }
.sec-radar-blip.is-blue { fill: #5fc4ff; }
.sec-radar-sweep-wrap { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.sec-radar-sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, rgba(245, 158, 11, .5), rgba(245, 158, 11, 0) 24%, rgba(245, 158, 11, 0) 100%);
  mix-blend-mode: screen;
}

@media (prefers-reduced-motion: no-preference) {
  .sec-radar-sweep { animation: secSweep 5s linear infinite; }
  .sec-radar-blip { animation: secBlip 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
}
@keyframes secSweep { to { transform: rotate(360deg); } }
@keyframes secBlip { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: 1; transform: scale(1.6); } }

@media (max-width: 1100px) { .sec-hero-radar { opacity: .55; } }
@media (max-width: 860px) {
  .sec-hero-radar { right: -110px !important; top: auto !important; bottom: -70px !important; width: 380px !important; opacity: .18; transform: none !important; }
}

/* Slow horizontal scan-line sweeping the whole hero — cinematic monitoring cue */
.sol-hero.sec-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 120px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(94, 196, 255, 0) 0%, rgba(94, 196, 255, .07) 50%, rgba(94, 196, 255, 0) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .sol-hero.sec-hero::after { animation: secScan 7s linear infinite; }
}
@keyframes secScan { 0% { top: -120px; } 100% { top: 100%; } }

/* --------------------------------------------------------------------------
   AI Detection Showcase
   -------------------------------------------------------------------------- */
.sec-detect {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0b3c5d 0%, #072b42 55%, #04101c 100%);
  color: #fff;
}
.sec-detect-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.sec-detect-stage {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.sec-detect-stage::before {
  content: "LIVE ANALYTICS FEED";
  position: absolute;
  top: 16px;
  left: 26px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: rgba(226, 240, 252, .55);
}
.sec-detect-stage::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 90px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(94, 196, 255, 0) 0%, rgba(94, 196, 255, .1) 50%, rgba(94, 196, 255, 0) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .sec-detect-stage::after { animation: secScan 6s linear infinite; }
}
.sec-detect-scene { display: block; width: 100%; height: auto; }
.sec-scene-ground { stroke: rgba(148, 197, 230, .25); stroke-width: 1; }
.sec-scene-structure { fill: rgba(148, 197, 230, .05); stroke: rgba(148, 197, 230, .32); stroke-width: 1.4; }
.sec-scene-subject { fill: rgba(94, 196, 255, .1); stroke: rgba(148, 197, 230, .55); stroke-width: 1.4; }

.sec-detect-box { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.sec-detect-corner { stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }
.sec-detect-tag-bg { fill: #0b1c2c; stroke: rgba(245, 158, 11, .5); stroke-width: 1; }
.sec-detect-tag-text { fill: var(--accent); font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.sec-detect-lead { stroke: rgba(245, 158, 11, .5); stroke-width: 1; stroke-dasharray: 2 3; }

.sec-detect-caption { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 32px; }
.sec-detect-caption div { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12.5px; color: rgba(226, 240, 252, .68); }
.sec-detect-caption span { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* --------------------------------------------------------------------------
   Capability Explorer — accessible tab component (light section)
   -------------------------------------------------------------------------- */
.sec-explorer-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-md); }
.sec-explorer-nav { display: flex; flex-direction: column; background: linear-gradient(180deg, #f7fafc, #eef4f8); border-right: 1px solid var(--border); }
.sec-explorer-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 22px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--secondary);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.sec-explorer-btn i { flex: 0 0 auto; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(11, 60, 93, .06); color: var(--primary); font-size: 14px; transition: var(--transition); }
.sec-explorer-btn .sec-explorer-num { flex: 0 0 auto; font-family: var(--mono); font-size: 12px; color: var(--gray); }
.sec-explorer-btn:hover { background: rgba(11, 60, 93, .045); }
.sec-explorer-btn.is-active { background: #fff; color: var(--primary); box-shadow: inset 3px 0 0 var(--accent); }
.sec-explorer-btn.is-active i { background: var(--accent); color: #071827; }
.sec-explorer-btn.is-active .sec-explorer-num { color: var(--accent); }

.sec-explorer-panels { position: relative; padding: 42px 44px; }
.sec-explorer-panel { display: none; }
.sec-explorer-panel.is-active { display: block; animation: secPanelIn .45s ease both; }
@keyframes secPanelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.sec-explorer-panel h3 { margin-bottom: 14px; color: var(--secondary); font-size: clamp(21px, 2vw, 25px); font-weight: 800; }
.sec-explorer-panel p { margin-bottom: 22px; color: var(--gray); font-size: 15.5px; line-height: 1.8; }
.sec-explorer-tags { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 860px) {
  .sec-explorer-grid { grid-template-columns: 1fr; }
  .sec-explorer-nav { flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sec-explorer-btn { flex: 0 0 auto; width: auto; white-space: nowrap; border-bottom: none; border-right: 1px solid var(--border); }
  .sec-explorer-btn.is-active { box-shadow: inset 0 -3px 0 var(--accent); }
  .sec-explorer-panels { padding: 32px 26px; }
}

/* --------------------------------------------------------------------------
   Command & Control — incident response console log
   -------------------------------------------------------------------------- */
.sec-console {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(4, 12, 20, .93), rgba(4, 12, 20, .8) 46%, rgba(4, 12, 20, .55) 78%),
    url("../images/hero/slide2.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
}
.sec-console .section-title h2, .sec-console .section-title p { color: #fff; }
.sec-console .section-title p { color: rgba(226, 240, 252, .7); }
.sec-console-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.sec-console-intro p { color: rgba(226, 240, 252, .78); font-size: 16px; line-height: 1.85; margin-bottom: 22px; }
.sec-console-intro .sol-chip { margin: 4px 8px 0 0; }

.sec-console-log { position: relative; padding-left: 30px; border-left: 1px solid rgba(255, 255, 255, .16); }
.sec-console-item { position: relative; padding-bottom: 34px; }
.sec-console-item:last-child { padding-bottom: 0; }
.sec-console-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .18);
}
.sec-console-stage { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--accent); }
.sec-console-item h3 { margin-bottom: 6px; color: #fff; font-size: 17px; font-weight: 700; }
.sec-console-item p { color: rgba(226, 240, 252, .68); font-size: 14.5px; line-height: 1.7; }

@media (max-width: 900px) {
  .sec-console-grid { grid-template-columns: 1fr; gap: 42px; }
}

/* --------------------------------------------------------------------------
   Deployment rail icon variant — rounded-square instead of circle, for a
   touch of visual variety from the Industrial Networking page's circles
   -------------------------------------------------------------------------- */
.sec-page .sol-deploy-item i { border-radius: 12px; }
