:root {
  /* Backgrounds - Dark Theme Foundation */
  --bg-primary: #000000;
  --bg-secondary: #121212;
  --bg-overlay: rgba(255, 255, 255, 0.1);
  
  /* Text - High Contrast for Dark Theme */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: #4D4D4D;
  
  /* Borders - Subtle Dark Theme */
  --border-subtle: rgba(255, 255, 255, 0.25);
  --border-medium: rgba(255, 255, 255, 0.4);
  
  /* MAIN ACCENT COLORS - Brand Colors Only */
  --brand-primary: #00FFD1;
  --brand-hover: rgba(0, 255, 209, 0.1);
  --brand-active: #6FD2C0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
.display-huge {
  font-size: 66px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.62px;
  color: var(--text-primary);
}

.display-large {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.heading-1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--text-primary);
}

.heading-2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.heading-3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text-primary);
}

.body-large {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--text-primary);
}

.body-medium {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--text-secondary);
}

.body-small {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text-secondary);
}

.body-muted {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text-muted);
}

/* Header */
.dark-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 7.6923%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 10;
  box-sizing: border-box;
}

.dark-logo {
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-primary);
  cursor: pointer;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.dark-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.dark-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  transition: color 0.3s ease;
  cursor: pointer;
}

.dark-nav-link:hover {
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  padding: 20px;
  border-bottom: 1px solid var(--border-subtle);
  flex-direction: column;
  gap: 20px;
  z-index: 9;
}

/* Buttons */
.btn-primary {
  background: var(--brand-primary);
  color: #000000;
  border: none;
  border-radius: 0px;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  min-height: 56px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  line-height: 1.2;
  letter-spacing: 0;
}

.btn-primary:hover {
  background: var(--brand-hover);
  color: var(--brand-primary);
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0, 255, 209, 0.3);
}

.btn-primary:active {
  background: var(--brand-active);
  transform: scale(0.98);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: none;
  border-radius: 0px;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  min-height: 56px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  line-height: 1.2;
  letter-spacing: 0;
}

.btn-secondary:hover {
  background: #FFFFFF;
  color: #000000;
}

.btn-secondary:active {
  background: #F0F0F0;
  transform: scale(0.98);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 7.6923%;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 60px;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero-content h1 {
  margin-bottom: 30px;
}

.hero-content p {
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-3d {
  flex: 1;
  min-width: 300px;
  height: 700px;
  position: relative;
  overflow: visible;
}

.hero-3d spline-viewer {
  width: 100%;
  height: 100%;
}

/* Services Section */
.services-section {
  padding: 100px 7.6923%;
  background: var(--bg-primary);
  position: relative;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 0px;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--brand-primary);
  background: rgba(0, 255, 209, 0.05);
  transform: translateY(-2px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card h3 {
  margin-bottom: 16px;
}

/* About Section */
.about-section {
  padding: 100px 7.6923%;
  background: var(--bg-secondary);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.about-card {
  background: var(--bg-primary);
  padding: 40px;
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.about-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 255, 209, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.about-card h3 {
  margin-bottom: 16px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 7.6923%;
  background: var(--bg-primary);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border: 1px solid var(--border-subtle);
  position: relative;
}

.quote-icon {
  width: 50px;
  height: 50px;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.testimonial-text {
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.testimonial-author h4 {
  margin-bottom: 4px;
}

/* Careers Hero Section */
.careers-hero-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 140px 7.6923% 80px;
  background: var(--bg-primary);
  text-align: center;
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.careers-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
}

.careers-hero-section .section-container {
  position: relative;
  z-index: 2;
}


.careers-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.careers-hero-content h1 {
  margin-bottom: 30px;
}

/* Careers Section */
.careers-section {
  padding: 80px 7.6923%;
  background: var(--bg-secondary);
  position: relative;
}

/* Why Join Section */
.why-join-section {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--border-subtle);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: var(--brand-primary);
  background: rgba(0, 255, 209, 0.05);
  transform: translateY(-5px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 255, 209, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid var(--brand-primary);
}

.benefit-card h4 {
  margin-bottom: 12px;
}

.careers-content {
  margin-top: 60px;
}

.job-listings {
  max-width: 900px;
  margin: 0 auto;
}

.job-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.job-card:hover {
  border-color: var(--brand-primary);
  background: rgba(0, 255, 209, 0.05);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.job-requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.job-tag {
  background: rgba(0, 255, 209, 0.1);
  color: var(--brand-primary);
  padding: 6px 16px;
  font-size: 14px;
  border: 1px solid var(--brand-primary);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--brand-primary);
}

.apply-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Contact Section */
.contact-section {
  padding: 100px 7.6923%;
  background: var(--bg-secondary);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item h4 {
  margin-bottom: 8px;
}

.contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--brand-primary);
}

.contact-form-wrapper {
  background: var(--bg-primary);
  padding: 40px;
  border: 1px solid var(--border-subtle);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 0px;
  color: var(--text-primary);
  font-size: 16px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-color: var(--brand-primary);
}

textarea.form-input {
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 7.6923%;
  text-align: center;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content {
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--brand-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 16px 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 0px;
  display: none;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  min-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.toast.show {
  display: flex;
  animation: slideIn 0.3s ease-out;
}

.toast.success {
  border-left: 4px solid var(--brand-primary);
}

.toast.error {
  border-left: 4px solid #ff4444;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-3d {
    height: 500px;
  }
}

@media (max-width: 767px) {
  .dark-header {
    padding: 16px 20px;
    height: 70px;
  }
  
  .dark-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-section,
  .services-section,
  .about-section,
  .testimonials-section,
  .careers-section,
  .contact-section,
  .footer {
    padding: 60px 20px;
  }
  
  .display-huge {
    font-size: 40px;
  }
  
  .display-large {
    font-size: 32px;
  }
  
  .services-grid,
  .about-grid,
  .testimonials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .job-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-header button {
    width: 100%;
  }

  .modal-content {
    max-height: 95vh;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .dark-header {
    padding: 16px 5%;
  }
  
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}