/* ==========================================================================
   BHARATEDGE — SOLUTION PAGE TEMPLATE (shared base)
   Scope: shared by every dedicated solution page (industrial-networking.html,
   security-surveillance.html, and future solution pages). This file is fully
   additive — it does not modify or override any selector in style.css,
   animations.css, responsive.css or sections-redesign.css, so no other page
   is affected.

   Every rule here is generic and namespaced under `.sol-` (hero shell,
   breadcrumb, chips, overview grid, diagram-frame primitives, deployment
   rail, stat band, FAQ accordion, etc). Page-specific visuals and
   interactions (e.g. the network schematic on Industrial Networking, the
   radar sweep on Security & Surveillance) live in that page's own
   dedicated stylesheet, loaded alongside this one.

   Tokens reused from style.css / sections-redesign.css :root — --primary,
   --primary-dark, --accent, --secondary, --gray, --white, --border,
   --shadow-*, --radius-*, --container, --transition, --mono,
   --blueprint-line, --blueprint-line-soft.
   ========================================================================== */

body.sol-page { font-family: "IBM Plex Sans", "Poppins", Arial, sans-serif; }

.sol-page section { padding: 128px 0; }
@media (max-width: 768px) { .sol-page section { padding: 92px 0; } }

/* --------------------------------------------------------------------------
   Shared: eyebrow tag, section headings on dark backgrounds, chip pills
   -------------------------------------------------------------------------- */
.sol-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.sol-eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .8; }

.sol-dark .section-title h2, .sol-dark.section-title h2 { color: #fff; }
.sol-dark .section-title p, .sol-dark.section-title p { color: rgba(226, 240, 252, .68); }
.sol-dark .section-title span { color: var(--accent); }

.sol-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(11, 60, 93, .04);
  color: var(--primary);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
.sol-dark .sol-chip { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #d8e9f7; }

/* --------------------------------------------------------------------------
   1. HERO
   -------------------------------------------------------------------------- */
.sol-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 176px 0 108px;
  background:
    radial-gradient(ellipse 920px 620px at 86% 6%, rgba(20, 100, 145, .38), transparent 60%),
    radial-gradient(ellipse 700px 500px at 8% 96%, rgba(245, 158, 11, .07), transparent 65%),
    linear-gradient(165deg, #0b3c5d 0%, #072b42 48%, #04101c 100%);
  color: #fff;
}
.sol-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, var(--blueprint-line) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, var(--blueprint-line) 0 1px, transparent 1px 44px);
  -webkit-mask-image: radial-gradient(ellipse 78% 78% at 66% 32%, #000 35%, transparent 86%);
  mask-image: radial-gradient(ellipse 78% 78% at 66% 32%, #000 35%, transparent 86%);
}
.sol-breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: rgba(226, 240, 252, .48);
}
.sol-breadcrumb a { color: rgba(226, 240, 252, .8); }
.sol-breadcrumb a:hover { color: var(--accent); }
.sol-breadcrumb i { font-size: 8px; opacity: .55; }
.sol-breadcrumb .is-current { color: var(--accent); }

.sol-hero-inner { position: relative; z-index: 2; max-width: 700px; }

.sol-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  margin-bottom: 28px;
  border: 1px solid rgba(245, 158, 11, .4);
  border-radius: 999px;
  background: rgba(245, 158, 11, .08);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.sol-hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(245, 158, 11, .95); }

