/* ==========================================================================
   NYAYA SETU (न्याय सेतु) - CIVIC TRANSPARENCY & LEGAL REDRESSAL PLATFORM
   Clean Editorial White Aesthetic (Professional FontAwesome Icons, No Emojis)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Tiro+Devanagari+Hindi:ital@0;1&display=swap');

:root {
  /* Crisp Editorial Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-surface: #f4f4f5;
  --border-light: #e4e4e7;
  --border-dark: #18181b;
  
  --text-main: #09090b;
  --text-body: #27272a;
  --text-muted: #71717a;
  --text-dim: #a1a1aa;
  
  --yellow-highlight: #fef08a;
  --yellow-badge: #fde047;
  --accent-black: #000000;
  --accent-emerald: #15803d;
  --accent-rose: #be123c;
  
  /* Typography */
  --font-serif: 'Newsreader', Georgia, Cambria, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-hindi: 'Tiro Devanagari Hindi', serif;

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease-in-out;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Yellow Highlighter Effect */
.highlight-yellow {
  background-color: var(--yellow-highlight);
  color: #000000;
  padding: 0 4px;
  display: inline;
  font-style: italic;
}

.badge-yellow {
  background-color: var(--yellow-badge);
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.serif-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
a:hover {
  opacity: 0.75;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  border-bottom: 1px solid var(--border-light);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 1rem;
}

.brand-mono {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #000000;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-mono .hindi {
  font-family: var(--font-hindi);
  font-size: 1.05rem;
  font-weight: 600;
  color: #d97706;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links li {
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  padding: 0.25rem 0.2rem;
  transition: color var(--transition-fast);
}
.nav-links a:hover, .nav-links a.active {
  color: #000000;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Buttons */
.btn-black {
  background: #000000;
  color: #ffffff !important;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-xs);
  border: 1px solid #000000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.btn-black:hover {
  background: #27272a;
  border-color: #27272a;
  transform: translateY(-1px);
}

.btn-yellow {
  background: var(--yellow-badge);
  color: #000000 !important;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--yellow-badge);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}
.btn-yellow:hover {
  background: #facc15;
  transform: translateY(-1px);
}

.btn-white {
  background: #ffffff;
  color: #000000 !important;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-xs);
  border: 1px solid #000000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}
.btn-white:hover {
  background: #f4f4f5;
}

.btn-icon {
  background: transparent;
  border: none;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
}
.btn-icon:hover {
  color: #000000;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-editorial {
  padding: 3.5rem 0 2.5rem;
}

.live-indicator {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.hero-big-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #000000;
  margin-bottom: 1.5rem;
}

.hero-subtitle,
.hero-tagline-text {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-cta-group,
.hero-btn-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* ==========================================================================
   3-COLUMN METRICS BAR
   ========================================================================== */
.metrics-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  margin-bottom: 4rem;
}

.metric-col {
  padding: 1.75rem 2rem;
  border-right: 1px solid var(--border-light);
}
.metric-col:last-child {
  border-right: none;
}

.metric-micro-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.metric-big-num {
  font-family: var(--font-mono);
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1;
  color: #000000;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.metric-sub-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dept-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
}
.dept-bar-name {
  font-weight: 600;
  width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dept-bar-line-wrap {
  flex: 1;
  height: 5px;
  background: #e4e4e7;
  margin: 0 0.75rem;
}
.dept-bar-fill-black {
  height: 100%;
  background: #000000;
}
.dept-bar-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  width: 32px;
  text-align: right;
}

/* ==========================================================================
   "Live reports." HEADER & TICKER
   ========================================================================== */
.live-reports-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
}

.section-serif-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.1;
  color: #000000;
}

.section-serif-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 480px;
  text-align: right;
  line-height: 1.45;
}

.ticker-strip {
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  padding: 0.75rem 1rem;
  margin-bottom: 3.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fafafa;
}

/* ==========================================================================
   TRANSPARENCY MAP & STATE REGISTRY LEDGER
   ========================================================================== */
.transparency-map-section {
  margin-bottom: 4.5rem;
}

.transparency-map-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.map-ledger-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid #000000;
  background: #ffffff;
  min-height: 520px;
}

