/* ============================================
   GOOGLE FONTS IMPORT - MONTSERRAT
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --phlyxr-primary: #3400B0;
  --phlyxr-light-purple: #BEACE4;
  --phlyxr-light-gray: #F5F3F7;
  --phlyxr-dark-gray: #666666;
  --phlyxr-white: #FFFFFF;
  --phlyxr-urgent: #D32F2F;
  --phlyxr-text-primary: #1a1a1a;
  --phlyxr-text-secondary: #4a4a4a;
}

/* ============================================
   DARK MODE VARIABLES - UPDATED
   ============================================ */

[data-md-color-scheme="slate"] {
  /* Color variables */
  --phlyxr-primary: #BEACE4;
  --phlyxr-primary-dark: #9B7FD8;
  --phlyxr-light-purple: #7C5EC8;
  --phlyxr-light-gray: #2A2A2E;
  --phlyxr-dark-gray: #B8B8B8;
  --phlyxr-white: #1A1A1D;
  --phlyxr-urgent: #FF6B6B;
  --phlyxr-text-primary: #E8E8E8;
  --phlyxr-text-secondary: #B8B8B8;
  --phlyxr-bg-primary: #1A1A1D;
  --phlyxr-bg-secondary: #25252A;
  --phlyxr-bg-tertiary: #2F2F35;
  --phlyxr-border: rgba(190, 172, 228, 0.2);
  
  /* Material for MkDocs variables */
  --md-default-bg-color: #1A1A1D;
  --md-default-fg-color: #E8E8E8;
  --md-primary-fg-color: #BEACE4;
  --md-accent-fg-color: #BEACE4;
  --md-typeset-color: #E8E8E8;
  --md-typeset-a-color: #BEACE4;
  --md-code-bg-color: #2F2F35;
  --md-code-fg-color: #E8E8E8;
}

/* ============================================
   GLOBAL FONT & BACKGROUND - FIXED
   ============================================ */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body,.md-typeset {
  font-family: 'Montserrat', sans-serif !important;
  color: var(--phlyxr-text-primary) !important;
}

/* Light mode background */
[data-md-color-scheme="default"] body,
[data-md-color-scheme="default"].md-typeset {
  background: linear-gradient(180deg, #FAF9FB 0%, #FFFFFF 100%) no-repeat fixed !important;
  background-size: 100% 100% !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700;
}.md-header,.md-nav,.md-footer {
  font-family: 'Montserrat', sans-serif !important;
}.md-main,.md-container,.md-content {
  background: transparent !important;
  max-width: 100%;
}.md-grid {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   HEADER FIXES
   ============================================ */.md-header {
  background-color: var(--phlyxr-primary) !important;
}.md-tabs {
  background-color: var(--phlyxr-light-purple) !important;
}

/* Hide the "Index" title completely */.md-header__title {
  display: none !important;
}.md-header__button.md-logo {
  background: rgba(255,255,255,0.95);
  border-radius: 999px;
  padding: 8px;
  margin: 6px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}.md-header__button.md-logo img,.md-header__button.md-logo svg {
  height: 28px;
  width: auto;
}

/* ============================================
   ANNOUNCEMENT BAR - FIXED
   ============================================ */.md-banner {
  background: linear-gradient(90deg, #3400B0 0%, #2800A0 100%) !important;
  color: #FFFFFF !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  padding: 0.9rem 1rem !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1001 !important;
  width: 100% !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}.md-banner__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  color: #FFFFFF !important;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.4rem 1rem !important;
}.md-banner__inner * {
  color: #3400B0 !important;
}.md-banner__inner span {
  margin-right: 0.5rem;
}.announce-cta-inline {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #FFFFFF !important;
  line-height: 1.2;
  white-space: nowrap;
  background: transparent;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}.announce-cta-inline:hover {
  border-color: #3400B0 !important;
  transform: translateY(-1px);
  background: #BEACE4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}.announce-cta-inline.primary {
  background: #3400B0;
  border-width: 1.5px;
}

/* ============================================
   RESPONSIVE SIDEBAR FIXES - COMPLETE
   ============================================ */.md-sidebar--primary {
  position: fixed;
  top: 3.5rem;
  left: 0;
  transform: translateX(-100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  width: 12.1rem;
  height: calc(100vh - 3.5rem);
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--phlyxr-white);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

/* When announcement bar is present */
body:has(.md-banner).md-sidebar--primary {
  top: 7rem;
  height: calc(100vh - 7rem);
}

/* Show sidebar when drawer is checked */
[data-md-toggle="drawer"]:checked ~.md-container.md-sidebar--primary,
[data-md-toggle="drawer"]:checked ~ *.md-sidebar--primary {
  transform: translateX(0);
}

/* Overlay when sidebar is open */.md-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0);
  z-index: 99;
  transition: all 0.25s;
}

[data-md-toggle="drawer"]:checked ~.md-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.54);
}

/* Hide secondary sidebar */.md-sidebar--secondary {
  display: none !important;
}

/* Sidebar scrollwrap */.md-sidebar__scrollwrap {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--phlyxr-light-purple) transparent;
}.md-sidebar__scrollwrap::-webkit-scrollbar {
  width: 6px;
}.md-sidebar__scrollwrap::-webkit-scrollbar-track {
  background: transparent;
}.md-sidebar__scrollwrap::-webkit-scrollbar-thumb {
  background: var(--phlyxr-light-purple);
  border-radius: 3px;
}.md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover {
  background: var(--phlyxr-primary);
}

/* Navigation links */.md-nav {
  font-family: 'Montserrat', sans-serif;
  padding: 0.5rem;
}.md-nav__link {
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
}.md-nav__link:hover {
  background-color: rgba(52, 0, 176, 0.1);
  color: var(--phlyxr-primary);
}.md-nav__link--active {
  background-color: rgba(52, 0, 176, 0.15);
  color: var(--phlyxr-primary) !important;
  font-weight: 700;
}

/* Responsive adjustments */
@media screen and (max-width: 76.1875em) {.md-sidebar--primary {
    position: fixed;
    left: 0;
    width: 12.1rem;
  }
}

@media screen and (max-width: 600px) {.md-sidebar--primary {
    width: 80vw;
    max-width: 16rem;
  }
}

@media screen and (max-width: 400px) {.md-sidebar--primary {
    width: 85vw;
    max-width: 14rem;
  }
}

/* Ensure content doesn't get pushed */.md-content {
  margin-left: 0 !important;
  max-width: 1200px;
  margin: 0 auto;
}.md-main__inner {
  max-width: 100%;
}

