/* ==========================================================================
   NetScope India — Universal Bright SaaS Design System
   Matches index.html structure across all subpages and city reports
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --bg: #ffffff;
  --bg2: #f8fafc;
  --panel: #ffffff;
  --panel2: #f1f5f9;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --text: #0f172a;
  --muted: #64748b;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-bg: #eff6ff;
  --cyan: #0284c7;
  --green: #059669;
  --green-bg: #ecfdf5;
  --amber: #d97706;
  --amber-bg: #fffbeb;
  --red: #dc2626;
  --shadow: 0 12px 30px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --radius: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  background: var(--bg2);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: 20px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: .15s ease;
}

button, input, select {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: auto;
}

.mono {
  font-family: "JetBrains Mono", monospace;
}

/* ==========================================
   Topbar & Navigation
   ========================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .2);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.navlinks {
  display: flex;
  gap: 6px;
  align-items: center;
}

.navlinks a {
  color: #475569;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: .15s;
}

.navlinks a:hover, .navlinks a.active {
  background: var(--panel2);
  color: var(--blue);
}

.nav-cta {
  padding: 9px 16px !important;
  background: var(--blue) !important;
  color: #ffffff !important;
  border-radius: 8px;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--blue-hover) !important;
}

.menu {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* ==========================================
   Page Headers & Hero
   ========================================= */
.page-hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #bfdbfe;
  background: var(--blue-bg);
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-title {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--text);
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto;
}

.gradient {
  color: var(--blue);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: .18s transform, .18s box-shadow;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .25);
}

.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 6px 20px rgba(37, 99, 235, .35);
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.btn-secondary:hover {
  background: var(--panel2);
  border-color: var(--muted);
}

/* ==========================================
   Sections & Cards
   ========================================== */
section {
  padding: 65px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}

.kicker {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.section-title {
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--text);
  margin-top: 6px;
}

.section-copy {
  color: var(--muted);
  max-width: 580px;
  font-size: 15px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: .2s transform, .2s border-color;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}

.card-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

.tag {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
}

/* ==========================================
   Metrics Grid
   ========================================== */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metric-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.metric-card b {
  font-size: 26px;
  color: var(--text);
  display: block;
  margin: 4px 0;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ==========================================
   City Stat Panels
   ========================================== */
.city-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.city-stat-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.city-stat-box span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.city-stat-box b {
  display: block;
  font-size: 24px;
  color: var(--text);
  margin-top: 4px;
}

.content-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  margin-bottom: 24px;
}

.content-panel h2, .content-panel h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 12px;
}

.content-panel p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ==========================================
   Funnel Conversion Callout Box
   ========================================== */
.funnel-cta-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 30px 0;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .08);
}

.funnel-cta-content h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.funnel-cta-content p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
}

/* ==========================================
   Sticky Mobile Quick Install Pill
   ========================================== */
.sticky-install-bar {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(140px);
  z-index: 950;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 10px 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  color: #ffffff;
  max-width: min(440px, calc(100% - 32px));
  width: max-content;
  opacity: 0;
  pointer-events: none;
}

.sticky-install-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-install-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
}

.sticky-install-info strong {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.sticky-install-info span {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
}

.sticky-install-btn {
  background: var(--blue);
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

.sticky-install-btn:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

/* ==========================================
   Download Hub Block
   ========================================== */
.download {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  border-radius: 24px;
  padding: 48px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.download-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 35px;
  align-items: center;
}

.download h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -.035em;
  color: #ffffff;
}

.download p {
  color: #cbd5e1;
  margin: 14px 0 20px;
  max-width: 600px;
  font-size: 15px;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
}

.apk-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 22px;
  border-radius: 16px;
}

.apk-card .version {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 4px 0;
}

.apk-card small {
  color: #94a3b8;
  font-weight: 600;
}

.apk-btn {
  width: 100%;
  margin-top: 16px;
}

/* ==========================================
   FAQ Accordions
   ========================================== */
.faq {
  max-width: 760px;
  margin: auto;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.faq summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--text);
  outline: none;
}

.faq p {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 14px;
}

/* ==========================================
   Footer (Spacious, Clean & Non-Overlapping)
   ========================================== */
footer {
  padding: 55px 0 28px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-grid h4 {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
}

.footer-grid p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  display: inline-block;
  transition: color .15s ease, transform .15s ease;
}

.footer-links-list a:hover {
  color: var(--blue);
  transform: translateX(2px);
}

.copyright {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive */
@media (max-width: 900px) {
  .navlinks { display: none; }
  .menu { display: block; }
  .navlinks.open {
    display: flex;
    position: absolute;
    top: 71px;
    left: 16px;
    right: 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px;
    border-radius: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .cards, .city-stat-grid { grid-template-columns: 1fr 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .funnel-cta-box { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .nav { height: 64px; }
  .cards, .metrics, .city-stat-grid, .checklist, .footer-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-copy { margin-top: 10px; }
  .download { padding: 28px 18px; }
  .copyright { display: block; }
  .copyright span { display: block; margin-top: 6px; }
}

@media (max-width: 480px) {
  .sticky-install-bar {
    bottom: 14px;
    padding: 6px 8px 6px 12px;
    gap: 10px;
    max-width: calc(100% - 24px);
  }
  .sticky-install-info strong {
    font-size: 12px;
  }
  .sticky-install-info span {
    font-size: 10px;
  }
  .sticky-install-btn {
    padding: 6px 12px;
    font-size: 11.5px;
  }
}

