/* Base styles for non-logged-in landing page */
body[data-logged-in="false"] {
    background-color: #0D0C1D !important;
    color: #E5E7EB !important;
    position: relative;
    isolation: isolate;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

/* Aurora background effect - ONLY for non-logged-in */
body[data-logged-in="false"]::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, #4F46E5 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(100px);
    z-index: -1;
    animation: pulse-glow-1 15s infinite alternate;
}

body[data-logged-in="false"]::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, #A855F7 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(100px);
    z-index: -1;
    animation: pulse-glow-2 12s infinite alternate;
}

@keyframes pulse-glow-1 {
    from { transform: scale(0.8) rotate(0deg); opacity: 0.15; }
    to { transform: scale(1.2) rotate(45deg); opacity: 0.25; }
}

@keyframes pulse-glow-2 {
    from { transform: scale(1.2) rotate(0deg); opacity: 0.25; }
    to { transform: scale(0.8) rotate(-45deg); opacity: 0.15; }
}

/* Landing page specific styles */
body[data-logged-in="false"] .landing-main {
    min-height: 100vh;
    padding-top: 60px; /* Account for fixed nav */
}

/* Hero Section */
body[data-logged-in="false"] .hero {
    padding: 4rem 1.5rem;
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
}

body[data-logged-in="false"] .hero-content {
    max-width: 900px;
    margin: 0 auto;
}

body[data-logged-in="false"] .hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 1.5rem;
    line-height: 1.1;
}

