
/* Responsive visibility controls */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

/* Show mobile elements only on mobile devices */
@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
    
    .desktop-only {
        display: none !important;
    }
}

/* React Staggered Menu Styles */
.staggered-menu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  overflow: visible;
}

.staggered-menu-wrapper > * {
  pointer-events: auto;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.staggered-menu-header {
  position: fixed;
  top: 10px;
  right: 15px;
  width: auto;
  max-width: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8em 1.2em;
  background: linear-gradient(135deg, 
    rgba(15, 35, 32, 0.7) 0%, 
    rgba(25, 45, 42, 0.6) 50%, 
    rgba(15, 35, 32, 0.7) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 15px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(31, 249, 224, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(31, 249, 224, 0.15);
  pointer-events: auto;
  z-index: 10000;
  overflow: hidden;
  gap: 1em;
}

.staggered-menu-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(31, 249, 224, 0.6) 25%, 
    rgba(31, 249, 224, 0.8) 50%, 
    rgba(31, 249, 224, 0.6) 75%, 
    transparent 100%);
}

.staggered-menu-header > * {
  pointer-events: auto;
}

.sm-logo {
  display: flex;
  align-items: center;
  user-select: none;
  padding: 0.5em 0.8em;
  background: linear-gradient(135deg, 
    rgba(31, 249, 224, 0.1) 0%, 
    rgba(31, 249, 224, 0.05) 100%);
  border-radius: 10px;
  border: 1px solid rgba(31, 249, 224, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.sm-logo:hover {
  background: linear-gradient(135deg, 
    rgba(31, 249, 224, 0.15) 0%, 
    rgba(31, 249, 224, 0.08) 100%);
  border-color: rgba(31, 249, 224, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(31, 249, 224, 0.2);
}

.sm-logo-text {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-left: 0.5em;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sm-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, 
    rgba(31, 249, 224, 0.1) 0%, 
    rgba(31, 249, 224, 0.05) 100%);
  border: 1px solid rgba(31, 249, 224, 0.2);
  border-radius: 10px;
  padding: 0.6em 1em;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  line-height: 1;
  overflow: visible;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sm-toggle:hover {
  background: linear-gradient(135deg, 
    rgba(31, 249, 224, 0.15) 0%, 
    rgba(31, 249, 224, 0.08) 100%);
  border-color: rgba(31, 249, 224, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(31, 249, 224, 0.2);
}

.sm-toggle:focus-visible {
  outline: 2px solid #ffffffaa;
  outline-offset: 4px;
  border-radius: 4px;
}

.sm-toggle-textWrap {
  position: relative;
  display: inline-block;
  height: 1em;
  overflow: hidden;
  white-space: nowrap;
  width: var(--sm-toggle-width, auto);
  min-width: var(--sm-toggle-width, auto);
}

.sm-toggle-textInner {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.sm-toggle-line {
  display: block;
  height: 1em;
  line-height: 1;
  font-size: 1.2em;
  font-weight: bold;
}

.sm-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.sm-panel-itemWrap {
  position: relative;
  overflow: hidden;
  line-height: 1;
}

.sm-icon-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.staggered-menu-panel {
  position: fixed;
  top: 65px;
  right: 15px;
  width: clamp(280px, 40vw, 350px);
  max-height: 500px;
  background: linear-gradient(135deg, 
    rgba(15, 35, 32, 0.95) 0%, 
    rgba(25, 45, 42, 0.9) 50%, 
    rgba(15, 35, 32, 0.95) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  padding: 2em 1.5em;
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 8px 20px rgba(31, 249, 224, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(31, 249, 224, 0.2);
  overflow-y: auto;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.staggered-menu-panel[data-open="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Compact menu variant */
.staggered-menu-panel.compact-menu {
  top: 70px;
  right: 20px;
  width: clamp(280px, 40vw, 350px);
  max-height: 500px;
  background: linear-gradient(135deg, 
    rgba(15, 35, 32, 0.95) 0%, 
    rgba(25, 45, 42, 0.9) 50%, 
    rgba(15, 35, 32, 0.95) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 2em 1.5em;
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 8px 20px rgba(31, 249, 224, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(31, 249, 224, 0.2);
  position: relative;
  overflow: hidden;
}

.staggered-menu-panel.compact-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(31, 249, 224, 0.5) 50%, 
    transparent 100%);
}

.staggered-menu-panel.compact-menu::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, 
    rgba(31, 249, 224, 0.03) 0%, 
    transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

[data-position='left'] .staggered-menu-panel {
  right: auto;
  left: 20px;
}

.sm-prelayers {
  position: absolute;
  top: 60px;
  right: 20px;
  width: clamp(200px, 30vw, 280px);
  height: 500px;
  pointer-events: none;
  z-index: 5;
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}

/* Compact prelayers */
.compact-menu + .sm-prelayers {
  top: 70px;
  right: 20px;
  width: clamp(220px, 35vw, 300px);
  height: 450px;
  border-radius: 20px;
}

[data-position='left'] .sm-prelayers {
  right: auto;
  left: 20px;
}

.sm-prelayer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  transform: translateX(0);
  border-radius: 12px;
}

.sm-panel-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sm-socials {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sm-socials-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sm-accent, #1ff9e0);
}

/* Compact socials styling */
.compact-menu .sm-socials {
  padding-top: 1.5rem;
  gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
}

.compact-menu .sm-socials-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(31, 249, 224, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.sm-socials-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sm-socials-list .sm-socials-link {
  opacity: 1;
}

.sm-socials-list:hover .sm-socials-link {
  opacity: 0.35;
}

.sm-socials-list:hover .sm-socials-link:hover {
  opacity: 1;
}

.sm-socials-link:focus-visible {
  outline: 2px solid var(--sm-accent, #1ff9e0);
  outline-offset: 3px;
}

.sm-socials-list:focus-within .sm-socials-link {
  opacity: 0.35;
}

.sm-socials-list:focus-within .sm-socials-link:focus-visible {
  opacity: 1;
}

.sm-socials-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  position: relative;
  padding: 0.3em 0.6em;
  display: inline-block;
  transition:
    color 0.3s ease,
    opacity 0.3s ease,
    background 0.3s ease;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

/* Compact social links */
.compact-menu .sm-socials-link {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6em 1em;
  margin: 0.2em 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.06) 0%, 
    rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.compact-menu .sm-socials-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(31, 249, 224, 0.15) 50%, 
    transparent 100%);
  transition: left 0.5s ease;
}

.compact-menu .sm-socials-link:hover {
  background: linear-gradient(135deg, 
    rgba(31, 249, 224, 0.12) 0%, 
    rgba(31, 249, 224, 0.04) 100%);
  border-color: rgba(31, 249, 224, 0.3);
  color: rgba(31, 249, 224, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(31, 249, 224, 0.15);
}

.compact-menu .sm-socials-link:hover::before {
  left: 100%;
}

.sm-socials-link:hover {
  color: var(--sm-accent, #1ff9e0);
}

.sm-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sm-panel-item {
  position: relative;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  transition:
    background 0.25s,
    color 0.25s;
  display: inline-block;
  text-decoration: none;
  padding: 0.4em 0;
  padding-right: 1em;
  border-radius: 8px;
}

/* Compact menu item styling */
.compact-menu .sm-panel-item {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.8em 1.2em;
  margin: 0.3em 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.compact-menu .sm-panel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(31, 249, 224, 0.2) 50%, 
    transparent 100%);
  transition: left 0.6s ease;
}

.compact-menu .sm-panel-item:hover {
  background: linear-gradient(135deg, 
    rgba(31, 249, 224, 0.15) 0%, 
    rgba(31, 249, 224, 0.05) 100%);
  border-color: rgba(31, 249, 224, 0.4);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(31, 249, 224, 0.2),
    0 4px 10px rgba(0, 0, 0, 0.1);
}

.compact-menu .sm-panel-item:hover::before {
  left: 100%;
}

.compact-menu .sm-panel-item:active {
  transform: translateY(-1px) scale(0.98);
}

/* Beautiful glow effects */
.compact-menu .sm-panel-item:hover {
  text-shadow: 0 0 10px rgba(31, 249, 224, 0.5);
}

/* Staggered animation for menu items */
.compact-menu .sm-panel-item {
  animation: slideInFromRight 0.6s ease-out forwards;
  animation-delay: calc(var(--item-index, 0) * 0.1s);
  opacity: 0;
  transform: translateX(30px);
}

@keyframes slideInFromRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Social links glow effect */
.compact-menu .sm-socials-link:hover {
  text-shadow: 0 0 8px rgba(31, 249, 224, 0.4);
}

/* Menu panel hover effects */
.staggered-menu-panel.compact-menu:hover {
  border-color: rgba(31, 249, 224, 0.4);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.6),
    0 12px 25px rgba(31, 249, 224, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Beautiful focus states */
.compact-menu .sm-panel-item:focus-visible {
  outline: 2px solid rgba(31, 249, 224, 0.6);
  outline-offset: 2px;
  border-radius: 12px;
}

/* Smooth transitions for all interactive elements */
.compact-menu * {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced mobile responsiveness */
@media (max-width: 480px) {
  .staggered-menu-panel.compact-menu {
    width: 90%;
    left: 5%;
    right: 5%;
    top: 80px;
    padding: 1.5em 1em;
  }
  
  .compact-menu .sm-panel-item {
    font-size: 1rem;
    padding: 0.7em 1em;
  }
  
  .compact-menu .sm-socials-link {
    font-size: 0.8rem;
    padding: 0.5em 0.8em;
  }
}

.sm-panel-itemLabel {
  display: inline-block;
  will-change: transform;
  transform-origin: 50% 100%;
}

.sm-panel-item:hover {
  color: var(--sm-accent, #1ff9e0);
}

.sm-panel-list[data-numbering] {
  counter-reset: smItem;
}

.sm-panel-list[data-numbering] .sm-panel-item::after {
  counter-increment: smItem;
  content: counter(smItem, decimal-leading-zero);
  position: absolute;
  top: 0.3em;
  right: 1.8em;
  font-size: 12px;
  font-weight: 400;
  color: var(--sm-accent, #1ff9e0);
  letter-spacing: 0;
  pointer-events: none;
  user-select: none;
  opacity: var(--sm-num-opacity, 0);
}

@media (max-width: 1024px) {
  .staggered-menu-panel {
    width: 100%;
    left: 0;
    right: 0;
  }
}

@media (max-width: 640px) {
  .staggered-menu-panel {
    width: 90%;
    left: 5%;
    right: 5%;
    top: 80px;
  }
  
  .compact-menu {
    width: 85%;
    left: 7.5%;
    right: 7.5%;
    top: 85px;
    max-height: 400px;
  }
  
  .sm-prelayers {
    width: 90%;
    left: 5%;
    right: 5%;
    top: 80px;
  }
  
  .compact-menu + .sm-prelayers {
    width: 85%;
    left: 7.5%;
    right: 7.5%;
    top: 85px;
  }
}

/* Simple Mobile Menu Styles */
.simple-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: transparent;
}

.simple-menu-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(15, 35, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(31, 249, 224, 0.2);
}

.simple-menu-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
}

.simple-menu-logo .logo-icon {
  font-size: 1.75rem;
}

.simple-menu-logo .logo-text {
  background: linear-gradient(to right, #1ff9e0, #25F4DF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.simple-menu-toggle {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.simple-menu-toggle:hover {
  background: rgba(31, 249, 224, 0.1);
}

.simple-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 35, 32, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* Compact fallback panel */
.compact-fallback-panel {
  position: absolute;
  top: 70px;
  right: 20px;
  width: clamp(280px, 40vw, 350px);
  height: auto;
  max-height: 500px;
  background: linear-gradient(135deg, 
    rgba(15, 35, 32, 0.95) 0%, 
    rgba(25, 45, 42, 0.9) 50%, 
    rgba(15, 35, 32, 0.95) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 8px 20px rgba(31, 249, 224, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(31, 249, 224, 0.2);
  padding: 2em 1.5em;
  transform: translateY(-20px) scale(0.9);
  opacity: 0;
  visibility: hidden;
  justify-content: flex-start;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.compact-fallback-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(31, 249, 224, 0.5) 50%, 
    transparent 100%);
}

.compact-fallback-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.simple-menu-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.simple-menu-content {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.simple-menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  align-items: center;
}

.simple-menu-link {
  display: block;
  color: white;
  font-weight: 700;
  font-size: 1.75rem;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 2px solid transparent;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  transform: translateY(30px);
  opacity: 0;
}

/* Compact fallback menu links */
.compact-fallback .simple-menu-link {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.8em 1.2em;
  margin: 0.3em 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transform: translateY(0);
  opacity: 1;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.compact-fallback .simple-menu-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(31, 249, 224, 0.2) 50%, 
    transparent 100%);
  transition: left 0.6s ease;
}

.compact-fallback .simple-menu-link:hover {
  background: linear-gradient(135deg, 
    rgba(31, 249, 224, 0.15) 0%, 
    rgba(31, 249, 224, 0.05) 100%);
  border-color: rgba(31, 249, 224, 0.4);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(31, 249, 224, 0.2),
    0 4px 10px rgba(0, 0, 0, 0.1);
}

.compact-fallback .simple-menu-link:hover::before {
  left: 100%;
}

.compact-fallback .simple-menu-link:active {
  transform: translateY(-1px) scale(0.98);
}

.simple-menu-panel.open .simple-menu-link {
  transform: translateY(0);
  opacity: 1;
}

.simple-menu-link:hover {
  color: #1ff9e0;
  border-color: #1ff9e0;
  background: rgba(31, 249, 224, 0.1);
  box-shadow: 0 0 20px rgba(31, 249, 224, 0.3);
  transform: translateY(-5px);
}

.simple-menu-socials {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 300px;
}

.simple-menu-socials h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #1ff9e0;
  text-align: center;
}

.social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-link {
  font-size: 1.2rem;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  position: relative;
  padding: 2px 0;
  display: inline-block;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #1ff9e0;
}

/* Stagger animation for menu items */
.simple-menu-items li:nth-child(1) .simple-menu-link { transition-delay: 0.1s; }
.simple-menu-items li:nth-child(2) .simple-menu-link { transition-delay: 0.2s; }
.simple-menu-items li:nth-child(3) .simple-menu-link { transition-delay: 0.3s; }
.simple-menu-items li:nth-child(4) .simple-menu-link { transition-delay: 0.4s; }
.simple-menu-items li:nth-child(5) .simple-menu-link { transition-delay: 0.5s; }

:root {
    /* MindMate Brand Colors - Enhanced Luxury */
    --mm-mint: hsl(174, 88%, 55%);
    --mm-teal: hsl(168, 35%, 22%);
    --mm-bg: hsl(168, 52%, 8%);
    --mm-background: hsl(168, 52%, 8%);
    --mm-surface: hsl(168, 35%, 15%);
    --mm-surface-dark: hsl(168, 52%, 10%);
    --mm-line: hsl(168, 35%, 25%);
    --mm-text: hsl(0, 0%, 100%);
    --mm-text-muted: hsl(174, 35%, 70%);
    --mm-success: hsl(159, 60%, 51%);
    --mm-warning: hsl(39, 92%, 49%);
    --mm-error: hsl(0, 85%, 60%);

    /* Ultra-Luxury 3D Variables */
    --cyan: #25F4DF;
    --primary: #1ff9e0;
    --deep-teal: #003D4D;
    --accent-teal: #2d5a52;
    --background-light: #f5f8f8;
    --background-dark: #0f2320;
    --black: #000000;
    --white: #FFFFFF;
    --light-gray: #E5E7EB;

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-user-bg: rgba(31, 249, 224, 0.1);
    --glass-user-border: rgba(31, 249, 224, 0.2);

    /* Base colors */
    --background: var(--mm-bg);
    --foreground: hsl(0, 0%, 100%);
    --card: var(--mm-surface);
    --card-foreground: hsl(0, 0%, 100%);
    --popover: var(--mm-surface);
    --popover-foreground: hsl(0, 0%, 100%);
    --primary: var(--mm-mint);
    --primary-foreground: var(--mm-bg);
    --secondary: var(--mm-teal);
    --secondary-foreground: hsl(0, 0%, 100%);
    --accent: var(--mm-surface);
    --accent-foreground: hsl(0, 0%, 100%);
    --destructive: var(--mm-error);
    --destructive-foreground: hsl(0, 0%, 100%);
    --border: var(--mm-line);
    --input: var(--mm-surface);
    --ring: var(--mm-mint);

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --radius: 0.75rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Android-specific optimizations */
html {
    /* Prevent horizontal scroll on Android */
    overflow-x: hidden;
    /* Improve text rendering on Android */
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-sans);
    background: var(--mm-bg);
    color: var(--foreground);
    line-height: 1.6;
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
    -webkit-tap-highlight-color: transparent;
    /* Android Chrome optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent zoom on input focus */
    touch-action: manipulation;
}

/* Mobile-specific scrolling optimizations */
@media (max-width: 768px) {
    body {
        /* Enable smooth scrolling on mobile */
        -webkit-overflow-scrolling: touch;
        /* Prevent scroll chaining */
        overscroll-behavior: contain;
        /* Optimize touch scrolling */
        touch-action: pan-y;
        /* Prevent horizontal scroll */
        overflow-x: hidden;
    }
    
    /* Ensure all scrollable elements work properly on mobile */
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Fix for Android Chrome scrolling issues */
    .main-content {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Android overflow prevention */
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

/* Android/mobile viewport & safe-area helpers */
html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    /* Fix Android Chrome viewport issues */
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-content {
    /* Prevent bottom nav overlap on mobile with safe-area support */
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
    min-height: 100vh;
    /* Use dynamic viewport on Android for better URL bar handling */
    min-height: 100dvh;
}

/* Bottom nav baseline height used above; ensure it is above content */
.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--mm-surface);
    border-top: 1px solid var(--mm-line);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    z-index: 1000;
}

.bottom-nav button {
    background: transparent;
    border: 0;
    color: var(--mm-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
    font-size: 10px;
    padding: 0 4px;
    flex-direction: column;
    transition: color 0.3s ease;
}

.bottom-nav i { 
    font-size: 16px;
    margin-bottom: 2px;
}

/* Use dynamic viewport units for Android Chrome to avoid URL bar jump */
@supports (height: 100dvh) {
    .hero, .features, .learning-section, .progress-section, .community-section {
        min-height: 100dvh;
    }
}

/* Fix Android content overflow and card layout issues */
.learning-grid, .career-grid, .features-grid {
    display: grid;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.learning-card, .career-card, .feature-card {
    width: 100%;
    max-width: 100%;
    min-width: 0; /* Allow cards to shrink on small screens */
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
}

/* Improve select/input tap areas on Android */
select, input, button {
    min-height: 44px;
    touch-action: manipulation;
}

/* Make filter controls comfortably tappable */
.filter-group label { font-size: 0.95rem; }
.filter-group select,
.filter-group input[type="text"] {
    border: 1px solid var(--mm-line);
    background: var(--mm-surface);
    color: var(--foreground);
    border-radius: 0.5rem;
    padding: 0.6rem 0.75rem;
}

/* Prevent sticky header from being obscured by URL bar changes */
.header { will-change: transform; backface-visibility: hidden; }

/* Ultra-Luxurious Header Styles */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.glow-effect {
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
}

/* Enhanced Header Glassmorphism - Desktop Only */
.header {
    background: transparent;
    border: none;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    width: 100%;
    opacity: 1 !important;
    pointer-events: all !important;
    transition: all 0.3s ease;
}

/* Hide header on mobile devices */

.header nav {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header .logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header .nav-links {
    display: flex !important;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

@media (min-width: 640px) {
    .header .nav-links {
        gap: 0.5rem;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .header .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(15, 35, 32, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 0 1rem 1rem;
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    
    .header .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .header .nav-toggle {
        display: block !important;
    }
    
    .header #auth-buttons {
        order: -1; /* Show auth buttons first on mobile */
        margin-bottom: 1rem;
    }
    
    .header #auth-buttons button {
        flex: 1;
        min-width: 100px;
    }
}

.header .nav-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    transform: scale(1);
}

.header .nav-links a:hover {
    transform: scale(1.05) translateY(-2px);
}

.header .nav-links a.active,
.header .nav-links a.nav-active {
    color: white !important;
    background: rgba(31, 249, 224, 0.2) !important;
    border-color: rgba(31, 249, 224, 0.3) !important;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
}

.header .nav-links a:not(.active):not(.nav-active) {
    color: rgba(255, 255, 255, 0.7);
}

.header .nav-links a:not(.active):not(.nav-active):hover {
    color: white;
    background: rgba(31, 249, 224, 0.2);
    border-color: rgba(31, 249, 224, 0.3);
}

.header #signupNavItem {
    background: var(--primary);
    color: var(--background-dark);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.39);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    transform: scale(1);
}

.header #signupNavItem:hover {
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
    transform: scale(1.05);
}

.header .nav-toggle {
    display: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}




.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--mm-mint);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--foreground);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    z-index: 102;
}

.nav-links a {
    color: var(--mm-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--mm-mint);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

/* Ensure all interactive elements have pointer cursor */
button, .btn, .button,
a:not([href="#"]),
input[type="button"], input[type="submit"], input[type="reset"],
.quiz-option, .learning-card, .career-card, .feature-card,
.stat-card, .achievement-card, .progress-card,
.nav-links a, .bottom-nav button,
.cursor-target, .clickable, .interactive,
[data-action], [role="button"], [role="link"],
.modal button, .close-modal {
    cursor: pointer !important;
}

.btn-primary {
    background: var(--mm-mint);
    color: var(--mm-bg);
    box-shadow: 0 4px 12px rgba(37, 244, 223, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 244, 223, 0.4);
}

.btn-secondary {
    background: var(--mm-teal);
    color: white;
}

.btn-secondary:hover {
    background: rgba(22, 78, 99, 0.8);
    transform: translateY(-2px);
}

/* Ultra-Luxury 3D Hero Styles */
.bg-gradient-dark {
    background-image: linear-gradient(to bottom right, var(--deep-teal), var(--black));
}

.gradient-text-animated {
    background: linear-gradient(90deg, var(--cyan), var(--white), var(--light-gray));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: light-sweep 4s linear infinite;
}

@keyframes light-sweep {
    0% { background-position: 200% 50%; }
    100% { background-position: -200% 50%; }
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(37, 244, 223, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(37, 244, 223, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
}

@keyframes moveGrid {
    from { background-position: 0 0; transform: rotateX(60deg) rotateZ(0deg); }
    to { background-position: 1000px 500px; transform: rotateX(60deg) rotateZ(10deg); }
}

.glassmorphic {
    background: rgba(45, 90, 82, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 244, 223, 0.2);
}

.btn-primary-luxury {
    background: var(--cyan);
    color: var(--black) !important;
    box-shadow: 0 0 15px var(--cyan);
    transition: all 0.3s ease;
    border: none;
    font-weight: 700;
    position: relative;
    z-index: 10;
}

.btn-primary-luxury:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 30px var(--cyan);
    color: var(--black) !important;
}

.btn-secondary-luxury {
    border: 1px solid var(--cyan);
    color: var(--cyan) !important;
    background: transparent;
    transition: all 0.3s ease;
    font-weight: 700;
    position: relative;
    z-index: 10;
}

.btn-secondary-luxury:hover {
    background-color: rgba(37, 244, 223, 0.1);
    box-shadow: 0 0 15px var(--cyan);
    color: var(--cyan) !important;
}

.stats-card-luxury {
    transition: all 0.3s ease;
}

.stats-card-luxury:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 244, 223, 0.2);
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.fade-in { 
    animation: fadeIn 1s ease-out forwards; 
    opacity: 1; /* Fallback to ensure visibility */
}

.fade-in.opacity-0 {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

@keyframes pulse-glow { 
    0%, 100% { box-shadow: 0 0 20px var(--cyan); opacity: 0.8; } 
    50% { box-shadow: 0 0 35px var(--cyan); opacity: 1;} 
}

.brain-glow { 
    animation: pulse-glow 4s infinite ease-in-out; 
}

.floating-element {
    position: absolute;
    animation: float 10s ease-in-out infinite;
    filter: blur(1px);
    opacity: 0.4;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -30px) rotate(15deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.floating-element-2 {
    animation-delay: 3s;
    animation-duration: 12s;
}

.floating-element-3 {
    animation-delay: 6s;
    animation-duration: 8s;
}

/* Section Display Management - Critical for Navigation */
section {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: relative;
    z-index: 1;
}

section.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

/* Specific active section z-index overrides */
.quiz-section.active {
    z-index: 50 !important;
}

.chat-section.active {
    z-index: 40 !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding-top: 80px; /* Space for header */
}

.roadmap-section.active {
    z-index: 30 !important;
}

.progress-section.active {
    z-index: 25 !important;
}

.learning-section.active {
    z-index: 20 !important;
}

.community-section.active {
    z-index: 15 !important;
}

/* Quiz Section - Ensure proper display and positioning */
.quiz-section {
    background: var(--mm-bg);
    min-height: 100vh;
    padding: 2rem 0;
    position: relative;
    z-index: 50;
}

.quiz-section.active {
    position: relative;
    z-index: 50 !important;
}

/* Features Section */
.features {
    background: var(--mm-bg);
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.features.active {
    position: relative;
    z-index: 1;
}

/* Utility classes for luxury design */
.bg-accent-teal { background-color: var(--accent-teal); }
.bg-cyan { background-color: var(--cyan); }
.border-cyan { border-color: var(--cyan); }
.text-cyan { color: var(--cyan); }
.text-light-gray { color: var(--light-gray); }

/* Quiz Section Styling */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--mm-surface);
    border-radius: 1rem;
    border: 1px solid var(--mm-line);
    position: relative;
    z-index: 55;
}

.quiz-header {
    text-align: center;
    margin-bottom: 2rem;
}

.quiz-header h2 {
    color: var(--mm-mint);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.quiz-header p {
    color: var(--mm-text-muted);
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.hero.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.hero-banner {
    background: linear-gradient(rgba(16,35,33,0.1), rgba(16,35,33,0.5)), 
                url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1471&h=981");
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--mm-mint);
}

.hero p {
    font-size: 1.25rem;
    color: var(--mm-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 4rem 0;
}

.stat-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--mm-mint);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--mm-mint);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--mm-text-muted);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 4rem 0;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.features.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features p {
    text-align: center;
    color: var(--mm-text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--mm-mint);
    background: rgba(22, 78, 99, 0.8);
    transform: translateY(-2px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(37, 244, 223, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--mm-mint);
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
    text-align: left;
}

/* New Ultra-Modern Features Section Styles */
.noise-bg {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.1;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.card-glow {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px var(--primary), 0 0 30px var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.group:hover .card-glow {
    opacity: 0.5;
}

.icon-container svg {
    transition: transform 0.3s ease-in-out;
}

.group:hover .icon-container svg {
    transform: scale(1.1) rotate(5deg);
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Responsive adjustments for the new features section */
@media (max-width: 768px) {
    .features .relative {
        min-height: auto;
    }
    
    .features main {
        padding: 2rem 1rem;
    }
    
    .features h1 {
        font-size: 2rem;
    }
    
    .features .mt-20 {
        margin-top: 3rem;
    }
    
    .features .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features .p-6 {
        padding: 1.5rem;
    }
}

/* Quiz Section - Complete Styling (consolidated from duplicates) */
.quiz-section {
    background: var(--mm-bg);
    min-height: 100vh;
    padding: 2rem 0;
    position: relative;
    z-index: 50;
}

.quiz-section.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    position: relative;
    z-index: 50 !important;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--mm-surface);
    border-radius: 1rem;
    border: 1px solid var(--mm-line);
    position: relative;
    z-index: 55;
}

.quiz-header {
    text-align: center;
    margin-bottom: 2rem;
}

.quiz-header h2 {
    color: var(--mm-mint);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.quiz-header p {
    color: var(--mm-text-muted);
    font-size: 1.1rem;
}

.quiz-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    color: var(--mm-text-muted);
    font-size: 0.95rem;
}

.progress-bar {
    width: 300px;
    height: 8px;
    background: var(--mm-line);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mm-mint), rgba(37, 244, 223, 0.8));
    transition: width 0.5s ease;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 0 10px rgba(37, 244, 223, 0.4);
}

.quiz-question {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.quiz-question h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.quiz-options {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quiz-option {
    padding: 1.5rem;
    border: 2px solid var(--mm-line);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--mm-surface);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--foreground);
    font-size: 1rem;
    font-weight: 500;
    min-height: 60px;
}

.quiz-option:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 244, 223, 0.3);
    background: rgba(37, 244, 223, 0.05);
}

.quiz-option.selected {
    background: linear-gradient(135deg, var(--mm-mint), rgba(37, 244, 223, 0.8));
    color: var(--mm-bg);
    border-color: var(--mm-mint);
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(37, 244, 223, 0.4);
}

.quiz-option.selected:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 244, 223, 0.5);
}

/* Multi-select enhanced styles */
.multi-select .quiz-option {
    padding-left: 4rem;
    position: relative;
}

.checkbox {
    position: absolute;
    left: 1.5rem;
    width: 24px;
    height: 24px;
    border: 2px solid var(--mm-line);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: var(--mm-surface);
    color: transparent;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quiz-option:hover .checkbox {
    border-color: var(--mm-mint);
    box-shadow: 0 0 0 2px rgba(37, 244, 223, 0.2);
}

.quiz-option.selected .checkbox {
    background: var(--mm-mint);
    color: var(--mm-bg);
    border-color: var(--mm-mint);
    box-shadow: 0 0 0 3px rgba(37, 244, 223, 0.3);
    transform: scale(1.1);
}

/* Single select styling enhancement - fix for proper display */
.quiz-options:not(.multi-select) .quiz-option {
    padding-left: 4rem;
}

.quiz-options:not(.multi-select) .quiz-option::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    width: 20px;
    height: 20px;
    border: 2px solid var(--mm-line);
    border-radius: 50%;
    background: var(--mm-surface);
    transition: all 0.3s ease;
}

.quiz-options:not(.multi-select) .quiz-option:hover::before {
    border-color: var(--mm-mint);
    box-shadow: 0 0 0 2px rgba(37, 244, 223, 0.2);
}

.quiz-options:not(.multi-select) .quiz-option.selected::before {
    background: var(--mm-mint);
    border-color: var(--mm-mint);
    box-shadow: 0 0 0 3px rgba(37, 244, 223, 0.3),
                inset 0 0 0 4px var(--mm-bg);
}

/* Slider Styles */
.quiz-sliders {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.slider-container {
    background: var(--mm-surface-dark);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--mm-line);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--mm-text-muted);
}

.quiz-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--mm-line);
    outline: none;
    -webkit-appearance: none;
    margin: 1rem 0;
}

.quiz-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--mm-mint);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(37, 244, 223, 0.3);
}

.quiz-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--mm-mint);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(37, 244, 223, 0.3);
}