/* Leaflet Map Box */
.map-canvas-box {
  background: #f4f4f5;
  border-right: 1px solid #000000;
  position: relative;
  height: 540px;
  width: 100%;
}
#indiaLeafletMap {
  width: 100%;
  height: 100%;
  background: #f4f4f5;
}

/* Map Popup Card */
.map-popup-card {
  min-width: 150px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.map-popup-header {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #444;
  color: #ffffff;
}
.map-popup-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}
.map-popup-label {
  color: #a1a1aa;
  font-size: 0.72rem;
}
.map-popup-val {
  font-weight: 700;
  color: #ffffff;
}

.custom-leaflet-tooltip {
  background: #000000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--radius-xs) !important;
  padding: 8px 12px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4) !important;
}

/* State Registry Ledger */
.ledger-box {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.ledger-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.ledger-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ledger-sort-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.ledger-sort-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}
.ledger-sort-btn.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.ledger-rows-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow-y: auto;
  max-height: 420px;
  padding-right: 4px;
}

.ledger-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.84rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.ledger-row-item:hover {
  background: #f4f4f5;
}
.ledger-row-state {
  font-weight: 600;
  width: 140px;
}
.ledger-row-stat {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FEED FILTERS & DEPT PILLS
   ========================================================================== */
.dept-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  padding-bottom: 4px;
}

.dept-pill-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  white-space: nowrap;
}
.dept-pill-btn.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.feed-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  padding: 0.65rem 0;
  margin-bottom: 2rem;
  gap: 1rem;
}

.filter-left-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
}

.filter-select-clean {
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  outline: none;
}

.sort-pills-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.sort-pill-btn {
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  cursor: pointer;
  color: var(--text-muted);
}
.sort-pill-btn.active {
  background: #000000;
  color: #ffffff;
}

.view-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-left: 1px solid var(--border-light);
  padding-left: 1rem;
}

/* ==========================================================================
   FEED LAYOUT & SIDEBAR
   ========================================================================== */
.feed-with-sidebar-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

/* Cards Grid */
.editorial-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Featured Bribe of the Week */
.featured-bribe-card {
  grid-column: 1 / -1;
  border: 1px solid #000000;
  padding: 1.75rem;
  background: #ffffff;
  position: relative;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.editorial-card {
  border: 1px solid #000000;
  padding: 1.5rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast);
}
.editorial-card:hover {
  transform: translateY(-2px);
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.dept-tag-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dept-avatar {
  width: 26px;
  height: 26px;
  background: #f4f4f5;
  border: 1px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #000000;
}
.dept-tag-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.location-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-amount-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: #000000;
}

.card-quote-story {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta-bottom {
  border-top: 1px dashed var(--border-light);
  padding-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.card-tags-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pill-status-clean {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  background: #f4f4f5;
  border: 1px solid #000000;
  color: #000000;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-actions-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Submit CTA Card inside feed */
.cta-in-feed-card {
  grid-column: 1 / -1;
  background: #18181b;
  color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Sidebar Leaderboards */
.sidebar-box {
  border: 1px solid #000000;
  padding: 1.5rem;
  background: #ffffff;
  margin-bottom: 1.5rem;
}

.sidebar-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #000000;
  padding-bottom: 0.5rem;
}

.sidebar-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sidebar-item-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
}
.sidebar-item-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}
.sidebar-progress-track {
  height: 4px;
  background: #e4e4e7;
  width: 100%;
  margin-top: 4px;
}
.sidebar-progress-fill {
  height: 100%;
  background: #000000;
}

/* ==========================================================================
   "How it works. Three steps." SECTION
   ========================================================================== */
.how-it-works-section {
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  padding: 4.5rem 0;
  margin-bottom: 4rem;
}

.steps-intro-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.step-card {
  border-top: 1px solid #000000;
  padding-top: 1.5rem;
}

.step-num-big {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: #000000;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-badge {
  margin-bottom: 0.85rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000000;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 3 Large Numerical Metrics */
.big-metrics-stacked {
  border-top: 1px solid var(--border-light);
}
.big-metric-row {
  display: grid;
  grid-template-columns: 80px 240px 1fr;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-light);
}
.big-metric-num {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000000;
}

/* ==========================================================================
   "Real words from real reports." SECTION
   ========================================================================== */
.real-words-section {
  text-align: center;
  padding: 4rem 0 3rem;
}

/* ==========================================================================
   FAQS ACCORDION SECTION ("Questions.")
   ========================================================================== */
.faq-section {
  border-top: 1px solid #000000;
  padding: 4.5rem 0 4rem;
}

.faq-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 2.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question-btn {
  width: 100%;
  padding: 1.5rem 0;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  outline: none;
  transition: opacity var(--transition-fast);
}
.faq-question-btn:hover {
  opacity: 0.75;
}
.faq-question-btn:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 4px;
}

