/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #1c1c1c;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 48px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: #9ca3af;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  padding: 8px 0;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.login-btn {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.login-btn:hover {
  color: #4f46e5;
}

.cta-btn {
  background: linear-gradient(107.8deg, #74a0ff 3.37%, #3e6dee 95.93%);
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid #a8c3ff;
  
}
.cta-btn1 {
  background: linear-gradient(107.8deg, #74a0ff 3.37%, #3e6dee 95.93%);
  color: white;
  padding: 6px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid #a8c3ff;
  
  
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 7px 20px 0px #4b79ff66;
}

/* Desktop Nav Actions - Add relative positioning */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

/* Desktop Dropdowns */
.dropdown {
  position: absolute;
  top: 45px;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 100;
}

.dropdown.active {
  display: flex;
}

.dropdown a {
  padding: 12px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.dropdown a:hover {
  background: #f2f2f2;
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown1 {
  position: absolute;
  top: 45px;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 100;
}

.dropdown1.active {
  display: flex;
}

.dropdown1 a {
  padding: 12px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.dropdown1 a:hover {
  background: #f2f2f2;
}

.dropdown1 a:last-child {
  border-bottom: none;
}

/* Desktop button containers for proper positioning */
.signin-container,
.signup-container {
  position: relative;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.mobile-menu-list li {
  margin-bottom: 16px;
}

.mobile-menu-list a {
  color: #9ca3af;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  display: block;
  padding: 12px 0;
  transition: color 0.3s ease;
}

.mobile-menu-list a:hover,
.mobile-menu-list a.active {
  color: #ffffff;
}

.mobile-actions {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* Mobile action button containers */
.mobile-signin-container,
.mobile-signup-container {
  position: relative;
}

/* Mobile Dropdowns */
.mobile-dropdown {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  margin-top: 8px;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.mobile-dropdown.active {
  display: flex;
}

.mobile-dropdown a {
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
}

.mobile-dropdown a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-dropdown a:last-child {
  border-bottom: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}
/* Responsive styles */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* text-align: center; */
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  /* opacity: 0.3; */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse 80% 50% at 50% 40%,
      rgba(79, 70, 229, 0.15) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 80% at 80% 60%,
      rgba(124, 58, 237, 0.1) 0%,
      transparent 60%
    );
  z-index: 3;
}

.hero-content {
  max-width: 1400px;
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 32px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 20px;
  line-height: 1.7;
  color: #ffffff;
}

.hero-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn-primary {
  background: linear-gradient(107.8deg, #74a0ff 3.37%, #3e6dee 95.93%);
  color: white;
  padding: 16px 32px;
  border-radius: 35px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  border: 2px solid #a8c3ff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 4px 7px 20px 0px #4b79ff66;
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 16px 32px;
  border-radius: 35px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #a8c3ff;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Client Logos Section */
.clients-section {
  padding: 80px 24px;
  text-align: center;
  background: #000004;
}

.clients-text {
  font-size: 20px;
  margin-bottom: 64px;
  color: #ffffff;
}

.clients-text span {
  color: #a8c3ff;
  font-weight: 700;
  font-size: 26px;
}

/* Logo Carousel - 50% width centered */
.logo-carousel {
  overflow: hidden;
  position: relative;
  width: 50%;
  margin: 0 auto;
  max-width: 800px;
}

.logo-track {
  display: flex;
  animation: scroll 25s linear infinite;
  gap: 80px;
  align-items: center;
  width: max-content;
}

.logo-item {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
  color: #9ca3af;
}

.logo-item:hover {
  opacity: 0.8;
}

.logo-item::before {
  content: "";
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #374151, #4b5563);
  border-radius: 6px;
  display: inline-block;
}

/* Duplicate the logos for seamless infinite scroll */
.logo-track::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 80px));
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu,
  .nav-actions .login-btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-container {
    padding: 0 20px;
  }

  .hero {
    padding: 120px 20px 80px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .logo-carousel {
    width: 90%;
  }

  .logo-track {
    gap: 60px;
  }

  .logo-item {
    font-size: 16px;
  }

  .logo-item::before {
    width: 28px;
    height: 28px;
  }

  .clients-section {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 16px;
    height: 70px;
  }

  .hero {
    padding: 100px 16px 60px;
  }

  .hero-description {
    font-size: 16px;
  }

  .clients-section {
    padding: 50px 16px;
  }

  .clients-text {
    font-size: 18px;
  }
}

/* Enhanced animations */
.hero-content > * {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-badge {
  animation-delay: 0.2s;
}

.hero-title {
  animation-delay: 0.3s;
}

.hero-description {
  animation-delay: 0.4s;
}

.hero-buttons {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}
