/* ===========================================
   Header Section
   =========================================== */
.header {
  position: relative;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 1px solid #EAEBF0;
}

.header__inner {
  display: flex;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px 32px;
  gap: 40px;
}

.header__logo a {
  display: block;
}

.header__logo img {
  height: 30px;
  width: auto;
}

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

.header__nav-link {
  font-size: 1.125rem;
  font-weight: 700;
  color: #3C3C3C;
  text-decoration: none;
  line-height: 1.6;
  transition: var(--transition);
}

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

.header__buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.04);
}

.header__btn--outline {
  background-color: var(--color-white);
  color: #3C3C3C;
  border: 1px solid #3C3C3C;
}

.header__btn--outline:hover {
  background-color: #f5f5f5;
}

.header__btn--primary {
  background: linear-gradient(97.97deg, #6515B9 30.24%, #464BB4 100%);
  color: var(--color-white);
  border: none;
}

.header__btn--primary:hover {
  opacity: 0.9;
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: var(--transition);
}

/* ===========================================
   Drawer Menu
   =========================================== */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.drawer.is-open {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s, opacity 0.3s ease;
}

.drawer__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.drawer__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 390px;
  height: 100%;
  background-color: var(--color-white);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.drawer.is-open .drawer__content {
  transform: translateX(0);
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: var(--color-white);
}

.drawer__logo a {
  display: block;
}

.drawer__logo img {
  height: 30px;
  width: auto;
}

.drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.drawer__close img {
  width: 20px;
  height: 20px;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #EAEBF0;
  box-shadow: 0px 1px 3px rgba(16, 24, 40, 0.1), 0px 1px 2px -1px rgba(16, 24, 40, 0.1);
}

.drawer__nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 26px;
  font-size: 1rem;
  font-weight: 600;
  color: #3C3C3C;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.drawer__nav-item:hover {
  background-color: #f9f9f9;
}

.drawer__nav-item img {
  width: 20px;
  height: 20px;
}

.drawer__buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 16px;
  margin-top: auto;
}

.drawer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition);
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.04);
}

.drawer__btn--outline {
  background-color: var(--color-white);
  color: #3C3C3C;
  border: 1px solid #3C3C3C;
}

.drawer__btn--outline:hover {
  background-color: #f5f5f5;
}

.drawer__btn--primary {
  background: linear-gradient(103.24deg, #6515B9 30.24%, #464BB4 100%);
  color: var(--color-white);
  border: none;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 1.125rem;
  box-shadow: 0px 4px 8px rgba(193, 175, 210, 0.25);
}

.drawer__btn--primary:hover {
  opacity: 0.9;
}

.drawer__btn-icon {
  width: 28px;
  height: auto;
  flex-shrink: 0;
}

/* Body scroll lock when drawer is open */
body.drawer-open {
  overflow: hidden;
}