body[data-logged-in="false"] .gradient-text {
    background: linear-gradient(135deg, #FFFFFF 30%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body[data-logged-in="false"] .hero-description {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin: 0 auto 2.5rem;
    max-width: 50ch;
    color: #9CA3AF;
    line-height: 1.6;
}

body[data-logged-in="false"] .hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

body[data-logged-in="false"] .btn {
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

body[data-logged-in="false"] .btn-primary {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: white;
}

body[data-logged-in="false"] .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

body[data-logged-in="false"] .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body[data-logged-in="false"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

body[data-logged-in="false"] .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Hero Visual */
body[data-logged-in="false"] .hero-visual {
    margin-top: 4rem;
}

body[data-logged-in="false"] .browser-mockup {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

body[data-logged-in="false"] .browser-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-logged-in="false"] .browser-dots {
    display: flex;
    gap: 0.5rem;
}

body[data-logged-in="false"] .browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

body[data-logged-in="false"] .browser-url {
    flex: 1;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.875rem;
}

body[data-logged-in="false"] .browser-content {
    position: relative;
    background: #1a1a1a;
}

body[data-logged-in="false"] .app-preview {
    width: 100%;
    height: auto;
    display: block;
}

/* Sections */
body[data-logged-in="false"] section {
    padding: 5rem 1.5rem;
}

body[data-logged-in="false"] .container {
    max-width: 1280px;
    margin: 0 auto;
}

body[data-logged-in="false"] .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin: 0 0 1rem;
    color: white;
}

body[data-logged-in="false"] .section-subtitle {
    text-align: center;
    color: #9CA3AF;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}


/* Features Grid */
body[data-logged-in="false"] .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

body[data-logged-in="false"] .feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


body[data-logged-in="false"] .feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

body[data-logged-in="false"] .feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 4px 10px -3px #4F46E5;
}

body[data-logged-in="false"] .feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
}

body[data-logged-in="false"] .feature-card p {
    color: #9CA3AF;
    line-height: 1.6;
}

/* CTA Section */
body[data-logged-in="false"] .cta {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    margin: 0 1.5rem 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

body[data-logged-in="false"] .cta h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

body[data-logged-in="false"] .cta p {
    font-size: 1.125rem;
    color: #9CA3AF;
    margin-bottom: 2rem;
}

body[data-logged-in="false"] .cta-note {
    margin-top: 1rem;
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */
.nav-container {
  position: sticky;
  top: 0;
  z-index: 50; /* Main nav bar z-index */
  background: var(--glass-background);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  /* justify-content: space-between; */ /* Let flexbox handle spacing now */
  align-items: center;
  height: 4rem; /* Keep desktop height */
}

/* Base state - mobile first */
.nav-links {
  display: none; /* Hidden on mobile by default (handled by media query later) */
}

.auth-buttons {
  display: none; /* Hidden on mobile by default (handled by media query later) */
}

/* Navigation Links (General Styling) */
.nav-link { /* Applies to top-level links and dropdown toggles */
  padding: 0.5rem 0.75rem; /* Adjusted padding */
  color: var(--text-color);
  text-decoration: none;
  border-radius: 0.375rem; /* Slightly smaller radius */
  transition: background-color var(--transition-speed), color var(--transition-speed);
  white-space: nowrap;
  display: inline-flex; /* Helps align icon if added */
  align-items: center; /* Helps align icon if added */
  position: relative; /* For potential pseudo-elements if needed */
  z-index: 1; /* Ensure links are clickable above any potential background elements within parent */
}

.nav-link:hover {
  background-color: var(--glass-background-hover);
  color: var(--text-color); /* Ensure text stays white */
}

/* Active state for nav links (including dropdown toggles if needed) */
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2); /* Example active style */
    /* Add other active styles if desired, like font-weight */
}


/* --- START: Desktop Dropdown Styles (Revised for Robust Hover) --- */

/* The parent container for a dropdown item */
/* In your HTML, this should wrap both the toggle and the menu */
/* e.g., <div class="nav-item nav-dropdown"> ... </div> */
.nav-item.nav-dropdown {
  position: relative; /* Crucial: Establishes positioning context for the absolute menu */
  display: inline-block; /* Or flex, depending on how you structure items */
}

/* The link/button that triggers the dropdown */
.nav-dropdown-toggle {
  cursor: pointer;
  /* Inherits .nav-link styles */
}

/* The arrow icon */
.dropdown-arrow {
  margin-left: 0.4em;
  font-size: 0.7em;
  transition: transform var(--transition-speed) ease;
  display: inline-block; /* Prevents pushing text down */
  vertical-align: middle; /* Align with text better */
}

/* The dropdown menu itself */
.nav-dropdown-menu {
  display: block; /* Or 'flex' if you need flex properties for the menu layout */
  position: absolute;
  top: 100%; /* Position below the parent .nav-item */
  left: 0;
  z-index: 1000; /* High z-index to appear above other content */
  min-width: 200px; /* Minimum width */
  padding: 0.5rem 0;
  background: #0D0C1D; /* Custom background */
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);

  /* --- Visibility Control --- */
  opacity: 0; /* Start fully transparent */
  visibility: hidden; /* Start hidden from accessibility tree and rendering */
  transform: translateY(5px); /* Start slightly lower (adjust px as desired) */
  pointer-events: none; /* Prevent interaction when hidden */
  transition: opacity var(--transition-speed) ease,
              visibility var(--transition-speed) ease, /* transition visibility *instantly* with opacity */
              transform var(--transition-speed) ease;
}

/* ---- The KEY HOVER RULE ---- */
/* Show dropdown menu when the PARENT container is hovered */
.nav-item.nav-dropdown:hover > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0); /* Move back to original position */
  pointer-events: auto; /* Allow interaction */
}

/* Rotate arrow when the PARENT container is hovered */
.nav-item.nav-dropdown:hover > .nav-dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

