/* Navigation Styles */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  z-index: 1000;
}

.navigation.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
}

.logo-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.logo-link:hover {
  color: #F45E43;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: #5a6c7d;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #F45E43;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #2c3e50;
}

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

.nav-cta {
  background: #F45E43;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: #e54d32;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 94, 67, 0.2);
}

.nav-demo {
  background: transparent;
  color: #F45E43 !important;
  border: 2px solid #F45E43;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 600 !important;
  transition: all 0.3s ease;
}

.nav-demo:hover {
  background: #F45E43;
  color: white !important;
}

.nav-demo::after {
  display: none !important;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 4px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #2c3e50;
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-container {
    height: 60px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-links.mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .nav-cta, .nav-demo {
    width: 100%;
    text-align: center;
  }

  /* Animate hamburger to X when open */
  .mobile-menu-toggle {
    position: relative;
  }

  .mobile-open ~ .mobile-menu-toggle .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-open ~ .mobile-menu-toggle .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-open ~ .mobile-menu-toggle .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