.slider-value {
    text-align: center;
    color: var(--mm-mint);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Quiz Navigation Buttons */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    gap: 1rem;
}

.quiz-navigation .btn {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.quiz-navigation .btn-primary {
    background: linear-gradient(135deg, var(--mm-mint), rgba(37, 244, 223, 0.8));
    border: 2px solid var(--mm-mint);
    color: var(--mm-bg);
    box-shadow: 0 4px 15px rgba(37, 244, 223, 0.3);
}

.quiz-navigation .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 244, 223, 0.4);
}

.quiz-navigation .btn-secondary {
    background: var(--mm-surface);
    border: 2px solid var(--mm-line);
    color: var(--foreground);
}

.quiz-navigation .btn-secondary:hover {
    border-color: var(--mm-mint);
    background: rgba(37, 244, 223, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 244, 223, 0.2);
}

/* Quiz Question Styling */
.quiz-question h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--foreground);
    line-height: 1.4;
    text-align: center;
}

/* Progress Bar Enhancement */
.quiz-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    color: var(--mm-text-muted);
    font-size: 0.95rem;
}

.progress-bar {
    width: 300px;
    height: 8px;
    background: var(--mm-line);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mm-mint), rgba(37, 244, 223, 0.8));
    transition: width 0.5s ease;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 0 10px rgba(37, 244, 223, 0.4);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: progress-shimmer 2s infinite;
}

