/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent-purple: #9f55ff;
  --off-white: #f5f5f5;
  --gray-light: #a3a3a3;
  --gray-dark: #27272a;
  --background: #000000;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
}

::selection {
  background-color: var(--accent-purple);
  color: var(--off-white);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.accent-gradient-text {
  background: linear-gradient(90deg, #d8b4fe, #9f55ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  max-width: 100%;
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-dark);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--off-white);
  transition: color 0.3s ease;
}

.logo-link:hover {
  color: var(--accent-purple);
}

.logo-icon {
  width: 31px;
  height: 31px;
  object-fit: contain;
  color: var(--off-white);
  transition: color 0.3s ease;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--off-white);
}

.nav-link.active {
  color: var(--off-white);
}

.contact-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--gray-dark);
  border-radius: 9999px;
  background-color: rgba(39, 39, 42, 0.5);
  color: var(--off-white);
  transition: all 0.3s ease;
}

.contact-btn:hover {
  border-color: var(--off-white);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  color: var(--gray-light);
  cursor: pointer;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn:hover {
  color: var(--off-white);
}

.menu-icon, .close-icon {
  width: 1.5rem;
  height: 1.5rem;
  transition: opacity 0.3s ease;
}

.close-icon {
  position: absolute;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--background);
  border-top: 1px solid var(--gray-dark);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--gray-light);
  text-decoration: none;
  text-align: center;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--off-white);
}

.mobile-nav-link.active {
  color: var(--off-white);
}

/* Main Content */
#main-content {
  min-height: 100vh;
}

main {
  margin-top: 0;
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--background);
  padding-top: max(6.75rem, calc(env(safe-area-inset-top, 0px) + 5.75rem));
  padding-bottom: 2.5rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
}

.hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background), transparent);
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-text {
  max-width: 64rem;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--off-white);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-light);
  margin-bottom: 2.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: transparent;
  border: 1px solid var(--neutral-700);
  border-radius: 9999px;
  color: var(--off-white);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  font-size: 0.78rem;
}

.hero-cta:hover {
  border-color: var(--off-white);
  background: rgba(255, 255, 255, 0.1);
}

.cta-bg {
  display: none;
}

.cta-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-arrow {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.hero-cta:hover .cta-arrow {
  transform: translateX(0.25rem);
}

/* Floating Navigation */
.floating-nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 1000;
  overflow: visible;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 8px 16px 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

/* Navigation scroll animation */
.floating-nav.scrolled {
  width: 90% !important;
  max-width: 800px !important;
  /* padding: 6px 12px; */
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.floating-nav:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.floating-nav .logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.floating-nav .logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.floating-nav .logo-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.floating-nav .logo-text {
  font-size: 1.1rem;
  font-weight: 600;
}

.floating-nav .desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  flex-shrink: 1;
  min-width: 0;
}

.floating-nav .nav-link {
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 400;
  border-radius: 11px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  border: 1px solid transparent;
  flex-shrink: 0;
}

.floating-nav .nav-link:hover {
  background: transparent;
  color: rgba(255, 255, 255, 1);
  border: 1px solid transparent;
}

.floating-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-nav .contact-btn {
  padding: 7px 18px;
  font-size: 0.78rem;
  border-radius: 11px;
  margin-left: 5px;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  transform: none;
}

.floating-nav .mobile-menu-btn {
  display: none;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  margin-left: 16px;
  transition: background-color 0.3s ease;
}

.floating-nav .mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: none;
}

.floating-nav .mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.floating-nav .mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.floating-nav .mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
}

.floating-nav .mobile-nav-link {
  padding: 9px 14px;
  border-radius: 11px;
  font-size: 0.85rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.floating-nav .mobile-nav-link:hover {
  background: transparent;
  color: rgba(255, 255, 255, 1);
  border: 1px solid transparent;
  transform: none;
}

.floating-nav .mobile-nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-nav .logo-section + .desktop-nav {
  margin-left: auto;
}

/* Responsive adjustments for floating nav */
@media (max-width: 768px) {
  .floating-nav {
    width: 95%;
    min-width: 300px;
    padding: 6px 20px;
    border-radius: 14px;
  }
  
  .floating-nav.scrolled {
    width: 95% !important;
    max-width: 95% !important;
    padding: 6px 20px;
  }
  
  .floating-nav .desktop-nav {
    display: none;
  }
  
  .floating-nav .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    width: 31px;
    height: 31px;
  }
  
  .floating-nav .logo-text {
    font-size: 0.98rem;
  }
}

