@font-face {
  font-family: 'Gilroy';
  src: url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-ExtraBold.eot');
  src: url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-ExtraBold.eot?#iefix') format('embedded-opentype'),
       url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-ExtraBold.woff2') format('woff2'),
       url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-ExtraBold.woff') format('woff'),
       url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-Bold.eot');
  src: url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-Bold.eot?#iefix') format('embedded-opentype'),
       url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-Bold.woff2') format('woff2'),
       url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-Bold.woff') format('woff'),
       url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-Bold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-SemiBold.eot');
  src: url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-SemiBold.eot?#iefix') format('embedded-opentype'),
       url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-SemiBold.woff2') format('woff2'),
       url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-SemiBold.woff') format('woff'),
       url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-SemiBold.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-Medium.eot');
  src: url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-Medium.eot?#iefix') format('embedded-opentype'),
       url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-Medium.woff2') format('woff2'),
       url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-Medium.woff') format('woff'),
       url('https://media-assets.swiggy.com/dls-web-assets/dls/fonts/Gilroy-Medium.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --orange: #FC8019;
  --orange-dark: #e06b0a;
  --dark: #1C1C2E;
  --dark-2: #2a2a3e;
  --text: #2d2d2d;
  --text-muted: #666;
  --border: #e8e8e8;
  --bg-light: #fafafa;
  --critical: #dc2626;
  --high: #f97316;
  --medium: #eab308;
  --low: #22c55e;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Gilroy', arial, 'Helvetica Neue', sans-serif;
  color: var(--text);
  line-height: 1.6;
}

/* ── Navbar ── */
nav {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}

.nav-brand-text { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -0.3px; }
.nav-brand-text span { color: var(--orange); }

.nav-links { display: flex; list-style: none; gap: 4px; }

.nav-links a {
  color: #c8c8d8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.nav-links a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-links a.active { background: rgba(252,128,25,.15); color: #FC8019; }
.nav-report-btn { background: var(--orange); color: #fff !important; border-radius: 8px; }
.nav-report-btn:hover { background: var(--orange-dark) !important; }

/* ── Footer ── */
footer {
  background: var(--dark);
  color: #888;
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
  line-height: 1.7;
}

footer a { color: var(--orange); text-decoration: none; }
.footer-brand { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }

/* ── Hamburger button (hidden on desktop) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background .15s;
}
.nav-hamburger:hover { background: rgba(255,255,255,.08); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile dropdown menu ── */
.nav-mobile-menu {
  display: none;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.nav-mobile-menu.open { max-height: 400px; }
.nav-mobile-menu ul {
  list-style: none;
  padding: 8px 16px 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-menu a {
  display: block;
  color: #c8c8d8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-mobile-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-mobile-menu a.active { background: rgba(252,128,25,.15); color: #FC8019; }
.nav-mobile-menu .nav-report-btn {
  background: var(--orange);
  color: #fff !important;
  text-align: center;
  margin-top: 4px;
}
.nav-mobile-menu .nav-report-btn:hover { background: var(--orange-dark) !important; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { display: block; }
}
