/* zenith_website/styles.css */
:root {
  --bg-void: #090D16;
  --bg-card: #111827;
  --bg-elevated: #161F33;
  --bg-input: #0D1320;
  --border: #1F2937;
  --border-glow: rgba(0, 229, 255, 0.35);
  --cyan: #00E5FF;
  --cyan-hover: #00B8D4;
  --cyan-dim: rgba(0, 229, 255, 0.08);
  --emerald: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-void);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle Cyber Grid Background */
.bg-grid {
  background-image: 
    linear-gradient(to right, rgba(31, 41, 55, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 41, 55, 0.25) 1px, transparent 1px);
  background-size: 48px 48px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation & Mega-Dropdown */
header {
  border-bottom: 1px solid var(--border);
  background: rgba(9, 13, 22, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-45%) translateY(10px);
  width: 720px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 200;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-45%) translateY(0);
}

.mega-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.mega-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mega-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s, padding-left 0.2s;
  display: block;
}

.mega-col a:hover {
  color: var(--text-main);
  padding-left: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--cyan);
  color: #090D16;
}

.btn-primary:hover {
  background: var(--cyan-hover);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-glow);
  color: var(--cyan);
}

.btn-outline:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

/* Badges & Typography */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  display: block;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Sample Report Showcase Box */
.report-showcase {
  background: linear-gradient(145deg, #111827 0%, #0D1320 100%);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.report-mock {
  background: #090D16;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.report-mock-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.sev-pill {
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.sev-crit {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Modal for Sample Report Preview */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 500;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
}

/* Footer */
footer {
  padding: 3rem 0;
  background: #070A11;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cyan);
}

/* Responsive */
@media (max-width: 920px) {
  .grid-3, .grid-2, .report-showcase {
    grid-template-columns: 1fr;
  }
  .mega-menu {
    display: none;
  }
}