.desktop-nav {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
}

.mobile-nav {
  display: flex;
}

.mobile-nav-2 .side-menu {
  align-items: flex-start;
}

#mega-nav {
  justify-content: flex-end;
  gap: .5rem;
}

#mega-nav .main-menu {
  border-right: 1px solid black;
}

#mega-nav .main-menu .active {
  border-bottom: 1px solid #6101E5;
}

#mega-nav .side-menu {
  align-items: center;
}

#mega-nav .side-menu .lets-talk a {
  border-radius: 25px;
}

.mobile-nav .side-menu .lets-talk {
  margin-top: 10px;
}

.mobile-nav .side-menu .lets-talk a {
  width: 100%;
  border-radius: 10px;
}

/* Dropdown toggle */
.dropdown-toggle {
  cursor: pointer;
}

/* Mega menu */
.mega-menu {
  position: fixed;
  top: 80px;
  /* equal to navbar height */
  left: 0;
  width: 100%;
  /* full screen width */
  background: #fafafa;
  border-top: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  padding: 2rem 0;
  z-index: 999;

  /* hidden state */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  /* smooth transition */
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.mega-menu-container {
  top: 10% !important;
}

.mega-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mega-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
}

.mega-sub-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mega-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.mega-column h6 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #666;
}

.mega-column a {
  display: block;
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.mega-column a:hover {
  color: #6101E5;
  /* accent color */
}

.mega-column .divider,
.mega-menu-mobile .divider {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.mega-menu-container h6,
.mega-menu-container b {
  font-size: 14px;
}

.mega-menu-container a {
  font-size: 12px;
}

/* Plan cards */
.plan {
  background-color: #fff;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.plan-card {
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.plan-card:hover {
  background-color: #fafafa;
}

.plan-card .badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  border-radius: 4px;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.freemium .badge {
  background: #ffeb3b;
  color: orange;
}

.custom .badge {
  background: #333;
  color: #fff;
}

.premium .badge {
  background: #d32f2f;
  color: #fff;
}

/* Mobile Menu Accordion */
.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  outline: none;
  font-weight: 600;
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1rem;
  /* move padding here so links don't get clipped */
}

.accordion.open .accordion-content {
  max-height: 2000px;
  /* big enough to fit everything */
}

.accordion-content h6 {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.accordion-content a {
  display: block;
  padding: 0.5rem 0;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}

.accordion-content a:hover {
  color: #6101E5;
}

/* Medium and above */
@media (min-width: 768px) {

  .mobile-nav,
  .mobile-nav-2 {
    display: none;
  }

  .mobile-nav-2 .side-menu {
    align-items: center;
  }

  .desktop-nav {
    display: block;
  }
}