@keyframes progress-shimmer {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

/* Scenario Styles */
.quiz-scenarios {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.scenario-option {
    padding: 1.5rem;
    background: var(--mm-surface-dark);
    border: 2px solid var(--mm-line);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scenario-option:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 244, 223, 0.2);
}

.scenario-option.selected {
    background: var(--mm-mint);
    color: var(--mm-bg);
    border-color: var(--mm-mint);
}

/* Ranking Styles */
.quiz-ranking {
    margin-bottom: 2rem;
}

.ranking-instruction {
    color: var(--mm-text-muted);
    margin-bottom: 1rem;
    font-style: italic;
}

.ranking-list {
    display: grid;
    gap: 0.5rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--mm-surface-dark);
    border: 2px solid var(--mm-line);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    user-select: none;
}

.ranking-item:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 244, 223, 0.2);
}

.rank-number {
    background: var(--mm-mint);
    color: var(--mm-bg);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.rank-label {
    flex: 1;
    font-size: 1rem;
}

.ranking-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: auto;
}

.rank-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: var(--mm-mint);
    color: var(--mm-bg);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(37, 244, 223, 0.4);
}

.rank-btn:disabled {
    background: var(--mm-line);
    cursor: not-allowed;
    opacity: 0.6;
}

.rank-btn.up-btn {
    background: var(--mm-mint);
}

.rank-btn.down-btn {
    background: var(--mm-accent);
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    .ranking-item {
        padding: 0.75rem;
        flex-wrap: wrap;
    }
    
    .rank-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .rank-label {
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }
    
    .ranking-controls {
        flex-direction: row;
        gap: 0.5rem;
        margin-left: auto;
    }
    
    .rank-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* Confidence Rating Styles */
.quiz-confidence {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.confidence-item {
    background: var(--mm-surface-dark);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--mm-line);
}

.confidence-item label {
    display: block;
    margin-bottom: 1rem;
    color: var(--foreground);
    font-weight: 500;
}

.confidence-rating {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.confidence-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--mm-line);
    background: transparent;
    color: var(--mm-text-muted);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.confidence-btn:hover {
    border-color: var(--mm-mint);
    color: var(--mm-mint);
}

.confidence-btn.active {
    background: var(--mm-mint);
    color: var(--mm-bg);
    border-color: var(--mm-mint);
}

.confidence-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--mm-text-muted);
}

/* Assessment Results */
.assessment-results {
    animation: slideInUp 0.5s ease-out;
}

.results-summary {
    text-align: center;
    margin-bottom: 2rem;
}

.completion-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--mm-surface-dark);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    border: 2px solid var(--mm-mint);
}

.badge-icon {
    font-size: 2rem;
}

.completion-badge h3 {
    color: var(--mm-mint);
    margin: 0;
}

.completion-badge p {
    color: var(--mm-text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.top-matches {
    margin-bottom: 2rem;
}

.career-matches {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.career-match-card {
    background: var(--mm-surface-dark);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--mm-line);
    transition: all 0.3s ease;
}

.career-match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 244, 223, 0.1);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.match-rank {
    background: var(--mm-mint);
    color: var(--mm-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.match-percentage {
    color: var(--mm-mint);
    font-weight: 600;
    font-size: 1.1rem;
}

.career-match-card h4 {
    color: var(--foreground);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.match-bar {
    width: 100%;
    height: 8px;
    background: var(--mm-line);
    border-radius: 4px;
    overflow: hidden;
}

.match-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mm-mint), var(--mm-success));
    border-radius: 4px;
    transition: width 1s ease;
}

.ai-roadmap {
    background: var(--mm-surface-dark);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--mm-line);
    margin-bottom: 2rem;
}

.roadmap-content {
    line-height: 1.8;
    color: var(--foreground);
}

.next-steps,
.roadmap-actions {
    margin-top: 2rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Loading States */
.loading-roadmap {
    text-align: center;
    padding: 3rem 2rem;
}

.loading-roadmap h2 {
    color: var(--mm-mint);
    margin-bottom: 1rem;
}

.analysis-progress {
    margin: 2rem 0;
    text-align: left;
}

.progress-item {
    padding: 0.5rem 0;
    color: var(--mm-text-muted);
    transition: color 0.3s ease;
}

.progress-item.completed {
    color: var(--mm-success);
}

.progress-item.active {
    color: var(--mm-mint);
    font-weight: 600;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: var(--mm-success);
}

.notification.warning {
    background: var(--mm-warning);
}

.notification.error {
    background: var(--mm-error);
}

.notification.info {
    background: var(--mm-teal);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Authentication Styles */
.auth-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-left: auto;
}

.auth-btn-item {
    list-style: none;
}

.auth-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 244, 223, 0.3);
}

/* User Menu Styles */
.user-menu {
    position: relative;
}

.user-avatar-btn {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    color: var(--foreground);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-avatar-btn:hover {
    background: var(--mm-mint);
    color: var(--mm-bg);
    border-color: var(--mm-mint);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    min-width: 200px;
    width: 200px; /* Fixed width to prevent collapse */
    max-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999; /* Ensure dropdown appears above everything */
    margin-top: 0.5rem;
    white-space: nowrap; /* Prevent text wrapping that could cause collapse */
    overflow: visible;
}

/* Higher specificity rule to prevent any collapse */
.nav-links .user-menu .user-dropdown,
#userDropdown {
    min-width: 250px !important;
    width: 250px !important;
    max-width: 300px !important;
    padding: 0.5rem 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* ULTRA HIGH SPECIFICITY - FORCE DROPDOWN STYLING */
body .header .nav .nav-links .user-menu .user-dropdown:not(.hidden),
body .header .nav .nav-links .user-menu #userDropdown:not(.hidden),
body #userDropdown:not(.hidden),
html body #userDropdown:not(.hidden) {
    display: block !important;
    position: absolute !important;
    top: calc(100% + 0.5rem) !important;
    right: 0 !important;
    left: auto !important;
    z-index: 2147483647 !important; /* Maximum z-index to override browser extensions */
    min-width: 250px !important;
    width: 250px !important;
    max-width: 300px !important;
    height: auto !important;
    min-height: auto !important;
    background: #2d5a52 !important; /* Fallback solid color */
    border: 1px solid #4a7b6d !important; /* Fallback solid color */
    border-left: 3px solid #25F4DF !important; /* Distinctive accent */
    border-radius: 0.5rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
    transform: none !important;
}

/* ENSURE HIDDEN DROPDOWN IS ACTUALLY HIDDEN */
body .header .nav .nav-links .user-menu .user-dropdown.hidden,
body .header .nav .nav-links .user-menu #userDropdown.hidden,
body #userDropdown.hidden,
html body #userDropdown.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ULTRA HIGH SPECIFICITY - FORCE DROPDOWN LINKS STYLING */
body .header .nav .nav-links .user-menu .user-dropdown:not(.hidden) a,
body .header .nav .nav-links .user-menu #userDropdown:not(.hidden) a,
body #userDropdown:not(.hidden) a,
html body #userDropdown:not(.hidden) a {
    display: block !important;
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    min-height: 2.5rem !important;
    line-height: 1.5 !important;
    color: var(--foreground) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
    border-bottom: 1px solid var(--mm-line) !important;
}

body #userDropdown:not(.hidden) a:last-child {
    border-bottom: none !important;
}

.user-dropdown.hidden {
    display: none;
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--foreground);
    text-decoration: none;
    transition: background 0.3s ease;
    white-space: nowrap;
    min-height: 1.5rem;
    box-sizing: border-box;
}

/* Higher specificity for dropdown links */
.nav-links .user-menu .user-dropdown a,
#userDropdown a {
    display: block !important;
    padding: 0.75rem 1rem !important;
    min-height: 1.5rem !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.user-dropdown a:hover {
    background: var(--mm-mint);
    color: var(--mm-bg);
}

/* Mobile-specific user menu positioning */
@media (max-width: 768px) {
    .user-menu {
        position: relative;
        display: block !important;
        width: auto;
        order: 999; /* Ensure it appears last in mobile nav */
    }
    
    .user-avatar-btn {
        width: auto;
        margin: 0;
        justify-content: center;
        /* Override any mobile nav styles */
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .user-dropdown {
        position: absolute !important;
        top: calc(100% + 0.5rem) !important;
        right: 0 !important;
        left: auto !important;
        transform: none !important;
        margin-top: 0;
        margin-bottom: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        border: 1px solid var(--mm-line);
        background: var(--mm-surface) !important;
        /* Ensure it's visible and properly positioned */
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
        min-height: auto !important;
        height: auto !important;
        min-width: 200px;
        width: auto;
        /* Prevent upward movement */
        bottom: auto !important;
    }
    
    .user-dropdown.hidden {
        display: none !important;
    }
    
    .user-dropdown:not(.hidden) {
        display: block !important;
    }
    
    /* Ensure user menu is visible in mobile nav when authenticated */
    .nav-links .user-menu {
        display: block !important;
        width: 100%;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
    }
    
    /* Mobile user dropdown should maintain proper positioning */
    .nav-links .user-dropdown {
        position: absolute !important;
        top: calc(100% + 0.5rem) !important;
        right: 0 !important;
        left: auto !important;
        width: 250px !important;
        min-width: 250px !important;
        max-width: 300px !important;
        margin: 0;
        background: var(--mm-surface) !important;
        border: 1px solid var(--mm-line);
        border-radius: 0.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        white-space: nowrap;
        overflow: visible;
        padding: 0.5rem 0;
    }
    
    /* Force dropdown links to be visible */
    .user-dropdown a {
        display: block !important;
        padding: 0.75rem 1rem;
        color: var(--foreground) !important;
        text-decoration: none;
        transition: background 0.3s ease;
        visibility: visible !important;
        opacity: 1 !important;
        border-bottom: 1px solid var(--mm-line);
    }
    
    .user-dropdown a:last-child {
        border-bottom: none;
    }
    
    .user-dropdown a:hover {
        background: var(--mm-mint) !important;
        color: var(--mm-bg) !important;
    }
}

.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-modal-content {
    background: var(--mm-surface);
    border-radius: 1rem;
    padding: 0;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.3s ease;
}

.auth-modal-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid var(--mm-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-modal-header h2 {
    margin: 0;
    color: var(--mm-mint);
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    color: var(--mm-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--mm-mint);
}

.auth-form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form input {
    padding: 0.875rem 1rem;
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    color: var(--foreground);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.auth-form input:focus {
    border-color: var(--mm-mint);
    box-shadow: 0 0 0 3px rgba(37, 244, 223, 0.1);
}

.auth-form input::placeholder {
    color: var(--mm-text-muted);
}

.auth-form button {
    margin-top: 0.5rem;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
}

.auth-modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid var(--mm-line);
}

.auth-modal-footer p {
    margin: 0;
    color: var(--mm-text-muted);
}

.auth-modal-footer a {
    color: var(--mm-mint);
    text-decoration: none;
    font-weight: 600;
}

.auth-modal-footer a:hover {
    text-decoration: underline;
}

/* Profile Modal Styles */
.profile-modal .auth-modal-content {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.profile-content {
    padding: 20px;
}

.profile-section {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--mm-surface-dark);
    border-radius: 12px;
    border: 1px solid var(--mm-line);
}

.profile-section h3 {
    color: var(--mm-mint);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.profile-info, .career-preferences, .quiz-stats {
    display: grid;
    gap: 15px;
}

.info-item, .preference-item, .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--mm-bg);
    border-radius: 8px;
    border: 1px solid var(--mm-line);
}

.info-item label, .preference-item label, .stat-item label {
    font-weight: 600;
    color: var(--mm-text-muted);
}

.info-item span, .preference-item span, .stat-item span {
    color: var(--foreground);
    font-weight: 500;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
}

.profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Assessment History Modal Styles */
.assessment-history-modal .auth-modal-content {
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
}

.assessment-history-content {
    padding: 20px;
}

.history-summary {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--mm-surface-dark);
    border-radius: 12px;
    border: 1px solid var(--mm-line);
}

.history-summary h3 {
    color: var(--mm-mint);
    margin-bottom: 20px;
    text-align: center;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.summary-stat {
    text-align: center;
    padding: 15px;
    background: var(--mm-bg);
    border-radius: 8px;
    border: 1px solid var(--mm-line);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--mm-mint);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--mm-text-muted);
    font-size: 0.9rem;
}

.recent-assessments {
    margin-bottom: 30px;
}

.recent-assessments h3 {
    color: var(--mm-mint);
    margin-bottom: 20px;
}

.assessment-list {
    display: grid;
    gap: 15px;
}

.assessment-item {
    padding: 20px;
    background: var(--mm-surface-dark);
    border-radius: 12px;
    border: 1px solid var(--mm-line);
    border-left: 4px solid var(--mm-line);
    transition: all 0.3s ease;
}

.assessment-item:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 244, 223, 0.2);
}

.assessment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.assessment-date {
    color: var(--mm-text-muted);
    font-size: 0.9rem;
}

.assessment-score {
    background: var(--mm-mint);
    color: var(--mm-bg);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.assessment-details h4 {
    color: var(--foreground);
    margin-bottom: 10px;
    font-size: 1rem;
}

.career-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.career-tag {
    background: var(--mm-accent);
    color: var(--mm-bg);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.career-tag.more {
    background: var(--mm-line);
    color: var(--mm-text-muted);
}

.assessment-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.no-assessments {
    text-align: center;
    padding: 40px 20px;
    color: var(--mm-text-muted);
}

.loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--mm-text-muted);
    font-style: italic;
}

.auth-required {
    display: none;
}

/* User Profile Indicator */
.profile-badge {
    background: var(--mm-mint);
    color: var(--mm-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 1rem;
}

/* Assessment Save Indicator */
.save-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--mm-success);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.save-indicator.show {
    opacity: 1;
    transform: translateY(0);
}

.quiz-option:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quiz-option.selected {
    border-color: var(--mm-mint);
    background: rgba(37, 244, 223, 0.1);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--mm-line);
}

.quiz-nav-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--mm-mint);
    background: transparent;
    color: var(--mm-mint);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.quiz-nav-btn:hover {
    background: var(--mm-mint);
    color: var(--mm-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 244, 223, 0.3);
}

.quiz-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.quiz-nav-btn.primary {
    background: var(--mm-mint);
    color: var(--mm-bg);
}

.quiz-nav-btn.primary:hover {
    background: rgba(37, 244, 223, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 244, 223, 0.4);
}