/* ============================================
   HAMBURGER MENU BUTTON
   ============================================ */.md-header__button.md-icon {
  display: inline-block !important;
  color: var(--phlyxr-white) !important;
  padding: 0.5rem;
  margin: 0 0.25rem;
}.md-header__button.md-icon:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

/* Ensure hamburger is always visible on mobile */
@media screen and (max-width: 76.1875em) {.md-header__button.md-icon[for="__drawer"] {
    display: inline-block !important;
  }
}

/* ============================================
   FIX NAVIGATION - REMOVE "HOME" TEXT
   ============================================ .md-nav__title {
  display: none !important;
}

/* Hide any "Index" or "Home" text in navigation .md-nav__list >.md-nav__item:first-child >.md-nav__link[href="#"] {
  display: none !important;
}*/

/* ============================================
   FIX NAVIGATION - SHOW PAGES
   ============================================ */
/* Show navigation title */.md-nav__title {
  font-weight: 800;
  color: var(--phlyxr-primary);
  padding: 1rem 0.75rem;
  font-size: 1.1rem;
}

/* Show navigation items */.md-nav__list {
  padding: 0;
}.md-nav__item {
  padding: 0.25rem 0;
}

/* Style navigation links */.md-nav__link {
  display: block;
  padding: 0.625rem 0.75rem;
  color: var(--phlyxr-text-primary);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
}.md-nav__link:hover {
  background-color: rgba(52, 0, 176, 0.1);
  color: var(--phlyxr-primary);
}.md-nav__link--active {
  background-color: rgba(52, 0, 176, 0.15);
  color: var(--phlyxr-primary) !important;
  font-weight: 700;
}

/* Show nested navigation */.md-nav--secondary.md-nav__list {
  padding-left: 0.5rem;
}.md-nav--secondary.md-nav__item {
  font-size: 0.9rem;
}

/* Hide the black search bar, keep only the icon */.md-search__form {
  display: none !important;
}

/* Ensure search icon remains visible */.md-header__button.md-icon {
  display: block;
}

/* ============================================
   HERO SECTION
   ============================================ */.hero-section {
  min-height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  margin: -2rem -2rem 2rem -2rem;
}.phlyxr-logo-img {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}.hero-tagline {
  font-size: 2rem;
  color: var(--phlyxr-primary);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
  letter-spacing: -0.5px;
}.hero-subtitle {
  font-size: 1.8rem;
  color: var(--phlyxr-text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}.hero-description {
  font-size: 1.1rem;
  color: var(--phlyxr-text-secondary);
  margin-bottom: 3rem;
  max-width: 700px;
  line-height: 1.6;
  font-weight: 500;
}.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(52,0,176,0.15);
  color: var(--phlyxr-primary);
  font-weight: 700;
  margin: 0 0 1.25rem 0;
}.hero-links {
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--phlyxr-text-primary);
}.hero-link {
  text-decoration: none !important;
  color: var(--phlyxr-text-primary) !important;
  border-bottom: 2px solid var(--phlyxr-primary);
  padding-bottom: 2px;
  font-weight: 700;
}.hero-link:hover {
  color: var(--phlyxr-primary) !important;
  border-bottom-color: #2800A0;
}.hero-links.dot {
  margin: 0 0.35rem;
  opacity: 0.8;
  color: var(--phlyxr-text-primary);
}

/* ============================================
   DARK MODE - HERO SECTION
   ============================================ */

