* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1) 0%,
    rgba(255, 0, 204, 0.08) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  filter: url(#noiseFilter);
}

#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 5%;
  z-index: 1000;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-box {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(45deg, #00d4ff, #ff00cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  z-index: 2;
}

.hero-content {
  z-index: 2;
  max-width: 900px;
}

.hero-content h1 {
  font-family: 'Space Mono', monospace;
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #00d4ff, #ff00cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shudder 2s ease-in-out infinite alternate;
  line-height: 1.1;
}

.hero-content .tagline-container {
  background: linear-gradient(45deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 204, 0.2));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  padding: 1rem 2rem;
  margin: 1.8rem 0;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.hero-content .tagline-container p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 6px rgba(0, 212, 255, 0.5), 0 0 12px rgba(255, 0, 204, 0.5);
  animation: shudder 2s ease-in-out infinite alternate;
  margin: 0;
}

.hero-content .subtext-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 1rem 0;
}

.hero-content .hero-subtext {
  font-size: 1.2rem;
  font-weight: 400;
  color: #bbb;
  text-shadow: none;
  animation: none;
  margin: 0;
  line-height: 1.6;
}

.cta-button,
.section-button {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(45deg, #00d4ff, #ff00cc);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.section-button {
  margin: 2rem auto 0;
}

.cta-button:hover,
.section-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 212, 255, 0.5);
}

.services {
  padding: 5rem 5%;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.section-intro-container {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.15);
  padding: 2rem;
  border-radius: 14px;
  max-width: 900px;
  margin: 0 auto 2rem auto;
}

#innovations .section-intro-container {
  max-width: 1100px;
  padding: 2.5rem;
}

.section-intro-container h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: #ff00cc;
  margin-bottom: 1rem;
}

.section-intro-container p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  color: #bbb;
  line-height: 1.6;
}

.services-grid,
.convergence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.service-card,
.convergence-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 212, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.convergence-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.25);
}

.service-card h3,
.convergence-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  color: #ff00cc;
  margin-bottom: 1rem;
}

.service-card p,
.convergence-card p {
  font-size: 1rem;
  color: #bbb;
  line-height: 1.6;
}

.update {
  padding: 3rem 5%;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.update-gradient-container {
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 204, 0.2));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 2rem;
  border-radius: 14px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
  position: relative;
  z-index: 3;
}

.frontiers-gradient-container {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(255, 0, 204, 0.15));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 2rem;
  border-radius: 14px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(255, 0, 204, 0.3);
  position: relative;
  z-index: 3;
}

.update-gradient-container h2,
.frontiers-gradient-container h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: #ff00cc;
  margin-bottom: 1rem;
}

.update-gradient-container p,
.frontiers-gradient-container p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  color: #bbb;
  line-height: 1.6;
}

footer {
  padding: 2rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-content {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.15);
  padding: 1rem 2rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer-content p {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #eee;
}

.beacon {
  width: 32px;
  height: 32px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.8), transparent 70%);
  border-radius: 50%;
  position: relative;
  animation: glow 1.8s ease-in-out infinite;
}

.beacon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #00d4ff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px #00d4ff, 0 0 30px #00d4ff;
}

@keyframes shudder {
  0% { text-shadow: 0 0 6px #00d4ff, 0 0 12px #ff00cc; }
  100% { text-shadow: 0 0 12px #00d4ff, 0 0 20px #ff00cc; }
}

@keyframes glow {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3.2rem;
  }
  .hero-content .tagline-container p {
    font-size: 1.4rem;
    font-weight: 700;
  }
  .hero-content .hero-subtext {
    font-size: 1rem;
  }
  .cta-button,
  .section-button {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }
  .header {
    padding: 1rem;
  }
  .logo-box {
    padding: 0.4rem 0.8rem;
  }
  .footer-content {
    padding: 0.8rem 1.5rem;
  }
  .services-grid,
  .convergence-grid {
    grid-template-columns: 1fr;
  }
  .section-intro-container {
    padding: 1.5rem;
    max-width: 90%;
  }
  #innovations .section-intro-container {
    max-width: 700px;
    padding: 1.5rem;
  }
  .section-intro-container h2 {
    font-size: 1.6rem;
  }
  .section-intro-container p {
    font-size: 1rem;
  }
  .hero-content .tagline-container {
    padding: 0.8rem 1.5rem;
  }
  .hero-content .subtext-container {
    padding: 1rem 1.5rem;
  }
  .update {
    padding: 2rem 5%;
  }
  .update-gradient-container,
  .frontiers-gradient-container {
    padding: 1.5rem;
  }
  .update-gradient-container h2,
  .frontiers-gradient-container h2 {
    font-size: 1.6rem;
  }
  .update-gradient-container p,
  .frontiers-gradient-container p {
    font-size: 1rem;
  }
  /* Remove gray overlay effects on mobile */
  body::before {
    filter: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0; /* Hide the overlay entirely */
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content .tagline-container p {
    font-size: 1.2rem;
    font-weight: 700;
  }
  .hero-content .hero-subtext {
    font-size: 0.9rem;
  }
  .cta-button,
  .section-button {
    font-size: 0.9rem;
    padding: 0.7rem 1.8rem;
  }
  .logo-box {
    padding: 0.3rem 0.6rem;
  }
  .footer-content {
    padding: 0.6rem 1rem;
  }
  .section-intro-container {
    padding: 1rem;
    max-width: 95%;
  }
  #innovations .section-intro-container {
    max-width: 95%;
    padding: 1rem;
  }
  .section-intro-container h2 {
    font-size: 1.4rem;
  }
  .section-intro-container p {
    font-size: 0.9rem;
  }
  .hero-content .tagline-container {
    padding: 0.6rem 1rem;
  }
  .hero-content .subtext-container {
    padding: 0.8rem 1rem;
  }
  .update-gradient-container,
  .frontiers-gradient-container {
    padding: 1rem;
  }
  .update-gradient-container h2,
  .frontiers-gradient-container h2 {
    font-size: 1.4rem;
  }
  .update-gradient-container p,
  .frontiers-gradient-container p {
    font-size: 0.9rem;
  }
}

/* SVG noise filter for abstract texture */
svg#noise {
  position: absolute;
  width: 0;
  height: 0;
}

.contact-button {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(45deg, #00d4ff, #ff00cc);
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  margin-top: 0.8rem;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.5);
}

@media (max-width: 768px) {
  .contact-button {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
}

@media (max-width: 480px) {
  .contact-button {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
  }
}
