/* Base Styles */
:root {
  --primary-color: #2a2a72;
  --secondary-color: #009ffd;
  --accent-color: #ff7e5f;
  --text-color: #f8f8f8;
  --dark-bg: #232323;
  --transition-speed: 0.5s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-color);
  height: 100%;
  overflow: hidden;
  position: relative;
}

.container {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Logo and Title Styling */
.box {
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.title {
  position: relative;
  margin-bottom: 1rem;
}

.title .block {
  position: absolute;
  height: 100%;
  width: 0%;
  background: var(--accent-color);
  animation: mainBlock 2s cubic-bezier(.74, .06, .4, .92) forwards;
}

.title h1 {
  font-size: 4rem;
  opacity: 0;
  animation: mainFade 2s forwards;
  animation-delay: 1.6s;
  position: relative;
  color: var(--text-color);
  letter-spacing: 5px;
}

.title h1 span {
  color: var(--secondary-color);
}

.role {
  margin-top: 1rem;
  position: relative;
}

.role .block {
  position: absolute;
  height: 100%;
  width: 0%;
  background: var(--secondary-color);
  animation: secBlock 2s cubic-bezier(.74, .06, .4, .92) forwards;
  animation-delay: 2s;
}

.role p {
  opacity: 0;
  animation: secFade 2s forwards;
  animation-delay: 3.2s;
  font-weight: 400;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 5px;
}

/* Company Name at Bottom */
.company-name {
  position: fixed;
  bottom: 2rem;
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-color);
  opacity: 0;
  animation: fadeInFloat 2s forwards, float 4s ease-in-out infinite;
  animation-delay: 4s;
  z-index: 2;
}

/* Animations */
@keyframes mainBlock {
  0% {
    width: 0%;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}

@keyframes mainFade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes secBlock {
  0% {
    width: 0%;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}

@keyframes secFade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInFloat {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 0.8;
    transform: translateY(0);
  }
}

/* Floating animation for background elements */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .title h1 {
    font-size: 3rem;
  }
  
  .role p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .title h1 {
    font-size: 2rem;
  }
  
  .role p {
    font-size: 0.8rem;
  }
} 