[data-md-color-scheme="slate"].hero-section {
  background: linear-gradient(135deg, #25252A 0%, #2F2F35 100%) !important;
  border-bottom: 1px solid rgba(190, 172, 228, 0.2);
  min-height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  margin: -2rem -2rem 2rem -2rem;
}

[data-md-color-scheme="slate"].phlyxr-logo-img {
  filter: brightness(1.1);
  max-width: 600px;
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

[data-md-color-scheme="slate"].hero-tagline {
  color: #BEACE4 !important;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

[data-md-color-scheme="slate"].hero-subtitle {
  color: #B8B8B8 !important;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

[data-md-color-scheme="slate"].hero-description {
  color: #B8B8B8 !important;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  line-height: 1.6;
  font-weight: 500;
}

[data-md-color-scheme="slate"].kicker {
  background: rgba(190, 172, 228, 0.15) !important;
  border: 1px solid rgba(190, 172, 228, 0.2) !important;
  color: #BEACE4 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  margin: 0 0 1.25rem 0;
}

[data-md-color-scheme="slate"].hero-links {
  color: #E8E8E8 !important;
}

[data-md-color-scheme="slate"].hero-link {
  color: #E8E8E8 !important;
  border-bottom-color: #BEACE4 !important;
}

[data-md-color-scheme="slate"].hero-link:hover {
  color: #BEACE4 !important;
  border-bottom-color: #9B7FD8 !important;
}

[data-md-color-scheme="slate"].hero-links.dot {
  color: #B8B8B8 !important;
}

/* ============================================
   BUTTONS
   ============================================ */.cta-button {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--phlyxr-primary);
  color: var(--phlyxr-white) !important;
  padding: 1rem 3rem;
  border-radius: 50px;
  text-decoration: none !important;
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-block;
  margin: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid var(--phlyxr-primary);
  letter-spacing: 0.2px;
  text-transform: none;
}.cta-button:hover {
  background-color: #2800A0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 0, 176, 0.3);
  color: var(--phlyxr-white) !important;
}.cta-button.secondary {
  background-color: transparent;
  color: var(--phlyxr-primary) !important;
  border: 2px solid var(--phlyxr-primary);
}.cta-button.secondary:hover {
  background-color: var(--phlyxr-primary);
  color: var(--phlyxr-white) !important;
}.cta-button.tertiary {
  background-color: rgba(255,255,255,0.35);
  color: var(--phlyxr-primary) !important;
  border: 2px solid rgba(52, 0, 176, 0.25);
}.cta-button.tertiary:hover {
  background-color: rgba(255,255,255,0.65);
  color: var(--phlyxr-primary) !important;
}.cta-button.large {
  font-size: 1.4rem;
  padding: 1.2rem 3.5rem;
}

/* Footer buttons - white background */.footer-cta.cta-button {
  background-color: var(--phlyxr-white);
  color: var(--phlyxr-primary) !important;
  border: 2px solid var(--phlyxr-white);
}.footer-cta.cta-button:hover {
  background-color: var(--phlyxr-light-purple);
  color: var(--phlyxr-primary) !important;
  transform: translateY(-2px);
}.footer-cta.cta-button.secondary {
  background-color: var(--phlyxr-white);
  color: var(--phlyxr-primary) !important;
  border: 2px solid var(--phlyxr-white);
}.footer-cta.cta-button.secondary:hover {
  background-color: var(--phlyxr-light-purple);
  color: var(--phlyxr-primary) !important;
}.footer-cta.cta-button.tertiary {
  background-color: var(--phlyxr-white);
  color: var(--phlyxr-primary) !important;
  border: 2px solid var(--phlyxr-white);
}.footer-cta.cta-button.tertiary:hover {
  background-color: var(--phlyxr-light-purple);
  color: var(--phlyxr-primary) !important;
}

/* ============================================
   SOCIAL LINKS
   ============================================ */.social-links {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}.social-links a {
  transition: all 0.3s ease;
  background: var(--phlyxr-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-decoration: none !important;
}.social-links a:hover {
  transform: scale(1.15);
  background: var(--phlyxr-primary);
  box-shadow: 0 4px 12px rgba(52, 0, 176, 0.3);
}.social-links a svg {
  width: 28px;
  height: 28px;
  fill: var(--phlyxr-primary);
  transition: fill 0.3s ease;
  display: block;
}.social-links a:hover svg {
  fill: var(--phlyxr-white);
}

/* ============================================
   STATS GRID
   ============================================ */.stats-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media screen and (min-width: 60em) {.stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 40em) and (max-width: 59.99em) {.stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 39.99em) {.stats-grid {
    grid-template-columns: 1fr;
  }
}.stat-card {
  background: linear-gradient(135deg, var(--phlyxr-white) 0%, var(--phlyxr-light-gray) 100%);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: left;
  border-left: 5px solid var(--phlyxr-primary);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}.stat-card.urgent {
  border-left-color: var(--phlyxr-urgent);
}.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(52, 0, 176, 0.15);
}.stat-number {
  white-space: nowrap;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--phlyxr-urgent);
  line-height: 1;
  margin-bottom: 0.75rem;
}.stat-label {
    color: var(--phlyxr-dark-gray);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}.stat-source {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: rgba(133,124,136,0.95);
  font-weight: 600;
}.stat-source a {
  color: rgba(52,0,176,0.95) !important;
  text-decoration: none !important;
  border-bottom: 2px solid rgba(52,0,176,0.15);
  padding-bottom: 1px;
}.stat-source a:hover {
  border-bottom-color: rgba(52,0,176,0.55);
}

/* ============================================
   FEATURE GRID
   ============================================ */.feature-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media screen and (min-width: 70em) {.feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 69.99em) {.feature-grid {
    grid-template-columns: 1fr;
  }
}.feature-card {
  background: linear-gradient(135deg, var(--phlyxr-white) 0%, var(--phlyxr-light-gray) 100%);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid var(--phlyxr-primary);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(52, 0, 176, 0.15);
  border-left-color: var(--phlyxr-light-purple);
}.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}.feature-title {
  font-size: 1.5rem;
  color: var(--phlyxr-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  display: block;

}.feature-card h3 {
  color: var(--phlyxr-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}.feature-card p {
  color: var(--phlyxr-dark-gray);
  line-height: 1.6;
  font-weight: 400;
}

/* ============================================
   INVESTOR PANEL - FIXED
   ============================================ */.investor-toggle {
  background: linear-gradient(135deg, rgba(190,172,228,0.25) 0%, rgba(216,213,217,0.45) 100%);
  padding: 1.5rem 2rem;
  border-radius: 15px;
  border-left: 5px solid var(--phlyxr-primary);
  margin: 2rem 0;
  transition: all 0.3s ease;
}.investor-toggle:hover {
  background: linear-gradient(135deg, rgba(190,172,228,0.35) 0%, rgba(216,213,217,0.55) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 0, 176, 0.15);
}.investor-toggle summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--phlyxr-primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}.investor-toggle summary::-webkit-details-marker {
  display: none;
}.investor-toggle summary::marker {
  display: none;
}.investor-panel {
  background: transparent;
  padding: 2rem 0 0 0;
  margin-top: 1.5rem;
}.investor-panel h3 {
  color: var(--phlyxr-primary);
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}.investor-panel h3:first-child {
  margin-top: 0;
}.investor-panel ul {
  margin-left: 1.5rem;
  list-style: disc;
}.investor-panel li {
  margin: 0.5rem 0;
  line-height: 1.6;
  font-weight: 400;
}.investor-panel p {
  line-height: 1.6;
  font-weight: 400;
}

/* ============================================
   FIX INVESTOR DROPDOWN TITLE
   ============================================ */.investor-toggle summary {
  font-size: 1rem !important;
  font-weight: 700 !important;
}.investor-toggle summary h2 {
  font-size: 1rem !important;
  font-weight: 700 !important;
}

/* Remove the duplicate "For investors" heading above */.investor-toggle + h2,
h2#for-investors {
  display: none;
}

/* ============================================
   TEAM SECTION
   ============================================ */.team-section-title {
  color: var(--phlyxr-primary);
  font-size: 2rem;
  font-weight: 800;
  margin: 3rem 0 1rem 0;
  text-align: center;
}.team-section-subtitle {
  color: var(--phlyxr-dark-gray);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2.5rem 0 1.5rem 0;
  text-align: center;
  border-bottom: 2px solid var(--phlyxr-light-purple);
  padding-bottom: 0.5rem;
}.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0 3rem 0;
}.team-card {
  background: var(--phlyxr-white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-top: 5px solid var(--phlyxr-primary);
  position: relative;
}.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(52, 0, 176, 0.2);
}.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 5px solid var(--phlyxr-light-purple);
}.team-card h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--phlyxr-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
}.team-card.team-role {
  font-family: 'Montserrat', sans-serif;
  color: var(--phlyxr-dark-gray);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}.team-card p {
  font-family: 'Montserrat', sans-serif;
  color: var(--phlyxr-dark-gray);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 1.5rem;
}.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--phlyxr-primary);
  color: var(--phlyxr-white);
  transition: all 0.3s ease;
  text-decoration: none !important;
}.linkedin-icon:hover {
  background: var(--phlyxr-light-purple);
  transform: scale(1.1);
}.linkedin-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--phlyxr-white) !important;
}

