/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #6c63ff;
  --secondary-color: #2e2e2e;
  --text-color: #ffffff;
  --hover-color: #8a84ff;
  --transition-speed: 0.3s;
}

body,
html {
  height: 100%;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: var(--text-color);
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.8);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(31, 31, 31, 0.7) 100%
  );
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
}

.highlight {
  color: var(--primary-color);
  position: relative;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 650px;
}

.cta-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 0.85rem 2rem;
  color: var(--text-color);
  border: none;
  text-decoration: none;
  border-radius: 30px;
  transition: all var(--transition-speed);
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.primary-btn {
  background-color: var(--primary-color);
}

.primary-btn:hover {
  background-color: var(--hover-color);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(108, 99, 255, 0.4);
}

.secondary-btn {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-color);
  transform: translateY(-3px);
}

/* Social Icons */
.social-icons {
  margin-top: 50px;
  display: flex;
  gap: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-color);
  background-color: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-speed);
  font-size: 1.1rem;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  opacity: 0.7;
  transition: opacity var(--transition-speed);
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--text-color);
  border-radius: 15px;
  position: relative;
}

.wheel {
  width: 3px;
  height: 8px;
  background-color: var(--text-color);
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
  animation: scroll 1.5s infinite;
}

.arrow {
  margin-top: 10px;
}

.arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--text-color);
  border-right: 2px solid var(--text-color);
  transform: rotate(45deg);
  animation: arrow 1.5s infinite;
  margin: -5px;
}

/* Animations */
@keyframes scroll {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(15px);
    opacity: 0;
  }
}

@keyframes arrow {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealText {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.reveal-text {
  opacity: 0;
  animation: revealText 0.8s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  background: rgba(25, 25, 25, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-speed);
  color: var(--text-color);
}

.navbar.scrolled {
  background: rgba(18, 18, 18, 0.95);
  padding: 0.8rem 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar .logo {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--text-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar .nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: all var(--transition-speed);
  padding: 5px 0;
}

.navbar .nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
  width: 100%;
}

.navbar .nav-links a:hover {
  color: var(--primary-color);
}

.navbar .nav-links a.active {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .navbar.scrolled {
    padding: 0.7rem 1.5rem;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .menu-toggle.active i:before {
    content: "\f00d";
  }

  .navbar .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: rgba(20, 20, 20, 0.98);
    width: 100%;
    height: 100vh;
    transition: all 0.5s ease-in-out;
  }

  .navbar .nav-links.active {
    right: 0;
  }

  .navbar .nav-links a {
    font-size: 1.3rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.8rem 1.8rem;
  }
}

@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .cta-container {
    flex-direction: column;
    gap: 15px;
  }

  .social-icons {
    margin-top: 30px;
  }
}