@media (max-width: 640px) {
  .floating-nav {
    width: 95%;
    padding: 6px 16px;
  }
  
  .floating-nav.scrolled {
    width: 95% !important;
    max-width: 95% !important;
    padding: 6px 16px;
  }
  
  .floating-nav .desktop-nav {
    gap: 6px;
  }
  
  .floating-nav .nav-link {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  
  .floating-nav .contact-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .floating-nav {
    width: 98%;
    min-width: 250px;
    padding: 4px 12px;
    border-radius: 12px;
  }
  
  .floating-nav.scrolled {
    width: 98% !important;
    max-width: 98% !important;
    padding: 4px 12px;
  }
  
  .floating-nav .desktop-nav {
    gap: 4px;
  }
  
  .floating-nav .nav-link {
    padding: 5px 8px;
    font-size: 0.7rem;
  }
  
  .floating-nav .contact-btn {
    padding: 5px 10px;
    font-size: 0.7rem;
  }
  
  .floating-nav .logo-text {
    font-size: 0.88rem;
  }
  
  .floating-nav .logo-icon {
    width: 19px;
    height: 19px;
  }
}

/* Header floating nav overrides */
.header.floating-header {
  background: transparent;
  border: none;
  backdrop-filter: none;
}

.header.floating-header .header-container {
  max-width: none;
  padding: 0;
}

.header.floating-header .header-content {
  height: auto;
  padding: 0;
  overflow: visible;
}

/* Mission White Paper Section */
.mission-whitepaper {
  padding: 6rem 0;
  background-color: var(--background);
}

.whitepaper-content {
  max-width: 1200px;
  margin: 0 auto;
}

.whitepaper-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--off-white);
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .whitepaper-title {
    font-size: 3.5rem;
    margin-bottom: 5rem;
  }
}

.whitepaper-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  column-gap: 3rem;
}

@media (min-width: 768px) {
  .whitepaper-columns {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
  }
}

@media (min-width: 1024px) {
  .whitepaper-columns {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
  }
}

.whitepaper-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.whitepaper-text {
  color: var(--off-white);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  text-align: justify;
  text-indent: 1.5rem;
}

@media (min-width: 768px) {
  .whitepaper-text {
    font-size: 1.1rem;
    line-height: 1.8;
  }
}

.whitepaper-text:first-child {
  text-indent: 0;
  font-weight: 500;
}

/* Hiring Section */
.hiring-section {
  padding: 4rem 0;
  background-color: var(--background);
}

.hiring-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hiring-intro {
  color: var(--off-white);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 400;
  text-align: left;
}

.job-listings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  column-gap: 2rem;
}

@media (min-width: 768px) {
  .job-listings {
    grid-template-columns: repeat(2, 1fr);
  }
}

.job-listing {
  color: var(--off-white);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(23, 23, 23, 0.5);
  transition: all 0.3s ease;
  text-align: left;
}

.job-listing:hover {
  border-color: rgba(255, 255, 255, 0.3);
  filter: brightness(1.2);
}

@media (min-width: 768px) {
  /*.hiring-intro {
    font-size: 1.375rem;
  }*/
  
  .job-listing {
    font-size: 1.125rem;
    padding: 1rem 1.25rem;
  }
}

/* Parallax Section */
.parallax-section {
  height: 30vh;
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  margin: 0;
  padding: 0;
}

.parallax-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.parallax-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(-10%);
  transition: transform 0.1s ease-out;
  display: block;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

/* Parallax effect on scroll */
@media (prefers-reduced-motion: no-preference) {
  .parallax-image {
    will-change: transform;
  }
}

/* Neural Interface Showcase */
.neural-showcase {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--background);
}

.neural-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.3;
}

.neural-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.neural-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 80vh;
  max-width: 1200px;
  margin: 0 auto;
}

.neural-text {
  display: flex;
  align-items: center;
}

