/* Import Font */
@font-face {
  font-family: '29LT Bukra';
  src: url('../fonts/29LTBukra-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* Reset and layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0f0f1c;
  color: white;
  font-family: '29LT Bukra', sans-serif;
  display: flex;
  justify-content: center;
  align-items: start;
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  width: 100%;
  max-width: 880px;
  padding: 0 20px;
  text-align: center;
}

/* Logo */
.logo {
  width: 120px;
  margin: 0 auto 20px;
  display: block;
}

/* Welcome Text */
.welcome-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.welcome-description {
  font-size: 1.1rem;
  line-height: 2;
  color: #ccc;
  margin-bottom: 40px;
  text-align: center;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

/* Highlight underline animation using gradient */
.highlight {
  font-weight: bold;
  color: #ffffff;
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #6cd7f6, #3555e1, #7e42ef, #db5aea);
  background-size: 300% 300%;
  animation: underlineMix 6s ease-in-out infinite;
  border-radius: 2px;
  z-index: 0;
}

/* Delay Variants */
.delay-1::after {
  animation-delay: 0s;
  animation-duration: 6s;
}

.delay-2::after {
  animation-delay: 1s;
  animation-duration: 7s;
}

.delay-3::after {
  animation-delay: 2s;
  animation-duration: 5s;
}

.delay-4::after {
  animation-delay: 0.5s;
  animation-duration: 6.5s;
}

/* Keyframes */
@keyframes underlineMix {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* CTA Button – Gradient, clean text, and flash */
.cta-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6cd7f6, #3555e1, #7e42ef, #db5aea);
  background-size: 200% 200%;
  animation: gradientMix 6s ease-in-out infinite;
  padding: 12px 28px;
  border-radius: 30px;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
  border: none;
  box-shadow: none;
  text-shadow: none !important;
  z-index: 10;
  transform: scale(1); /* Ensure default state */
  transition: all 0.35s ease-in-out; /* Smooth transition */
}

.cta-btn:hover {
  transform: scale(1.07); /* Noticeable hover effect */
}

/* Flash stripe effect */
.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: flashSweep 3s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

/* Flash Animation */
@keyframes flashSweep {
  0% { left: -75%; }
  20% { left: 125%; }
  100% { left: 125%; }
}

/* Gradient Mixing Animation */
@keyframes gradientMix {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .welcome-title {
    font-size: 1.75rem;
  }

  .welcome-description {
    font-size: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .welcome-title {
    font-size: 1.5rem;
  }

  .welcome-description {
    font-size: 0.95rem;
    text-align: center;
  }

  .cta-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .logo {
    width: 100px;
  }
}
