/* Reset and Base Styles */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  font-size: 16px;
}

body {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #ffffff;
  overflow-x: hidden;
}

/* Enhanced Header */
header {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px 24px;
  border-radius: 23px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin: 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 100px;
}

header:hover {
  border-color: rgba(165, 251, 85, 0.3);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(165, 251, 85, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Logo Section */
.logo-div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.app-logo:hover {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a5fb55 0%, #dcffa0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced Navigation */
.navbar {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  margin: 0;
}

.navbar a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: block;
}

.navbar a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(165, 251, 85, 0.1) 50%, transparent 100%);
  transition: left 0.5s ease;
}

.navbar a:hover::before {
  left: 100%;
}

.navbar a:hover {
  background: linear-gradient(135deg, rgba(165, 251, 85, 0.15) 0%, rgba(220, 255, 160, 0.1) 100%);
  color: #a5fb55;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(165, 251, 85, 0.2);
}

.navbar a.active {
  background: linear-gradient(135deg, #a5fb55 0%, #dcffa0 100%);
  color: #000000;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(165, 251, 85, 0.3);
}

/* Enhanced Buttons */
.get-started,
.get-started-2 {
  color: #000000;
  background: linear-gradient(135deg, #a5fb55 0%, #dcffa0 100%);
  border: 2px solid transparent;
  border-radius: 50px;
  padding: 16px 32px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 16px rgba(165, 251, 85, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.get-started::before,
.get-started-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transition: left 0.6s ease;
}

.get-started:hover::before,
.get-started-2:hover::before {
  left: 100%;
}

.get-started:hover,
.get-started-2:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: #a5fb55;
  color: #a5fb55;
  transform: translateY(-3px);
  box-shadow: 
    0 8px 24px rgba(165, 251, 85, 0.4),
    0 0 0 1px rgba(165, 251, 85, 0.5);
}

.get-started:active,
.get-started-2:active {
  transform: translateY(-1px);
}

/* Main Content */
.main {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

/* Menu Icon */
.menu {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.menu:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#menu-icon {
  font-size: 28px;
  cursor: pointer;
  z-index: 10001;
  display: none;
  color: #ffffff;
  transition: all 0.3s ease;
}

#menu-icon:hover {
  color: #a5fb55;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 600px) {
  .get-started-2 {
    display: none;
  }
  
  header {
    margin: 12px;
    padding: 16px;
    min-height: 80px;
  }
  
  .logo-text {
    font-size: 1.25rem;
  }
  
  .app-logo {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1280px) {
  header {
    padding: 18px 20px;
    margin: 16px;
    min-height: 90px;
  }
  
  .navbar a {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .get-started,
  .get-started-2 {
    padding: 14px 28px;
    font-size: 0.85rem;
  }
}

@media (max-width: 1090px) {
  #menu-icon {
    display: block;
  }
  
  .navbar {
    position: absolute;
    top: calc(100% + 10px);
    right: -100%;
    width: 280px;
    min-height: 200px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 20px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
      0 16px 32px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
  }
  
  .navbar.open {
    right: 20px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .navbar li {
    margin: 6px 0;
  }
  
  .navbar a {
    display: block;
    padding: 16px 20px;
    border-radius: 12px;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar a:hover {
    background: linear-gradient(135deg, rgba(165, 251, 85, 0.2) 0%, rgba(220, 255, 160, 0.15) 100%);
    border-color: rgba(165, 251, 85, 0.3);
  }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Scroll Effects */
@media (prefers-reduced-motion: no-preference) {
  header {
    animation: fadeInUp 0.8s ease-out;
  }
  
  .get-started,
  .get-started-2 {
    animation: pulse 2s infinite;
  }
  
  .get-started:hover,
  .get-started-2:hover {
    animation: none;
  }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(135deg, #000000 0%, #111111 100%);
  }
}
