.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height-mobile);
  display: flex;
  align-items: center;
  z-index: 105;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background-color: transparent;
  transition: background-color 0.3s cubic-bezier(0.12, 0.77, 0.16, 0.93),
              border-color 0.3s cubic-bezier(0.12, 0.77, 0.16, 0.93),
              box-shadow 0.3s cubic-bezier(0.12, 0.77, 0.16, 0.93);
}

@media (min-width: 900px) {
  .header {
    height: var(--header-height-desktop);
  }
}

.header._is-scroll {
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header.open {
  background-color: var(--color-bg-white) !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 32px;
  color: var(--color-bg-white);
  transition: var(--transition-smooth);
}

@media (min-width: 900px) {
  .logo {
    height: 40px;
  }
}

.header._is-scroll .logo, .header.open .logo {
  color: var(--color-text-main) !important;
}

.logo svg {
  height: 100%;
  width: auto;
}

/* Nav Menu Desktop */
.nav {
  display: none;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  
  .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
  }
  
  .nav-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--color-bg-white);
    padding: 8px 0;
    position: relative;
    border-bottom: 2px solid transparent;
  }
  
  .header._is-scroll .nav-link {
    color: var(--color-text-main);
  }
  
  .nav-link:hover, .nav-link.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
  }
}

/* Hamburger Icon styling */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 102;
}

@media (min-width: 900px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-bg-white);
  transition: var(--transition-smooth);
}

.header._is-scroll .hamburger span, .header.open .hamburger span {
  background-color: var(--color-text-main) !important;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--color-text-main) !important;
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--color-text-main) !important;
}

/* Mobile Slide Drawer Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg-white);
  z-index: 101;
  display: flex;
  flex-direction: column;
  padding: 120px 40px 40px;
  transition: var(--transition-smooth);
}

.mobile-menu.open {
  right: 0;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-nav-link {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: -0.01em;
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

.mobile-cta {
  margin-top: auto;
  width: 100%;
}