/* ============================================
   OTHER SECTIONS
   ============================================ */.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2rem 0 1rem 0;
}.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--phlyxr-white) 0%, rgba(216,213,217,0.55) 100%);
  border: 1px solid rgba(52,0,176,0.10);
}.step-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--phlyxr-white);
  background: var(--phlyxr-primary);
  flex: 0 0 38px;
}.cta-panel {
  background: linear-gradient(135deg, rgba(190,172,228,0.55) 0%, rgba(216,213,217,0.65) 100%);
  padding: 2.5rem;
  border-radius: 20px;
  margin: 1.25rem 0;
}.note {
  margin: 1.5rem 0 0 0;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(190,172,228,0.35) 0%, rgba(216,213,217,0.55) 100%);
  border-left: 5px solid var(--phlyxr-primary);
}.note strong {
  color: var(--phlyxr-primary);
}.milestones {
  background: linear-gradient(135deg, var(--phlyxr-white) 0%, var(--phlyxr-light-gray) 100%);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid var(--phlyxr-primary);
}.milestones li {
  margin: 0.75rem 0;
  font-weight: 500;
}

/* ============================================
   MINI CHART
   ============================================ */.mini-chart-wrap {
  margin: 1.25rem 0 0 0;
  padding: 1.75rem 1.75rem 1.25rem 1.75rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(176, 169, 217, 0.85) 0%, rgba(216,213,217,0.6) 100%);
  border: 1px solid rgba(52,0,176,0.12);
}.mini-chart-title {
  font-weight: 900;
  color: var(--phlyxr-primary);
  letter-spacing: -0.2px;
  margin-bottom: 0.75rem;
}.mini-chart {
  width: 100%;
  height: auto;
  max-width: 760px;
  display: block;
}.mini-axis {
  stroke: rgba(83, 72, 87, 0.95);
  stroke-width: 2;
}.mini-bar {
  fill: rgba(52,0,176,0.45);
}.mini-bar.urgent {
  fill: rgba(255,68,68,0.60);
}.mini-value {
  font-weight: 900;
  font-size: 20px;
  fill: rgba(52,0,176,0.95);
}.mini-label {
  font-weight: 800;
  font-size: 16px;
  fill: rgba(83, 72, 87, 0.95);
}.mini-chart-note {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: rgba(83, 72, 87, 0.95);
  font-weight: 600;
}.mini-chart-note a {
  color: rgba(52,0,176,0.95) !important;
  text-decoration: none !important;
  border-bottom: 2px solid rgba(52,0,176,0.15);
  padding-bottom: 1px;
  margin-left: 0.35rem;
}.mini-chart-note a:hover {
  border-bottom-color: rgba(52,0,176,0.55);
}

