.menu-wrap {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  transition: min-height 0.4s ease;
}

.menu {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
}

.menu__item {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.menu__item:first-child {
  border-top: none;
}

.menu__item-header {
  position: relative;
  min-height: 110px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu__item-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  height: 100%;
  width: 100%;
  position: relative;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
  font-size: 3.5vh;
  padding: 2rem 1rem;
}

.menu__item-link:hover {
  color: inherit;
}

.menu__item-link:focus:not(:focus-visible) {
  color: inherit;
}

.expand-indicator {
  font-size: 1.1rem;
  opacity: 0.6;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease, opacity 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu__item:hover .expand-indicator,
.menu__item.is-expanded .expand-indicator {
  transform: rotate(180deg);
  opacity: 1;
  color: #6366f1;
}

.marquee {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translate3d(0, 101%, 0);
}

.marquee__inner-wrap {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.marquee__inner {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  width: fit-content;
  will-change: transform;
}

.marquee__part {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee span {
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 3.5vh;
  line-height: 1;
  padding: 0 1vw;
}

.marquee__img {
  width: 200px;
  height: 7vh;
  margin: 2em 2vw;
  padding: 1em 0;
  border-radius: 50px;
  background-size: cover;
  background-position: 50% 50%;
}

/* Expansion Drawer Styles - High-Contrast Light Theme Reveal */
.menu__item-drawer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s ease;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(16px);
  text-align: left;
  color: #0f172a;
}

.menu__item:hover .menu__item-drawer,
.menu__item.is-expanded .menu__item-drawer {
  grid-template-rows: 1fr;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.04);
}

.menu__item-content {
  overflow: hidden;
  padding: 0 2rem;
  transition: padding 0.45s ease;
}

.menu__item:hover .menu__item-content,
.menu__item.is-expanded .menu__item-content {
  padding: 2.2rem 2.5rem;
}

.menu__item-desc {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 850px;
  font-weight: 450;
}

.menu__item-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.menu__item-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  transition: all 0.3s ease;
}

.menu__item-features li:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: #4f46e5;
}

.menu__item-features li i {
  color: #4f46e5;
}

.menu__item-cta {
  margin-top: 0.5rem;
}

.menu__item-cta .btn-primary {
  background: #0f172a;
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.menu__item-cta .btn-primary:hover {
  background: #6366f1;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
  .menu__item-link, .marquee span {
    font-size: 2.5vh;
  }
  .menu__item-content {
    padding: 0 1.2rem;
  }
  .menu__item:hover .menu__item-content,
  .menu__item.is-expanded .menu__item-content {
    padding: 1.5rem 1.2rem;
  }
}