.neural-text-container {
  background-color: rgba(0, 0, 0, 0.9);
  padding: 3rem;
  border-radius: 0;
  max-width: 500px;
}

.neural-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .neural-title {
    font-size: 4.5rem;
  }
}

.neural-description {
  font-size: 1.125rem;
  color: var(--off-white);
  line-height: 1.6;
  margin: 0;
}

.neural-description strong {
  color: var(--off-white);
  font-weight: 700;
}

.neural-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neural-network {
  position: relative;
  width: 100%;
  height: 500px;
}

.neural-node {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, #20d4d4, #00a8a8);
  box-shadow: 0 0 20px rgba(32, 212, 212, 0.6);
  animation: neuralPulse 3s ease-in-out infinite;
}

.central-node {
  width: 80px;
  height: 80px;
  top: 50%;
  right: 20%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #20d4d4, #00a8a8);
  box-shadow: 0 0 30px rgba(32, 212, 212, 0.8);
}

.node-1 {
  width: 20px;
  height: 20px;
  top: 20%;
  right: 10%;
  animation-delay: 0.5s;
}

.node-2 {
  width: 25px;
  height: 25px;
  top: 30%;
  right: 5%;
  animation-delay: 1s;
}

.node-3 {
  width: 18px;
  height: 18px;
  top: 60%;
  right: 8%;
  animation-delay: 1.5s;
}

.node-4 {
  width: 22px;
  height: 22px;
  top: 70%;
  right: 15%;
  animation-delay: 2s;
}

.node-5 {
  width: 16px;
  height: 16px;
  top: 80%;
  right: 25%;
  animation-delay: 2.5s;
}

.neural-connection {
  position: absolute;
  background: linear-gradient(90deg, transparent, #20d4d4, transparent);
  height: 2px;
  opacity: 0.7;
  animation: neuralFlow 4s ease-in-out infinite;
}

.connection-1 {
  width: 120px;
  top: 35%;
  right: 25%;
  transform: rotate(-25deg);
  animation-delay: 0.2s;
}

.connection-2 {
  width: 80px;
  top: 45%;
  right: 15%;
  transform: rotate(-15deg);
  animation-delay: 0.8s;
}

.connection-3 {
  width: 100px;
  top: 55%;
  right: 20%;
  transform: rotate(20deg);
  animation-delay: 1.2s;
}

.connection-4 {
  width: 90px;
  top: 65%;
  right: 30%;
  transform: rotate(35deg);
  animation-delay: 1.6s;
}

.connection-5 {
  width: 70px;
  top: 75%;
  right: 35%;
  transform: rotate(45deg);
  animation-delay: 2s;
}

@keyframes neuralPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes neuralFlow {
  0%, 100% {
    opacity: 0.3;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 0.8;
    transform: scaleX(1.2);
  }
}

@media (max-width: 1024px) {
  .neural-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .neural-text-container {
    max-width: 100%;
    padding: 2rem;
  }
  
  .neural-title {
    font-size: 2.5rem;
  }
  
  .neural-network {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .neural-showcase {
    min-height: 80vh;
  }
  
  .neural-text-container {
    padding: 1.5rem;
  }
  
  .neural-title {
    font-size: 2rem;
  }
  
  .neural-description {
    font-size: 1rem;
  }
}

/* Technology Showcase */
.tech-showcase {
  padding: 6rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .tech-showcase {
    padding: 8rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-light);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tech-card {
  background-color: rgba(23, 23, 23, 0.5);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--neutral-800);
}

.tech-icon {
  margin-bottom: 1.5rem;
}

.tech-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent-purple);
}

.tech-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.tech-description {
  color: var(--gray-light);
  line-height: 1.6;
}

/* Alternative Tech Section */
.alt-tech-section {
  padding: 6rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .alt-tech-section {
    padding: 8rem 0;
  }
}

.alt-tech-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .alt-tech-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tech-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--neutral-800);
}

.tech-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-pillar {
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.tech-pillar:hover,
.tech-pillar.active {
  background-color: var(--neutral-900);
  border-color: var(--neutral-700);
}

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

.pillar-icon {
  width: 1.75rem;
  height: 1.75rem;
  transition: color 0.3s ease;
}

.tech-pillar.active .pillar-icon {
  color: var(--accent-purple);
}

.tech-pillar:not(.active) .pillar-icon {
  color: var(--gray-light);
}

.pillar-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--off-white);
  letter-spacing: -0.02em;
}

