/* ==========================================================================
   The Dark Identity Code - Sovereign Premium Institutional Theme
   ========================================================================== */
:root {
  --bg-primary: #0b0c10;          /* Deep dark base background */
  --bg-secondary: #1c1d21;        /* Mid-tone slate for content boxes and cards */
  --bg-header: #1f2833;           /* Dark header background layer */
  --accent-cyan: #45f3ff;         /* High-visibility crisp blue/cyan hover mechanics */
  --text-main: #ffffff;           /* Stark white typography for headers and titles */
  --text-muted: #c5c6c7;          /* Clean tactical grey for reading text and paragraphs */
  --border-dark: #121921;         /* Low-contrast separator lines */
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-muted);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Hard Global Top Navigation Layer (Always Present & Active)
   ========================================================================== */
.global-header {
  background-color: var(--bg-header);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4%;
  border-bottom: 2px solid var(--accent-cyan);
  position: relative;
  z-index: 1000;
}

.logo {
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--white);
  font-size: 1.3rem;
  text-decoration: none;
}

.logo span {
  font-weight: 300;
  color: var(--accent-cyan);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.top-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.top-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.top-nav a:hover, .top-nav a.active {
  color: var(--accent-cyan);
}

.menu-toggle-cb, .menu-icon { 
  display: none; 
}

/* ==========================================================================
   Universal Page Module Layout Grid System
   ========================================================================== */
.main-wrapper {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 4%;
  box-sizing: border-box;
}

.hero-block {
  text-align: center;
  margin-bottom: 40px;
}

.hero-block h1 {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.hero-block p {
  font-size: 1.15rem;
  color: var(--accent-cyan);
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.6;
}

.layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .layout-grid { 
    grid-template-columns: 1fr 1fr; 
  }
}

.text-panel h2 {
  color: var(--text-main);
  font-size: 1.6rem;
  margin: 25px 0 15px 0;
  letter-spacing: 0.5px;
}

.text-panel p {
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card-callout {
  background-color: var(--bg-secondary);
  border-left: 4px solid var(--accent-cyan);
  padding: 30px;
  border-radius: 4px;
  height: fit-content;
}

.card-callout h3 {
  color: var(--text-main);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.card-callout p {
  line-height: 1.7;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Severe Enterprise Button Controls */
.generic-cta {
  display: inline-block;
  background-color: transparent;
  color: var(--accent-cyan);
  border: 2px solid var(--accent-cyan);
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-align: center;
}

.generic-cta:hover {
  background-color: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 15px rgba(69, 243, 255, 0.4);
  cursor: pointer;
}

/* ==========================================================================
   Mobile Dropdown Interaction Engine
   ========================================================================== */
@media (max-width: 991px) {
  .menu-icon {
    display: block;
    cursor: pointer;
    padding: 10px 5px;
    position: relative;
    user-select: none;
  }

  .menu-icon span {
    background: var(--text-main);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
    transition: background .2s ease-out;
  }

  .menu-icon span:before, .menu-icon span:after {
    background: var(--text-main);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
  }

  .menu-icon span:before { top: 7px; }
  .menu-icon span:after { bottom: 7px; }

  .top-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-header);
    border-bottom: 2px solid var(--accent-cyan);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  }

  .top-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .top-nav a {
    display: block;
    padding: 18px 6%;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-dark);
  }

  .menu-toggle-cb:checked ~ .top-nav { display: block; }
  .menu-toggle-cb:checked ~ .menu-icon span { background: transparent; }
  .menu-toggle-cb:checked ~ .menu-icon span:before { transform: rotate(-45deg); top: 0; }
  .menu-toggle-cb:checked ~ .menu-icon span:after { transform: rotate(45deg); bottom: 0; }
}

/* ==========================================================================
   Isolating the Global Header Top-Nav (Keeps header menu links unaffected)
   ========================================================================== */
.top-nav a, .top-nav a:visited {
  color: var(--text-muted);
  border-bottom: none !important;
}

.top-nav a:hover, .top-nav a.active {
  color: var(--accent-cyan);
  border-bottom: none !important;
}


/* Hardcoded Page Overrides for Universal Bullet & List Spacing */
.risk-bullets li, 
.bullet-block li, 
.bullet-spec li, 
.clinical-list li, 
.spec-points li {
  position: relative !important;
  padding-left: 20px !important;
  padding-bottom: 15px !important; /* Forces vertical spacing immediately after each item */
  line-height: 1.6 !important;
}

.risk-bullets li::before, 
.bullet-block li::before, 
.bullet-spec li::before, 
.clinical-list li::before, 
.spec-points li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 10px !important;            /* Keeps your mid-text level alignment intact */
  width: 6px !important;
  height: 6px !important;
  background-color: #45f3ff !important;
  border-radius: 0 !important;
  transform: none !important;
}
