
/* ==========================================================================
   PERFECT HIGH-CONTRAST LIGHT THEME & MOBILE DRAWER OVERRIDES (v99999999)
   ========================================================================== */

/* 1. Base Canvas & All Text Defaults */
html, body {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}

/* 2. Hero Section Text Contrast Fixes */
.hero, .hero-content, section.hero {
  background: #FFFFFF !important;
  color: #0F172A !important;
}

.hero h1, .hero-title, h1.hero-title, .hero h1 span:not(.grad-text):not(.highlight) {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  text-shadow: none !important;
  font-weight: 900 !important;
}

.highlight, .grad-text, span.grad-text, span.highlight {
  background: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block !important;
}

.hero p, .hero-sub, p.hero-sub {
  color: #334155 !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

/* 3. Hero Badge Contrast */
.hero-badge {
  background: rgba(124, 58, 237, 0.08) !important;
  border: 1px solid rgba(124, 58, 237, 0.25) !important;
  color: #6D28D9 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.08) !important;
}
.hero-badge .pulse-s, .hero-badge .dot {
  background: #10B981 !important;
}

/* 4. Mobile Drawer Menu (Mobile Nav) Contrast Fixes */
.mobile-nav, #mobileNav {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
  padding-top: 85px !important;
}

.mobile-nav a {
  color: #0F172A !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  padding: 14px 20px !important;
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
}

.mobile-nav a:hover, .mobile-nav a.active {
  color: #7C3AED !important;
  background: #F1F5F9 !important;
  border-color: rgba(124, 58, 237, 0.2) !important;
}

.mobile-nav .nav-roadmap-btn {
  background: linear-gradient(135deg, #7C3AED, #2563EB) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: none !important;
  margin-top: 16px !important;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3) !important;
}

/* Close Icon / Mobile Toggle Icon */
.mobile-toggle, #mobile-toggle {
  color: #0F172A !important;
  background: transparent !important;
}
.hamburger-icon line {
  stroke: #0F172A !important;
}

/* 5. Stat Pills & Cards Contrast */
.stat-pill {
  background: #FFFFFF !important;
  border: 1px solid rgba(124, 58, 237, 0.15) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}
.stat-pill div div:first-child, .stat-num {
  color: #0F172A !important;
}
.stat-pill div div:last-child, .stat-label {
  color: #475569 !important;
}

/* 6. General Page Text Headers & Subtitles */
h1, h2, h3, h4, h5, h6 {
  color: #0F172A !important;
}
p {
  color: #334155 !important;
}


/* ==========================================================================
   PERFECT HIGH-CONTRAST LIGHT THEME & MOBILE DRAWER OVERRIDES (v99999999)
   ========================================================================== */

/* 1. Base Canvas & All Text Defaults */
html, body {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}

/* 2. Hero Section Text Contrast Fixes */
.hero, .hero-content, section.hero {
  background: #FFFFFF !important;
  color: #0F172A !important;
}

.hero h1, .hero-title, h1.hero-title, .hero h1 span:not(.grad-text):not(.highlight) {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  text-shadow: none !important;
  font-weight: 900 !important;
}

.highlight, .grad-text, span.grad-text, span.highlight {
  background: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block !important;
}

.hero p, .hero-sub, p.hero-sub {
  color: #334155 !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

/* 3. Hero Badge Contrast */
.hero-badge {
  background: rgba(124, 58, 237, 0.08) !important;
  border: 1px solid rgba(124, 58, 237, 0.25) !important;
  color: #6D28D9 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.08) !important;
}
.hero-badge .pulse-s, .hero-badge .dot {
  background: #10B981 !important;
}

/* 4. Mobile Drawer Menu (Mobile Nav) Contrast Fixes */
.mobile-nav, #mobileNav {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
  padding-top: 85px !important;
}

.mobile-nav a {
  color: #0F172A !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  padding: 14px 20px !important;
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
}

.mobile-nav a:hover, .mobile-nav a.active {
  color: #7C3AED !important;
  background: #F1F5F9 !important;
  border-color: rgba(124, 58, 237, 0.2) !important;
}

.mobile-nav .nav-roadmap-btn {
  background: linear-gradient(135deg, #7C3AED, #2563EB) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: none !important;
  margin-top: 16px !important;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3) !important;
}

/* Close Icon / Mobile Toggle Icon */
.mobile-toggle, #mobile-toggle {
  color: #0F172A !important;
  background: transparent !important;
}
.hamburger-icon line {
  stroke: #0F172A !important;
}

/* 5. Stat Pills & Cards Contrast */
.stat-pill {
  background: #FFFFFF !important;
  border: 1px solid rgba(124, 58, 237, 0.15) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}
.stat-pill div div:first-child, .stat-num {
  color: #0F172A !important;
}
.stat-pill div div:last-child, .stat-label {
  color: #475569 !important;
}

/* 6. General Page Text Headers & Subtitles */
h1, h2, h3, h4, h5, h6 {
  color: #0F172A !important;
}
p {
  color: #334155 !important;
}


/* ==========================================================================
   PERFECT MOBILE NAVBAR & HAMBURGER TOGGLE SYSTEM (v999999999)
   ========================================================================== */

/* 1. Desktop Defaults (Screens > 1050px) */
@media (min-width: 1051px) {
  .mobile-toggle, #mobile-toggle {
    display: none !important;
  }
  .nav-links {
    display: flex !important;
  }
  .nav-actions .nav-saved, .nav-actions .nav-roadmap-btn {
    display: inline-flex !important;
  }
}

