.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

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

.logo-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 64px;
  height: 64px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900; /* font-black */
  letter-spacing: -1.5px; /* tracking-tight */
  display: flex;
}

.logo-slogan {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  color: #9ca3af;
  opacity: 0.8;
  letter-spacing: 0.05em;
  margin-top: 10px; /* Increased from 6px */
  padding-left: 2px;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  transition: 0.2s ease-in-out;
  opacity: 0.7;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.menu-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 4px; /* Rounded tips */
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(2) {
  width: 16px; /* Playful uneven length */
  background-color: var(--primary); /* Accent color */
}

@media (max-width: 900px) {
  .header {
    padding: 10px 0; /* Slightly tighter */
    background: rgba(255, 255, 255, 0.85);
  }
  .nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
    padding: 6px;
  }
  .logo-text {
    font-size: 22px; /* Slightly more elegant size */
    letter-spacing: -1.2px;
  }
  .logo-img {
    width: 40px;
    height: 40px;
  }
  .header-actions {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .header-actions .btn-primary {
    display: none;
  }
  .logo-text {
    font-size: 22px;
  }
  .logo-wrapper {
    gap: 10px;
  }
}