/* Enhanced Chat Section */
.chat-section {
    padding: 4rem 0;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.chat-section.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.chat-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--mm-surface);
    border-radius: 1rem;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.chat-container h2 {
    padding: 1.5rem 2rem;
    margin: 0;
    background: var(--mm-surface-dark);
    border-bottom: 1px solid var(--mm-line);
    color: var(--mm-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.chat-messages {
    overflow-y: auto;
    padding: 1rem;
    background: var(--mm-bg);
    scroll-behavior: smooth;
}

.chat-message {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    animation: messageSlideIn 0.3s ease-out forwards;
}

.chat-message.appear {
    opacity: 1;
    transform: translateY(0);
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-message.ai {
    flex-direction: row;
}

.ai-avatar,
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ai-avatar {
    background: var(--mm-mint);
    color: var(--mm-bg);
}

.user-avatar {
    background: var(--mm-teal);
    color: white;
}

.message-content {
    max-width: 70%;
    min-width: 200px;
}

.chat-message.user .message-content {
    background: var(--mm-teal);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem 1rem 0.25rem 1rem;
}

.chat-message.ai .message-content {
    background: var(--mm-surface-dark);
    color: var(--foreground);
    padding: 1rem 1.5rem;
    border-radius: 1rem 1rem 1rem 0.25rem;
    border: 1px solid var(--mm-line);
}

.message-text {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.message-text p {
    margin: 0 0 0.5rem 0;
}

.message-text p:last-child {
    margin-bottom: 0;
}

.message-text strong {
    color: var(--mm-mint);
}

.message-text em {
    font-style: italic;
    color: var(--mm-text-muted);
}

.message-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-message:hover .message-actions {
    opacity: 1;
}

.message-action {
    background: transparent;
    border: 1px solid var(--mm-line);
    color: var(--mm-text-muted);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.message-action:hover {
    background: var(--mm-mint);
    color: var(--mm-bg);
    border-color: var(--mm-mint);
}

.message-action:disabled {
    background: var(--mm-success);
    color: white;
    border-color: var(--mm-success);
    cursor: not-allowed;
}

.follow-up-suggestions {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--mm-surface-dark);
    border-radius: 0.75rem;
    border: 1px solid var(--mm-line);
    animation: slideInUp 0.3s ease;
}

.suggestions-header {
    color: var(--mm-mint);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.suggestion-btn {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    color: var(--mm-text-muted);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 0.9rem;
}

.suggestion-btn:hover {
    background: var(--mm-mint);
    color: var(--mm-bg);
    border-color: var(--mm-mint);
    transform: translateX(5px);
}

/* Enhanced Typing Indicator */
.typing-indicator {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.typing-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mm-mint);
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.thinking-text {
    font-size: 0.8rem;
    color: var(--mm-text-muted);
    margin-top: 0.25rem;
    font-style: italic;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-input {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--mm-surface-dark);
    border-top: 1px solid var(--mm-line);
}

.chat-input input {
    flex: 1;
    padding: 0.875rem 1rem;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    color: var(--foreground);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.chat-input input:focus {
    border-color: var(--mm-mint);
    box-shadow: 0 0 0 3px rgba(37, 244, 223, 0.1);
}

.chat-input input::placeholder {
    color: var(--mm-text-muted);
}

.chat-input .btn {
    padding: 0.875rem 1.5rem;
    white-space: nowrap;
}

/* Roadmap Section */
.roadmap-section {
    padding: 4rem 0;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.roadmap-section.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

/* Learning Resources Section - Android Compatible */
.learning-section {
    padding: 2rem 0;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    width: 100%;
    box-sizing: border-box;
}

.learning-section.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.learning-container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--mm-text);
}

.learning-container > p {
    text-align: center;
    color: var(--mm-text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Courses Notice */
.enhanced-courses-notice {
    background: linear-gradient(135deg, rgba(37, 244, 223, 0.15), rgba(37, 244, 223, 0.25));
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--mm-mint);
    box-shadow: 0 4px 12px rgba(37, 244, 223, 0.15);
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notice-icon {
    font-size: 2rem;
    background: var(--mm-surface);
    padding: 0.75rem;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notice-text h3 {
    color: var(--mm-text);
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.notice-text p {
    color: var(--mm-text);
    margin: 0 0 0.75rem 0;
    opacity: 0.9;
}

.provider-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.provider-badge {
    background: var(--mm-mint);
    color: var(--mm-bg);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--mm-mint);
}

@media (max-width: 768px) {
    .notice-content {
        flex-direction: column;
        text-align: center;
    }
    
    .provider-badges {
        justify-content: center;
    }
}

.learning-explorer {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Learning Tabs */
.learning-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--mm-line);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--mm-text-muted);
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    background: rgba(37, 244, 223, 0.1);
    color: var(--mm-mint);
}

.tab-btn.active {
    background: var(--mm-mint);
    color: var(--mm-bg);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--mm-mint);
}

/* Learning Filters */
.learning-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(37, 244, 223, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(37, 244, 223, 0.2);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Move the course counter to be separate from the grid */
.courses-count {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--mm-text-muted);
    position: relative;
    z-index: 1;
}

/* Learning Grid - Perfect Center Alignment with Android Fixes */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 0 auto 2rem auto;
    padding: 0;
    justify-content: center;
    width: 100%;
    max-width: 840px;
    box-sizing: border-box;
}

/* Course cards styling */
.course-card {
    width: 100%;
    height: auto;
    min-height: 280px;
}

/* Center the learning results container */
#learningResults {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Learning container - traditional centered layout */
.learning-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Mobile optimization for Learning tab - Enhanced for Android */
@media (max-width: 768px) {
    .learning-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 1rem;
        margin: 0 0 1.5rem 0;
        padding: 0 0.5rem;
    }
    
    .learning-card {
        width: 100%;
        margin: 0;
        padding: 1rem;
        box-sizing: border-box;
        min-width: 0;
    }
    
    #learningResults {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    
    .courses-count {
        margin-bottom: 1rem;
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .learning-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .learning-card-title {
        font-size: 1rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .learning-card-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .learning-meta-item {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Ensure learning hub grid is centered within results container - Android Compatible */
#learningResults .learning-grid {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-content: center;
    box-sizing: border-box;
}

.learning-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.learning-card:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 244, 223, 0.15);
}

.learning-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.learning-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--mm-text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.learning-card-provider {
    font-size: 0.875rem;
    color: var(--mm-mint);
    font-weight: 500;
}

.learning-card-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

.learning-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.learning-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--mm-text-muted);
    background: rgba(37, 244, 223, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.learning-card-description {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.learning-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.learning-card-cost {
    font-weight: 600;
    color: var(--mm-mint);
    font-size: 1rem;
}

.learning-card-cost.free {
    color: #10B981;
}

.learning-card-btn {
    background: var(--mm-mint);
    color: var(--mm-bg);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.learning-card-btn:hover {
    background: #1dd1a1;
    transform: translateY(-1px);
}

/* Learning Paths */
.paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.path-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.path-card:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 244, 223, 0.15);
}

.path-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.path-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mm-text);
    margin-bottom: 0.5rem;
}

.path-card-subtitle {
    color: var(--mm-mint);
    font-weight: 600;
    font-size: 1rem;
}

.path-card-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(37, 244, 223, 0.05);
    border-radius: 0.5rem;
}

.path-meta-item {
    text-align: center;
}

.path-meta-label {
    display: block;
    font-size: 0.75rem;
    color: var(--mm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.path-meta-value {
    font-weight: 600;
    color: var(--mm-text);
    font-size: 0.875rem;
}

.path-card-description {
    color: var(--mm-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.path-steps {
    margin-bottom: 1.5rem;
}

.path-steps-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--mm-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.path-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: rgba(37, 244, 223, 0.05);
    border-radius: 0.5rem;
    border-left: 3px solid var(--mm-mint);
}

.path-step-number {
    background: var(--mm-mint);
    color: var(--mm-bg);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.path-step-content {
    font-size: 0.875rem;
    color: var(--mm-text-muted);
    line-height: 1.4;
}

/* Progress Overview */
.progress-overview {
    text-align: center;
    padding: 2rem;
}

.progress-overview h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--mm-text);
}

.progress-overview p {
    color: var(--mm-text-muted);
    margin-bottom: 2rem;
}

.progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.progress-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: left;
}

.progress-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.progress-card-title {
    font-weight: 600;
    color: var(--mm-text);
    margin-bottom: 0.25rem;
}

.progress-card-provider {
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

.progress-status {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-status.not_started {
    background: rgba(156, 163, 175, 0.2);
    color: #6B7280;
}

.progress-status.in_progress {
    background: rgba(59, 130, 246, 0.2);
    color: #3B82F6;
}

.progress-status.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.progress-bar-container {
    margin: 1rem 0;
}

.progress-bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background: var(--mm-line);
    border-radius: 0.25rem;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--mm-mint);
    transition: width 0.3s ease;
}

/* Loading States */
.loading-learning {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--mm-text-muted);
}

.loading-learning .loading-spinner {
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--mm-line);
    border-top: 2px solid var(--mm-mint);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .learning-filters {
        grid-template-columns: 1fr;
    }
    
    .learning-grid {
        grid-template-columns: 1fr;
    }
    
    .paths-grid {
        grid-template-columns: 1fr;
    }
    
    .learning-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .learning-card-meta {
        gap: 0.5rem;
    }
    
    .path-card-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

.roadmap-container {
    max-width: 1200px;
    margin: 0 auto;
}

.roadmap-container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.roadmap-container > p {
    text-align: center;
    color: var(--mm-text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Career Explorer Styles */
.career-explorer {
    margin: 2rem 0;
}

.career-filters {
    background: var(--mm-surface-dark);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    border: 1px solid var(--mm-line);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--mm-mint);
    font-size: 0.9rem;
}

.filter-group input,
.filter-group select {
    padding: 0.75rem;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    color: var(--foreground);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: var(--mm-mint);
    box-shadow: 0 0 0 3px rgba(37, 244, 223, 0.1);
}

.filter-group input::placeholder {
    color: var(--mm-text-muted);
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.career-card.enhanced {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.career-card.enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(37, 244, 223, 0.15);
    border-color: var(--mm-mint);
}

.career-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.career-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 244, 223, 0.1);
    border-radius: 0.75rem;
}

.career-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.career-badge.excellent {
    background: var(--mm-success);
    color: white;
}

.career-badge.good {
    background: var(--mm-warning);
    color: var(--mm-bg);
}

.career-badge.stable {
    background: var(--mm-teal);
    color: white;
}

.career-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--foreground);
    font-size: 1.3rem;
}

.career-category {
    color: var(--mm-mint);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.career-description {
    color: var(--mm-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.career-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--mm-text-muted);
    font-weight: 500;
}

.metric-value {
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.9rem;
}

.career-skills {
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--mm-line);
}

.skills-label {
    font-size: 0.8rem;
    color: var(--mm-text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.skills-text {
    font-size: 0.9rem;
    color: var(--foreground);
    line-height: 1.4;
}

.career-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    flex: 1;
}

.no-careers-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--mm-surface-dark);
    border-radius: 1rem;
    border: 1px solid var(--mm-line);
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-careers-found h3 {
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.no-careers-found p {
    color: var(--mm-text-muted);
    margin-bottom: 1.5rem;
}

.loading-careers {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--mm-text-muted);
}

/* Career Modal Styles */
.career-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.career-modal-content {
    background: var(--mm-surface);
    border-radius: 1rem;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.3s ease;
}

.career-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--mm-line);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.career-title-section {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.career-icon-large {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 244, 223, 0.1);
    border-radius: 1rem;
    flex-shrink: 0;
}

.career-title-section h2 {
    margin: 0 0 0.5rem 0;
    color: var(--foreground);
    font-size: 1.8rem;
}