.faq-chevron {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   BOTTOM HERO CTA BANNER
   ========================================================================== */
.bottom-cta-banner {
  background: #18181b;
  color: #ffffff;
  padding: 3.5rem 3rem;
  margin: 3rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-banner-left {
  max-width: 620px;
  z-index: 2;
  position: relative;
}

.cta-banner-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cta-banner-sub {
  font-size: 0.95rem;
  color: #a1a1aa;
  margin-bottom: 1.75rem;
  line-height: 1.45;
}

.cta-banner-watermark {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 14rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* Table View */
.editorial-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #000000;
  background: #ffffff;
  display: none;
}
.editorial-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.editorial-table th {
  background: #fafafa;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #000000;
}
.editorial-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  padding: 1.5rem;
  cursor: pointer;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: #ffffff;
  border: 1px solid #000000;
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xs);
  cursor: default;
}
.modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-body {
  padding: 1.75rem;
}
.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid #000000;
  background: #fafafa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Forms */
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #000000;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border-radius: var(--radius-xs);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: 2px solid #000000;
}

.ai-output-box {
  background: #18181b;
  color: #ffffff;
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.6;
  white-space: pre-wrap;
  max-height: 440px;
  overflow-y: auto;
}

/* Footer */
.footer {
  border-top: 1px solid #000000;
  padding: 3.5rem 0 2rem;
  background: #ffffff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

/* Legacy breakpoints placeholder — see full responsive suite below */

/* ==========================================================================
   TRUST & ANONYMITY ARCHITECTURE BANNER
   ========================================================================== */
.trust-banner-strip {
  background: #09090b;
  color: #ffffff;
  border: 1px solid #27272a;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.trust-banner-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid #27272a;
  padding-bottom: 1rem;
}
.trust-banner-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.trust-pillar-card {
  background: #18181b;
  border: 1px solid #27272a;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.trust-pillar-card:hover {
  transform: translateY(-2px);
  border-color: #facc15;
}
.trust-pillar-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: #facc15;
  text-transform: uppercase;
}
.trust-pillar-desc {
  font-size: 0.78rem;
  color: #a1a1aa;
  line-height: 1.45;
}

/* ==========================================================================
   MULTI-MEDIA UPLOAD DROPZONE
   ========================================================================== */
.media-upload-zone {
  border: 2px dashed #000000;
  background: #fafafa;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.media-upload-zone:hover, .media-upload-zone.dragover {
  background: #fef08a;
  border-color: #000000;
}
.media-previews-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.media-thumb-box {
  position: relative;
  width: 90px;
  height: 90px;
  border: 1px solid #000000;
  background: #000;
  overflow: hidden;
}
.media-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-thumb-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  border: none;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  cursor: pointer;
}
.media-thumb-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #15803d;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  text-align: center;
  padding: 1px 0;
  font-weight: 700;
}

/* ==========================================================================
   SOCIAL THREAD CARDS & DISCUSSION
   ========================================================================== */
