/* Intro Section */
#intro {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: radial-gradient(ellipse at center, #0d1117 0%, #000 100%);
}

.intro-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 5rem);
  padding: 2rem;
  position: relative;
}

/* Logo Styling */
.logo {
  width: clamp(280px, 35vw, 520px); 
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 10px 30px rgba(0, 150, 255, 0.3));
  transition: filter 0.3s ease;
  will-change: transform, opacity;
}

.logo:hover {
  filter: drop-shadow(0 15px 40px rgba(0, 150, 255, 0.5));
}

/* Company Text Container */
.company-text {
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  position: relative;
}

/* Individual Line Styling */
.company-line {
  font-family: 'Rajdhani', 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  display: block;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.company-line:nth-child(1) {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
}

.company-line:nth-child(2) {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  background: linear-gradient(90deg, #0096ff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.company-line:nth-child(3) {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 500;
  opacity: 0.85;
}

/* Scan line effect */
.company-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.4), transparent);
  animation: scan 2s ease-out infinite;
  animation-delay: 1s;
}

@keyframes scan {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Matrix-like background effect */
#intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 150, 255, 0.03) 2px,
    rgba(0, 150, 255, 0.03) 4px
  );
  pointer-events: none;
  opacity: 0.5;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .intro-container {
    flex-direction: column;
    gap: 2rem;
  }

  .company-text {
    text-align: center;
  }

  .company-line::after {
    display: none;
  }
}