/* =========================================
   Navbar & Navigation
   ========================================= */
.navbar {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 60px);
  max-width: 1440px;
  height: 90px;
  border-radius: 16px;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}

.navbar.scrolled {
  height: 76px;
  box-shadow: 0 4px 16px rgba(106, 27, 154, 0.1);
}

.nav-container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 70px;
  text-decoration: none;
}

.logo-img {
  display: block;
  width: 200px;
  height: auto;
  object-fit: contain;
  position: relative;
  bottom: 15px;
  right: 20px;
}

.nav-menu { display: flex; align-items: center; justify-content: center; }
.nav-list { display: flex; align-items: center; justify-content: center; gap: 30px; margin: 0; padding: 0; list-style: none; }

.nav-link {
  position: relative;
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: #54445E !important;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: #6A1B9A;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover { color: #6A1B9A !important; }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; justify-content: flex-end; }

.nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 54px;
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  background: #6A1B9A !important;
  color: #FFFFFF !important;
}

.nav-link.active, .mobile-link.active { color: #8E44AD !important; }
.nav-link.active::after { transform: scaleX(1); transform-origin: left; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #54445E !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 238, 255, 0.95) !important;
  backdrop-filter: blur(14px) !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
}

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

.mobile-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 0 48px;
  padding: 0;
  text-align: center;
  list-style: none;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 2.5rem;
  text-transform: uppercase;
  text-decoration: none;
  color: #4A148C !important;
  transition: color 0.3s ease;
}

.mobile-link:hover { color: #8E44AD !important; }

.mobile-cta {
  width: 80%;
  max-width: 300px;
  background: #6A1B9A !important;
  color: #FFFFFF !important;
}