.career-category-badge {
    background: var(--mm-mint);
    color: var(--mm-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.growth-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.career-modal-body {
    padding: 2rem;
}

.career-overview {
    margin-bottom: 2rem;
}

.career-overview h3 {
    color: var(--mm-mint);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.career-overview p {
    color: var(--foreground);
    line-height: 1.7;
    font-size: 1.1rem;
}

.career-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-section {
    background: var(--mm-surface-dark);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--mm-line);
}

.detail-section h3 {
    color: var(--mm-mint);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section p {
    color: var(--foreground);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.detail-section strong {
    color: var(--mm-mint);
}

.skills-list,
.education-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skills-list li,
.education-list li {
    background: var(--mm-surface);
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--mm-line);
    color: var(--foreground);
    position: relative;
    padding-left: 2.5rem;
}

.skills-list li:before {
    content: '🛠️';
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
}

.education-list li:before {
    content: '🎓';
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
}

.detail-section ul:not(.skills-list):not(.education-list) {
    color: var(--foreground);
    padding-left: 1.5rem;
}

.detail-section ul:not(.skills-list):not(.education-list) li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.career-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid var(--mm-line);
    flex-wrap: wrap;
}

.career-modal-actions .btn {
    min-width: 140px;
}

/* Responsive Design for Career Explorer */
@media (max-width: 768px) {
    .career-filters {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .career-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .career-card.enhanced {
        padding: 1.25rem;
    }
    
    .career-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .career-actions {
        flex-direction: column;
    }
}

/* Dynamic Learning Paths Styles */
.learning-paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.learning-path-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.learning-path-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.path-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.path-category {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.path-difficulty {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.path-difficulty.beginner {
    background: #e8f5e8;
    color: #2e7d32;
}

.path-difficulty.intermediate {
    background: #fff3e0;
    color: #f57c00;
}

.path-difficulty.advanced {
    background: #fce4ec;
    color: #c2185b;
}

.path-progress {
    margin: 1rem 0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.path-info {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.path-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.stat-icon {
    font-size: 1rem;
}

.path-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.path-actions .btn {
    flex: 1;
    padding: 0.75rem;
    font-size: 0.9rem;
}

/* Recommended Paths Styles */
.recommended-paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.recommended-path-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.recommended-path-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.recommendation-badge {
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.path-objectives {
    margin: 1rem 0;
    padding: 0.75rem;
    background: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.path-objectives h5 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.path-objectives ul {
    margin: 0;
    padding-left: 1.2rem;
}

.path-objectives li {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.25rem;
}

/* No Paths Message */
.no-paths-message {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.no-paths-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.no-paths-message h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.no-paths-message p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Path Creation Modal */
.path-creation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.path-creation-modal .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.career-selection, .skill-level-selection {
    margin-bottom: 2rem;
}

.career-selection h4, .skill-level-selection h4 {
    margin-bottom: 1rem;
    color: #333;
}

.career-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.career-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.career-option:hover {
    border-color: var(--primary-color);
    background: #f8f9ff;
}

.career-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.career-name {
    font-weight: 600;
}

.career-badge {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
}

.career-option.selected .career-badge {
    background: rgba(255, 255, 255, 0.2);
}

.skill-level-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.skill-option {
    text-align: center;
    padding: 1.5rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.skill-option:hover {
    border-color: var(--primary-color);
    background: #f8f9ff;
}

.skill-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.level-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.skill-option span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.skill-option small {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Responsive Design for Learning Paths */
@media (max-width: 768px) {
    .learning-paths-grid,
    .recommended-paths-grid {
        grid-template-columns: 1fr;
    }
    
    .career-options {
        grid-template-columns: 1fr;
    }
    
    .skill-level-options {
        grid-template-columns: 1fr;
    }
    
    .path-creation-modal .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .path-actions {
        flex-direction: column;
    }
}

/* Additional responsive styles for career modals */
@media (max-width: 768px) {
    .career-modal {
        padding: 1rem;
    }
    
    .career-modal-content {
        max-height: 95vh;
    }
    
    .career-modal-header {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .career-title-section {
        width: 100%;
    }
    
    .close-modal {
        align-self: flex-end;
    }
    
    .career-modal-body {
        padding: 1.5rem;
    }
    
    .career-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .career-modal-actions {
        flex-direction: column;
    }
    
    .career-modal-actions .btn {
        width: 100%;
    }
}

/* Gamification Styles */
.gamification-profile {
    background: var(--mm-surface);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--mm-line);
}

.profile-header {
    margin-bottom: 1rem;
}

.profile-header h4 {
    color: var(--mm-mint);
    margin: 0;
    font-size: 1.25rem;
}

.gamification-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--mm-background);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--mm-line);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card.level {
    border-color: var(--mm-mint);
    background: rgba(37, 244, 223, 0.05);
}

.stat-card.xp {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.stat-card.streak {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.stat-card.badges {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.05);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--mm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.xp-progress-section {
    padding-top: 1rem;
    border-top: 1px solid var(--mm-line);
}

.xp-progress-section h5 {
    margin: 0 0 1rem 0;
    color: var(--foreground);
    font-size: 1rem;
}

.xp-progress {
    position: relative;
    background: var(--mm-background);
    border-radius: 0.5rem;
    height: 2rem;
    border: 1px solid var(--mm-line);
    overflow: hidden;
}

.xp-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--mm-mint), #4ade80);
    border-radius: 0.5rem;
    transition: width 0.3s ease;
}

.xp-progress .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--foreground);
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 1;
}

/* Course Progress Section */
.course-progress-section {
    background: var(--mm-surface);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--mm-line);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h4 {
    color: var(--mm-mint);
    margin: 0;
    font-size: 1.25rem;
}

.progress-summary {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.progress-stat {
    background: var(--mm-background);
    color: var(--foreground);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--mm-line);
}

.progress-courses {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-card {
    background: var(--mm-background);
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--mm-line);
    transition: all 0.2s ease;
}

.progress-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.progress-card.completed {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

.progress-card.in_progress {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.progress-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.progress-info h5 {
    margin: 0 0 0.25rem 0;
    color: var(--foreground);
    font-size: 1.125rem;
}

.progress-meta {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
}

.progress-status {
    background: var(--mm-background);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--mm-line);
    white-space: nowrap;
}

.progress-status.completed {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-color: #22c55e;
}

.progress-status.in_progress {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: #f59e0b;
}

.progress-bar-container {
    margin-bottom: 1rem;
}

.progress-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

.progress-bar {
    background: var(--mm-background);
    border-radius: 0.5rem;
    height: 0.5rem;
    border: 1px solid var(--mm-line);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mm-mint), #4ade80);
    border-radius: 0.5rem;
    transition: width 0.3s ease;
}

.progress-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.progress-notes {
    background: var(--mm-surface);
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--mm-text-muted);
    border: 1px solid var(--mm-line);
}

.completed-badge {
    color: #22c55e;
    font-weight: 600;
    font-size: 0.875rem;
}

.progress-date {
    color: var(--mm-text-muted);
    font-size: 0.75rem;
    margin-left: auto;
}

.no-progress {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--mm-text-muted);
}

.no-progress-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-progress h4 {
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

/* Learning Card Actions */
.learning-card-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.learning-card-btn {
    text-decoration: none;
    background: var(--mm-mint);
    color: var(--mm-background);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.learning-card-btn:hover {
    background: #2dd4aa;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

/* Achievement Styles */
.achievements-section {
    background: var(--mm-surface);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--mm-line);
}

.achievements-summary {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.achievement-stat {
    text-align: center;
}

.achievements-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--mm-line);
    padding-bottom: 1rem;
}

.achievement-tab {
    background: transparent;
    border: 1px solid var(--mm-line);
    color: var(--mm-text-muted);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.achievement-tab:hover {
    background: var(--mm-background);
    color: var(--foreground);
}

.achievement-tab.active {
    background: var(--mm-mint);
    color: var(--mm-background);
    border-color: var(--mm-mint);
}

.achievement-tab-content {
    display: none;
}

.achievement-tab-content.active {
    display: block;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.achievement-card {
    background: var(--mm-background);
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--mm-line);
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: all 0.2s ease;
}

/* Skills Prerequisites Styles */
.skills-overview {
    text-align: center;
    margin-bottom: 2rem;
}

.skill-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-category-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.category-count {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.skill-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.skill-info h5 {
    margin: 0 0 0.25rem 0;
    color: #333;
}

.skill-meta {
    display: flex;
    gap: 0.75rem;
}

.skill-meta .difficulty {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.skill-meta .duration {
    background: #f3e5f5;
    color: #7b1fa2;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.skill-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.prerequisites {
    margin-bottom: 1rem;
}

.prereq-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
}

.prereq-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.prereq-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.prereq-badge.required {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.prereq-badge.recommended {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.no-prerequisites {
    color: #999;
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.skill-progress {
    margin-bottom: 1rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.skill-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.skill-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.skill-completed {
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Skill Details Modal */
.skill-details-modal,
.update-skill-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.skill-details-modal .modal-content,
.update-skill-modal .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.skill-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-title h3 {
    margin: 0;
    color: var(--primary-color);
}

.skill-category {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.skill-description h4,
.skill-prerequisites h4,
.skill-progress-detail h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.prerequisites-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prerequisite-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
}

.prerequisite-item.met {
    background: #e8f5e8;
    border-left: 4px solid #4caf50;
}

.prerequisite-item.unmet {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
}

.prereq-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.prereq-name {
    font-weight: 600;
    color: #333;
}

.prereq-level {
    font-size: 0.85rem;
    color: #666;
}

.prereq-type {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
    color: #555;
    width: fit-content;
}

.prereq-status {
    font-weight: 600;
}

.prerequisite-item.met .prereq-status {
    color: #4caf50;
}

.prerequisite-item.unmet .prereq-status {
    color: #ff9800;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.stat-value {
    font-weight: 600;
    color: var(--primary-color);
}

/* Update Skill Modal Specific Styles */
.skill-level-update,
.confidence-update,
.hours-update {
    margin-bottom: 1.5rem;
}

.skill-level-update label,
.confidence-update label,
.hours-update label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.skill-level-update input[type="range"],
.confidence-update input[type="range"] {
    width: 100%;
    margin-bottom: 0.5rem;
}

.level-display,
.confidence-display {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
}

.hours-update input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.hours-update input[type="number"]:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Responsive Design for Skills */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .skill-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .skill-actions .btn {
        width: 100%;
    }
    
    .progress-stats {
        grid-template-columns: 1fr;
    }
}


.achievement-card.unlocked {
    border-color: var(--mm-mint);
    background: rgba(37, 244, 223, 0.05);
}

.achievement-card.locked {
    opacity: 0.6;
}

.achievement-card:hover {
    transform: translateY(-2px);
}

.achievement-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.achievement-icon.grayscale {
    filter: grayscale(100%);
    opacity: 0.5;
}

.achievement-info {
    flex: 1;
}

.achievement-name {
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.achievement-description {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.achievement-reward {
    color: var(--mm-mint);
    font-weight: 600;
    font-size: 0.875rem;
}

.achievement-date {
    color: var(--mm-text-muted);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.achievement-status {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.badge-card {
    background: var(--mm-background);
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--mm-line);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.badge-card:hover {
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.badge-info {
    flex: 1;
}

.badge-name {
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.badge-date {
    color: var(--mm-text-muted);
    font-size: 0.75rem;
}

/* XP and Achievement Notifications */
.xp-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--mm-mint);
    color: var(--mm-background);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    font-weight: 600;
}

.xp-notification.show {
    transform: translateX(0);
}

.xp-notification.hide {
    transform: translateX(100%);
}

.xp-notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.xp-icon {
    font-size: 1.25rem;
}

.achievement-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--mm-surface);
    border: 2px solid var(--mm-mint);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 10002;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 400px;
    width: 90%;
}

.achievement-notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.achievement-notification.hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

.achievement-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.achievement-notification .achievement-icon {
    font-size: 3rem;
}

.achievement-title {
    color: var(--mm-mint);
    font-weight: 700;
    font-size: 1.25rem;
}

.achievement-details .achievement-name {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.achievement-xp {
    color: var(--mm-mint);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Leaderboard Styles */
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.leaderboard-entry {
    background: var(--mm-background);
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--mm-line);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.leaderboard-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.leaderboard-entry.top-three {
    border-color: var(--mm-mint);
    background: rgba(37, 244, 223, 0.05);
}

.rank-badge {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--mm-mint);
    color: var(--mm-background);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.rank-1 {
    background: #ffd700;
    color: #000;
}

.rank-2 {
    background: #c0c0c0;
    color: #000;
}

.rank-3 {
    background: #cd7f32;
    color: #fff;
}

.user-info {
    flex: 1;
}

.username {
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.user-stats {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
}

.user-badges {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.mini-badge {
    font-size: 1.25rem;
}

.badge-count {
    background: var(--mm-mint);
    color: var(--mm-background);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsive Design for Gamification */
@media (max-width: 768px) {
    .gamification-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .progress-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .progress-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .xp-notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        transform: translateY(-100%);
    }
    
    .xp-notification.show {
        transform: translateY(0);
    }
    
    .xp-notification.hide {
        transform: translateY(-100%);
    }
    
    .achievement-notification {
        top: 50%;
        left: 1rem;
        right: 1rem;
        transform: translate(0, -50%) scale(0.8);
        width: auto;
        max-width: none;
    }
    
    .achievement-notification.show {
        transform: translate(0, -50%) scale(1);
    }
    
    .achievement-notification.hide {
        transform: translate(0, -50%) scale(0.8);
    }
}

/* Loading Roadmap */
.loading-roadmap {
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--mm-line);
    border-top: 4px solid var(--mm-mint);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* AI Generated Roadmap */
.ai-roadmap {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 2rem;
    margin: 2rem 0;
    line-height: 1.6;
}

.roadmap-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.roadmap-container {
    max-width: 1000px;
    margin: 0 auto;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.career-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.career-card:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
}

.career-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.career-icon {
    width: 3rem;
    height: 3rem;
    background: var(--mm-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mm-bg);
    font-size: 1.25rem;
}

.career-match {
    background: var(--mm-success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.career-salary {
    color: var(--mm-mint);
    font-weight: 600;
    margin-top: 0.5rem;
}

.steps-timeline {
    position: relative;
    padding-left: 2rem;
}

.step {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.step::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background: var(--mm-mint);
    border-radius: 50%;
}

.step::after {
    content: '';
    position: absolute;
    left: -1rem;
    top: 1rem;
    width: 2px;
    height: calc(100% + 1rem);
    background: var(--mm-line);
}

.step:last-child::after {
    display: none;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.step-duration {
    background: var(--mm-teal);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

.step-tasks {
    list-style: none;
    margin-top: 1rem;
}

.step-tasks li {
    padding: 0.25rem 0;
    color: var(--mm-text-muted);
}

.step-tasks li::before {
    content: '✓';
    color: var(--mm-mint);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background: var(--mm-surface-dark);
    border-top: 1px solid var(--mm-line);
    padding: 2rem 0;
    text-align: center;
    color: var(--mm-text-muted);
}

/* Bottom Tab Navigation - Hidden on mobile for cleaner experience */
.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--mm-surface-dark);
    border-top: 1px solid var(--mm-line);
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
    padding: 0.5rem env(safe-area-inset-right) calc(0.5rem + env(safe-area-inset-bottom)) env(safe-area-inset-left);
    z-index: 90;
}

.bottom-nav button {
    background: transparent;
    border: none;
    color: var(--foreground);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0;
    font-size: 0.85rem;
}

.bottom-nav i { font-size: 1.1rem; color: var(--mm-text-muted); }
.bottom-nav button:hover i { color: var(--mm-mint); }

@media (max-width: 768px) {
    .nav { flex-wrap: wrap; }
    .bottom-nav { display: none; } /* Hide bottom nav on mobile */
    body { padding-bottom: 0; } /* Remove bottom padding since nav is hidden */
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 0.75rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--mm-line);
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    /* Special override for user menu - always visible when authenticated */
    .nav-links .user-menu {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
    
    .nav-links.open { 
        display: flex; 
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Ensure user menu is visible even when nav-links is closed */
    .nav-links:not(.open) .user-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .careers-grid, .learning-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Fix Android course card layout */
    .learning-card, .career-card {
        margin: 0;
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-width: 0;
        overflow: hidden;
    }

    /* Ensure proper text wrapping on Android */
    .learning-card h3, .career-card h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }

    /* Fix filter controls on mobile - Android optimized */
    .learning-filters, .career-filters {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        grid-template-columns: 1fr;
        background: var(--mm-surface);
        border-radius: 0.75rem;
        margin-bottom: 1rem;
    }

    .filter-group {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .filter-group label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .filter-group select,
    .filter-group input {
        width: 100%;
        font-size: 16px; /* Prevent zoom on iOS/Android */
        padding: 0.75rem;
        border-radius: 0.5rem;
        box-sizing: border-box;
        -webkit-appearance: none;
        appearance: none;
    }

    /* Android-specific course grid improvements */
    .career-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .career-card.enhanced {
        padding: 1rem;
        margin: 0;
    }

    .career-metrics {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero-banner {
        min-height: 360px;
        padding: 2rem 1rem;
        margin: 0;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }

    .quiz-container {
        max-width: 100%;
        padding: 0;
    }

    .quiz-question {
        padding: 1rem;
        margin: 0;
    }

    .quiz-options {
        gap: 0.75rem;
    }

    .quiz-option {
        padding: 0.75rem;
        font-size: 0.95rem;
        word-wrap: break-word;
    }

    .chat-container {
        max-width: 100%;
        padding: 0;
    }

    .chat-messages {
        height: 50vh;
        padding: 1rem;
        font-size: 0.95rem;
    }

    /* Fix course cards on small screens */
    .learning-card {
        padding: 0.75rem;
        margin: 0;
        border-radius: 0.5rem;
    }

    .learning-card h3 {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .learning-card p {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    /* Fix filter dropdowns on small screens */
    .learning-filters {
        padding: 1rem 0;
    }

    .filter-group label {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .filter-group select {
        padding: 0.75rem;
        font-size: 16px;
        border-radius: 0.5rem;
    }
    
    /* Ensure bottom nav is hidden on small phones */
    .bottom-nav { 
        display: none !important; 
    }
    
    body { 
        padding-bottom: 0 !important; 
    }

    /* Prevent horizontal scroll on Android */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Android WebView and Chrome Mobile Optimizations */
@media screen and (max-width: 768px) {
    /* Ensure all content is visible and not cut off */
    body {
        min-height: 100vh;
        min-height: 100dvh;
        position: relative;
    }
    
    .main-content {
        width: 100%;
        overflow-x: hidden;
        padding-bottom: calc(env(safe-area-inset-bottom) + 1rem);
    }
    
    /* Fix for course cards being cut off */
    .learning-section,
    .progress-section,
    .community-section {
        width: 100%;
        overflow: visible;
        min-height: auto;
    }
    
    /* Ensure grids don't overflow on Android */
    .learning-grid,
    .career-grid,
    .features-grid {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
        overflow: visible;
    }
    
    /* Prevent cards from being wider than screen */
    .learning-card,
    .career-card,
    .feature-card {
        max-width: 100%;
        width: 100%;
        margin: 0 0 1rem 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* Fix text overflow issues */
    .learning-card-title,
    .career-info h3 {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
    }
    
    /* Ensure filters don't cause horizontal scroll */
    .learning-filters,
    .career-filters {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        margin: 0 0 1rem 0;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--mm-text-muted);
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--mm-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-content {
    text-align: center;
    color: var(--foreground);
}

.loading-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.loading-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--mm-mint);
}

.loading-content p {
    color: var(--mm-text-muted);
    margin-bottom: 2rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--mm-line);
    border-top: 4px solid var(--mm-mint);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loading-progress {
    margin: 1.5rem 0;
    text-align: center;
}

.loading-progress .progress-bar {
    width: 100%;
    max-width: 300px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.loading-progress .progress-fill {
    height: 100%;
    background: var(--mm-mint);
    width: 0%;
    transition: width 0.3s ease;
    animation: progressFill 3s ease-in-out infinite;
}

.progress-text {
    color: var(--mm-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.loading-note {
    font-size: 0.875rem;
    color: var(--mm-text-muted);
    font-style: italic;
}

.hackathon-info {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: left;
    backdrop-filter: blur(10px);
}

.hackathon-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.hackathon-info strong {
    color: var(--mm-mint);
    font-weight: 600;
}

.error-screen .hackathon-info {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

/* Error Screen */
.error-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--mm-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.error-content {
    text-align: center;
    color: var(--foreground);
    max-width: 400px;
    padding: 2rem;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-content h2 {
    color: var(--mm-warning);
    margin-bottom: 1rem;
}

.error-content p {
    color: var(--mm-text-muted);
    margin-bottom: 2rem;
}

.error-note {
    font-size: 0.875rem;
    color: var(--mm-text-muted);
    font-style: italic;
    margin-top: 1rem;
}

/* Main Content */
.main-content {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.main-content.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .loading-content h2 {
        font-size: 1.5rem;
    }
    
    .loading-logo {
        font-size: 3rem;
    }
    
    .error-content h2 {
        font-size: 1.25rem;
    }
    
    .error-content {
        padding: 1rem;
        max-width: 90%;
    }
}

/* Better CSS Loading */
.loading-screen.hidden,
.error-screen.hidden {
    display: none;
}

/* Community Section */
.community-section {
    padding: 4rem 0;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.community-section.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.community-container {
    max-width: 1200px;
    margin: 0 auto;
}

.community-container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--mm-text);
}

.community-container > p {
    text-align: center;
    color: var(--mm-text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Community Navigation */
.community-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--mm-line);
    padding-bottom: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.community-nav-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--mm-text-muted);
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.community-nav-btn:hover {
    background: rgba(37, 244, 223, 0.1);
    color: var(--mm-mint);
    transform: translateY(-2px);
}

.community-nav-btn.active {
    background: var(--mm-mint);
    color: var(--mm-bg);
    box-shadow: 0 4px 15px rgba(37, 244, 223, 0.3);
}

/* Community Tab Content */
.community-tab-content {
    display: none;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.community-tab-content.active {
    display: block;
}

/* Forum Styles */
.forum-header {
    text-align: center;
    margin-bottom: 2rem;
}

.forum-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--mm-text);
}

.forum-header p {
    color: var(--mm-text-muted);
    margin-bottom: 1rem;
}

.forum-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.forum-category-card {
    background: linear-gradient(135deg, var(--category-color, #3B82F6), rgba(255,255,255,0.1));
    border-radius: 0.75rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.forum-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.forum-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.forum-category-icon {
    font-size: 1.5rem;
}

.forum-category-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.forum-category-description {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.4;
}

.forum-posts-section {
    margin-top: 2rem;
}

.forum-posts-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--mm-text);
}

.forum-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.forum-post-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.forum-post-card:hover {
    border-color: var(--mm-mint);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 244, 223, 0.1);
}

.forum-post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.forum-post-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--mm-text);
    margin: 0;
    line-height: 1.4;
}

.forum-post-category {
    background: var(--category-color, #3B82F6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.forum-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

.forum-post-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

/* Networking Styles */
.networking-header {
    text-align: center;
    margin-bottom: 2rem;
}

.networking-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--mm-text);
}

.networking-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.networking-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.auth-prompt {
    text-align: center;
    padding: 2rem;
    background: rgba(37, 244, 223, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(37, 244, 223, 0.2);
}

.connections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.connection-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.connection-card:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 244, 223, 0.15);
}

.connection-avatar {
    width: 4rem;
    height: 4rem;
    background: var(--mm-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--mm-bg);
    font-weight: 600;
}

.connection-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--mm-text);
}

.connection-role {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Mentorship Styles */
.mentorship-header {
    text-align: center;
    margin-bottom: 2rem;
}

.mentorship-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--mm-text);
}

.mentorship-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.mentorship-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.mentorship-card:hover {
    border-color: var(--mm-mint);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 244, 223, 0.15);
}

.mentorship-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mentorship-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--mm-text);
}

.mentorship-card p {
    color: var(--mm-text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.featured-mentors h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--mm-text);
}

.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.mentor-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.mentor-card:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 244, 223, 0.15);
}

.mentor-avatar {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--mm-mint), #1dd1a1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    color: var(--mm-bg);
    font-weight: 600;
}

.mentor-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--mm-text);
}

.mentor-field {
    color: var(--mm-mint);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.mentor-experience {
    color: var(--mm-text-muted);
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.mentor-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.mentor-skill {
    background: rgba(37, 244, 223, 0.1);
    color: var(--mm-mint);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Activity Timeline */
.activity-header {
    text-align: center;
    margin-bottom: 2rem;
}

.activity-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--mm-text);
}

.activity-timeline {
    max-width: 600px;
    margin: 0 auto;
}

.activity-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    border-left: 4px solid var(--mm-mint);
}

.activity-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--mm-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mm-bg);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-description {
    font-weight: 500;
    color: var(--mm-text);
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.75rem;
    color: var(--mm-text-muted);
}

/* Community Responsive Design */
@media (max-width: 768px) {
    .community-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .community-nav-btn {
        width: 100%;
        max-width: 200px;
        padding: 0.75rem 1.5rem;
    }
    
    .forum-categories {
        grid-template-columns: 1fr;
    }
    
    .networking-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .mentorship-options {
        grid-template-columns: 1fr;
    }
    
    .mentors-grid {
        grid-template-columns: 1fr;
    }
    
    .connections-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Progress Section Styles */
.progress-section {
    background: var(--mm-bg);
    padding: 3rem 0;
    min-height: 100vh;
    display: none;
}

.progress-section.active {
    display: block;
}

.progress-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--mm-text);
}

.progress-container p {
    text-align: center;
    color: var(--mm-text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Progress Navigation */
.progress-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--mm-line);
    padding-bottom: 1rem;
}

.progress-nav-btn {
    background: transparent;
    border: none;
    color: var(--mm-text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.progress-nav-btn:hover {
    background: var(--mm-surface);
    color: var(--mm-text);
}

.progress-nav-btn.active {
    background: var(--mm-mint);
    color: var(--mm-bg);
    font-weight: 600;
}

/* Progress Tab Content */
.progress-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.progress-tab-content.active {
    display: block;
}

/* Overview Tab Styles */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.overview-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.overview-card:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
}

.overview-card h4 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mm-text-muted);
}

.status-indicator.completed .status-dot {
    background: var(--mm-success);
}

.status-indicator.in-progress .status-dot {
    background: var(--mm-warning);
    animation: pulse 2s infinite;
}

.status-indicator.pending .status-dot {
    background: var(--mm-text-muted);
}

.progress-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--mm-mint);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

.readiness-meter {
    position: relative;
    height: 8px;
    background: var(--mm-surface-dark);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mm-warning), var(--mm-mint));
    transition: width 0.5s ease;
    border-radius: 4px;
}

.meter-text {
    font-weight: 600;
    color: var(--mm-text);
    font-size: 0.9rem;
}

/* Quick Actions */
.quick-actions {
    margin-top: 2rem;
}

.quick-actions h4 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-btn {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    color: var(--mm-text);
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.action-btn:hover {
    background: var(--mm-mint);
    color: var(--mm-bg);
    border-color: var(--mm-mint);
    transform: translateY(-2px);
}

/* Career Explorer Styles */
.careers-explorer h3 {
    color: var(--mm-text);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.careers-explorer p {
    color: var(--mm-text-muted);
    margin-bottom: 2rem;
}

.career-search {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.career-search input,
.career-search select {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem;
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    background: var(--mm-surface);
    color: var(--mm-text);
    font-size: 1rem;
}

.career-search input:focus,
.career-search select:focus {
    outline: none;
    border-color: var(--mm-mint);
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.career-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.career-card:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
}

.career-card h4 {
    color: var(--mm-text);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.career-category {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.career-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.career-details span {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    background: var(--mm-surface-dark);
    border-radius: 0.25rem;
    color: var(--mm-text-muted);
}

/* Learning Hub Enhanced Styles */
.learning-hub-notice {
    background: linear-gradient(135deg, rgba(37, 244, 223, 0.15), rgba(37, 244, 223, 0.25));
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--mm-mint);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.learning-hub-notice .notice-icon {
    font-size: 1.5rem;
}

.learning-hub-notice .notice-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.learning-hub-notice .notice-text strong {
    color: var(--mm-text);
    font-size: 1rem;
    font-weight: 600;
}

.learning-hub-notice .notice-text span {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
}

/* Learning Hub Search - Optimized Layout */
.learning-hub-search {
    background: var(--mm-surface-dark);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--mm-line);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.learning-hub-search .search-group,
.learning-hub-search .filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.learning-hub-search label {
    font-weight: 600;
    color: var(--mm-mint);
    font-size: 0.875rem;
}

.learning-hub-search input,
.learning-hub-search select {
    padding: 0.75rem;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    color: var(--foreground);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    outline: none;
}

.learning-hub-search input:focus,
.learning-hub-search select:focus {
    border-color: var(--mm-mint);
    box-shadow: 0 0 0 3px rgba(37, 244, 223, 0.1);
}

.learning-hub-search input::placeholder {
    color: var(--mm-text-muted);
}

.courses-count {
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.courses-count p {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
}

/* Course Cards Container - Full Width */
.learning-results,
#learningResults {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.learning-card.enhanced {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: fit-content;
}

.learning-card.enhanced:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 244, 223, 0.15);
}

.learning-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.learning-card-title {
    color: var(--mm-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.learning-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-end;
}

.provider-badge {
    background: var(--mm-mint);
    color: var(--mm-bg);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.rating-badge {
    background: var(--mm-surface-dark);
    color: var(--mm-text);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.learning-card-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.learning-card-tags .tag {
    background: var(--mm-surface-dark);
    color: var(--mm-text-muted);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.learning-card-tags .tag.category {
    background: rgba(37, 244, 223, 0.2);
    color: var(--mm-mint);
}

.learning-card-description {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.learning-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.learning-card-cost {
    font-size: 1rem;
    font-weight: 600;
    color: var(--mm-mint);
}

.learning-card-cost.free {
    color: #10b981;
}

.learning-card-actions {
    display: flex;
    gap: 0.5rem;
}

.learning-card-btn {
    background: var(--mm-mint);
    color: var(--mm-bg);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.learning-card-btn:hover {
    background: #1ed5c3;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .learning-hub-search {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .learning-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        padding: 0;
        margin: 0 0 1rem 0;
    }
    
    .learning-card-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .learning-card-meta {
        align-items: flex-start;
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .learning-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .learning-card-actions {
        justify-content: center;
    }
}

/* Learning Hub Styles */
.learning-hub h3 {
    color: var(--mm-text);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.learning-hub p {
    color: var(--mm-text-muted);
    margin-bottom: 2rem;
}

.learning-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.learning-filters select {
    padding: 0.75rem;
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    background: var(--mm-surface);
    color: var(--mm-text);
    font-size: 1rem;
    min-width: 150px;
}



.learning-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.learning-card:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
}

.learning-card h4 {
    color: var(--mm-text);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.resource-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.resource-meta span {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--mm-surface-dark);
    border-radius: 0.25rem;
    color: var(--mm-text-muted);
}

.resource-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mm-mint);
    margin-bottom: 1rem;
}

/* Community Hub Styles */
.community-hub h3 {
    color: var(--mm-text);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.community-hub p {
    color: var(--mm-text-muted);
    margin-bottom: 2rem;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.stat-card .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mm-mint);
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--mm-text-muted);
}

.community-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.community-feed h4 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feed-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feed-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
}

.feed-avatar {
    font-size: 1.5rem;
    opacity: 0.7;
}

.feed-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feed-user {
    font-weight: 600;
    color: var(--mm-text);
    font-size: 0.9rem;
}

.feed-action {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
}

.feed-time {
    color: var(--mm-text-muted);
    font-size: 0.75rem;
}

/* Responsive Design for Progress Section */
@media (max-width: 768px) {
    .progress-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .progress-nav-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .career-search {
        flex-direction: column;
    }
    
    .career-search input,
    .career-search select {
        min-width: 100%;
    }
    
    .career-grid,
    .learning-grid {
        grid-template-columns: 1fr;
    }
    
    .community-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .community-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Consolidated Analytics Dashboard Styles */
.analytics-grid .overview-card {
    min-height: 200px;
    position: relative;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--mm-line);
}

.card-header .card-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--mm-mint-light);
    border-radius: 50%;
    color: var(--mm-mint);
}

.card-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mm-text);
}

/* Career Readiness Meter */
.readiness-meter {
    text-align: center;
}

.meter-circle {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(var(--mm-mint) 0deg, var(--mm-line) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: background 0.3s ease;
}

.meter-circle::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--mm-surface);
    border-radius: 50%;
}

.meter-value {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mm-mint);
}

.meter-label {
    position: relative;
    z-index: 2;
    font-size: 0.8rem;
    color: var(--mm-text-muted);
    margin-left: 2px;
}

.readiness-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.item-label {
    min-width: 70px;
    color: var(--mm-text-muted);
    font-size: 0.8rem;
}

.item-progress {
    flex: 1;
    height: 4px;
    background: var(--mm-line);
    border-radius: 2px;
    overflow: hidden;
}

.item-progress .progress-fill {
    height: 100%;
    background: var(--mm-mint);
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* Assessment Status Enhanced */
.assessment-status .status-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.status-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--mm-line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.status-circle .status-text {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--mm-text-muted);
}

.assessment-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
    background: var(--mm-bg);
    border-radius: 0.5rem;
}

.preview-label {
    font-size: 0.75rem;
    color: var(--mm-text-muted);
    margin-bottom: 0.25rem;
}

.preview-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mm-text);
}

/* Market Intelligence */
.market-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.trend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background: var(--mm-bg);
    border-radius: 0.5rem;
    text-align: center;
}

.trend-name {
    font-size: 0.75rem;
    color: var(--mm-text-muted);
    margin-bottom: 0.25rem;
}

.trend-growth {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mm-success);
}

.trend-growth.positive {
    color: var(--mm-success);
}

.trend-growth.negative {
    color: var(--mm-error);
}

.salary-preview {
    padding: 0.75rem;
    background: var(--mm-bg);
    border-radius: 0.5rem;
    border-left: 3px solid var(--mm-mint);
}

.salary-range {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.salary-label {
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

.salary-value {
    font-weight: 600;
    color: var(--mm-text);
    font-size: 0.875rem;
}

.salary-trend .trend-indicator {
    font-size: 0.8rem;
    color: var(--mm-success);
}

/* Skills & Learning */
.skills-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-categories {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skill-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.category-name {
    min-width: 80px;
    color: var(--mm-text-muted);
    font-size: 0.8rem;
}

.skill-bar {
    flex: 1;
    height: 6px;
    background: var(--mm-line);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mm-mint), var(--mm-mint-light));
    border-radius: 3px;
    transition: width 0.5s ease;
}

.skill-percent {
    min-width: 35px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mm-text);
    text-align: right;
}

.learning-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.learning-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background: var(--mm-bg);
    border-radius: 0.5rem;
    text-align: center;
}

.learning-stat .stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mm-mint);
    margin-bottom: 0.25rem;
}

.learning-stat .stat-label {
    font-size: 0.75rem;
    color: var(--mm-text-muted);
}

/* Community & Peer Ranking */
.community-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.peer-ranking {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ranking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: var(--mm-bg);
    border-radius: 0.5rem;
}

.ranking-label {
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

.ranking-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mm-success);
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.community-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background: var(--mm-bg);
    border-radius: 0.5rem;
    text-align: center;
}