.pillar-description {
  color: var(--gray-light);
  line-height: 1.6;
  padding-left: 2.75rem;
}

/* Applications Section */
.applications-section {
  padding: 6rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .applications-section {
    padding: 8rem 0;
  }
}

.applications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .applications-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.application-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}

.app-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.application-card:hover .app-image {
  transform: scale(1.05);
}

.app-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.app-title {
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.app-description {
  color: var(--gray-light);
}

/* Body Reanimation Section */
.reanimation-section {
  padding: 8rem 0;
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.reanimation-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .reanimation-content {
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
  }
}

.reanimation-text {
  z-index: 2;
  position: relative;
}

.reanimation-description {
  margin-top: 2rem;
}

.reanimation-description p {
  color: var(--gray-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.reanimation-description p:last-child {
  margin-bottom: 0;
}

.reanimation-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background-color: var(--neutral-900);
}

.reanimation-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .reanimation-section {
    padding: 4rem 0;
  }
  
  .reanimation-content {
    gap: 2rem;
  }
  
  .reanimation-description p {
    font-size: 1rem;
  }
}

/* AI Innovation Section */
.ai-innovation-section {
  padding: 8rem 0;
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.ai-innovation-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .ai-innovation-content {
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
  }
}

.ai-innovation-text {
  z-index: 2;
  position: relative;
}

.ai-innovation-description {
  margin-top: 2rem;
}

.ai-innovation-description p {
  color: var(--gray-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.ai-innovation-description p:last-child {
  margin-bottom: 0;
}

.ai-innovation-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-innovation-image {
  width: 50%;
  height: auto;
  object-fit: contain;
  max-width: 50%;
}

.ai-innovation-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .ai-innovation-section {
    padding: 4rem 0;
  }
  
  .ai-innovation-content {
    gap: 2rem;
  }
  
  .ai-innovation-description p {
    font-size: 1rem;
  }
}

/* Organoids Section */
.organoids-section {
  padding: 8rem 0;
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.organoids-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .organoids-content {
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
  }
}

.organoids-text {
  z-index: 2;
  position: relative;
}

.organoids-description {
  margin-top: 2rem;
}

.organoids-description p {
  color: var(--gray-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.organoids-description p:last-child {
  margin-bottom: 0;
}

.organoids-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.organoids-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 100%;
}

@media (max-width: 768px) {
  .organoids-section {
    padding: 4rem 0;
  }
  
  .organoids-content {
    gap: 2rem;
  }
  
  .organoids-description p {
    font-size: 1rem;
  }
}

/* Dementia Research Section */
.dementia-section {
  padding: 8rem 0 0 0;
  background-color: var(--background);
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.dementia-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.dementia-content .section-header {
  margin-bottom: 4rem;
}

.dementia-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 4rem auto;
  width: 100%;
}

.dementia-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.dementia-description {
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

.dementia-description p {
  color: var(--gray-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.dementia-description p:last-child {
  margin-bottom: 0;
}

.dementia-description strong {
  color: var(--accent-purple);
  font-weight: 600;
}

.dementia-image:hover {
  transform: scale(1.02);
}

.dementia-bottom-image {
  width: 100%;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.half-moon-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .dementia-section {
    padding: 4rem 0 0 0;
  }
  
  .dementia-content .section-header {
    margin-bottom: 2rem;
  }
  
  .dementia-visual {
    margin-bottom: 2rem;
    width: 100%;
  }
  
  .dementia-description p {
    font-size: 1rem;
  }
  
  .dementia-bottom-image {
    margin-top: 0.25rem;
  }
}

/* Page Hero */
.page-hero {
  padding: 4rem 0 2rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .page-hero {
    padding: 5rem 0 2.5rem 0;
  }
}

.page-title {
  font-size: 3rem;
  font-weight: 500;
  color: var(--off-white);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-align: center;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 4.5rem;
  }
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--gray-light);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .page-subtitle {
    font-size: 1.25rem;
  }
}

/* Technology Details */
.tech-details {
  padding: 1.5rem 0 3rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .tech-details {
    padding: 2rem 0 4rem 0;
  }
}

.tech-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .tech-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tech-detail-card {
  background-color: rgba(23, 23, 23, 0.5);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--neutral-800);
  display: flex;
  flex-direction: column;
}

.tech-detail-icon {
  margin-bottom: 1.5rem;
}

.tech-detail-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent-purple);
}

.tech-detail-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.tech-detail-description {
  color: var(--gray-light);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.tech-specs {
  padding-top: 2rem;
  border-top: 1px solid var(--neutral-800);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spec {
  font-size: 0.875rem;
  color: var(--gray-light);
}

/* Augmented Intelligence Section */
.augmented-intelligence {
  padding: 4rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .augmented-intelligence {
    padding: 6rem 0;
  }
}

.ai-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ai-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: 2rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .ai-title {
    font-size: 3.5rem;
  }
}

.ai-subtitle-accent {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-description {
  font-size: 1.1rem;
  color: var(--gray-light);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .ai-description {
    font-size: 1.2rem;
  }
}

.ai-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .ai-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.ai-feature {
  text-align: center;
  padding: 2rem 1rem;
}

.ai-feature-icon {
  margin-bottom: 1.5rem;
  color: var(--accent-purple);
}

.ai-feature-title {
  font-size: 1.1rem;
  color: var(--off-white);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.ai-feature-highlight {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.4;
}

.ai-cta {
  text-align: center;
}

.ai-cta-button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 12px 24px;
  color: var(--off-white);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ai-cta-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Performance Section */
.performance-section {
  padding: 4rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .performance-section {
    padding: 6rem 0;
  }
}

.performance-intro {
  margin-bottom: 4rem;
}

.performance-description {
  font-size: 1.1rem;
  color: var(--gray-light);
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .performance-description {
    font-size: 1.2rem;
  }
}

.performance-description strong {
  color: var(--off-white);
  font-weight: 600;
}

.performance-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .performance-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
  }
}

.performance-stat {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.performance-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #6366f1, #a855f7, #3b82f6);
  border-radius: 2px;
}

.stat-title {
  font-size: 1rem;
  color: var(--gray-light);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 0.5rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3.5rem;
  }
}

.stat-comparison {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin: 0;
}

/* Neural Visualization Section */
.neural-visualization {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1e1b4b, #312e81, #1e1b4b);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .neural-visualization {
    padding: 6rem 0;
  }
}

