.nav-container {
  display: flex;
  height: 126px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  font-family: "Inter", sans-serif;
  color: rgb(65, 57, 81);
}

.feature-group.justify-start {
  justify-content: flex-start;
}

.subtitle {
  font-weight: 600;
  color: rgb(65, 57, 81);
}

.mobile-subtitle {
  margin-bottom: 16px;
  padding-left: 20px;
  font-weight: 600;
  color: rgb(65, 57, 81);
}

.nav-logo {
  width: 184px;
  height: 96px;
  flex-shrink: 0;
}

.nav-list-container {
  display: flex;
  justify-content: flex-end;
  width: 60%;
  align-items: center;
  gap: 12px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  position: static;
}

.nav-list li {
  align-content: center;
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 4px;
  height: 38px;
  justify-content: center;
  overflow: hidden;
  padding: 4px 12px;
  position: relative;
  width: min-content;
  transition: 0.3s ease;
  background-color: transparent;
  border-radius: 8px;
}

.nav-list li a {
  align-content: center;
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 4px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  width: min-content;
  color: #252727;
  font-size: 16px;
  font-weight: 600;
  text-wrap: nowrap;
  transition: 0.3s ease;
}

.nav-list li:hover {
  background-color: rgba(103, 115, 250, 0.1);
}

.demo-btn {
  background-color: #ff4d69;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: rgb(254, 253, 255);
  align-content: center;
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 4px;
  height: 38px;
  justify-content: center;
  overflow: hidden;
  padding: 4px 16px;
  position: relative;
  text-decoration: none;
  width: min-content;
  margin-left: 12px;
  text-wrap: nowrap;
  white-space-collapse: preserve;
  letter-spacing: -0.32px;
  transition: all 0.3s ease;
}

.demo-btn:hover {
    background-color: #4d6fff;
    color: rgb(254, 253, 255);
}

/* Mega Menu Styles */
.has-mega-menu {
  position: static;
}

.mega-menu {
  position: fixed;
  top: 82px;
  left: 50%;
  width: 90%;
  max-width: 1200px;
  background-color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 24px 32px 40px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 990;
  display: none;
  margin-top: 10px;
  margin-left: 0;
  margin-right: 0;
}

.mega-menu-content-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
}

.mega-menu-content-container-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 70%;
}

.mega-menu-content-container-left.use-cases {
  flex-direction: row;
}

.mega-menu:before {
  content: "";
  display: block;
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}

.has-mega-menu:hover .mega-menu,
.mega-menu.active {
  opacity: 1;
  visibility: visible;
  display: block;
}

.mega-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mega-menu-header h2 {
  margin: 0;
}

.close-btn {
  display: none;
  font-size: 28px;
  font-weight: 400;
  cursor: pointer;
  color: rgb(65, 57, 81);
}

.mega-menu h2 {
  font-size: 24px;
  font-weight: 600;
  color: rgb(65, 57, 81);
}

.mega-menu-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}

.features-link {
  width: 100%;
  height: 70px;
}

/* Gradient text for buttons */
.view-all,
.mobile-featured-gradient-link {
  position: relative;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    rgb(255, 73, 122) 0%,
    rgb(96, 116, 255) 100%
  );
  transition: all 0.3s ease;
}

.features-link .view-all {
  height: 70px;
  display: flex;
  padding: 16px;
  border-radius: 14px;
  font-weight: 500;
  text-decoration: none;
  width: 100%;
  text-align: center;
}

.mobile-featured-gradient-link:before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  width: calc(100% - 40px);
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 73, 122, 0.1) 0%,
    rgba(96, 116, 255, 0.1) 100%
  );
  border-radius: 8px;
  z-index: -1;
  transition: all 0.3s ease;
}

.view-all:before,
.mobile-featured-gradient-link:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 73, 122, 0.1) 0%,
    rgba(96, 116, 255, 0.1) 100%
  );
  border-radius: 14px;
  z-index: -1;
  transition: all 0.3s ease;
}

.view-all:hover:before,
.mobile-featured-gradient-link:hover:before {
  background: linear-gradient(
    90deg,
    rgba(255, 73, 122, 0.3) 0%,
    rgba(96, 116, 255, 0.15) 100%
  );
}