/* Individual items within the dropdown menu */
.nav-dropdown-item {
  display: block;
  padding: 0.6rem 1.2rem; /* Generous padding */
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  background-color: transparent; /* Ensure no background by default */
  border: 0;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus, /* Add focus style for accessibility */
.nav-dropdown-item.active /* Style for active item within dropdown */ {
  background-color: var(--secondary-color); /* Use secondary color for hover/focus/active */
  color: var(--text-color);
  text-decoration: none; /* Ensure no underline appears on hover if not desired */
}
/* --- END: Desktop Dropdown Styles --- */


/* Mobile Menu Button */
.mobile-menu-button {
  display: none; /* Show by default, hide on desktop via media query */
  background: none;
  border: none;
  color: var(--text-color);
  padding: 0.5rem;
  cursor: pointer;
  transition: opacity var(--transition-speed);
  z-index: 51; /* Above mobile menu background */
}

.mobile-menu-button:hover {
  opacity: 0.8;
}

/* Mobile Menu Panel */
.mobile-menu {
  display: none; /* Hidden by default */
  position: fixed;
  /* Adjusted top based on nav height in media queries */
  left: 0;
  right: 0;
  background: #0D0C1D;
  backdrop-filter: blur(12px); /* Increased blur */
  padding: 1rem 0; /* Adjusted padding */
  /* Max height set in media queries */
  overflow-y: auto; /* Allow scrolling if needed */
  transform: translateY(-100%); /* Start hidden above */
  transition: transform var(--transition-speed) ease-out;
  z-index: 49; /* Below navbar container */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  transform: translateY(0);
  display: block;
}

/* Mobile menu general link styling */
.mobile-menu .nav-link:not(.sub-link), /* Target top-level links */
.mobile-menu .mobile-submenu-toggle { /* And the toggle button */
  display: block;
  padding: 0.9rem 1.5rem; /* Adjusted padding */
  text-align: left; /* Align text left */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  font-size: 1rem;
  width: 100%; /* Ensure full width */
  box-sizing: border-box; /* Include padding in width */
  color: var(--text-color);
}




/* Style last top-level item before auth buttons */
.mobile-menu > *:not(.mobile-menu-section):not(.auth-buttons-mobile):last-of-type {
    border-bottom: none;
}
/* Remove bottom border from last mobile menu section */
.mobile-menu .mobile-menu-section:last-of-type > .mobile-submenu-toggle {
    border-bottom: none;
}


/* --- NEW: Mobile Submenu Styles --- */
.mobile-menu-section {
    /* Container for a toggle + submenu block */
}

.mobile-submenu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex; /* Use flex to align text and icon */
    justify-content: space-between; /* Push icon to the right */
    align-items: center;
    /* Inherits padding, font-size etc from the rule above */
}

.mobile-submenu-toggle .dropdown-arrow {
    transition: transform var(--transition-speed) ease;
    font-size: 0.9em; /* Adjust arrow size */
}

/* Toggle active state (assuming JS adds 'active' class or similar) */
/* You might need JS to add this class when expanded */
.mobile-submenu-toggle[aria-expanded="true"] .dropdown-arrow {
     transform: rotate(180deg);
}

.mobile-submenu {
    background-color: rgba(0, 0, 0, 0.1); /* Slight indent background */
    /* display: none; */ /* JS handles display: block/none */
    padding-left: 0; /* Remove padding, handled by sub-links */
    overflow: hidden; /* Helps with animations if added later */
    max-height: 0; /* Start height at 0 for transition */
    transition: max-height 0.3s ease-out; /* Animate height */
}

.mobile-submenu .sub-link {
    display: block;
    padding: 0.75rem 1.5rem 0.75rem 2.5rem; /* Indented padding */
    text-align: left;
    font-size: 0.9rem; /* Slightly smaller */
    color: rgba(255, 255, 255, 0.9); /* Slightly dimmer text */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.mobile-submenu .sub-link:last-child {
    border-bottom: none; /* Remove border from last sub-item */
}

.mobile-submenu .sub-link:hover,
.mobile-submenu .sub-link.active /* Style active mobile sublink */ {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}
/* --- END: Mobile Submenu Styles --- */


/* Style separator before mobile auth buttons */
.mobile-menu .auth-buttons-mobile {
  border-top: 1px solid rgba(255, 255, 255, 0.2); /* Use top border for separation */
  padding-top: 1.5rem; /* Add space above buttons */
  margin-top: 1rem; /* Add space below last link/section */
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 1rem;
}

/* Logo Styling */
.nav-logo-link {
    display: inline-flex; /* Use flex to help center image if needed */
    align-items: center;
    height: 100%; /* Make link take full nav height for easier clicking */
    padding: 0.25rem 0; /* Add slight vertical padding */
    margin-right: 1rem; /* Space between logo and next item (adjusted in media queries) */
}

.nav-logo-img {
    height: 32px; /* Default height (adjust as needed, maybe match original?) */
    width: auto;   /* Maintain aspect ratio */
    max-height: calc(100% - 0.5rem); /* Ensure it fits within padding */
    transition: height var(--transition-speed) ease; /* Smooth transition */
    display: block; /* Remove extra space below image */
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */


.button {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-speed);
  font-weight: 500;
  display: inline-flex; /* Align icon and text */
  align-items: center;
  justify-content: center;
  text-align: center; /* Ensure text is centered */
}

.button-primary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  border: 1px solid transparent; /* Add transparent border for consistency */
}