.neural-visual-container {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .neural-visual-container {
    height: 400px;
  }
}

.neural-pattern {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, 
    rgba(99, 102, 241, 0.1) 0%, 
    rgba(168, 85, 247, 0.1) 50%, 
    rgba(99, 102, 241, 0.1) 100%);
}

.neural-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.neural-wave {
  position: absolute;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to top, 
    rgba(99, 102, 241, 0.8), 
    rgba(168, 85, 247, 0.6), 
    rgba(255, 255, 255, 0.4));
  animation: neural-pulse 2s ease-in-out infinite;
}

.neural-wave:nth-child(1) {
  left: 20%;
  height: 60%;
  animation-delay: 0s;
}

.neural-wave:nth-child(2) {
  left: 35%;
  height: 80%;
  animation-delay: 0.2s;
}

.neural-wave:nth-child(3) {
  left: 50%;
  height: 100%;
  animation-delay: 0.4s;
}

.neural-wave:nth-child(4) {
  left: 65%;
  height: 75%;
  animation-delay: 0.6s;
}

.neural-wave:nth-child(5) {
  left: 80%;
  height: 55%;
  animation-delay: 0.8s;
}

@keyframes neural-pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(0.8);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

/* Laboratories Section */
.laboratories-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0, #f1f5f9);
  position: relative;
}

@media (min-width: 768px) {
  .laboratories-section {
    padding: 8rem 0;
  }
}

.laboratories-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .laboratories-content {
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
  }
}

.laboratories-text {
  color: #1e293b;
}

.laboratories-brand {
  margin-bottom: 2rem;
}

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

.singular-text {
  font-size: 1.5rem;
  font-weight: 300;
  color: #64748b;
  letter-spacing: 0.1em;
  text-transform: lowercase;
}