.sol-hero h1 {
  max-width: 640px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.sol-hero-lede {
  max-width: 600px;
  margin-bottom: 40px;
  color: rgba(226, 240, 252, .82);
  font-size: clamp(16.5px, 1.5vw, 19px);
  line-height: 1.8;
}
.sol-hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 58px; }
.sol-hero .primary-btn { background: linear-gradient(135deg, #f7a928, #d98208); color: #071827; box-shadow: 0 18px 44px rgba(245, 158, 11, .28); }
.sol-hero .primary-btn:hover { background: linear-gradient(135deg, #ffc35d, #e58b0a); transform: translateY(-4px); }
.sol-hero .secondary-btn { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .06); }
.sol-hero .secondary-btn:hover { border-color: var(--accent); background: var(--accent); color: #071827; }

.sol-hero-clients { display: flex; flex-wrap: wrap; gap: 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.sol-hero-clients li {
  position: relative;
  padding: 4px 24px 4px 0;
  margin-right: 24px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(226, 240, 252, .58);
}
.sol-hero-clients li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(245, 158, 11, .75);
  transform: translateY(-50%);
}

.sol-hero-schematic {
  position: absolute;
  right: -30px;
  top: 50%;
  z-index: 1;
  width: min(660px, 44vw);
  opacity: .92;
  pointer-events: none;
  transform: translateY(-46%);
}
.sol-hero-schematic svg { width: 100%; height: auto; overflow: visible; }
.sol-schem-line { fill: none; stroke: rgba(148, 197, 230, .34); stroke-width: 1.5; }
.sol-schem-node { fill: #0c476b; stroke: rgba(148, 197, 230, .55); stroke-width: 1.5; }
.sol-schem-node-core { fill: var(--primary); stroke: var(--accent); stroke-width: 2; }
.sol-schem-pulse { fill: var(--accent); }
.sol-schem-label { fill: rgba(226, 240, 252, .55); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; }

@media (prefers-reduced-motion: no-preference) {
  .sol-schem-node-core { animation: solPulseRing 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
  .sol-schem-pulse { animation: solTravel 3.6s linear infinite; }
  .sol-schem-pulse:nth-child(2) { animation-delay: 1.2s; }
  .sol-schem-pulse:nth-child(3) { animation-delay: 2.4s; }
}
@keyframes solPulseRing { 0%, 100% { filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0)); } 50% { filter: drop-shadow(0 0 9px rgba(245, 158, 11, .75)); } }
@keyframes solTravel { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

@media (max-width: 1100px) {
  .sol-hero-schematic { width: min(520px, 50vw); opacity: .5; }
}
@media (max-width: 860px) {
  .sol-hero { padding: 152px 0 88px; text-align: left; }
  .sol-hero-schematic { right: -160px; top: auto; bottom: -60px; width: 520px; opacity: .16; transform: none; }
}
@media (max-width: 560px) {
  .sol-hero-actions { flex-direction: column; }
  .sol-hero-actions a { width: 100%; }
  .sol-hero-clients li { margin-right: 16px; padding-right: 16px; }
}

/* --------------------------------------------------------------------------
   2. OVERVIEW — "what is Industrial Networking"
   -------------------------------------------------------------------------- */
.sol-overview { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f5f9fc 100%); }
.sol-overview-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 76px; align-items: center; }
.sol-overview-copy h2 { margin: 16px 0 22px; color: var(--secondary); font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.2; }
.sol-overview-copy p { margin-bottom: 18px; color: var(--gray); font-size: 16.5px; line-height: 1.85; }
.sol-overview-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.sol-diagram-frame {
  position: relative;
  padding: 34px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(0deg, var(--blueprint-line-soft) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, var(--blueprint-line-soft) 0 1px, transparent 1px 34px),
    linear-gradient(160deg, #ffffff, #f3f8fb);
  box-shadow: var(--shadow-md);
}
.sol-diagram-frame::before {
  content: attr(data-figure);
  position: absolute;
  top: 14px;
  left: 28px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: rgba(11, 60, 93, .38);
}
.sol-diagram-frame svg { width: 100%; height: auto; margin-top: 14px; }
.sol-layer-band { fill: rgba(11, 60, 93, .035); stroke: rgba(11, 60, 93, .14); stroke-width: 1; stroke-dasharray: 3 4; }
.sol-layer-label { fill: var(--primary); font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .05em; }
.sol-layer-sub { fill: var(--gray); font-family: var(--mono); font-size: 9.5px; }
.sol-layer-node { fill: #fff; stroke: var(--primary); stroke-width: 1.6; }
.sol-layer-node-hot { fill: var(--accent); stroke: #d98208; }
.sol-layer-conn { stroke: rgba(11, 60, 93, .28); stroke-width: 1.4; fill: none; }

@media (max-width: 1000px) {
  .sol-overview-grid { grid-template-columns: 1fr; gap: 46px; }
}

/* --------------------------------------------------------------------------
   3. TECHNICAL CAPABILITIES — engineering spec list (not a card grid)
   -------------------------------------------------------------------------- */
.sol-capabilities {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, var(--blueprint-line) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, var(--blueprint-line) 0 1px, transparent 1px 44px),
    linear-gradient(165deg, #0b3c5d 0%, #072b42 55%, #04101c 100%);
  color: #fff;
}
.sol-cap-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 12px; max-width: none; text-align: left; }
.sol-cap-head .section-tag { color: var(--accent); }
.sol-cap-head h2 { margin-top: 14px; color: #fff; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; }
.sol-cap-count { font-family: var(--mono); font-size: 13px; color: rgba(226, 240, 252, .5); white-space: nowrap; padding-bottom: 6px; }

.sol-cap-list { margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .12); }
.sol-cap-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 34px;
  align-items: start;
  padding: 30px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: background .35s ease;
}
.sol-cap-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
.sol-cap-row:hover { background: rgba(255, 255, 255, .035); }
.sol-cap-row:hover::before { transform: scaleY(1); }
.sol-cap-index { font-family: var(--mono); font-size: 15px; font-weight: 600; color: rgba(226, 240, 252, .4); padding-top: 3px; }
.sol-cap-row:hover .sol-cap-index { color: var(--accent); }
.sol-cap-title { display: flex; align-items: flex-start; gap: 16px; }
.sol-cap-title i { flex: 0 0 auto; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; color: var(--accent); font-size: 17px; background: rgba(255, 255, 255, .04); }
.sol-cap-title h3 { color: #fff; font-size: 19px; font-weight: 700; line-height: 1.35; padding-top: 8px; }
.sol-cap-body p { color: rgba(226, 240, 252, .68); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.sol-cap-tags { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 900px) {
  .sol-cap-row { grid-template-columns: 50px 1fr; }
  .sol-cap-body { grid-column: 1 / -1; padding-left: 66px; }
  .sol-cap-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 560px) {
  .sol-cap-title { flex-direction: column; gap: 12px; }
  .sol-cap-body { padding-left: 0; }
  .sol-cap-row { grid-template-columns: 1fr; }
  .sol-cap-index { padding-top: 0; }
}

/* --------------------------------------------------------------------------
   4. DEPLOYMENT METHODOLOGY — reuses .trust-timeline verbatim (adds bg only)
   -------------------------------------------------------------------------- */
.sol-process { background: linear-gradient(135deg, rgba(235, 246, 255, .86), rgba(255, 255, 255, .84)); }

/* --------------------------------------------------------------------------
   5. WHERE IT'S DEPLOYED — environment rail (chips, not cards)
   -------------------------------------------------------------------------- */
.sol-deployment { position: relative; overflow: hidden; background: #fff; }
.sol-deploy-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.sol-deploy-rail { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; max-width: 1080px; margin: 0 auto; }
.sol-deploy-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 200px;
  padding: 30px 14px;
  text-align: center;
}
.sol-deploy-item i { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; color: var(--primary); font-size: 21px; background: rgba(11, 60, 93, .03); transition: var(--transition); }
.sol-deploy-item:hover i { border-color: var(--accent); color: var(--accent); background: rgba(245, 158, 11, .08); transform: translateY(-4px); }
.sol-deploy-item h3 { font-size: 15.5px; color: var(--secondary); font-weight: 700; }
.sol-deploy-item p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.sol-deploy-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46%;
  right: -1px;
  width: 1px;
  height: 44px;
  background: var(--border);
}
@media (max-width: 900px) { .sol-deploy-item:not(:last-child)::after { display: none; } .sol-deploy-item { width: 42%; } }
@media (max-width: 560px) { .sol-deploy-item { width: 100%; padding: 20px 10px; } }

/* --------------------------------------------------------------------------
   6. TRACK RECORD — stat band (not achievement-card boxes)
   -------------------------------------------------------------------------- */
.sol-trackrecord {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(11, 60, 93, .95), rgba(8, 39, 61, .96) 58%, rgba(6, 27, 45, .98));
  color: #fff;
}
.sol-stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 50px auto 0;
}
.sol-stat {
  position: relative;
  padding: 10px 24px;
  text-align: center;
}
.sol-stat:not(:last-child)::after { content: ""; position: absolute; top: 8%; right: 0; width: 1px; height: 84%; background: rgba(255, 255, 255, .14); }
.sol-stat h3 { margin-bottom: 10px; color: var(--accent); font-family: var(--mono); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; }
.sol-stat p { color: rgba(226, 240, 252, .68); font-size: 14px; line-height: 1.5; }
@media (max-width: 860px) { .sol-stat-band { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } .sol-stat:nth-child(2)::after { display: none; } }
@media (max-width: 480px) { .sol-stat-band { grid-template-columns: 1fr; } .sol-stat::after { display: none !important; } }

/* --------------------------------------------------------------------------
   7. FAQ
   -------------------------------------------------------------------------- */
.sol-faq { background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(238, 246, 251, .92)); }
.sol-faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 16px; }
.sol-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}
.sol-faq-item:hover, .sol-faq-item[open] { border-color: rgba(245, 158, 11, .4); box-shadow: var(--shadow-md); }
.sol-faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 58px 22px 24px;
  color: var(--secondary);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}
.sol-faq-item summary::-webkit-details-marker { display: none; }
.sol-faq-item summary::after {
  content: "\f067";
  position: absolute;
  right: 24px;
  top: 50%;
  color: var(--accent);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 15px;
  transform: translateY(-50%);
  transition: transform .32s ease;
}
.sol-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.sol-faq-item summary .sol-faq-index { flex: 0 0 auto; font-family: var(--mono); font-size: 13px; color: rgba(11, 60, 93, .38); }
.sol-faq-item p { padding: 0 24px 24px 62px; color: var(--gray); font-size: 15px; line-height: 1.75; }

/* --------------------------------------------------------------------------
   Reveal-on-scroll compatibility (uses the site's existing .reveal system —
   classes are applied directly in HTML since these elements aren't targeted
   by animations.js's stagger list; the shared IntersectionObserver still
   picks them up automatically because it queries .reveal at init time)
   -------------------------------------------------------------------------- */
.sol-cap-row.reveal.active, .sol-deploy-item.reveal.active, .sol-stat.reveal.active { transform: none; }