.button-primary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.button-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-color);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile Menu Buttons */
.auth-buttons-mobile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); /* More flexible columns */
  gap: 0.75rem;
}

.mobile-menu .button {
  width: 100%;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
}

.mobile-menu .button-primary {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-menu .button-primary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.mobile-menu .button-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
}

.mobile-menu .button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}


/* ==========================================================================
   10. FOOTER & MISC
   ========================================================================== */
.footer {
  background: var(--surface-glass);
  backdrop-filter: blur(5px);
  padding: 4rem 0 0;
  margin-top: 4rem;
  border-top: 1px solid var(--border-glass);
}

.footer-container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 4rem; }
.footer-section h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--text-headings); }
.footer-description { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-secondary); }
.footer-links a:hover { color: var(--text-primary); }

.social-links { display: flex; gap: 1rem; }
.social-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-glass-hover); color: var(--text-primary); transition: all var(--transition-speed); }
.social-link:hover { background: var(--accent-primary); transform: translateY(-2px); }

.footer-bottom { border-top: 1px solid var(--border-glass); padding: 2rem 0; margin-top: 2rem; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { margin: 0; color: var(--text-secondary); }
.footer-bottom-links { display: flex; gap: 2rem; }
.footer-bottom-links a { color: var(--text-secondary); }
.footer-bottom-links a:hover { color: var(--text-primary); }
/* ==========================================================================
   7. BANNER
   ========================================================================== */
.banner-container {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: relative;
  overflow: hidden;
}

.banner-content {
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.banner-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem;
  text-decoration: none;
  color: var(--text-color);
  background: var(--glass-background);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.875rem;
  transition: opacity 0.3s ease;
}

.banner-link:hover {
  opacity: 0.9;
  color: var(--text-color);
}

/* 
* NAVIGATION FIX 
* This overrides prompt_optimizer.css navigation styles
* to match the global site navigation
*/

/* Reset the main navigation container */
.nav-container {
  
 
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Fix navigation layout */
.nav-content {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important; 
  height: 4rem !important;
  padding: 0 1rem !important;
}

/* Show all navigation links properly */
.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-left: 1rem !important;
  margin-right: auto !important;
}

/* Show auth buttons properly */
.auth-buttons {
  display: flex !important;
  gap: 0.5rem !important;
  align-items: center !important;
  margin-left: 1rem !important;
}

/* Fix navigation links appearance */
.nav-link {
  padding: 0.5rem 0.75rem !important;
  font-size: 0.9rem !important;
}

/* Fix dropdown appearance */
.nav-dropdown-menu {
  background: #0D0C1D !important;
  backdrop-filter: blur(15px) !important;
}

/* Mobile menu button position */
@media (max-width: 875px) {
  .mobile-menu-button {
    display: block !important;
    margin-left: auto !important;
  }
  
  .nav-links, .auth-buttons {
    display: none !important;
  }
}


@media (min-width: 768px) {
  .main-content > .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .input-card, .output-card {
    flex-grow: 0 !important;
    height: auto !important;
    min-height: 300px !important;
    max-height: none !important;
  }
  
  .card-body {
    max-height: 500px !important;
    overflow-y: auto !important;
  }
}

* Larger Desktops */
@media (min-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
    .auth-buttons {
        gap: 0.75rem;
    }
    .button {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* --- Additional Fixes --- */
/* Ensure the mobile-menu auth buttons display correctly */
@media (max-width: 859px) {
    .mobile-menu .auth-buttons-mobile {
        display: grid;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 1.5rem;
        margin-top: 1rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-bottom: 1rem;
    }
}

/* If any styles are being overridden, let's make sure mobile menu has the right display */
@media (max-width: 859px) {
    .mobile-menu.active {
        display: block !important;
    }
}