.singular-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
}

.laboratories-title {
  font-size: 3rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: uppercase;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .laboratories-title {
    font-size: 4rem;
  }
}

.laboratories-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
  max-width: 600px;
}

@media (min-width: 768px) {
  .laboratories-description {
    font-size: 1.2rem;
  }
}

.laboratories-visual {
  position: relative;
}

.lab-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e2e8f0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.lab-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.lab-image-container:hover .lab-image {
  transform: scale(1.05);
}

.lab-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(168, 85, 247, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lab-image-container:hover .lab-overlay {
  opacity: 1;
}

@media (max-width: 1024px) {
  .laboratories-content {
    text-align: center;
  }
  
  .singular-logo {
    justify-content: center;
  }
  
  .laboratories-description {
    margin: 0 auto;
  }
}

/* Tech CTA */
.tech-cta {
  padding: 2rem 0 4rem 0;
  background-color: var(--background);
  text-align: center;
}

@media (min-width: 768px) {
  .tech-cta {
    padding: 2.5rem 0 5rem 0;
  }
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--gray-light);
  max-width: 32rem;
  margin: 0 auto;
}

/* Team Grid */
.team-grid {
  padding: 2rem 0 3rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .team-grid {
    padding: 3rem 0 4rem 0;
  }
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.team-member {
  text-align: center;
  width: 100%;
  max-width: 20rem;
  flex-grow: 0;
}

@media (min-width: 640px) {
  .team-member {
    width: calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .team-member {
    width: calc(25% - 1.5rem);
  }
}

.member-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.team-member:hover .member-image img {
  filter: grayscale(0%);
}

.member-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.member-name {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 0.25rem;
}

.member-role {
  color: var(--gray-light);
}

/* Advisors Sections */
.advisors-section {
  padding: 2rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .advisors-section {
    padding: 2.5rem 0;
  }
}

.advisors-title {
  font-size: 2rem;
  font-weight: 500;
  color: var(--off-white);
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .advisors-title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

.advisors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.advisor-member {
  text-align: center;
  width: 100%;
  max-width: 14rem;
  flex-grow: 0;
}

@media (min-width: 640px) {
  .advisor-member {
    width: calc(50% - 0.75rem);
  }
}

@media (min-width: 768px) {
  .advisor-member {
    width: calc(33.333% - 1rem);
  }
}

@media (min-width: 1024px) {
  .advisor-member {
    width: calc(16.666% - 1.25rem);
  }
}

.special-grid .advisor-member {
  width: 100%;
  max-width: 16rem;
}

@media (min-width: 640px) {
  .special-grid .advisor-member {
    width: calc(50% - 0.75rem);
  }
}

@media (min-width: 768px) {
  .special-grid .advisor-member {
    width: calc(33.333% - 1rem);
  }
}

.advisor-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 1rem;
  width: 120px;
  height: 120px;
  margin-left: auto;
  margin-right: auto;
}

.advisor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.advisor-member:hover .advisor-image img {
  filter: grayscale(0%);
}

.advisor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(159, 85, 255, 0.1), rgba(216, 180, 254, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.advisor-member:hover .advisor-overlay {
  opacity: 1;
}

.advisor-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.advisor-role {
  font-size: 0.875rem;
  color: var(--gray-light);
}

/* Join Us */
.join-us {
  padding: 3rem 0 6rem 0;
  background-color: var(--background);
  text-align: center;
}

@media (min-width: 768px) {
  .join-us {
    padding: 4rem 0 8rem 0;
  }
}

.join-title {
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .join-title {
    font-size: 3rem;
  }
}

.join-subtitle {
  font-size: 1.125rem;
  color: var(--gray-light);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.join-link {
  color: var(--accent-purple);
  font-size: 1.125rem;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.join-link:hover {
  text-decoration: none;
}

/* News List */
.news-list {
  padding-bottom: 6rem;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .news-list {
    padding-bottom: 8rem;
  }
}

.news-articles {
  position: relative;
}

.news-articles::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--neutral-800);
}

.news-article {
  position: relative;
  transition: background-color 0.3s ease;
}

.news-article::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--neutral-800);
}

.news-article:last-child::after {
  display: none;
}

.news-article:hover {
  background-color: rgba(23, 23, 23, 0.3);
}

.news-article a {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2.5rem 1rem;
  text-decoration: none;
  color: inherit;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .news-article a {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }
}

.article-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.article-category {
  font-size: 0.75rem;
  color: var(--off-white);
  background-color: var(--neutral-700);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-date {
  color: var(--gray-light);
  font-size: 0.875rem;
  font-weight: 500;
}

.article-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--off-white);
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
  line-height: 1.3;
  margin: 0;
}