.community-stat .stat-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--mm-mint);
    margin-bottom: 0.25rem;
}

.community-stat .stat-label {
    font-size: 0.7rem;
    color: var(--mm-text-muted);
}

/* Session Insights */
.session-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.session-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.session-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background: var(--mm-bg);
    border-radius: 0.5rem;
    text-align: center;
}

.session-stat .stat-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--mm-mint);
    margin-bottom: 0.25rem;
}

.session-stat .stat-label {
    font-size: 0.7rem;
    color: var(--mm-text-muted);
}

.engagement-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--mm-bg);
    border-radius: 0.5rem;
    border-left: 3px solid var(--mm-mint);
}

.engagement-label {
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

.engagement-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mm-text);
}

/* Enhanced Quick Actions */
.analytics-actions .actions-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.analytics-actions .action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-align: left;
}

.analytics-actions .action-btn:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 244, 223, 0.2);
}

.analytics-actions .btn-icon {
    font-size: 1.5rem;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mm-mint-light);
    border-radius: 50%;
    color: var(--mm-mint);
}

.btn-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.btn-text {
    font-weight: 600;
    color: var(--mm-text);
    font-size: 0.9rem;
}

.btn-desc {
    font-size: 0.8rem;
    color: var(--mm-text-muted);
}

/* Quick Reports */
.quick-reports {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--mm-line);
}

