/* ============================================================
   PSO FUELWATCH — PREMIUM STYLESHEET
   Pakistan's Fuel Intelligence Network
   ============================================================ */

/* ---------- CSS Variables & Tokens ---------- */
:root {
  --pso-green: #006633;
  --pso-green-light: #00843D;
  --pso-green-glow: rgba(0, 102, 51, 0.35);
  --pso-gold: #FFD700;
  --pso-gold-soft: #F5C842;
  --pso-gold-glow: rgba(255, 215, 0, 0.25);

  --bg-base: #060c09;
  --bg-surface: #0d1810;
  --bg-card: #111d14;
  --bg-card-hover: #162119;
  --bg-glass: rgba(13, 24, 16, 0.75);

  --border: rgba(0, 102, 51, 0.25);
  --border-strong: rgba(0, 102, 51, 0.5);

  --text-primary: #f0f7f2;
  --text-secondary: #8aab93;
  --text-muted: #4d6655;

  --status-available: #22c55e;
  --status-low: #f59e0b;
  --status-out: #ef4444;
  --status-adulteration: #f97316;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px var(--pso-green-glow);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--pso-green); border-radius: 3px; }

/* ============================================================
   ALERT TICKER
   ============================================================ */
.alert-ticker {
  width: 100%;
  background: linear-gradient(90deg, #006633, #00843D, #006633);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  position: relative;
  z-index: 1001;
  overflow: hidden;
}
.ticker-label {
  background: var(--pso-gold);
  color: #000;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.ticker-content {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 32px;
  background: rgba(6, 12, 9, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0, 102, 51, 0.2);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo { display: flex; align-items: center; }
.nav-brand-text { display: flex; flex-direction: column; gap: 0; }
.brand-main {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.brand-accent { color: var(--pso-gold); }
.brand-sub {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--pso-gold);
  background: var(--pso-green-glow);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.live-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--status-available);
  letter-spacing: 1px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-available);
  animation: pulse 2s ease-in-out infinite;
  display: inline-block;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { opacity: 0.8; transform: scale(1.15); box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}
.btn-report-nav {
  background: linear-gradient(135deg, var(--pso-green), var(--pso-green-light));
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 16px var(--pso-green-glow);
}
.btn-report-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--pso-green-glow);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 100px 60px 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,102,51,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,51,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 10s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,102,51,0.2), transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,215,0,0.08), transparent 70%);
  bottom: 0; right: -80px;
  animation-delay: 4s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,132,61,0.15), transparent 70%);
  top: 50%; left: 45%;
  animation-delay: 2s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.97); }
}
.hero-content { flex: 1; max-width: 640px; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,102,51,0.18);
  border: 1px solid rgba(0,102,51,0.4);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--pso-gold);
  font-weight: 500;
  margin-bottom: 28px;
  animation: fadeInUp 0.7s ease both;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
  animation: fadeInUp 0.7s 0.1s ease both;
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--pso-gold), #F5C842, var(--pso-green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeInUp 0.7s 0.2s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 36px;
  animation: fadeInUp 0.7s 0.3s ease both;
  overflow: hidden;
}
.hero-stat { flex: 1; text-align: center; }
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--pso-gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 44px; background: var(--border); }
.hero-cta {
  display: flex;
  gap: 14px;
  animation: fadeInUp 0.7s 0.4s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--pso-green), var(--pso-green-light));
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 6px 24px var(--pso-green-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--pso-green-glow);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: 40px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: var(--pso-green-glow);
  border-color: var(--pso-green-light);
  transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.7s 0.5s ease both;
}
.fuel-gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.fuel-gauge {
  position: relative;
  width: 260px;
  height: 260px;
}
.gauge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--status-available) 0% 78%,
    var(--status-low) 78% 92%,
    var(--status-out) 92% 100%
  );
  padding: 14px;
}
.gauge-ring::after {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--bg-base);
}
.gauge-fill {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--bg-card), var(--bg-base));
  z-index: 1;
}
.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.gauge-pct {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--pso-gold);
  line-height: 1;
}
.gauge-lbl { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 6px; }
.gauge-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 100%;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.legend-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-dot.available { background: var(--status-available); }
.legend-dot.low { background: var(--status-low); }
.legend-dot.out { background: var(--status-out); }
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  animation: fadeInUp 0.7s 0.8s ease both;
  z-index: 2;
}
.scroll-arrow {
  width: 22px; height: 22px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* ============================================================
   UTILITY ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   SECTION CONTAINERS & SHARED
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-full { max-width: 100%; padding: 0 32px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: rgba(0,102,51,0.18);
  color: var(--pso-gold);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-base), var(--bg-surface));
}
.steps-grid {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  border-color: var(--pso-green-light);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,102,51,0.25);
  line-height: 1;
  margin-bottom: 16px;
}
.step-icon {
  width: 56px; height: 56px;
  background: var(--pso-green-glow);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pso-green-light);
  margin-bottom: 20px;
}
.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--pso-green);
  flex-shrink: 0;
  opacity: 0.6;
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-section {
  padding: 100px 0 60px;
  background: var(--bg-surface);
}
.map-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 0 0 28px;
  margin-bottom: 20px;
}
.map-title-block { max-width: 500px; }
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
  padding-top: 8px;
}
.map-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-secondary);
}
.map-dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
}
.map-dot.green { background: var(--status-available); box-shadow: 0 0 8px var(--status-available); }
.map-dot.yellow { background: var(--status-low); box-shadow: 0 0 8px var(--status-low); }
.map-dot.red { background: var(--status-out); box-shadow: 0 0 8px var(--status-out); }
.map-dot.orange { background: var(--status-adulteration); box-shadow: 0 0 8px var(--status-adulteration); }
.map-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 24px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--pso-green-glow);
  border-color: var(--pso-green-light);
  color: var(--pso-gold);
}
.city-filter-wrap { margin-left: auto; }
.city-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 24px;
  padding: 7px 18px;
  font-size: 13px;
  cursor: pointer;
  outline: none;
}
.map-container {
  display: flex;
  gap: 20px;
  height: 600px;
}
#pakistanMap {
  flex: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  min-width: 0;
}
.map-sidebar {
  width: 300px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.map-sidebar-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.map-sidebar-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.station-count-badge {
  font-size: 11px;
  background: var(--pso-green-glow);
  color: var(--pso-gold);
  border-radius: 12px;
  padding: 3px 10px;
}
.station-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.station-list-item {
  padding: 12px 14px;
  background: var(--bg-surface);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.station-list-item:hover {
  border-color: var(--pso-green-light);
  background: var(--bg-card-hover);
}
.sli-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sli-info { flex: 1; min-width: 0; }
.sli-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sli-city { font-size: 11px; color: var(--text-muted); }
.sli-score {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--pso-gold);
  flex-shrink: 0;
}

/* ============================================================
   EARLY WARNING
   ============================================================ */
.warning-section {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(239,68,68,0.05), rgba(249,115,22,0.05));
  border-top: 1px solid rgba(239,68,68,0.15);
  border-bottom: 1px solid rgba(239,68,68,0.15);
}
.warning-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.warning-icon {
  width: 52px; height: 52px;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.warning-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.warning-header p { font-size: 13px; color: var(--text-secondary); }
.warning-timestamp { margin-left: auto; font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
.warning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.warning-card {
  padding: 18px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border-left: 4px solid;
  transition: var(--transition);
}
.warning-card.critical { border-color: var(--status-out); }
.warning-card.medium { border-color: var(--status-low); }
.warning-card.watch { border-color: var(--status-adulteration); }
.warning-card:hover { transform: translateY(-2px); }
.wc-city { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.wc-detail { font-size: 12px; color: var(--text-secondary); margin-bottom: 10px; }
.wc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}
.wc-badge.critical { background: rgba(239,68,68,0.15); color: var(--status-out); }
.wc-badge.medium { background: rgba(245,158,11,0.15); color: var(--status-low); }
.wc-badge.watch { background: rgba(249,115,22,0.15); color: var(--status-adulteration); }

/* ============================================================
   REPORT SECTION
   ============================================================ */
.report-section {
  padding: 100px 0;
  background: var(--bg-base);
}
.report-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.report-types {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.report-type-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}
.report-type-card:hover, .report-type-card.active {
  border-color: var(--pso-green-light);
  background: var(--pso-green-glow);
}
.rt-icon { font-size: 1.5rem; flex-shrink: 0; }
.report-type-card strong { display: block; font-size: 14px; color: var(--text-primary); margin-bottom: 2px; }
.report-type-card p { font-size: 12px; color: var(--text-muted); }
.impact-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
}
.report-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: sticky;
  top: 100px;
}
.form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}
.selected-type-badge {
  background: var(--pso-green-glow);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--pso-gold);
  font-weight: 600;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
}
.req { color: var(--status-out); }
.form-control {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  resize: none;
}
.form-control:focus {
  border-color: var(--pso-green-light);
  box-shadow: 0 0 0 3px var(--pso-green-glow);
}
.form-control option { background: var(--bg-card); }
.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}
.file-upload-area:hover {
  border-color: var(--pso-green-light);
  background: var(--pso-green-glow);
  color: var(--pso-gold);
}
.file-hint { font-size: 11px; }
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.form-check input { width: 16px; height: 16px; accent-color: var(--pso-green-light); cursor: pointer; }
.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--pso-green), var(--pso-green-light));
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 15px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 6px 24px var(--pso-green-glow);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--pso-green-glow);
}
.btn-submit.loading { opacity: 0.7; pointer-events: none; }
.report-success {
  text-align: center;
  padding: 48px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.success-icon { font-size: 3rem; margin-bottom: 16px; }
.report-success h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--status-available);
  margin-bottom: 10px;
}
.report-success p { color: var(--text-secondary); margin-bottom: 20px; }
.success-next {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  margin-bottom: 24px;
}
.success-next p { color: var(--text-secondary); font-size: 13px; margin-bottom: 10px; font-weight: 600; }
.success-next ul { list-style: none; }
.success-next ul li {
  color: var(--text-muted);
  font-size: 13px;
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}
.success-next ul li::before { content: '✓'; position: absolute; left: 0; color: var(--status-available); }