@media (min-width: 768px) {
  .article-title {
    font-size: 1.75rem;
  }
}

.news-article:hover .article-title {
  color: var(--accent-purple);
}

.article-summary {
  color: var(--off-white);
  line-height: 1.6;
  font-size: 0.875rem;
  margin: 0;
    display: block;
}

.article-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--off-white);
  font-size: 0.875rem;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.news-article:hover .article-cta {
  color: var(--accent-purple);
}

.article-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-arrow svg {
  width: 1rem;
  height: 1rem;
  color: inherit;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}

.news-article:hover .article-arrow svg {
  transform: rotate(0deg);
}

/* Contact Content */
.contact-content {
  padding-bottom: 6rem;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .contact-content {
    padding-bottom: 8rem;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-item {
  transition: color 0.3s ease;
}


.contact-item-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
}

.contact-item-description {
  color: var(--gray-light);
  margin-bottom: 1rem;
}

.contact-link {
  color: var(--off-white);
  font-size: 1.125rem;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.contact-link:hover {
  text-decoration: none;
}

.contact-form-container {
  background-color: rgba(23, 23, 23, 0.5);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--neutral-800);
}

.form-title {
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--neutral-700);
  padding: 0.75rem 0;
  color: var(--off-white);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
}

.form-textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 2rem;
  background: transparent;
  border: 1px solid var(--neutral-700);
  border-radius: 9999px;
  color: var(--off-white);
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  font-size: 0.78rem;
}

.form-submit:hover {
  border-color: var(--off-white);
  background: rgba(255, 255, 255, 0.1);
}

.submit-bg {
  display: none;
}

.submit-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.submit-arrow {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.form-submit:hover .submit-arrow {
  transform: translateX(0.25rem);
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--gray-dark);
  border: 1px solid var(--neutral-700);
  border-radius: 9999px;
  color: var(--gray-light);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 40;
  overflow: hidden;
}

.scroll-top:hover {
  border: 2px solid transparent;
  background: linear-gradient(var(--gray-dark), var(--gray-dark)) padding-box,
              linear-gradient(135deg, #d8b4fe, #ffffff, #3b82f6) border-box;
}

.scroll-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Footer */
.footer {
  background-color: var(--background);
  border-top: 1px solid var(--gray-dark);
  /* bg image */
  background-size: cover;
  /* background-position: center; */
  background-repeat: no-repeat;
/*  background-image: url('../images/singular-bg.png');*/
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
  justify-items: center;
}

.footer-copyright {
  color: var(--gray-light);
  margin: 0 auto;
  font-size: 0.875rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  order: -1;
}

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

.footer-logo-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  color: var(--off-white);
  vertical-align: middle;
  display: block;
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--off-white);
  letter-spacing: -0.02em;
  line-height: 1;
  vertical-align: middle;
  display: block;
}

.footer-logo-link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
  text-decoration: none;
  opacity: 0.8;
}

.footer-logo-link:focus {
  text-decoration: none;
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

.footer-logo-link:visited {
  text-decoration: none;
  color: inherit;
}

.footer-nav {
  display: flex;
  gap: 0.75rem;
  margin: 0 auto;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
    justify-items: start;
  }

  .footer-logo {
    order: 0;
    justify-self: center;
  }

  .footer-nav {
    justify-content: flex-end;
  }
  
  .footer-copyright {
    text-align: left;
  }
}

.footer-link {
  color: var(--gray-light);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--off-white);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--gray-light) !important;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-social-link svg {
  fill: var(--gray-light) !important;
  color: var(--gray-light) !important;
}

.footer-social-link:hover {
  color: var(--off-white) !important;
}

.footer-social-link:hover svg {
  fill: var(--off-white) !important;
  color: var(--off-white) !important;
}