/* 2. Mobile & Tablet Navigation (Screens <= 1050px) */
@media (max-width: 1050px) {
  /* Hide Desktop Links */
  .nav-links, .navbar .nav-links {
    display: none !important;
  }
  .nav-actions .nav-saved, .nav-actions .nav-roadmap-btn {
    display: none !important;
  }

  /* FORCE SHOW MOBILE HAMBURGER BUTTON */
  .mobile-toggle, #mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 42px !important;
    height: 42px !important;
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 12px !important;
    padding: 8px !important;
    cursor: pointer !important;
    z-index: 10001 !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }

  .mobile-toggle:hover {
    background: #E2E8F0 !important;
    border-color: #94A3B8 !important;
  }

  .hamburger-icon {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
  }

  .hamburger-icon line {
    stroke: #0F172A !important;
    stroke-width: 2.5px !important;
    stroke-linecap: round !important;
  }

  /* Header Bar on Mobile */
  .site-header, #site-header {
    width: 94% !important;
    max-width: 100% !important;
    top: 10px !important;
    height: 60px !important;
    padding: 0 16px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    z-index: 10000 !important;
  }

  .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  /* Mobile Fullscreen Drawer Menu */
  .mobile-nav, #mobileNav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    padding: 90px 24px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease-in-out !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
  }

  .mobile-nav.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* Drawer Navigation Links */
  .mobile-nav a {
    color: #0F172A !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    padding: 14px 20px !important;
    border-radius: 14px !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: all 0.2s ease !important;
  }

  .mobile-nav a:hover, .mobile-nav a.active {
    color: #7C3AED !important;
    background: #F1F5F9 !important;
    border-color: #7C3AED !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.1) !important;
  }

  .mobile-nav .nav-roadmap-btn {
    background: linear-gradient(135deg, #7C3AED, #2563EB) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    padding: 16px !important;
    border-radius: 14px !important;
    text-align: center !important;
    justify-content: center !important;
    margin-top: 12px !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35) !important;
  }
}

/* 3. Small Screens (< 480px) */
@media (max-width: 480px) {
  .site-header, #site-header {
    width: 95% !important;
    top: 8px !important;
    height: 56px !important;
    padding: 0 12px !important;
  }
  .nav-logo {
    font-size: 1.1rem !important;
  }
  .mobile-toggle, #mobile-toggle {
    width: 38px !important;
    height: 38px !important;
    padding: 6px !important;
  }
}


/* ==========================================================================
   PERFECT FULL-WIDTH STICKY MOBILE HEADER (v9999999999)
   ========================================================================== */

/* 1. Desktop & Laptop Screens (> 768px): Sleek Floating Pill Navbar */
@media (min-width: 769px) {
  header.site-header, .site-header, #site-header {
    position: fixed !important;
    top: 16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 92% !important;
    max-width: 1200px !important;
    height: 64px !important;
    border-radius: 9999px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    z-index: 10000 !important;
  }
}

/* 2. Mobile Screens (<= 768px): Clean 100% Full-Width Top Bar (No Pill Curves) */
@media (max-width: 768px) {
  header.site-header, .site-header, #site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 60px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border-radius: 0 !important; /* Eliminates side pill curve cutouts */
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border: none !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    z-index: 10000 !important;
    box-sizing: border-box !important;
  }

  .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nav-logo {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
  }

  /* Hamburger Toggle */
  .mobile-toggle, #mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 38px !important;
    height: 38px !important;
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    padding: 6px !important;
    margin-left: auto !important;
    z-index: 10001 !important;
  }

  /* Mobile Fullscreen Drawer */
  .mobile-nav, #mobileNav {
    top: 60px !important; /* Starts right below the 60px top bar */
    height: calc(100vh - 60px) !important;
    padding: 20px 20px 40px !important;
    background: #FFFFFF !important;
  }
}

/* 3. Extra Small Screens (< 360px) */
@media (max-width: 360px) {
  header.site-header, .site-header, #site-header {
    height: 54px !important;
    padding: 0 12px !important;
  }
  .nav-logo {
    font-size: 1.05rem !important;
  }
  .mobile-toggle, #mobile-toggle {
    width: 34px !important;
    height: 34px !important;
    padding: 5px !important;
  }
  .mobile-nav, #mobileNav {
    top: 54px !important;
    height: calc(100vh - 54px) !important;
  }
}

/* ==========================================================================
   FINAL MASTER OVERRIDE (MUST BE LAST IN HEAD) - v999999999999
   ========================================================================== */

/* 1. Desktop & Laptop (> 768px): Floating Pill Navbar */
@media (min-width: 769px) {
  header.site-header, .site-header, #site-header {
    position: fixed !important;
    top: 16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 92% !important;
    max-width: 1200px !important;
    height: 64px !important;
    border-radius: 9999px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    z-index: 10000 !important;
    margin: 0 !important;
  }
}

/* 2. Mobile Screens (<= 768px): 100% Full Width Edge-to-Edge Top Bar (Zero Pill Curves!) */
@media (max-width: 768px) {
  header.site-header, .site-header, #site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 60px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border-radius: 0 !important; /* ABSOLUTELY ZERO PILL CURVES ON MOBILE */
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border: none !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    z-index: 10000 !important;
    box-sizing: border-box !important;
  }

  .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .mobile-toggle, #mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 38px !important;
    height: 38px !important;
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    padding: 6px !important;
    margin-left: auto !important;
  }
}

@media (max-width: 360px) {
  header.site-header, .site-header, #site-header {
    height: 54px !important;
    padding: 0 10px !important;
    border-radius: 0 !important;
  }
}
