/* CSS Variables for Grid Background */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Screen reader only - visually hidden but accessible */
.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;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Decorative scattered icons */
.decorative-icons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.decorative-icons .icon {
  position: absolute;
  color: #e1e1e1;
}

.decorative-icons .icon svg {
  width: 38px;
  height: 38px;
  display: block;
}

/* Subtle load-in motion for icons */
.decorative-icons .icon svg {
  opacity: 0;
  transform: translateY(8px);
  animation: icon-enter 700ms ease-out forwards;
}

@keyframes icon-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered delays for a natural cascade */
/* .decorative-icons .icon:nth-child(1) svg { animation-delay: 40ms; }
.decorative-icons .icon:nth-child(2) svg { animation-delay: 100ms; }
.decorative-icons .icon:nth-child(3) svg { animation-delay: 160ms; }
.decorative-icons .icon:nth-child(4) svg { animation-delay: 220ms; }
.decorative-icons .icon:nth-child(5) svg { animation-delay: 280ms; }
.decorative-icons .icon:nth-child(6) svg { animation-delay: 340ms; }
.decorative-icons .icon:nth-child(7) svg { animation-delay: 400ms; }
.decorative-icons .icon:nth-child(8) svg { animation-delay: 460ms; }
.decorative-icons .icon:nth-child(9) svg { animation-delay: 520ms; }
.decorative-icons .icon:nth-child(10) svg { animation-delay: 580ms; }
.decorative-icons .icon:nth-child(11) svg { animation-delay: 640ms; }
.decorative-icons .icon:nth-child(12) svg { animation-delay: 700ms; }
.decorative-icons .icon:nth-child(13) svg { animation-delay: 760ms; } */

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .decorative-icons .icon svg {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Pastel colors + subtle glow per icon type */
.decorative-icons .icon.robot {
  color: #9ec5fe;
  filter: drop-shadow(0 0 6px rgba(158, 197, 254, 0.45));
}

.decorative-icons .icon.arm {
  color: #a8edea;
  filter: drop-shadow(0 0 6px rgba(168, 237, 234, 0.45));
}

.decorative-icons .icon.chip {
  color: #cdb4ff;
  filter: drop-shadow(0 0 6px rgba(205, 180, 255, 0.45));
}

.decorative-icons .icon.brain {
  color: #ffafcc;
  filter: drop-shadow(0 0 6px rgba(255, 175, 204, 0.45));
}

.decorative-icons .icon.graph {
  color: #ffd6a5;
  filter: drop-shadow(0 0 6px rgba(255, 214, 165, 0.45));
}

.decorative-icons .icon.drone {
  color: #c7f9cc;
  filter: drop-shadow(0 0 6px rgba(199, 249, 204, 0.45));
}

.decorative-icons .icon.gear {
  color: #e1e1e1;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.08));
}

/* Keep main content above icons */
.page, .main-content, .footer {
  position: relative;
  z-index: 1;
}

/* Page container */
.page {
  max-width: max-content;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Main content area */
.main-content {
  text-align: center;
  width: 100%;
}

/* Logo container */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
  margin-top: 3rem;
}

/* Logo styling */
.logo {
  width: 280px;
  margin: 2rem 0;
  object-fit: contain;
  opacity: 0.95;
}

/* Main tagline */
.tagline {
  font-size: 3rem;
  line-height: 110%;
  max-width: 73rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #3a3a3a;
}

/* Community description */

.community-description{
  margin: 1.5rem 0 2rem 0;
}

.description-main {
  font-size: 1.5rem;
  color: #5d5d5d;
  line-height: 150%;
  font-weight: 400;
}

mark {
  padding: 0.20rem;
  border-radius: 0.25rem;
  background-color: #769aff;
  color: white;
}

.description-sub{
  display: inline-block;
  opacity: 0.9;
  font-size: 1.25rem;
  color: #707070;
  margin-top:2.5rem;
}

/* Action buttons */
.action-buttons {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.action-button {
  background-color: #3a3a3a;
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-button:hover {
  background-color: #1a202c;
  transform: translateY(-1px);
}

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

/* Email section */
.email-section {
  margin-bottom: 2rem;
}

.email-text {
  font-size: 1rem;
  color: #3a3a3a;
}

.email-link {
  color: #5d88ff;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: auto;
  padding: 2rem 0;
}

.footer-text {
  font-size: 1rem;
  font-weight: 400;
  color: #6e6e6e;
  font-style: normal;
  line-height: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tagline {
    font-size: 2.5rem;
  }
  
  .description-main {
    font-size: 1.25rem;
  }
  
  .page {
    padding: 24px 16px;
  }
}

@media (max-width: 640px) {

  .logo-container{
    margin-top: 0rem;
  }

  .logo {
    margin: 0;
  }

  .action-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  /* .action-button {
    max-width: 280px;
  } */

  .tagline {
    font-size: 1.75rem;
  }

  .description-main{
    font-size: 1.125rem;
    line-height: 150%;
  }

  .description-sub{
    display: inline-block; opacity: 0.9; font-size: 1rem; color: #707070; margin-top:1rem; max-width:18rem; line-height: 1.5rem;
  }

  .logo {
    width: 250px;
    height: 167px;
  }

  br{
    display: none;
  }

  .footer-text{
    font-size: 0.8125rem;
    line-height: 1.25rem;
  }
}