.thread-card {
  background: #ffffff;
  border: 1px solid #000000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.thread-card:hover {
  box-shadow: 4px 4px 0px #000000;
  transform: translateY(-2px);
}
.thread-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.thread-author-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.thread-author-tag {
  background: #f4f4f5;
  border: 1px solid #000000;
  padding: 2px 6px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.thread-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.3rem 0;
}
.thread-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid #000000;
  padding: 2px 8px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.thread-tag-pill.location {
  background: #fef08a;
}
.thread-tag-pill.dept {
  background: #f4f4f5;
}
.thread-tag-pill.amount {
  background: #000000;
  color: #facc15;
}
.thread-story-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #27272a;
}
.thread-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.thread-media-item {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid #000000;
  overflow: hidden;
  background: #f4f4f5;
  cursor: pointer;
}
.thread-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.thread-media-item:hover img {
  transform: scale(1.05);
}
.thread-video-player {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid #000000;
  margin-top: 0.75rem;
  background: #000000;
}
.thread-video-player iframe, .thread-video-player video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.thread-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e4e4e7;
  padding-top: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.thread-action-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.thread-action-btn {
  background: #ffffff;
  border: 1px solid #000000;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.thread-action-btn:hover {
  background: #000000;
  color: #ffffff;
}
.thread-action-btn.active {
  background: #fde047;
  color: #000000;
}

/* ==========================================================================
   COMMENTS & COMMUNITY ADVICE SECTION
   ========================================================================== */
.comments-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.comment-card {
  border: 1px solid #000000;
  background: #fafafa;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.comment-card.legal-advice {
  background: #f0fdf4;
  border-left: 4px solid #15803d;
}
.comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.comment-badge {
  background: #000000;
  color: #ffffff;
  padding: 2px 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}
.comment-body {
  font-size: 0.84rem;
  line-height: 1.5;
}

/* ==========================================================================
   CASCADING FILTER HUB & FEED TABS
   ========================================================================== */
.cascade-filter-hub {
  background: #fafafa;
  border: 1px solid #000000;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cascade-row-selects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}
.feed-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-bottom: 1px solid #e4e4e7;
  padding-bottom: 0.75rem;
}
.feed-tab-btn {
  background: #ffffff;
  border: 1px solid #000000;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}
.feed-tab-btn:hover {
  background: #f4f4f5;
}
.feed-tab-btn.active {
  background: #000000;
  color: #fde047;
}

/* ==========================================================================
   STATUTORY KNOWLEDGE & AI LEGAL INTELLIGENCE HUB
   ========================================================================== */
.ai-legal-insight-card {
  background: #ffffff;
  border: 1px solid #000000;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ai-legal-insight-card.critical {
  border-left: 4px solid #dc2626;
  background: #fff5f5;
}
.ai-legal-insight-card.high {
  border-left: 4px solid #d97706;
  background: #fffbeb;
}
.ai-legal-insight-card.standard {
  border-left: 4px solid #4f46e5;
  background: #f5f3ff;
}

.statute-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #3730a3;
  padding: 2px 7px;
  border-radius: 2px;
}
.statute-pill.red {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}
.statute-pill.green {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}

.statutes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.statute-box {
  background: #ffffff;
  border: 1px solid #000000;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.statute-box-header {
  border-bottom: 1px solid #000000;
  padding-bottom: 0.5rem;
}

.open-data-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.open-data-stat-card {
  background: #fafafa;
  border: 1px solid #000000;
  padding: 0.85rem;
  text-align: center;
}
.open-data-stat-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: #000000;
}
.open-data-stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.repo-attribution-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #d4d4d8;
}
.repo-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: #f4f4f5;
  border: 1px solid #000000;
  padding: 4px 8px;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.repo-badge-link:hover {
  background: #000000;
  color: #fde047;
}