.view-all span {
  background-image: linear-gradient(
    90deg,
    rgb(255, 73, 122) 0%,
    rgb(96, 116, 255) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  pointer-events: none;
}

.feature-group {
  display: flex;
  transform-origin: 50% 50% 0px;
  gap: 20px;
  flex: 1;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.feature-item {
  width: calc(33.33% - 14px);
  flex-shrink: 0;
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.feature-item h3 a {
  color: rgb(65, 57, 81);
  text-decoration: none;
  transition: color 0.3s ease;
}

.feature-item h3 a:hover {
  color: rgb(103, 115, 250);
}

.feature-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.case-group {
  flex: 1;
}

.case-group h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.case-group ul {
  list-style: none;
}

.case-group li {
  margin-bottom: 8px;
  font-size: 14px;
}

.learning-resources h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.learning-resources ul {
  list-style: none;
}

.learning-resources li {
  margin-bottom: 8px;
}

.learning-resources a {
  color: rgb(65, 57, 81);
  transition: 0.3s ease;
}

.learning-resources a:hover {
  color: rgb(103, 115, 250);
}

.management-tools {
  width: 100%;
}

.management-tools h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.management-tools p {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.learn-more {
  color: rgb(103, 115, 250);
  font-weight: 500;
}

.dropdown-icon {
  transition: transform 0.3s ease;
}

.has-mega-menu:hover .dropdown-icon,
.mobile-section-details[open] .dropdown-icon {
  transform: rotate(180deg);
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: rgb(65, 57, 81);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: white;
  z-index: 200;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  padding-bottom: 80px;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.close-mobile-menu {
  font-size: 28px;
  cursor: pointer;
  color: rgb(65, 57, 81);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border-radius: 50%;
}

.close-mobile-menu:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Mobile menu section titles */
.mobile-section-title {
  font-size: 24px;
  font-weight: 600;
  color: rgb(65, 57, 81);
  padding: 24px 20px 24px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

summary .dropdown-icon {
  margin-left: auto;
}

/* Mobile featured gradient link */
.mobile-featured-gradient-link {
  position: relative;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    rgb(255, 73, 122) 0%,
    rgb(96, 116, 255) 100%
  );
  transition: all 0.3s ease;
  padding: 16px 20px 16px 40px;
  margin: 0 0 20px;
  text-decoration: none;
  font-weight: 500;
  text-align: left;
  font-size: 16px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-content: center;
}

.mobile-featured-links-container {
  display: flex;
  flex-direction: row;
}

details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

.mobile-featured-gradient-link:before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  width: calc(100% - 40px);
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 73, 122, 0.1) 0%,
    rgba(96, 116, 255, 0.1) 100%
  );
  border-radius: 8px;
  z-index: -1;
  transition: all 0.3s ease;
}

.mobile-featured-gradient-link .arrow-icon {
  color: rgb(96, 116, 255);
  pointer-events: none;
  background-image: linear-gradient(
    90deg,
    rgb(255, 73, 122) 0%,
    rgb(96, 116, 255) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  padding-right: 16px;
  padding-left: 6px;
  align-self: center;
}

/* Mobile menu items */
.mobile-menu-items {
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}

.mobile-item {
  position: relative;
  padding: 0 0 16px;
  margin-bottom: 10px;
  width: calc(33.33% - 11px);
  border: none;
}

.mobile-item:last-child {
  border-bottom: none;
}

.mobile-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: rgb(65, 57, 81);
  transition: color 0.3s ease;
}

.mobile-item p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* Use Cases styling */

.use-case-group {
  margin-bottom: 24px;
}

.use-case-group h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
  color: #666;
  transition: color 0.3s ease;
}

.use-case-group h3 a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.use-case-group h3 a:hover {
  color: rgb(103, 115, 250);
}

.use-case-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.use-case-group ul li {
  margin-bottom: 12px;
}

.use-case-group ul li a {
  color: rgb(65, 57, 81);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.use-case-group ul li a:hover {
  color: rgb(103, 115, 250);
}

.mobile-item h3 a {
  color: rgb(65, 57, 81);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-item h3 a:hover {
  color: rgb(103, 115, 250);
}

/* Section divider */
.divider {
  height: 1px;
  color: rgba(210, 206, 206, 0.22);
  width: calc(100% - 40px);
  margin: 14px 20px;
}

/* Mobile nav links */
.mobile-nav-link {
  padding: 10px 20px;
}

.mobile-nav-link.mobile-section-title a {
  font-size: 20px;
  font-weight: 600;
}

.mobile-nav-link a {
  color: rgb(65, 57, 81);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}

.mobile-nav-link a .arrow-icon {
  color: rgb(103, 115, 250);
  font-size: 16px;
  margin-left: 8px;
}

/* Mobile CTA */
.mobile-cta {
  padding: 20px;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.mobile-cta .demo-btn {
  width: 100%;
  height: 50px;
  font-size: 18px;
  justify-content: center;
  margin-left: 0;
  border-radius: 8px;
}

/* Mobile use cases styling */
.mobile-menu-items.use-cases {
  padding: 0 20px 10px;
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.use-case-group {
  margin-bottom: 30px;
  width: calc(33.33% - 11px);
}

@media screen and (max-width: 767px) {
  .mobile-menu-items.use-cases {
    flex-direction: column;
  }

  .use-case-group {
    width: 100%;
  }
}

/* Hide the desktop demo button on mobile */
@media screen and (max-width: 1200px) {
  .nav-list-container .demo-btn {
    display: none;
  }

  /* Show the mobile menu demo button */
  .mobile-cta .demo-btn {
    display: flex;
  }

  /* Adjust the mobile grid to 1 column */
  .mobile-menu-grid {
    flex-direction: column;
  }
}

/* Smaller mobile adjustments */
@media screen and (max-width: 767px) {
  .mobile-menu {
    width: 100%;
    max-width: 100%;
  }

  .mobile-menu-items {
    flex-direction: column;
  }

  .mobile-item {
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
  }

  .mobile-item:last-child {
    border-bottom: none;
  }
}

/* Menu Images */
.logo img{
  width: 186px;
  height: auto;
}

.menu-image {
  flex: 1;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.features-link--visuals {
  margin-left: auto;
}

.menu-image img {
  width: 100%;
  max-width: 186px;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-image img:hover {
  transform: scale(0.85) rotate(10deg);
}

/* Use Cases specific styling */
.use-cases-content {
  position: relative;
}

.menu-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.menu-text-overlay h2 {
  color: rgba(103, 115, 250, 0.05);
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 1px;
}

@media screen and (max-width: 1200px) {
  .menu-text-overlay h2 {
    font-size: 36px;
  }
}

@media screen and (max-width: 1200px) {

  .menu-text-overlay {
    display: none;
  }

  .feature-item {
    width: 100%;
  }
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Media Queries */
@media screen and (max-width: 1200px) {
  .nav-list {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .nav-list-container .demo-btn {
    display: none;
  }

  /* Show the mobile menu demo button */
  .mobile-cta .demo-btn {
    display: flex;
  }

  /* Adjust the mobile grid to 1 column */
  .mobile-menu-grid {
    flex-direction: column;
  }

  .mega-menu {
    width: 95%;
    max-width: 95%;
    left: 50%;
    transform: translate(-50%, -10px);
  }
}

/* Smaller mobile adjustments */
@media screen and (max-width: 767px) {
  .nav-container {
    height: 92px;
    padding: 16px;
  }
  .nav-logo {
    width: 120px;
    height: auto;
  }

  .mobile-menu {
    width: 100%;
    max-width: 100%;
  }
}

/* Use Cases Layout */
.use-cases-layout {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
}

.use-cases-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.use-cases-column h3 a {
  font-size: 24px;
  font-weight: 700;
}

.use-cases-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.use-cases-links li {
  padding: 0;
}

.use-cases-links li:hover {
  background-color: transparent;
}

.use-cases-links li a {
  color: rgb(65, 57, 81);
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.use-cases-links li a:hover {
  color: rgb(103, 115, 250);
  background-color: transparent;
}

@media screen and (max-width: 1200px) {
  .use-cases-layout {
    flex-direction: column;
    gap: 30px;
  }
}