/* ============================================================
   DASHBOARD SECTION
   ============================================================ */
.dashboard-section {
  padding: 100px 0;
  background: var(--bg-surface);
}
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pso-green), transparent);
}
.kpi-card:hover {
  border-color: var(--pso-green-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.kpi-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.kpi-icon.green { background: rgba(34,197,94,0.12); color: var(--status-available); }
.kpi-icon.yellow { background: rgba(245,158,11,0.12); color: var(--status-low); }
.kpi-icon.red { background: rgba(239,68,68,0.12); color: var(--status-out); }
.kpi-icon.blue { background: rgba(99,179,237,0.12); color: #63b3ed; }
.kpi-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.kpi-label { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.kpi-change { font-size: 12px; font-weight: 600; }
.kpi-change.positive { color: var(--status-available); }
.kpi-change.negative { color: var(--status-out); }
.charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.charts-row:last-child { margin-bottom: 0; }
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: var(--transition);
  overflow: hidden;
  min-width: 0;
}
.chart-card:hover {
  border-color: var(--border-strong);
}
.chart-body {
  position: relative;
  height: 220px;
  width: 100%;
}
.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 8px;
}
.chart-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.chart-subtitle { font-size: 12px; color: var(--text-muted); }
.chart-legend-wrap {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
}
.chart-legend-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
}
.chart-legend-dot.shortage { background: #ef4444; }
.chart-legend-dot.adulteration { background: #f97316; }
.chart-legend-dot.overpricing { background: #f59e0b; }

/* ============================================================
   STATIONS SECTION
   ============================================================ */
.stations-section {
  padding: 60px 0;
  background: var(--bg-base);
}
.stations-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search-wrap {
  position: relative;
  flex: 1;
  min-width: 180px;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  color: var(--text-primary);
  padding: 8px 12px 8px 36px;
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}
.search-input:focus {
  border-color: var(--pso-green-light);
  box-shadow: 0 0 0 3px var(--pso-green-glow);
}
.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  color: var(--text-primary);
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
}
.station-tabs {
  display: flex;
  gap: 5px;
}
.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-secondary);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--pso-green-glow);
  border-color: var(--pso-green-light);
  color: var(--pso-gold);
}
/* Compact list-style station grid */
.stations-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.station-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
}
.station-card:hover {
  border-color: var(--pso-green-light);
  background: var(--bg-card-hover);
}
.station-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}
.station-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}
.station-city { font-size: 11px; color: var(--text-muted); }
.station-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 16px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.ssb-available { background: rgba(34,197,94,0.12); color: var(--status-available); border: 1px solid rgba(34,197,94,0.25); }
.ssb-low { background: rgba(245,158,11,0.12); color: var(--status-low); border: 1px solid rgba(245,158,11,0.25); }
.ssb-out { background: rgba(239,68,68,0.12); color: var(--status-out); border: 1px solid rgba(239,68,68,0.25); }
.ssb-adulteration { background: rgba(249,115,22,0.12); color: var(--status-adulteration); border: 1px solid rgba(249,115,22,0.25); }
.station-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 140px;
  flex-shrink: 0;
}
.station-score-label { display: none; }
.station-score-bar {
  flex: 1;
  height: 5px;
  background: var(--bg-surface);
  border-radius: 3px;
  overflow: hidden;
}
.station-score-fill {
  height: 100%;
  border-radius: 3px;
}
.station-score-value {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pso-gold);
  min-width: 28px;
  text-align: right;
  flex-shrink: 0;
}
.station-meta {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
}
.station-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.stations-footer {
  text-align: center;
}
.btn-load-more {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  border-radius: 40px;
  padding: 9px 28px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-load-more:hover {
  background: var(--pso-green-glow);
  color: var(--pso-gold);
  border-color: var(--pso-green-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-badges { display: flex; flex-direction: column; gap: 8px; }
.footer-badge {
  display: inline-block;
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 12px;
  width: fit-content;
}
.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-links ul li a:hover { color: var(--pso-gold); }
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hotline {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.hotline-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pso-gold);
  margin-bottom: 4px;
}
.hotline-sub { font-size: 12px; color: var(--text-muted); }
.footer-social { font-size: 12px; color: var(--text-muted); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%;
  max-width: 540px;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px; height: 32px;
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--pso-green-glow); color: var(--pso-gold); }
.modal-station-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.modal-city { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.modal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.modal-stat {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}
.modal-stat-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--pso-gold);
  margin-bottom: 4px;
}
.modal-stat-label { font-size: 11px; color: var(--text-muted); }
.modal-fuels {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.fuel-chip {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.fuel-chip.avail { background: rgba(34,197,94,0.12); color: var(--status-available); border: 1px solid rgba(34,197,94,0.25); }
.fuel-chip.low { background: rgba(245,158,11,0.12); color: var(--status-low); border: 1px solid rgba(245,158,11,0.25); }
.fuel-chip.out { background: rgba(239,68,68,0.12); color: var(--status-out); border: 1px solid rgba(239,68,68,0.25); }
.modal-timeline { margin-bottom: 24px; }
.modal-timeline h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.timeline-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.ti-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.ti-text { font-size: 13px; color: var(--text-secondary); flex: 1; }
.ti-time { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.modal-actions {
  display: flex;
  gap: 12px;
}
.btn-modal-report {
  flex: 1;
  background: linear-gradient(135deg, var(--pso-green), var(--pso-green-light));
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-modal-report:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--pso-green-glow); }
.btn-modal-close {
  flex: 1;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 24px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-modal-close:hover { background: var(--bg-surface); }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--bg-card);
  border: 1px solid var(--pso-green-light);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  font-size: 14px;
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
  z-index: 10000;
  transform: translateX(200%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.show { transform: translateX(0); }

/* ============================================================
   LEAFLET MAP CUSTOMIZATION
   ============================================================ */
.leaflet-container { background: #0a1a0e !important; }
.leaflet-tile { filter: invert(1) hue-rotate(180deg) saturate(0.5) brightness(0.8); }
.custom-marker {
  width: 28px !important; height: 28px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform 0.2s !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5) !important;
}
.custom-marker:hover { transform: scale(1.3) !important; }
.leaflet-popup-content-wrapper {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-card) !important;
}
.leaflet-popup-tip { background: var(--bg-card) !important; }
.leaflet-popup-content { margin: 16px !important; }
.popup-name { font-family: var(--font-heading); font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.popup-city { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.popup-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.popup-score { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.popup-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--pso-green), var(--pso-green-light));
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.popup-btn:hover { opacity: 0.9; }
.leaflet-control-attribution { display: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero { flex-direction: column; padding: 80px 32px; gap: 48px; }
  .hero-visual { width: 100%; display: flex; justify-content: center; }
  .fuel-gauge-wrap { flex-direction: row; align-items: center; gap: 28px; }
  .fuel-gauge { width: 200px; height: 200px; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .charts-row { grid-template-columns: 1fr; }
  .report-layout { grid-template-columns: 1fr; }
  .report-form-card { position: static; }
  .map-header { flex-direction: column; }
  .map-container { flex-direction: column; height: auto; }
  #pakistanMap { height: 400px; }
  .map-sidebar { width: 100%; height: 260px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .navbar { padding: 12px 20px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 50px; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 20px; gap: 8px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-actions .btn-report-nav { display: none; }
  .hero { padding: 60px 20px; }
  .hero-stats { flex-wrap: wrap; gap: 8px; }
  .hero-stat { min-width: 40%; }
  .stat-divider { display: none; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .container { padding: 0 16px; }
  .container-full { padding: 0 16px; }
  .kpi-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stations-grid { grid-template-columns: 1fr; }
  .fuel-gauge-wrap { flex-direction: column; }
  .map-filters { gap: 6px; }
  .filter-btn { padding: 6px 12px; font-size: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .modal-stats { grid-template-columns: 1fr 1fr; }
}