.quick-reports h4 {
    margin-bottom: 1rem;
    color: var(--mm-text);
    font-size: 1.1rem;
    font-weight: 600;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.report-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.report-btn:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
}

.report-icon {
    font-size: 1.5rem;
    color: var(--mm-mint);
}

.report-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--mm-text);
    text-align: center;
}

/* Color Variables for Analytics */
:root {
    --mm-success: #10b981;
    --mm-error: #ef4444;
    --mm-warning: #f59e0b;
    --mm-mint-light: rgba(37, 244, 223, 0.1);
}

/* Analytics Section Styles */
.analytics-section {
    background: var(--mm-bg);
    padding: 3rem 0;
    min-height: 100vh;
    display: none;
}

.analytics-section.active {
    display: block;
}

.analytics-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--mm-text);
}

.analytics-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--mm-line);
    padding-bottom: 1rem;
}

.analytics-nav-btn {
    background: transparent;
    border: 1px solid var(--mm-line);
    color: var(--mm-text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.analytics-nav-btn.active {
    background: var(--mm-mint);
    color: var(--mm-bg);
    border-color: var(--mm-mint);
}

.analytics-tab-content {
    display: none;
}

.analytics-tab-content.active {
    display: block;
}

.predictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.prediction-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.prediction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 244, 223, 0.1);
}

.prediction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.success-probability {
    text-align: center;
}

.probability-score {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mm-mint);
}

.salary-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.salary-milestone {
    text-align: center;
    padding: 1rem;
    background: rgba(37, 244, 223, 0.05);
    border: 1px solid rgba(37, 244, 223, 0.2);
    border-radius: 0.5rem;
}

.salary-milestone .amount {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mm-mint);
}

.trends-grid {
    display: grid;
    gap: 2rem;
}

.trends-section {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
}

.hot-careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.hot-career-card {
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.salary-explorer, .skills-explorer {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
}

.salary-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: end;
}

.salary-range {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.salary-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
}

.salary-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--mm-mint);
}

.skills-gap-content {
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 2rem;
}

.skills-grid {
    display: grid;
    gap: 1.5rem;
}

.skill-gap-item {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.level-bar {
    flex: 1;
    height: 0.5rem;
    background: var(--mm-surface-dark);
    border-radius: 0.25rem;
    overflow: hidden;
}

.level-fill {
    height: 100%;
    background: var(--mm-mint);
    transition: width 0.3s ease;
}

/* Live Job Market Styles */
.live-job-market {
    margin-top: 1rem;
}

.market-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.market-stat {
    text-align: center;
    padding: 1rem;
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
}

.market-stat .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mm-mint);
    margin-bottom: 0.5rem;
}