.footer-social-link:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
  background: none;
}

/* Responsive adjustments for very small screens */
@media (max-width: 480px) {
  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-logo-link {
    margin: 0;
  }
}

/* Gradient Button Styles */
.gradient-button {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px 24px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.gradient-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #d8b4fe, #ffffff, #3b82f6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.gradient-button:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Contact button specific hover - only brightness change */
.contact-btn.gradient-button:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: none;
    box-shadow: none;
    filter: brightness(1.2);
    border: 2px solid transparent !important;
    padding: 0.5rem 1.25rem !important;
}

.gradient-button:active {
    transform: translateY(0);
}

/* Apply gradient to existing buttons */
.contact-btn.gradient-button,
.hero-cta.gradient-button,
.form-submit.gradient-button {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
    position: relative;
}

.contact-btn.gradient-button::before,
.hero-cta.gradient-button::before,
.form-submit.gradient-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #d8b4fe, #ffffff, #3b82f6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.floating-nav .contact-btn.gradient-button {
  background: transparent;
  filter: brightness(1);
  transition: filter 0.55s ease, color 0.55s ease;
}

/* Override gradient button hover effects for contact button in nav */
.floating-nav .contact-btn.gradient-button:hover {
  transform: none !important;
  box-shadow: none !important;
  background: transparent !important;
  filter: brightness(1.22) !important;
  border: 2px solid transparent !important;
  padding: 7px 18px !important;
}

/* Remove underline from "View open positions" button on hover */
.join-link.gradient-button {
    text-decoration: none;
}

.join-link.gradient-button:hover {
    text-decoration: none;
}

.join-link.gradient-button:focus {
    text-decoration: none;
}

.join-link.gradient-button:visited {
    text-decoration: none;
}

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

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Loading States */
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive Design */
@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .tech-details-grid {
    grid-template-columns: 1fr;
  }
  
  .applications-grid {
    grid-template-columns: 1fr;
  }
  
  .team-members {
    flex-direction: column;
        align-items: center;
  }
  
  .team-member {
    width: 100%;
    max-width: 20rem;
  }
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
    padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  border: 0;
}

/* Sign In Page Styles */
.signin-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  position: relative;
}

.signin-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.signin-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
}

.signin-container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  width: 100%;
}

.signin-card {
  background: var(--neutral-900);
  border: 1px solid var(--neutral-700);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

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

.signin-logo {
  margin-bottom: 1.5rem;
}

.signin-logo .logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.signin-logo-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.signin-logo-link:hover {
  opacity: 0.8;
}

.signin-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--off-white);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.signin-subtitle {
  font-size: 1rem;
  color: var(--gray-light);
  margin: 0;
}

.signin-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

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

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--off-white);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral-700);
  border-radius: 6px;
  font-size: 1rem;
  color: var(--off-white);
  background-color: var(--neutral-800);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  display: block;
}

.form-input:focus {
  outline: none;
  border-color: var(--off-white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-input::placeholder {
  color: var(--gray-light);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--off-white);
}

.checkbox-label {
  font-size: 0.875rem;
  color: var(--off-white);
  cursor: pointer;
}

.forgot-password {
  font-size: 0.875rem;
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-password:hover {
  color: var(--gray-light);
}

.signin-button {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--off-white);
  color: var(--background);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 0.5rem;
}

.signin-button:hover {
  background-color: var(--gray-light);
}

.signin-button:active {
  transform: translateY(1px);
}

.signin-footer {
  text-align: center;
  margin-top: 1.5rem;
}

.signin-text {
  font-size: 0.875rem;
  color: var(--gray-light);
  margin: 0;
}

.signin-link {
  color: var(--off-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.signin-link:hover {
  color: var(--gray-light);
}

/* Responsive Design */
@media (max-width: 640px) {
  .signin-container {
    padding: 1rem;
  }
  
  .signin-card {
    padding: 2rem;
  }
  
  .signin-title {
    font-size: 1.5rem;
  }
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}

/* Ensure main content has proper container */
.hero-section .hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Fix any sections missing container */
section:not(.hero-section):not(.page-hero) {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

section:not(.hero-section):not(.page-hero) > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

