body {
  font-family: "Titillium Web", Arial, sans-serif;
  transition: background 0.3s, color 0.3s;
  min-height: 100vh;
  background: linear-gradient(120deg, #2b2d42 0%, #1a1a2e 100%);
}
.light-mode {
  background: linear-gradient(120deg, #f8fafc 0%, #e3e6f3 100%) !important;
  color: #222 !important;
}
.dark-mode {
  background: linear-gradient(120deg, #2b2d42 0%, #1a1a2e 100%) !important;
  color: #f8fafc !important;
}
.nsa-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}
.nsa-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #8ecae6;
  margin-bottom: 2rem;
}
.btn-nsa {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.85rem 2.5rem;
  border-radius: 2rem;
  margin: 0.5rem 1rem;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-nsa:hover,
.btn-nsa:focus {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.12);
}
.btn-tech {
  background: linear-gradient(90deg, #2196f3 0%, #21cbf3 100%);
  color: #fff;
  border: none;
}
.btn-nontech {
  background: linear-gradient(90deg, #ff9800 0%, #ffc107 100%);
  color: #222;
  border: none;
}
.btn-exec {
  background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
  color: #222;
  border: none;
}
.btn-dir {
  background: linear-gradient(90deg, #f857a6 0%, #ff5858 100%);
  color: #fff;
  border: none;
}
.desc-text {
  font-size: 1rem;
  color: #adb5bd;
  margin-bottom: 2rem;
}
.ai-bits {
  margin: 2rem auto 1.5rem auto;
  max-width: 340px;
  min-height: 80px;
  border-radius: 1.5rem;
  background: rgba(30, 41, 59, 0.18);
  box-shadow: 0 2px 16px 0 rgba(33, 203, 243, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #8ecae6;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.theme-toggle {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 1.6rem;
  cursor: pointer;
  color: #8ecae6;
  background: none;
  border: none;
  outline: none;
  transition: color 0.2s;
}
.theme-toggle:focus {
  outline: 2px solid #2196f3;
}
.footer {
  margin-top: 4rem;
  padding: 1.5rem 0 0.5rem 0;
  font-size: 1.1rem;
  color: #adb5bd;
  background: transparent;
}
.footer a {
  color: #8ecae6;
  margin: 0 0.5rem;
  font-size: 1.5rem;
  transition: color 0.2s;
}
.footer a:hover,
.footer a:focus {
  color: #2196f3;
}

/* --- Responsive Tweaks --- */
@media (max-width: 600px) {
  body,
  html {
    min-width: 100vw;
    width: 100vw;
    overflow-x: hidden;
  }
  .container {
    min-height: 100vh;
    width: 100vw;
    padding: 0 0.5rem !important;
    box-sizing: border-box;
    justify-content: flex-start !important;
  }
  .nsa-title {
    font-size: 2.1rem;
    margin-top: 2.5rem;
    margin-bottom: 0.3rem;
    text-align: center;
  }
  .nsa-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    text-align: center;
  }
  .desc-text {
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
    text-align: center;
    padding: 0 0.2rem;
  }
  .ai-bits {
    font-size: 0.97rem;
    padding: 0.9rem 0.5rem;
    min-width: 0;
    max-width: 98vw;
    margin: 1.2rem auto 1rem auto;
    border-radius: 1.1rem;
  }
  #portfolioSelection,
  #recruitmentOptions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }
  .btn-nsa {
    font-size: 0.98rem;
    padding: 0.7rem 1.1rem;
    margin: 0.4rem 0;
    width: 90vw;
    max-width: 340px;
    min-width: 0;
    text-align: center;
    display: block;
  }
  .footer {
    margin-top: 2.5rem;
    padding: 1.2rem 0 0.5rem 0;
    font-size: 0.98rem;
    width: 100vw;
    text-align: center;
    line-height: 1.6;
  }
  .footer .mb-2 {
    flex-direction: column;
    gap: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer a {
    font-size: 1.3rem;
    margin: 0 0.3rem;
  }
  .theme-toggle {
    right: 1rem;
    top: 1rem;
    font-size: 1.3rem;
  }
}

/* --- Slightly larger mobile screens --- */
@media (max-width: 400px) {
  .btn-nsa {
    font-size: 0.92rem;
    padding: 0.6rem 0.7rem;
    max-width: 95vw;
  }
  .ai-bits {
    font-size: 0.92rem;
    padding: 0.7rem 0.3rem;
  }
}