.market-stat .stat-label {
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

.live-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.live-job-card {
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.live-job-card:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.job-header h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.job-trend {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: capitalize;
}

.job-trend.up {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.job-trend.down {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.job-trend.stable {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.job-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.job-metrics .metric {
    text-align: center;
}

.job-metrics .metric-label {
    display: block;
    font-size: 0.875rem;
    color: var(--mm-text-muted);
    margin-bottom: 0.25rem;
}

.job-metrics .metric-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.market-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Indian Market Insights Styles */
.indian-market-insights {
    margin-top: 1rem;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.insight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.insight-item:hover {
    border-color: var(--mm-mint);
    transform: translateY(-2px);
}

.insight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.insight-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--mm-mint);
    margin-bottom: 0.5rem;
}

.insight-content p {
    font-size: 0.875rem;
    color: var(--mm-text-muted);
    line-height: 1.4;
}

/* Currency Info Styles */
.currency-info {
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
}

.currency-info small {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
}

@media (max-width: 768px) {
    .analytics-nav {
        flex-wrap: wrap;
    }
    
    .predictions-grid {
        grid-template-columns: 1fr;
    }
    
    .salary-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Peer Comparison Styles */
.peer-comparison-loading {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
}

.analysis-steps {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(37, 244, 223, 0.05);
    border-radius: 0.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step-item.active {
    opacity: 1;
    background: rgba(37, 244, 223, 0.1);
    border-left: 3px solid var(--mm-mint);
}

.step-icon {
    font-size: 1.25rem;
}

.peer-comparison-overview {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.comparison-meta {
    margin-top: 1rem;
    color: var(--mm-text-muted);
    font-size: 0.875rem;
}

.percentile-rankings {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.rankings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.ranking-card {
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.ranking-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 244, 223, 0.1);
}

.ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ranking-header h6 {
    margin: 0;
    color: var(--foreground);
    font-size: 1rem;
}

.percentile-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.percentile-badge.excellent {
    background: #10B981;
}

.percentile-badge.good {
    background: #059669;
}

.percentile-badge.average {
    background: #F59E0B;
}

.percentile-badge.below-average {
    background: #EF4444;
}

.percentile-badge.needs-improvement {
    background: #DC2626;
}

.ranking-bar {
    width: 100%;
    height: 0.75rem;
    background: var(--mm-line);
    border-radius: 0.375rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.ranking-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mm-mint), var(--mm-success));
    border-radius: 0.375rem;
    transition: width 1s ease;
    width: 0%;
}

.ranking-description {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
    font-style: italic;
}

.peer-insights {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.insights-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(37, 244, 223, 0.05);
    border: 1px solid rgba(37, 244, 223, 0.2);
    border-radius: 0.5rem;
}

.insight-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.insight-text {
    flex: 1;
    color: var(--foreground);
    line-height: 1.5;
}

.improvement-recommendations {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.recommendation-card {
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 244, 223, 0.1);
    border-color: var(--mm-mint);
}

.rec-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.rec-header h6 {
    margin: 0;
    color: var(--mm-mint);
    font-size: 1.125rem;
}

.rec-target {
    background: rgba(37, 244, 223, 0.1);
    color: var(--mm-mint);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.rec-action, .rec-impact {
    margin-bottom: 1rem;
    color: var(--mm-text-muted);
    line-height: 1.5;
}

.rec-action strong, .rec-impact strong {
    color: var(--foreground);
}

.peer-metrics-details {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.metrics-comparison {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.metric-comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric-label {
    font-weight: 600;
    color: var(--foreground);
    font-size: 1rem;
}

.metric-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-label {
    width: 80px;
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

.bar {
    flex: 1;
    height: 1rem;
    background: var(--mm-line);
    border-radius: 0.5rem;
    overflow: hidden;
}

.metric-bar.user .bar-fill {
    background: var(--mm-mint);
    height: 100%;
    transition: width 1s ease;
}

.metric-bar.peer .bar-fill {
    background: #6B7280;
    height: 100%;
    transition: width 1s ease;
}

.bar-value {
    width: 60px;
    text-align: right;
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.875rem;
}

.benchmark-actions {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Modal Styles for Peer Comparison */
.improvement-plan-modal,
.industry-benchmarks-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-content.large {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.improvement-timeline {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.timeline-date {
    background: var(--mm-mint);
    color: var(--mm-bg);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
}

.timeline-content {
    flex: 1;
    background: var(--mm-surface-dark);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--mm-line);
}

.timeline-content h5 {
    margin: 0 0 1rem 0;
    color: var(--mm-mint);
}

.timeline-content p {
    margin: 0 0 0.5rem 0;
    color: var(--mm-text-muted);
    line-height: 1.5;
}

.timeline-actions {
    margin-top: 1rem;
}

.benchmarks-overview {
    display: grid;
    gap: 2rem;
}

.benchmark-section {
    background: var(--mm-surface-dark);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--mm-line);
}

.benchmark-section h4 {
    margin: 0 0 1rem 0;
    color: var(--mm-mint);
}

.salary-ranges {
    display: grid;
    gap: 1rem;
}

.salary-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(37, 244, 223, 0.05);
    border-radius: 0.5rem;
}

.level-label {
    color: var(--mm-text-muted);
    font-weight: 500;
}

.level-value {
    color: var(--foreground);
    font-weight: 600;
    font-size: 1.125rem;
}

.growth-rate {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--mm-mint);
    margin: 0;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(37, 244, 223, 0.1);
    color: var(--mm-mint);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.certifications-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.certification-item {
    padding: 0.75rem;
    background: rgba(37, 244, 223, 0.05);
    border: 1px solid rgba(37, 244, 223, 0.2);
    border-radius: 0.5rem;
    color: var(--foreground);
}

.peer-comparison-error {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive Design for Peer Comparison */
@media (max-width: 768px) {
    .rankings-grid {
        grid-template-columns: 1fr;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .metric-bars {
        gap: 1rem;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-date {
        align-self: flex-start;
    }
    
    .modal-content.large {
        width: 95%;
        margin: 1rem;
    }
}

/* Career Reports Styles */
.reports-overview {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.template-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 244, 223, 0.15);
    border-color: var(--mm-mint);
}

.template-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.template-header h5 {
    margin: 0;
    color: var(--mm-mint);
    font-size: 1.25rem;
}

.template-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: right;
}

.template-pages,
.template-time {
    background: rgba(37, 244, 223, 0.1);
    color: var(--mm-mint);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.template-description {
    margin-bottom: 1.5rem;
}

.template-description p {
    color: var(--mm-text-muted);
    line-height: 1.6;
    margin: 0;
}

.template-sections {
    margin-bottom: 1.5rem;
}

.template-sections h6 {
    margin: 0 0 0.75rem 0;
    color: var(--foreground);
    font-size: 0.9rem;
}

.sections-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.section-tag {
    background: rgba(37, 244, 223, 0.05);
    color: var(--mm-text-muted);
    border: 1px solid rgba(37, 244, 223, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.template-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.reports-actions {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.report-tips {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(37, 244, 223, 0.05);
    border: 1px solid rgba(37, 244, 223, 0.2);
    border-radius: 0.5rem;
    text-align: left;
}

.tip-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Report Generation Progress */
.report-generation-progress {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
}

.progress-header h4 {
    margin: 0 0 0.5rem 0;
    color: var(--mm-mint);
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(37, 244, 223, 0.05);
    border: 1px solid rgba(37, 244, 223, 0.2);
    border-radius: 0.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
    background: rgba(37, 244, 223, 0.1);
    border-color: var(--mm-mint);
    transform: scale(1.05);
}

.step-icon {
    font-size: 1.5rem;
}

.step-label {
    font-size: 0.875rem;
    color: var(--mm-text-muted);
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--foreground);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 0.75rem;
    background: var(--mm-line);
    border-radius: 0.375rem;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mm-mint), var(--mm-success));
    border-radius: 0.375rem;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-meta {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
}

/* Generated Report Styles */
.generated-report {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    overflow: hidden;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem;
    background: var(--mm-surface-dark);
    border-bottom: 1px solid var(--mm-line);
}

.report-title-section h4 {
    margin: 0 0 0.5rem 0;
    color: var(--mm-mint);
    font-size: 1.5rem;
}

.report-meta {
    display: flex;
    gap: 0.5rem;
    color: var(--mm-text-muted);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.report-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.report-content {
    padding: 2rem;
}

.report-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.report-section {
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.section-title {
    margin: 0 0 1.5rem 0;
    color: var(--mm-mint);
    font-size: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--mm-line);
}

.section-content {
    color: var(--foreground);
    line-height: 1.6;
}

/* Executive Summary Styles */
.executive-summary {
    display: grid;
    gap: 1.5rem;
}

.executive-summary h6 {
    margin: 0 0 0.75rem 0;
    color: var(--mm-mint);
    font-size: 1rem;
}

.executive-summary ul {
    margin: 0;
    padding-left: 1.5rem;
}

.executive-summary li {
    margin-bottom: 0.5rem;
    color: var(--mm-text-muted);
}

/* Assessment Results Styles */
.assessment-results {
    display: grid;
    gap: 1.5rem;
}

.personality-profile,
.career-matches {
    background: rgba(37, 244, 223, 0.05);
    border: 1px solid rgba(37, 244, 223, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.profile-traits {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.trait-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(37, 244, 223, 0.05);
    border-radius: 0.5rem;
}

.trait-label {
    color: var(--mm-text-muted);
    font-weight: 500;
}

.trait-value {
    color: var(--foreground);
    font-weight: 600;
}

.match-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(37, 244, 223, 0.03);
    border-radius: 0.5rem;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.match-career {
    font-weight: 600;
    color: var(--foreground);
}

.match-score {
    background: var(--mm-mint);
    color: var(--mm-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.match-alignment {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
}

/* Career Predictions Styles */
.prediction-item {
    background: rgba(37, 244, 223, 0.05);
    border: 1px solid rgba(37, 244, 223, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.pred-career {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.pred-probability {
    color: var(--mm-mint);
    font-weight: 600;
    font-size: 1.125rem;
}

.pred-confidence {
    color: var(--mm-text-muted);
    font-size: 0.875rem;
}

/* Peer Comparison Summary */
.peer-comparison-summary {
    background: rgba(37, 244, 223, 0.05);
    border: 1px solid rgba(37, 244, 223, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.ranking-summary {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ranking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(37, 244, 223, 0.05);
    border-radius: 0.5rem;
}

.metric-name {
    color: var(--mm-text-muted);
    font-weight: 500;
}

.percentile-value {
    color: var(--mm-mint);
    font-weight: 600;
}

/* Content Object Styles */
.content-object {
    display: grid;
    gap: 1rem;
}

.content-item {
    padding: 1rem;
    background: rgba(37, 244, 223, 0.05);
    border: 1px solid rgba(37, 244, 223, 0.2);
    border-radius: 0.5rem;
}

.content-item strong {
    color: var(--mm-mint);
}

.report-footer {
    padding: 2rem;
    background: var(--mm-surface-dark);
    border-top: 1px solid var(--mm-line);
}

.report-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Template Preview Modal */
.template-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.template-details {
    display: grid;
    gap: 2rem;
}

.template-overview {
    background: var(--mm-surface-dark);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--mm-line);
}

.template-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(37, 244, 223, 0.05);
    border-radius: 0.5rem;
}

.stat-label {
    color: var(--mm-text-muted);
    font-weight: 500;
}

.stat-value {
    color: var(--foreground);
    font-weight: 600;
}

.template-sections-preview {
    background: var(--mm-surface-dark);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--mm-line);
}

.sections-preview {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.section-preview-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(37, 244, 223, 0.05);
    border: 1px solid rgba(37, 244, 223, 0.2);
    border-radius: 0.5rem;
}

.section-number {
    background: var(--mm-mint);
    color: var(--mm-bg);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.section-name {
    color: var(--foreground);
    font-weight: 500;
}

.reports-error {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
}

.reports-error .error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reports-error .error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive Design for Reports */
@media (max-width: 768px) {
    .templates-grid {
        grid-template-columns: 1fr;
    }
    
    .report-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .report-actions {
        align-self: stretch;
    }
    
    .progress-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .report-navigation {
        justify-content: center;
        text-align: center;
    }
    
    .template-stats {
        grid-template-columns: 1fr;
    }
    
    .template-meta {
        text-align: left;
    }
    
    .template-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* AI Twin Styles */
.ai-twin-overview {
    margin-bottom: 2rem;
}

.ai-twin-summary {
    text-align: center;
    padding: 2rem;
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
}

.ai-twin-summary h4 {
    color: var(--mm-mint);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.simulation-types {
    margin-bottom: 2rem;
}

.simulation-types h5 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.simulation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.simulation-card {
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.simulation-card:hover {
    border-color: var(--mm-mint);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 255, 200, 0.15);
}

.simulation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.simulation-card h6 {
    color: var(--mm-mint);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.simulation-card p {
    color: var(--mm-text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-twin-actions {
    margin-bottom: 2rem;
}

.ai-twin-actions h5 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.prediction-quick {
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
    padding: 1.5rem;
}

.prediction-input {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.prediction-input input,
.prediction-input select {
    flex: 1;
    min-width: 200px;
}

.simulation-results {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--mm-surface-dark);
    border: 1px solid var(--mm-line);
    border-radius: 1rem;
}

.simulation-header {
    text-align: center;
    margin-bottom: 2rem;
}

.simulation-header h4 {
    color: var(--mm-mint);
    margin-bottom: 0.5rem;
}

.simulation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Probability Circle Styles */
.probability-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mm-mint), #00d4aa);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    text-align: center;
}

.probability-circle.startup {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.probability-circle.international {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.probability-circle.quick {
    background: linear-gradient(135deg, #a8e6cf, #7fcdcd);
}

.probability-number {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.probability-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Career Progression Styles */
.progression-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.timeline-stage {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
    position: relative;
}

.timeline-stage::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 50%;
    width: 2px;
    height: 100%;
    background: var(--mm-mint);
    transform: translateY(-50%);
}

.stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stage-header h6 {
    color: var(--mm-mint);
    font-size: 1.1rem;
}

.stage-role {
    background: var(--mm-mint);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.stage-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.stage-salary,
.stage-probability {
    background: var(--mm-surface-dark);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.stage-skills h6,
.stage-challenges h6,
.stage-opportunities h6 {
    color: var(--mm-text);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.skill-tag {
    background: var(--mm-mint);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.stage-challenges ul,
.stage-opportunities ul {
    margin: 0;
    padding-left: 1.5rem;
}

.stage-challenges li,
.stage-opportunities li {
    color: var(--mm-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

/* Key Factors Styles */
.key-factors {
    margin: 2rem 0;
}

.key-factors h6 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.factor-item {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    padding: 1rem;
}

.factor-label {
    display: block;
    color: var(--mm-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.factor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.factor-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.factor-tag.strength {
    background: #4caf50;
    color: white;
}

.factor-tag.improvement {
    background: #ff9800;
    color: white;
}

/* Skill Development Styles */
.investment-summary {
    margin-bottom: 2rem;
}

.investment-summary h6 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.investment-item {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.investment-label {
    display: block;
    color: var(--mm-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.investment-value {
    color: var(--mm-mint);
    font-weight: 600;
    font-size: 1.1rem;
}

.skill-roadmap {
    margin-bottom: 2rem;
}

.skill-roadmap h6 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roadmap-phase {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.phase-header h6 {
    color: var(--mm-mint);
    font-size: 1rem;
}

.phase-timeframe {
    background: var(--mm-surface-dark);
    color: var(--mm-text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.phase-skills,
.phase-resources {
    margin-bottom: 1rem;
}

.phase-skills strong,
.phase-resources strong {
    color: var(--mm-text);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.resources-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.resource-tag {
    background: var(--mm-surface-dark);
    color: var(--mm-text);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.phase-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.phase-metrics span {
    background: var(--mm-surface-dark);
    color: var(--mm-text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
}

/* Market Value Styles */
.market-value {
    margin-bottom: 2rem;
}

.market-value h6 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.market-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.market-value-item {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.market-label {
    display: block;
    color: var(--mm-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.market-value {
    color: var(--mm-mint);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Market Adaptation Styles */
.market-overview {
    margin-bottom: 2rem;
}

.market-overview h6 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.market-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.overview-item {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.overview-label {
    display: block;
    color: var(--mm-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.overview-value {
    color: var(--mm-mint);
    font-weight: 600;
    font-size: 1.1rem;
}

.market-scenarios {
    margin-bottom: 2rem;
}

.market-scenarios h6 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.scenario-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.scenario-card.high-probability {
    border-color: #4caf50;
}

.scenario-card.medium-probability {
    border-color: #ff9800;
}

.scenario-card.low-probability {
    border-color: #f44336;
}

.scenario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.scenario-header h6 {
    color: var(--mm-mint);
    font-size: 1rem;
}

.scenario-probability {
    background: var(--mm-mint);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.scenario-metrics {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.scenario-metrics span {
    background: var(--mm-surface-dark);
    color: var(--mm-text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
}

.scenario-opportunities,
.scenario-risks,
.scenario-recommendations {
    margin-bottom: 1rem;
}

.scenario-opportunities strong,
.scenario-risks strong,
.scenario-recommendations strong {
    color: var(--mm-text);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.scenario-opportunities ul,
.scenario-risks ul,
.scenario-recommendations ul {
    margin: 0;
    padding-left: 1.5rem;
}

.scenario-opportunities li,
.scenario-risks li,
.scenario-recommendations li {
    color: var(--mm-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

/* Startup Journey Styles */
.startup-overview {
    text-align: center;
    margin-bottom: 2rem;
}

.startup-note {
    color: #ff9800;
    font-style: italic;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.startup-phases {
    margin-bottom: 2rem;
}

.startup-phases h6 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.phases-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.phase-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.phase-header h6 {
    color: var(--mm-mint);
    font-size: 1rem;
}

.phase-duration {
    background: var(--mm-surface-dark);
    color: var(--mm-text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.phase-activities,
.phase-skills {
    margin-bottom: 1rem;
}

.phase-activities strong,
.phase-skills strong {
    color: var(--mm-text);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.activities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.activity-tag {
    background: var(--mm-surface-dark);
    color: var(--mm-text);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.phase-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.phase-metrics span {
    background: var(--mm-surface-dark);
    color: var(--mm-text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
}

.startup-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.success-factors h6,
.risk-mitigation h6 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.success-factors ul,
.risk-mitigation ul {
    margin: 0;
    padding-left: 1.5rem;
}

.success-factors li,
.risk-mitigation li {
    color: var(--mm-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* International Expansion Styles */
.expansion-overview {
    text-align: center;
    margin-bottom: 2rem;
}

.international-markets {
    margin-bottom: 2rem;
}

.international-markets h6 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.market-card {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.market-card.high-probability {
    border-color: #4caf50;
}

.market-card.medium-probability {
    border-color: #ff9800;
}

.market-card.low-probability {
    border-color: #f44336;
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.market-header h6 {
    color: var(--mm-mint);
    font-size: 1rem;
}

.market-probability {
    background: var(--mm-mint);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.market-metrics {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.market-metrics span {
    background: var(--mm-surface-dark);
    color: var(--mm-text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
}

.market-requirements,
.market-timeline,
.market-investment {
    margin-bottom: 1rem;
}

.market-requirements strong,
.market-timeline strong,
.market-investment strong {
    color: var(--mm-text);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.market-requirements ul {
    margin: 0;
    padding-left: 1.5rem;
}

.market-requirements li {
    color: var(--mm-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.market-timeline,
.market-investment {
    color: var(--mm-text-muted);
    font-size: 0.9rem;
}

.preparation-timeline {
    margin-bottom: 2rem;
}

.preparation-timeline h6 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-step {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.step-timeframe {
    color: var(--mm-text);
    font-size: 0.9rem;
}

/* Quick Prediction Styles */
.quick-prediction {
    text-align: center;
}

.prediction-header {
    margin-bottom: 2rem;
}

.prediction-header h4 {
    color: var(--mm-mint);
    margin-bottom: 0.5rem;
}

.prediction-overview {
    margin-bottom: 2rem;
}

.prediction-breakdown {
    margin: 2rem 0;
}

.prediction-breakdown h6 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.breakdown-item {
    background: var(--mm-surface);
    border: 1px solid var(--mm-line);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.breakdown-label {
    display: block;
    color: var(--mm-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.breakdown-value {
    color: var(--mm-mint);
    font-weight: 600;
    font-size: 1.1rem;
}

.prediction-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Recommendations Styles */
.recommendations {
    margin: 2rem 0;
}

.recommendations h6 {
    color: var(--mm-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.recommendations ul {
    margin: 0;
    padding-left: 1.5rem;
}

.recommendations li {
    color: var(--mm-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .simulation-grid {
        grid-template-columns: 1fr;
    }
    
    .prediction-input {
        flex-direction: column;
        align-items: stretch;
    }
    
    .prediction-input input,
    .prediction-input select {
        min-width: auto;
    }
    
    .factors-grid,
    .investment-grid,
    .market-value-grid,
    .market-overview-grid,
    .scenarios-grid,
    .markets-grid,
    .breakdown-grid {
        grid-template-columns: 1fr;
    }
    
    .simulation-actions,
    .prediction-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Quantum Career Pathfinding Styles */
.quantum-overview {
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    margin-bottom: 2rem;
}

.quantum-overview h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quantum-overview p {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.quantum-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.quantum-interface {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.quantum-canvas {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 2rem;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    border: 2px solid #667eea;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.quantum-canvas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.quantum-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #e0e7ff;
}

.quantum-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(102, 126, 234, 0.3);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: quantum-spin 2s linear infinite;
    margin-bottom: 1rem;
}

@keyframes quantum-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.quantum-controls-panel {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    border: 2px solid #667eea;
}

.control-group {
    margin-bottom: 1.5rem;
}

.control-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #e0e7ff;
}

.dimension-toggles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.dimension-toggles label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.dimension-toggles input[type="checkbox"] {
    accent-color: #667eea;
    transform: scale(1.2);
}

.control-group input[type="range"] {
    width: 100%;
    margin: 0.5rem 0;
    accent-color: #667eea;
}

.control-group span {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: #a0aec0;
}

.quantum-results {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    border: 2px solid #667eea;
}

.quantum-results h4 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: #e0e7ff;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.path-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid #667eea;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.path-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.path-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e0e7ff;
}

.path-probability {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.path-description {
    color: #a0aec0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.path-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.path-metric {
    text-align: center;
    padding: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
    display: block;
}

.metric-label {
    font-size: 0.8rem;
    color: #a0aec0;
}

.path-actions {
    display: flex;
    gap: 0.5rem;
}

.path-actions button {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.path-actions .btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.path-actions .btn-secondary {
    background: rgba(102, 126, 234, 0.1);
    color: #e0e7ff;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.path-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.quantum-insights h5 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #e0e7ff;
}

.insight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.insight-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid #764ba2;
    text-align: center;
}

.insight-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.insight-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e0e7ff;
    margin-bottom: 0.5rem;
}

.insight-description {
    color: #a0aec0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Quantum Path Visualization */
.quantum-path {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    animation: quantum-pulse 2s ease-in-out infinite;
}

.quantum-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    border: 3px solid #1a1a2e;
    animation: quantum-glow 3s ease-in-out infinite;
}

.quantum-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #667eea;
    border-radius: 50%;
    animation: quantum-float 4s ease-in-out infinite;
}

@keyframes quantum-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes quantum-glow {
    0%, 100% { box-shadow: 0 0 10px #667eea; }
    50% { box-shadow: 0 0 20px #667eea, 0 0 30px #667eea; }
}

@keyframes quantum-float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px);
        opacity: 0.7;
    }
    25% { 
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
    50% { 
        transform: translateY(-10px) translateX(-15px);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-30px) translateX(5px);
        opacity: 0.9;
    }
}

.quantum-visualization {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.quantum-particles,
.quantum-paths,
.quantum-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.quantum-error {
    text-align: center;
    padding: 2rem;
    color: #e0e7ff;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ef4444;
}

.quantum-error button {
    margin-top: 1rem;
}

/* Ultra-Luxurious 3D Chat Section Styles */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

.glassmorphism-user {
    background: var(--glass-user-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-user-border);
    box-shadow: 0 8px 32px rgba(31, 249, 224, 0.15);
}

.chat-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--black) 100%);
    display: none;
    z-index: 40;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 2rem;
}

.chat-section.active {
    display: block;
}

/* Page-level scrollbar styling for chat section */
.chat-section::-webkit-scrollbar {
    width: 12px;
}

.chat-section::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.chat-section::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, #1ff9e0 100%);
    border-radius: 6px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 8px rgba(31, 249, 224, 0.3);
}

.chat-section::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1ff9e0 0%, var(--primary) 100%);
    box-shadow: 0 4px 12px rgba(31, 249, 224, 0.5);
}

.chat-section::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.3);
}

/* Firefox scrollbar support */
.chat-section {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(0, 0, 0, 0.3);
}



.chat-section .form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.1s ease;
}

.chat-section .form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(31, 249, 224, 0.2);
}

.chat-section .form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Chat Message Animations */
.chat-message-enter {
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border-top-left-radius: 4px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: typingBounce 1.5s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Quick Action Buttons */
.chat-section button {
    transition: all 0.1s ease;
    cursor: pointer;
}

.chat-section button:hover {
    transform: translateY(-1px);
}

/* Ensure quick action buttons are always visible */
.chat-section .flex.gap-2.mt-3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chat-section .flex.gap-2.mt-3 button {
    flex: 1;
    min-width: 120px;
    white-space: nowrap;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
}

/* Responsive Chat Design */
@media (max-width: 768px) {
    .chat-section header {
        padding: 1rem;
    }
    
    .chat-section main {
        padding: 1rem;
    }
    
    .chat-section .glassmorphism {
        margin: 0;
        border-radius: 0;
        height: 100%;
    }
    
    .chat-section .max-w-4xl {
        max-width: 100%;
    }
    
    /* Ensure buttons are visible on mobile */
    .chat-section #chat-messages {
        max-height: calc(100vh - 320px);
        min-height: 250px;
    }
    
    .chat-section .flex.gap-2.mt-3 {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .chat-section .flex.gap-2.mt-3 button {
        width: 100%;
        min-width: auto;
    }
}

/* Enhanced Scrollbar for Chat */
.chat-section .overflow-y-auto::-webkit-scrollbar {
    width: 8px;
}

.chat-section .overflow-y-auto::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 4px;
}

.chat-section .overflow-y-auto::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
    opacity: 0.8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-section .overflow-y-auto::-webkit-scrollbar-thumb:hover {
    opacity: 1;
    background: #1ff9e0;
}

/* Ensure chat messages area is scrollable */
.chat-section #chat-messages {
    overflow-y: auto !important;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(255, 255, 255, 0.1);
    max-height: 60vh;
    min-height: 300px;
}

/* Custom scrollbar styling for chat messages */
.chat-section #chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-section #chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.chat-section #chat-messages::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
    opacity: 0.8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-section #chat-messages::-webkit-scrollbar-thumb:hover {
    opacity: 1;
    background: #1ff9e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quantum-interface {
        grid-template-columns: 1fr;
    }
    
    .quantum-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .dimension-toggles {
        grid-template-columns: 1fr;
    }
    
    .path-grid {
        grid-template-columns: 1fr;
    }
    
    .insight-cards {
        grid-template-columns: 1fr;
    }
}