/* Full-Screen Media Lightbox Overlay */
.media-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 9, 11, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  user-select: none;
  outline: none;
}
.media-lightbox-overlay.open {
  display: flex;
}
.lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox-media-wrap {
  max-width: 85vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lightbox-media-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid #3f3f46;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 8px 10px -6px rgba(0, 0, 0, 0.7);
  border-radius: 4px;
}
.lightbox-media-wrap video, .lightbox-media-wrap iframe {
  width: 80vw;
  height: 70vh;
  max-width: 1000px;
  border: 1px solid #3f3f46;
  border-radius: 4px;
  background: #000;
}
.lightbox-caption-bar {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #e4e4e7;
  display: flex;
  gap: 1rem;
  align-items: center;
  background: rgba(24, 24, 27, 0.85);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  border: 1px solid #3f3f46;
}
.lightbox-counter {
  color: #fde047;
  font-weight: 700;
}
.lightbox-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(24, 24, 27, 0.85);
  color: #ffffff;
  border: 1px solid #3f3f46;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1000000;
}
.lightbox-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #f87171;
  transform: scale(1.1);
}
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(24, 24, 27, 0.85);
  color: #ffffff;
  border: 1px solid #3f3f46;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1000000;
}
.lightbox-nav-btn:hover {
  background: #4f46e5;
  color: #ffffff;
  border-color: #818cf8;
  transform: translateY(-50%) scale(1.1);
}
.lightbox-prev {
  left: 1.5rem;
}
.lightbox-next {
  right: 1.5rem;
}

/* ==========================================================================
   SMOOTH ANIMATIONS & MICRO-INTERACTION ENGINE
   ========================================================================== */

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Pulsing Live Indicator Dot */
.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

/* Hero Entrance Animations */
.live-indicator {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.hero-big-title {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.hero-tagline-text {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}
.hero-btn-row {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.metrics-strip {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.52s both;
}
.trust-banner-strip {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.64s both;
}

/* Spring Button Tactile Physics */
.btn-black, .btn-white, .btn-primary, .btn-outline {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease;
}
.btn-black:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 0px #000000;
}
.btn-black:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0px #000000;
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 0px #000000;
}
.btn-white:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0px #000000;
}

/* Card Elevation & Hover Scale */
.report-card, .trust-pillar-card, .metric-col, .statutary-card, .filter-chip {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
.report-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0px #000000;
  border-color: #09090b;
}
.trust-pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 0px #000000;
  border-color: #000000;
}

/* High-Contrast Yellow Highlight Glow */
.highlight-yellow {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 2px;
}
.highlight-yellow:hover {
  background-color: #facc15;
  box-shadow: 0 2px 10px rgba(250, 204, 21, 0.4);
}

