/* Hero Section - Abertura & Cinematic presentation */
.hero-section {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  z-index: 10;
}

/* Terminal Slogan Typing */
.hero-slogan-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  height: 24px;
}

.hero-slogan {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background-color: var(--accent);
  margin-left: 8px;
  vertical-align: middle;
  animation: cursor-blink 0.9s step-start infinite;
}

.hero-cursor.typing-done {
  animation: cursor-blink 0.9s step-start infinite;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

/* Typographic Logo Construction */
.hero-logo {
  font-family: var(--font-sans);
  font-size: 110px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 56px;
  user-select: none;
  display: flex;
  gap: 0px;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logo.shifted-up {
  transform: translateY(-24px);
}

.logo-on, .logo-nexus {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(16px) scale(0.98);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-on.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  color: var(--accent);
}

.logo-nexus.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  color: var(--text-primary);
  transition-delay: 0.35s; /* Elegant sequential entrance */
}

/* CTA Button Styling */
.hero-btn {
  background-color: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 4px;
  cursor: none; /* Handled by custom cursor */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.hero-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover micro-interactions */
.hero-btn:hover {
  background-color: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 24px rgba(199, 242, 62, 0.2);
}

/* Tablet & Mobile adaptation */
@media (max-width: 768px) {
  .hero-logo {
    font-size: 72px;
    margin-bottom: 40px;
  }
  .hero-slogan {
    font-size: 11px;
    letter-spacing: 0.2em;
  }
  .hero-btn {
    padding: 14px 30px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    font-size: 48px;
    margin-bottom: 32px;
  }
  .hero-slogan-wrapper {
    height: 18px;
  }
  .hero-slogan {
    font-size: 10px;
    letter-spacing: 0.15em;
  }
}