/* ============================================
   FOOTER
   ============================================ */.footer-cta {
  background: linear-gradient(135deg, var(--phlyxr-primary) 0%, #2800A0 100%);
  color: var(--phlyxr-white);
  padding: 4rem 2rem;
  margin: 4rem -2rem -2rem -2rem;
  text-align: center;
  border-radius: 0;
}.footer-cta h2 {
  color: var(--phlyxr-white) !important;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}.footer-cta p {
  color: var(--phlyxr-light-purple);
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 2rem;
  font-weight: 500;
}.sources-footer {
  margin: 3rem 0 0 0;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  background: rgba(216,213,217,0.35);
  border: 1px solid rgba(52,0,176,0.10);
}.sources-footer h3 {
  margin-top: 0;
  color: var(--phlyxr-primary);
}.sources-footer ul {
  margin: 0.75rem 0 0 1.25rem;
}.sources-footer li {
  font-size: 0.9rem;
  line-height: 1.5;
}.sources-footer details {
  margin-top: 0.75rem;
}.sources-footer summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--phlyxr-primary);
}.md-footer {
  background-color: var(--phlyxr-primary);
}.md-footer-meta {
  background-color: #2800A0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */.md-typeset h1 {
  color: var(--phlyxr-primary);
  border-bottom: 3px solid var(--phlyxr-light-purple);
  padding-bottom: 0.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}.md-typeset h2 {
  color: var(--phlyxr-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}.md-typeset h3 {
  color: var(--phlyxr-dark-gray);
  font-weight: 700;
}.md-typeset p,.md-typeset li {
  font-weight: 400;
  line-height: 1.7;
}.md-typeset strong {
  font-weight: 700;
}.md-typeset a {
  color: var(--phlyxr-primary);
  text-decoration: underline;
  text-decoration-color: var(--phlyxr-light-purple);
  transition: all 0.2s ease;
  font-weight: 600;
}.md-typeset a:hover {
  color: #2800A0;
  text-decoration-color: var(--phlyxr-primary);
}

/* ============================================
   ADMONITIONS
   ============================================ */.md-typeset.admonition {
  border-left: 4px solid var(--phlyxr-primary);
  background: linear-gradient(135deg, var(--phlyxr-white) 0%, var(--phlyxr-light-gray) 100%);
}.md-typeset.admonition-title {
  background-color: var(--phlyxr-light-purple);
  color: var(--phlyxr-primary);
  font-weight: 700;
}

/* ============================================
   TABLES
   ============================================ */.md-typeset table:not([class]) {
  border: 2px solid var(--phlyxr-light-purple);
  border-radius: 8px;
  overflow: hidden;
}.md-typeset table:not([class]) th {
  background-color: var(--phlyxr-primary);
  color: var(--phlyxr-white);
  font-weight: 700;
}.md-typeset table:not([class]) td {
  font-weight: 500;
}.md-typeset table:not([class]) tr:hover {
  background-color: var(--phlyxr-light-gray);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */.sticky-mobile-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  width: calc(100% - 28px);
  max-width: 520px;
  z-index: 999;
  text-align: center;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  font-weight: 900;
  background: var(--phlyxr-primary);
  color: var(--phlyxr-white) !important;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.20);
  border: 2px solid rgba(255,255,255,0.25);
  display: none;
}.sticky-mobile-cta:hover {
  transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 700px) {.sticky-mobile-cta {
    display: block;
  }
  
  body {
    padding-bottom: 90px;
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {.phlyxr-logo-img {
    max-width: 300px;
  }.hero-tagline {
    font-size: 1.5rem;
  }.hero-subtitle {
    font-size: 1.3rem;
  }.hero-description {
    font-size: 1rem;
  }.cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }.feature-grid {
    grid-template-columns: 1fr;
  }.stats-grid {
    grid-template-columns: 1fr;
  }.team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {.hero-tagline {
    font-size: 1.2rem;
  }.hero-subtitle {
    font-size: 1.1rem;
  }.cta-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }.social-links a {
    width: 50px;
    height: 50px;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */.md-nav {
  font-family: 'Montserrat', sans-serif;
}.md-nav__link {
  font-weight: 600;
}.md-nav__link--active {
  color: var(--phlyxr-primary);
  font-weight: 700;
}

/* ============================================
   END OF CSS
   ============================================ */
/* ============================================
   FIX: Proper Layout - No Blank Space
   ============================================ */

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}.md-container {
  max-width: 100%;
  margin: 0 auto;
}.md-main {
  overflow-x: hidden;
}.md-content {
  max-width: 100%;
}.md-content__inner {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1.5rem;
}

/* ============================================
   STICKY HEADER - SCROLLS WITH PAGE
   ============================================ */.md-header {
  position: fixed !important;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* Add padding to body so content isn't hidden under header */
body {
  padding-top: 3.5rem;
}

/* Announcement bar should also be sticky */.md-announce {
  position: fixed !important;
  top: 0;
  z-index: 1001;
  width: 100%;
}

/* Adjust header position when announcement is present */.md-header {
  top: 0;
}

body:has(.md-announce) {
  padding-top: 7rem;
}

body:has(.md-announce).md-header {
  top: 3.5rem;
}

/* Hide "Index" text in header */.md-header__title.md-header__ellipsis {
  display: none;
}

/* Add "Home" text */.md-header__title::after {
  content: "Home";
  color: var(--phlyxr-white);
  font-weight: 700;
}

/* Hide header title completely 
.md-header__title {
  display: none;
} */

/* ============================================
   HIDE RIGHT SIDEBAR - MOVE TO HAMBURGER
   ============================================ */.md-sidebar--secondary {
  display: none !important;
}

/* Show table of contents in primary sidebar instead */.md-sidebar--primary.md-sidebar__scrollwrap {
  overflow: visible;
}

/* Force announcement bar styling */.md-announce,.md-announce * {
  color: #FFFFFF !important;
}.md-announce {
  background: #3400B0 !important;
}

/* Fix close button position */.md-announce.md-button {
  color: #FFFFFF !important;
}

/* ============================================
   CHANGE "INDEX" TO "HOME"
   ============================================ */

/* Hide the word "Index" 
.md-nav__title {
  display: none;
}

/* Or replace it with "Home" */.md-nav__list >.md-nav__item:first-child.md-nav__link::before {
  content: "Home";
  font-weight: 700;
}

/* Also fix header title */.md-header__title.md-ellipsis {
  visibility: hidden;
  position: relative;
}.md-header__title.md-ellipsis::after {
  content: "PHLYXR";
  visibility: visible;
  position: absolute;
  left: 0;
  color: #FFFFFF;
  font-weight: 700;
}

/* ============================================
   REMOVE "INDEX" TEXT EVERYWHERE
   ============================================ */

/* Hide "Index" in header */.md-header__title {
  display: none !important;
}

/* Hide "Index" in sidebar navigation */.md-nav__title {
  display: none !important;
}

/* Hide the h1 "Index" on the page */.md-content h1:first-of-type {
  display: none !important;
}

/* Alternative: if there's an h1 with text "Index", hide it */
h1:contains("Index") {
  display: none !important;
}

/* ============================================
   FOOTER LOGO WITH PILL BACKGROUND
   ============================================ */.footer-logo-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 3rem auto;
  padding: 2rem 1rem;
}.footer-logo-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1100px;
  aspect-ratio: 5.5 / 1;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 500px;
  z-index: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}.footer-logo-img {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 80%;
  height: auto;
  display: block;
}

/* Responsive pill sizing */
@media (max-width: 1200px) {.footer-logo-pill {
    width: 85%;
    max-width: 900px;
  }.footer-logo-img {
    width: 75%;
    max-width: 750px;
  }
}

@media (max-width: 900px) {.footer-logo-pill {
    width: 90%;
    max-width: 700px;
  }.footer-logo-img {
    width: 80%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {.footer-logo-pill {
    width: 92%;
    max-width: 550px;
  }.footer-logo-img {
    width: 82%;
    max-width: 480px;
  }
}

@media (max-width: 600px) {.footer-logo-pill {
    width: 95%;
    max-width: 450px;
    border-radius: 300px;
  }.footer-logo-img {
    width: 85%;
    max-width: 400px;
  }
}

@media (max-width: 480px) {.footer-logo-pill {
    width: 96%;
    max-width: 350px;
    border-radius: 200px;
  }.footer-logo-img {
    width: 88%;
    max-width: 320px;
  }
}

@media (max-width: 360px) {.footer-logo-pill {
    width: 98%;
    max-width: 300px;
    border-radius: 150px;
  }.footer-logo-img {
    width: 90%;
    max-width: 280px;
  }
}

/* ============================================
   PREVENT SCROLL WHEN SIDEBAR OPEN
   ============================================ */
[data-md-toggle="drawer"]:checked ~.md-container {
  overflow: hidden;
}

body:has([data-md-toggle="drawer"]:checked) {
  overflow: hidden;
}

/* ============================================
   SURVEY INFO PAGE
   ============================================ */.info-box {
  background: linear-gradient(135deg, rgba(190,172,228,0.15) 0%, rgba(216,213,217,0.25) 100%);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid var(--phlyxr-primary);
  margin: 2rem 0;
}.info-box strong {
  color: var(--phlyxr-primary);
  font-weight: 700;
}

/* ============================================
   SHOW PAGE SECTIONS IN SIDEBAR
   ============================================ */.md-nav--primary.md-nav__item--nested >.md-nav__link {
  font-weight: 700;
  color: var(--phlyxr-primary);
}.md-nav--primary.md-nav__item--active >.md-nav__link {
  color: var(--phlyxr-primary);
  font-weight: 700;
}

/* Show section links */.md-nav__item.md-nav__item {
  padding-left: 0.5rem;
}.md-nav__item.md-nav__item.md-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Expand icon for nested items */.md-nav__item--nested >.md-nav__link::after {
  content: "▼";
  font-size: 0.7rem;
  margin-left: auto;
  transition: transform 0.2s;
}.md-nav__item--nested.md-nav__item--active >.md-nav__link::after {
  transform: rotate(180deg);
}

/* ============================================
   HIDE BLACK SEARCH BAR COMPLETELY
   ============================================ */

/* Hide the entire search section in header */.md-search {
  display: none !important;
}

/* ============================================
   SURVEY INFO PAGE IMPROVEMENTS
   ============================================ */

/* Better spacing for survey page */.md-typeset h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--phlyxr-light-purple);
}.md-typeset h2:first-of-type {
  border-top: none;
  margin-top: 1rem;
}

/* Improve admonition styling */.md-typeset.admonition {
  margin: 2rem 0;
  padding: 1.5rem;
}.md-typeset.admonition.info {
  border-left-color: var(--phlyxr-primary);
}.md-typeset.admonition.warning {
  border-left-color: var(--phlyxr-urgent);
}.md-typeset.admonition.note {
  border-left-color: var(--phlyxr-light-purple);
}.md-typeset.admonition-title {
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}.md-typeset.admonition p:last-child {
  margin-bottom: 0;
}

/* Better list styling in survey page */.md-typeset ul li {
  margin: 0.5rem 0;
}

/* CTA panel improvements */.cta-panel {
  background: linear-gradient(135deg, rgba(190,172,228,0.25) 0%, rgba(216,213,217,0.45) 100%);
  padding: 3rem 2rem;
  border-radius: 20px;
  border: 2px solid var(--phlyxr-light-purple);
  margin: 3rem 0;
  box-shadow: 0 4px 15px rgba(52, 0, 176, 0.1);
}.cta-panel h3 {
  color: var(--phlyxr-primary);
  margin-top: 0;
  font-size: 1.8rem;
}

/* Button container */.cta-panel > div {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Sticky CTA improvements */.sticky-mobile-cta {
  font-size: 1rem;
  padding: 1rem 2rem;
}

/* ============================================
   DARK MODE - SURVEY PAGE
   ============================================ */

[data-md-color-scheme="slate"].md-typeset h2 {
  border-top-color: rgba(190, 172, 228, 0.3);
}

[data-md-color-scheme="slate"].cta-panel {
  background: linear-gradient(135deg, rgba(190, 172, 228, 0.15) 0%, rgba(47, 47, 53, 0.5) 100%);
  border-color: var(--phlyxr-border);
}

[data-md-color-scheme="slate"].cta-panel h3 {
  color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].md-typeset.admonition {
  background: linear-gradient(135deg, var(--phlyxr-bg-secondary) 0%, var(--phlyxr-bg-tertiary) 100%);
}

[data-md-color-scheme="slate"].md-typeset.admonition-title {
  background-color: rgba(190, 172, 228, 0.2);
  color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].md-typeset.admonition.warning.admonition-title {
  background-color: rgba(255, 107, 107, 0.2);
  color: var(--phlyxr-urgent);
}

/* ============================================
   DARK MODE VARIABLES
   ============================================ */

[data-md-color-scheme="slate"] {
  --phlyxr-primary: #BEACE4;
  --phlyxr-primary-dark: #9B7FD8;
  --phlyxr-light-purple: #7C5EC8;
  --phlyxr-light-gray: #2A2A2E;
  --phlyxr-dark-gray: #B8B8B8;
  --phlyxr-white: #1A1A1D;
  --phlyxr-urgent: #FF6B6B;
  --phlyxr-text-primary: #E8E8E8;
  --phlyxr-text-secondary: #B8B8B8;
  --phlyxr-bg-primary: #1A1A1D;
  --phlyxr-bg-secondary: #25252A;
  --phlyxr-bg-tertiary: #2F2F35;
  --phlyxr-border: rgba(190, 172, 228, 0.2);
}

/* ============================================
   DARK MODE - GLOBAL STYLES
   ============================================ */

[data-md-color-scheme="slate"] body,
[data-md-color-scheme="slate"].md-typeset {
  background: linear-gradient(180deg, #1A1A1D 0%, #25252A 100%) no-repeat fixed !important;
  background-size: 100% 100% !important;
  color: var(--phlyxr-text-primary) !important;
}

[data-md-color-scheme="slate"].md-main,
[data-md-color-scheme="slate"].md-container,
[data-md-color-scheme="slate"].md-content {
  background: transparent !important;
}

/* ============================================
   DARK MODE - HEADER
   ============================================ */

[data-md-color-scheme="slate"].md-header {
  background: linear-gradient(90deg, #2A2A2E 0%, #1F1F23 100%) !important;
  border-bottom: 1px solid var(--phlyxr-border);
}

[data-md-color-scheme="slate"].md-tabs {
  background-color: var(--phlyxr-bg-tertiary) !important;
  border-bottom: 1px solid var(--phlyxr-border);
}

[data-md-color-scheme="slate"].md-header__button.md-logo {
  background: rgba(190, 172, 228, 0.15);
  border: 1px solid var(--phlyxr-border);
}

/* ============================================
   DARK MODE - ANNOUNCEMENT BAR
   ============================================ */

[data-md-color-scheme="slate"].md-banner {
  background: linear-gradient(90deg, #2F2F35 0%, #25252A 100%) !important;
  border-bottom: 1px solid var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].md-banner__inner * {
  color: var(--phlyxr-text-primary) !important;
}

[data-md-color-scheme="slate"].announce-cta-inline {
  background: var(--phlyxr-primary);
  color: #1A1A1D !important;
  border: 1.5px solid var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].announce-cta-inline:hover {
  background: var(--phlyxr-primary-dark);
  border-color: var(--phlyxr-primary-dark);
  color: #1A1A1D !important;
}

[data-md-color-scheme="slate"].announce-cta-inline.primary {
  background: var(--phlyxr-primary);
  color: #1A1A1D !important;
}

/* ============================================
   DARK MODE - SIDEBAR
   ============================================ */

[data-md-color-scheme="slate"].md-sidebar--primary {
  background-color: var(--phlyxr-bg-secondary);
  border-right: 1px solid var(--phlyxr-border);
}

[data-md-color-scheme="slate"].md-nav__link {
  color: var(--phlyxr-text-primary);
}

[data-md-color-scheme="slate"].md-nav__link:hover {
  background-color: rgba(190, 172, 228, 0.15);
  color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].md-nav__link--active {
  background-color: rgba(190, 172, 228, 0.25);
  color: var(--phlyxr-primary) !important;
}

[data-md-color-scheme="slate"].md-nav__title {
  color: var(--phlyxr-primary);
}

/* ============================================
   DARK MODE - BUTTONS
   ============================================ */

[data-md-color-scheme="slate"].cta-button {
  background-color: var(--phlyxr-primary);
  color: #1A1A1D !important;
  border-color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].cta-button:hover {
  background-color: var(--phlyxr-primary-dark);
  color: #1A1A1D !important;
  box-shadow: 0 5px 15px rgba(190, 172, 228, 0.3);
}

[data-md-color-scheme="slate"].cta-button.secondary {
  background-color: transparent;
  color: var(--phlyxr-primary) !important;
  border: 2px solid var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].cta-button.secondary:hover {
  background-color: var(--phlyxr-primary);
  color: #1A1A1D !important;
}

[data-md-color-scheme="slate"].cta-button.tertiary {
  background-color: rgba(190, 172, 228, 0.15);
  color: var(--phlyxr-primary) !important;
  border: 2px solid var(--phlyxr-border);
}

[data-md-color-scheme="slate"].cta-button.tertiary:hover {
  background-color: rgba(190, 172, 228, 0.25);
}

/* ============================================
   DARK MODE - CARDS
   ============================================ */

[data-md-color-scheme="slate"].stat-card,
[data-md-color-scheme="slate"].feature-card {
  background: linear-gradient(135deg, var(--phlyxr-bg-secondary) 0%, var(--phlyxr-bg-tertiary) 100%);
  border-left-color: var(--phlyxr-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-md-color-scheme="slate"].stat-card:hover,
[data-md-color-scheme="slate"].feature-card:hover {
  box-shadow: 0 8px 25px rgba(190, 172, 228, 0.2);
  border-left-color: var(--phlyxr-primary-dark);
}

[data-md-color-scheme="slate"].stat-number {
  color: var(--phlyxr-urgent);
}

[data-md-color-scheme="slate"].stat-label {
  color: var(--phlyxr-text-secondary);
}

[data-md-color-scheme="slate"].stat-source {
  color: var(--phlyxr-text-secondary);
}

[data-md-color-scheme="slate"].stat-source a {
  color: var(--phlyxr-primary) !important;
  border-bottom-color: rgba(190, 172, 228, 0.3);
}

[data-md-color-scheme="slate"].stat-source a:hover {
  border-bottom-color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].feature-title,
[data-md-color-scheme="slate"].feature-card h3 {
  color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].feature-card p {
  color: var(--phlyxr-text-secondary);
}

/* ============================================
   DARK MODE - TEAM CARDS
   ============================================ */

[data-md-color-scheme="slate"].team-card {
  background: var(--phlyxr-bg-secondary);
  border-top-color: var(--phlyxr-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-md-color-scheme="slate"].team-card:hover {
  box-shadow: 0 8px 25px rgba(190, 172, 228, 0.25);
}

[data-md-color-scheme="slate"].team-card h3 {
  color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].team-card.team-role,
[data-md-color-scheme="slate"].team-card p {
  color: var(--phlyxr-text-secondary);
}

[data-md-color-scheme="slate"].team-card img {
  border-color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].linkedin-icon {
  background: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].linkedin-icon:hover {
  background: var(--phlyxr-primary-dark);
}

/* ============================================
   DARK MODE - INVESTOR PANEL
   ============================================ */

[data-md-color-scheme="slate"].investor-toggle {
  background: linear-gradient(135deg, rgba(190, 172, 228, 0.1) 0%, rgba(47, 47, 53, 0.5) 100%);
  border-left-color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].investor-toggle:hover {
  background: linear-gradient(135deg, rgba(190, 172, 228, 0.15) 0%, rgba(47, 47, 53, 0.6) 100%);
}

[data-md-color-scheme="slate"].investor-toggle summary {
  color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].investor-panel h3 {
  color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].investor-panel p,
[data-md-color-scheme="slate"].investor-panel li {
  color: var(--phlyxr-text-secondary);
}

/* ============================================
   DARK MODE - OTHER SECTIONS
   ============================================ */

[data-md-color-scheme="slate"].step {
  background: linear-gradient(135deg, var(--phlyxr-bg-secondary) 0%, var(--phlyxr-bg-tertiary) 100%);
  border-color: var(--phlyxr-border);
}

[data-md-color-scheme="slate"].step-icon {
  background: var(--phlyxr-primary);
  color: #1A1A1D;
}

[data-md-color-scheme="slate"].cta-panel {
  background: linear-gradient(135deg, rgba(190, 172, 228, 0.15) 0%, rgba(47, 47, 53, 0.5) 100%);
}

[data-md-color-scheme="slate"].note {
  background: linear-gradient(135deg, rgba(190, 172, 228, 0.1) 0%, rgba(47, 47, 53, 0.4) 100%);
  border-left-color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].note strong {
  color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].milestones {
  background: linear-gradient(135deg, var(--phlyxr-bg-secondary) 0%, var(--phlyxr-bg-tertiary) 100%);
  border-left-color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].info-box {
  background: linear-gradient(135deg, rgba(190, 172, 228, 0.1) 0%, rgba(47, 47, 53, 0.4) 100%);
  border-left-color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].info-box strong {
  color: var(--phlyxr-primary);
 
}

/* ============================================
   DARK MODE - MINI CHART
   ============================================ */

[data-md-color-scheme="slate"].mini-chart-wrap {
  background: linear-gradient(135deg, rgba(42, 42, 46, 0.85) 0%, rgba(47, 47, 53, 0.6) 100%);
  border-color: var(--phlyxr-border);
}

[data-md-color-scheme="slate"].mini-chart-title {
  color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].mini-axis {
  stroke: rgba(184, 184, 184, 0.6);
}

[data-md-color-scheme="slate"].mini-bar {
  fill: rgba(190, 172, 228, 0.6);
}

[data-md-color-scheme="slate"].mini-bar.urgent {
  fill: rgba(255, 107, 107, 0.7);
}

[data-md-color-scheme="slate"].mini-value {
  fill: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].mini-label {
  fill: var(--phlyxr-text-secondary);
}

[data-md-color-scheme="slate"].mini-chart-note {
  color: var(--phlyxr-text-secondary);
}

[data-md-color-scheme="slate"].mini-chart-note a {
  color: var(--phlyxr-primary) !important;
  border-bottom-color: rgba(190, 172, 228, 0.3);
}

[data-md-color-scheme="slate"].mini-chart-note a:hover {
  border-bottom-color: var(--phlyxr-primary);
}

/* ============================================
   DARK MODE - FOOTER
   ============================================ */

[data-md-color-scheme="slate"].footer-cta {
  background: linear-gradient(135deg, #2F2F35 0%, #25252A 100%);
  border-top: 1px solid var(--phlyxr-border);
}

[data-md-color-scheme="slate"].footer-cta h2 {
  color: var(--phlyxr-primary) !important;
}

[data-md-color-scheme="slate"].footer-cta p {
  color: var(--phlyxr-text-secondary);
}

[data-md-color-scheme="slate"].footer-cta.cta-button,
[data-md-color-scheme="slate"].footer-cta.cta-button.secondary,
[data-md-color-scheme="slate"].footer-cta.cta-button.tertiary {
  background-color: var(--phlyxr-primary);
  color: #1A1A1D !important;
  border-color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].footer-cta.cta-button:hover,
[data-md-color-scheme="slate"].footer-cta.cta-button.secondary:hover,
[data-md-color-scheme="slate"].footer-cta.cta-button.tertiary:hover {
  background-color: var(--phlyxr-primary-dark);
  color: #1A1A1D !important;
}

[data-md-color-scheme="slate"].footer-logo-pill {
  background: rgba(190, 172, 228, 0.15);
  border: 1px solid var(--phlyxr-border);
}

[data-md-color-scheme="slate"].sources-footer {
  background: rgba(47, 47, 53, 0.5);
  border-color: var(--phlyxr-border);
}

[data-md-color-scheme="slate"].sources-footer h3 {
  color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].sources-footer li {
  color: var(--phlyxr-text-secondary);
}

[data-md-color-scheme="slate"].sources-footer summary {
  color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].md-footer {
  background-color: var(--phlyxr-bg-secondary);
  border-top: 1px solid var(--phlyxr-border);
}

[data-md-color-scheme="slate"].md-footer-meta {
  background-color: var(--phlyxr-bg-primary);
}

/* ============================================
   DARK MODE - TYPOGRAPHY
   ============================================ */

[data-md-color-scheme="slate"].md-typeset h1 {
  color: var(--phlyxr-primary);
  border-bottom-color: rgba(190, 172, 228, 0.3);
}

[data-md-color-scheme="slate"].md-typeset h2 {
  color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].md-typeset h3 {
  color: var(--phlyxr-text-primary);
}

[data-md-color-scheme="slate"].md-typeset p,
[data-md-color-scheme="slate"].md-typeset li {
  color: var(--phlyxr-text-secondary);
}

[data-md-color-scheme="slate"].md-typeset a {
  color: var(--phlyxr-primary);
  text-decoration-color: rgba(190, 172, 228, 0.3);
}

[data-md-color-scheme="slate"].md-typeset a:hover {
  color: var(--phlyxr-primary-dark);
  text-decoration-color: var(--phlyxr-primary);
}

/* ============================================
   DARK MODE - TABLES
   ============================================ */

[data-md-color-scheme="slate"].md-typeset table:not([class]) {
  border-color: var(--phlyxr-border);
  background: var(--phlyxr-bg-secondary);
}

[data-md-color-scheme="slate"].md-typeset table:not([class]) th {
  background-color: var(--phlyxr-primary);
  color: #1A1A1D;
}

[data-md-color-scheme="slate"].md-typeset table:not([class]) td {
  color: var(--phlyxr-text-secondary);
  border-color: var(--phlyxr-border);
}

[data-md-color-scheme="slate"].md-typeset table:not([class]) tr:hover {
  background-color: rgba(190, 172, 228, 0.1);
}

/* ============================================
   DARK MODE - ADMONITIONS
   ============================================ */

[data-md-color-scheme="slate"].md-typeset.admonition {
  border-left-color: var(--phlyxr-primary);
  background: linear-gradient(135deg, var(--phlyxr-bg-secondary) 0%, var(--phlyxr-bg-tertiary) 100%);
}

[data-md-color-scheme="slate"].md-typeset.admonition-title {
  background-color: rgba(190, 172, 228, 0.2);
  color: var(--phlyxr-primary);
}

/* ============================================
   DARK MODE - SOCIAL LINKS
   ============================================ */

[data-md-color-scheme="slate"].social-links a {
  background: var(--phlyxr-bg-secondary);
  border: 1px solid var(--phlyxr-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-md-color-scheme="slate"].social-links a:hover {
  background: var(--phlyxr-primary);
  box-shadow: 0 4px 12px rgba(190, 172, 228, 0.3);
}

[data-md-color-scheme="slate"].social-links a svg {
  fill: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].social-links a:hover svg {
  fill: #1A1A1D;
}

/* ============================================
   DARK MODE - STICKY MOBILE CTA
   ============================================ */

[data-md-color-scheme="slate"].sticky-mobile-cta {
  background: var(--phlyxr-primary);
  color: #1A1A1D !important;
  border-color: var(--phlyxr-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-md-color-scheme="slate"].sticky-mobile-cta:hover {
  background: var(--phlyxr-primary-dark);
}

/* ============================================
   DARK MODE - OVERLAY
   ============================================ */

[data-md-color-scheme="slate"].md-overlay {
  background-color: rgba(0, 0, 0, 0.7);
}

/* ============================================
   DARK MODE - SCROLLBAR
   ============================================ */

[data-md-color-scheme="slate"].md-sidebar__scrollwrap {
  scrollbar-color: var(--phlyxr-primary) transparent;
}

[data-md-color-scheme="slate"].md-sidebar__scrollwrap::-webkit-scrollbar-thumb {
  background: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover {
  background: var(--phlyxr-primary-dark);
}

/* ============================================
   DARK MODE - CODE BLOCKS
   ============================================ */

[data-md-color-scheme="slate"].md-typeset code {
  background-color: var(--phlyxr-bg-tertiary);
  color: var(--phlyxr-primary);
  border: 1px solid var(--phlyxr-border);
}

[data-md-color-scheme="slate"].md-typeset pre {
  background-color: var(--phlyxr-bg-tertiary);
  border: 1px solid var(--phlyxr-border);
}

[data-md-color-scheme="slate"].md-typeset pre code {
  background-color: transparent;
  border: none;
}

/* ============================================
   DARK MODE - TEAM SECTION TITLES
   ============================================ */

[data-md-color-scheme="slate"].team-section-title {
  color: var(--phlyxr-primary);
}

[data-md-color-scheme="slate"].team-section-subtitle {
  color: var(--phlyxr-text-secondary);
  border-bottom-color: rgba(190, 172, 228, 0.3);
}

/* ============================================
   DARK MODE - HAMBURGER MENU
   ============================================ */

[data-md-color-scheme="slate"].md-header__button.md-icon {
  color: var(--phlyxr-primary) !important;
}

[data-md-color-scheme="slate"].md-header__button.md-icon:hover {
  background-color: rgba(190, 172, 228, 0.15);
}

/* ============================================
   DARK MODE - SMOOTH TRANSITIONS
   ============================================ */

[data-md-color-scheme="slate"] * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ============================================
   DARK MODE - LOGO FILTER (OPTIONAL)
   ============================================ */

/* If your logo looks too bright in dark mode, uncomment this: */

[data-md-color-scheme="slate"].md-header__button.md-logo img,
[data-md-color-scheme="slate"].phlyxr-logo-img,
[data-md-color-scheme="slate"].footer-logo-img {
  filter: brightness(0.9);
}


/* ============================================
   END OF DARK MODE CSS
   ============================================ */