/* Modal Backdrop Blur & Drop-In Spring */
.modal-backdrop {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-backdrop.active .modal-box {
  animation: scaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Scroll Reveal Utility - Safe Visible Default */
.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
}
/* Typewriter Animation Styles */
.typewriter-word {
  display: inline-block;
  position: relative;
  font-style: italic;
  padding: 0 6px;
  border-radius: 2px;
  background-color: var(--yellow-highlight);
  color: #000000;
  min-width: 1.5ch;
  vertical-align: baseline;
  transition: background-color 0.3s ease;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.typewriter-word.active-typing {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.typewriter-word::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 0.82em;
  background-color: #000000;
  margin-left: 3px;
  vertical-align: middle;
  animation: blinkTypewriterCursor 0.75s infinite step-end;
}

.typewriter-word.typing-done::after {
  display: none;
}

@keyframes blinkTypewriterCursor {
  from, to { opacity: 0; }
  50% { opacity: 1; }
}

/* ==========================================================================
   HAMBURGER DRAWER (always present, hidden on desktop)
   ========================================================================== */
.mobile-hamburger-btn {
  display: none;
  background: #000000;
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}
.mobile-hamburger-btn:hover { background: #27272a; }

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav-backdrop.open { display: block; opacity: 1; }

.mobile-nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #09090b;
  color: #ffffff;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}
.mobile-nav-drawer.open { transform: translateX(0); }

.mobile-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #27272a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.mobile-drawer-close {
  background: none;
  border: 1px solid #3f3f46;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
}
.mobile-drawer-close:hover { background: #27272a; }

.mobile-drawer-menu {
  list-style: none;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  overflow-y: auto;
}
.mobile-drawer-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #e4e4e7;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.mobile-drawer-item:hover, .mobile-drawer-item.active {
  background: #18181b;
  border-color: #3f3f46;
  color: #ffffff;
}
.mobile-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #27272a;
  background: #18181b;
  flex-shrink: 0;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE SUITE
   ========================================================================== */

/* ── Tablet Landscape & Small Desktops ≤ 1024px ── */
@media (max-width: 1024px) {
  .container { padding: 0 1.25rem; }

  /* Grids collapse to 1 column */
  .metrics-strip { grid-template-columns: 1fr; border-bottom: 1px solid #000; }
  .metric-col {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 1rem;
  }
  .metric-col:last-child { border-bottom: none; }

  .map-ledger-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    border: 1px solid #000;
  }
  .map-canvas-box {
    border-right: none;
    border-bottom: 1px solid #000;
    height: 400px;
  }

  .feed-with-sidebar-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .big-metric-row { grid-template-columns: 60px 180px 1fr; gap: 1rem; }

  .bottom-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
  }
  .cta-banner-watermark { display: none; }
}

/* ── Tablet Portrait & Mobile ≤ 880px ── */
@media (max-width: 880px) {
  /* Nav */
  .desktop-nav-links { display: none !important; }
  .desktop-report-btn { display: none !important; }
  .mobile-hamburger-btn { display: flex !important; }
  .nav-wrapper { padding: 0 1rem; height: 58px; }

  /* Hero */
  .hero-editorial { padding: 2rem 0 1.5rem; }
  .hero-big-title { font-size: 2.4rem; line-height: 1.15; }
  .typewriter-word { font-size: 2.4rem; }
  .hero-tagline-text { font-size: 0.95rem; }
  .hero-btn-row, .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 2rem;
  }
  .hero-btn-row .btn-black, .hero-btn-row .btn-white,
  .hero-cta-group .btn-black, .hero-cta-group .btn-white {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1rem;
  }

  /* Section headers: stack vertically instead of side-by-side */
  .live-reports-header,
  .transparency-map-header,
  .steps-intro-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .section-serif-desc {
    text-align: left;
    max-width: 100%;
    font-size: 0.9rem;
  }
  .section-serif-title { font-size: 2rem; }

  /* Ticker */
  .ticker-strip {
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.6rem 0.75rem;
    margin-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
  }

  /* Map */
  .map-ledger-grid { grid-template-columns: 1fr; }
  .map-canvas-box { height: 340px; border-right: none; border-bottom: 1px solid #000; }
  #indiaLeafletMap { height: 340px !important; }

  /* Feed filter hub */
  .cascade-filter-hub { padding: 1rem; }
  .cascade-row-selects {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .feed-mode-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .feed-mode-tabs::-webkit-scrollbar { display: none; }
  .feed-tab-btn { white-space: nowrap; flex-shrink: 0; font-size: 0.7rem; padding: 5px 10px; }

  /* Cards */
  .editorial-cards-grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; }

  /* Big metrics */
  .big-metric-row { grid-template-columns: 50px 150px 1fr; gap: 0.75rem; }
  .big-metric-num { font-size: 2.5rem; }

  /* CTA Banner */
  .bottom-cta-banner { padding: 2rem 1.5rem; }
  .cta-banner-title { font-size: 2rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Mobile Phones ≤ 600px ── */
@media (max-width: 600px) {
  /* Brand */
  .brand-mono { font-size: 1rem; gap: 0.3rem; }
  .brand-mono .hindi { font-size: 0.9rem; }

  /* Hero */
  .hero-big-title { font-size: 2rem; line-height: 1.2; }
  .typewriter-word { font-size: 2rem; padding: 0 4px; }
  .hero-tagline-text { font-size: 0.88rem; }

  /* Metrics bar */
  .metrics-strip { margin-bottom: 2rem; }
  .metric-big-num { font-size: 2rem; }

  /* Trust Banner */
  .trust-banner-strip { padding: 1rem; }
  .trust-banner-top { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .trust-pillars-grid { grid-template-columns: 1fr; }

  /* Filter Hub */
  .cascade-row-selects { grid-template-columns: 1fr; }

  /* Sort/timeframe pills: wrap and fill width */
  .sort-pills-wrap,
  .timeframe-pills-wrap {
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
  }
  .sort-pill-btn {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
    min-width: 60px;
    font-size: 0.68rem;
    padding: 6px 6px;
  }

  /* Cards */
  .editorial-card { padding: 1rem; }
  .cta-in-feed-card { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Big metrics fully stacked */
  .big-metric-row {
    grid-template-columns: 1fr;
    padding: 1.25rem 0;
    gap: 0.25rem;
  }
  .big-metric-num { font-size: 2.25rem; }

  /* Section title */
  .section-serif-title { font-size: 1.75rem; }
  .faq-title { font-size: 2.25rem; }

  /* Modals: full-width on mobile */
  .modal-backdrop { padding: 0.5rem; align-items: flex-end; }
  .modal-box {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 92vh !important;
    border-radius: 8px 8px 0 0 !important;
  }
  .modal-body { padding: 1.25rem; }
  .modal-header { padding: 1rem 1.25rem; }
  .modal-footer {
    padding: 1rem 1.25rem;
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  .modal-footer button { width: 100%; justify-content: center; }

  /* Table scrollable */
  #tableGridContainer { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* CTA banner */
  .bottom-cta-banner { padding: 1.75rem 1.25rem; }
  .cta-banner-title { font-size: 1.75rem; }

  /* How it works metrics */
  .how-it-works-section { padding: 2.5rem 0; }
  .steps-intro-row { margin-bottom: 2rem; }
}

/* ── Extra-Small Phones ≤ 400px ── */
@media (max-width: 400px) {
  .hero-big-title { font-size: 1.75rem; }
  .typewriter-word { font-size: 1.75rem; }
  .section-serif-title { font-size: 1.5rem; }
  .map-canvas-box { height: 280px; }
  #indiaLeafletMap { height: 280px !important; }
}

/* ==========================================================================
   MOBILE HAMBURGER DRAWER ARCHITECTURE
   ========================================================================== */
.mobile-hamburger-btn {
  display: none;
  background: #000000;
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}
.mobile-hamburger-btn:hover {
  background: #27272a;
}

/* Mobile Off-Canvas Drawer Overlay */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav-backdrop.open {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #09090b;
  color: #ffffff;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #27272a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-drawer-close {
  background: none;
  border: 1px solid #3f3f46;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
}
.mobile-drawer-close:hover {
  background: #27272a;
}

.mobile-drawer-menu {
  list-style: none;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  overflow-y: auto;
}
.mobile-drawer-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #e4e4e7;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.mobile-drawer-item:hover, .mobile-drawer-item.active {
  background: #18181b;
  border-color: #3f3f46;
  color: #ffffff;
}

.mobile-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #27272a;
  background: #18181b;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE SUITE
   ========================================================================== */

/* ── Tablet Landscape & Small Desktops ≤ 1024px ── */
@media (max-width: 1024px) {
  .container { padding: 0 1.25rem; }

  .metrics-strip { grid-template-columns: 1fr; border-bottom: 1px solid #000; }
  .metric-col {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 1rem;
  }
  .metric-col:last-child { border-bottom: none; }

  .map-ledger-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .map-canvas-box {
    border-right: none;
    border-bottom: 1px solid #000;
    height: 400px;
  }

  .feed-with-sidebar-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .big-metric-row { grid-template-columns: 60px 180px 1fr; gap: 1rem; }

  .bottom-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
  }
  .cta-banner-watermark { display: none; }
}

/* ── Tablet Portrait & Mobile ≤ 880px ── */
@media (max-width: 880px) {
  /* Nav */
  .desktop-nav-links { display: none !important; }
  .desktop-report-btn { display: none !important; }
  .mobile-hamburger-btn { display: flex !important; }
  .nav-wrapper { padding: 0 1rem; height: 58px; }

  /* Hero */
  .hero-editorial { padding: 2rem 0 1.5rem; }
  .hero-big-title { font-size: 2.4rem; line-height: 1.15; }
  .typewriter-word { font-size: 2.4rem; }
  .hero-tagline-text { font-size: 0.95rem; }
  .hero-btn-row, .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 2rem;
  }
  .hero-btn-row .btn-black, .hero-btn-row .btn-white,
  .hero-cta-group .btn-black, .hero-cta-group .btn-white {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1rem;
  }

  /* Section headers: stack vertically instead of side-by-side */
  .live-reports-header,
  .transparency-map-header,
  .steps-intro-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .section-serif-desc {
    text-align: left;
    max-width: 100%;
    font-size: 0.9rem;
  }
  .section-serif-title { font-size: 2rem; }

  /* Ticker */
  .ticker-strip {
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.6rem 0.75rem;
    margin-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
  }

  /* Map */
  .map-canvas-box { height: 340px; border-right: none; border-bottom: 1px solid #000; }
  #indiaLeafletMap { height: 340px !important; }

  /* Feed filter hub */
  .cascade-filter-hub { padding: 1rem; }
  .cascade-row-selects { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .feed-mode-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .feed-mode-tabs::-webkit-scrollbar { display: none; }
  .feed-tab-btn { white-space: nowrap; flex-shrink: 0; font-size: 0.7rem; padding: 5px 10px; }

  /* Cards */
  .editorial-cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }

  /* Big metrics */
  .big-metric-row { grid-template-columns: 50px 150px 1fr; gap: 0.75rem; }
  .big-metric-num { font-size: 2.5rem; }

  /* CTA Banner */
  .bottom-cta-banner { padding: 2rem 1.5rem; }
  .cta-banner-title { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Mobile Phones ≤ 600px ── */
@media (max-width: 600px) {
  .brand-mono { font-size: 1rem; gap: 0.3rem; }
  .brand-mono .hindi { font-size: 0.9rem; }

  .hero-big-title { font-size: 2rem; line-height: 1.2; }
  .typewriter-word { font-size: 2rem; padding: 0 4px; }
  .hero-tagline-text { font-size: 0.88rem; }

  .metrics-strip { margin-bottom: 2rem; }
  .metric-big-num { font-size: 2rem; }

  .trust-banner-strip { padding: 1rem; }
  .trust-banner-top { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .trust-pillars-grid { grid-template-columns: 1fr; }

  .cascade-row-selects { grid-template-columns: 1fr; }

  .sort-pills-wrap,
  .timeframe-pills-wrap {
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
  }
  .sort-pill-btn {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
    min-width: 60px;
    font-size: 0.68rem;
    padding: 6px;
  }

  .editorial-card { padding: 1rem; }
  .cta-in-feed-card { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .big-metric-row {
    grid-template-columns: 1fr;
    padding: 1.25rem 0;
    gap: 0.25rem;
  }
  .big-metric-num { font-size: 2.25rem; }

  .section-serif-title { font-size: 1.75rem; }
  .faq-title { font-size: 2.25rem; }

  .modal-backdrop { padding: 0.5rem; align-items: flex-end; }
  .modal-box {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 92vh !important;
    border-radius: 8px 8px 0 0 !important;
  }
  .modal-body { padding: 1.25rem; }
  .modal-header { padding: 1rem 1.25rem; }
  .modal-footer {
    padding: 1rem 1.25rem;
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  .modal-footer button { width: 100%; justify-content: center; }

  #tableGridContainer { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .bottom-cta-banner { padding: 1.75rem 1.25rem; }
  .cta-banner-title { font-size: 1.75rem; }
  .how-it-works-section { padding: 2.5rem 0; }
  .steps-intro-row { margin-bottom: 2rem; }
}

/* ── Extra-Small Phones ≤ 400px ── */
@media (max-width: 400px) {
  .hero-big-title { font-size: 1.75rem; }
  .typewriter-word { font-size: 1.75rem; }
  .section-serif-title { font-size: 1.5rem; }
  .map-canvas-box { height: 280px; }
  #indiaLeafletMap { height: 280px !important; }
}
