    /* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile styles */
@media (max-width: 768px) {
  .nav-center,
    .nav-right {
      flex-direction: row;
      align-items: flex-start;
      gap: 12px;
      padding: 16px;
      flex-wrap: wrap;
    }



.glow-blob {
  display: none;
}

.glow-blob-blue {
  display: none;
}

  
  .nav-menu {
    position: fixed !important;
    inset: 0;
    height: 100dvh;
    min-height: 100dvh;
    background: transparent; /* background moved to pseudo-element to cover under navbar */
    display: flex; /* keep in flow for smooth transitions */
    flex-direction: column;
    z-index: 9999;
    padding: 80px 18px 24px; /* leave room for the header */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    /* animation states */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease;
  }

  /* Backdrop moved to body to avoid clipping by navbar container */
  .nav-menu::before { content: none; }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(18, 16, 34, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 9998;
    pointer-events: none;
  }

  .nav-menu.show {
    position: fixed !important;
    inset: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar {
    justify-content: space-between;
    height: 52px;
    margin: 8px 16px;
    padding: 0 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 12px;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
  }

  /* Ensure fullscreen takeover when open */
  .navbar.menu-open {
    position: fixed;
    top: 10px; /* keep same vertical position */
    left: 0;
    right: 0;
    margin: 8px 16px; /* keep same margins */
    height: 52px; /* keep same height */
    border-radius: 18px; /* keep pill shape */
    background: rgba(255,255,255,0.08); /* opaque glass */
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000; /* above overlay */
  }

  .nav-center {
    position: static;
    transform: none;
    display: none; /* hidden until menu opens */
  }

  /* Stack links vertically in the fullscreen menu */
  .nav-menu.show .nav-center {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .nav-menu.show .nav-center .nav-link {
    font-size: 18px;
    color: #e6e7f2;
    opacity: 0.95;
    padding: 8px 6px;
  }

  /* Place actions at the bottom */
  .nav-menu.show .nav-right {
    margin-top: auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    padding-left: 0;
    margin-left: 0;
  }

  /* Compact logo size on mobile to match the pill height */
  .logo {
    height: 28px;
  }

  .hamburger {
    display: flex;
  }
}
@media (max-width: 768px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .features-section {
    padding: 60px 20px;
  }

  .steps-section {
    padding: 60px 20px 80px;
  }

  .tier-section {
    padding: 60px 20px;
  }

  .navbar {
    padding: 0 16px;
  }

  .nav-center {
    position: static !important;
    left: auto;
    transform: none;
    width: 100%;
  }
.nav-right {
      width: 100%;
      display: flex;
      flex-direction: row-reverse;
      align-items: center;
      justify-content: flex-end; 
    }

  .nav-menu {
    width: 100%;
  }

  .hamburger {
    z-index: 2000;
  }

  * {
    box-sizing: border-box;
  }
}


/* Tablets (width < 1024px) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-subtext {
    font-size: 1.1rem;
    margin-bottom: 32px;
  }

  .hero-cta {
    padding: 12px 28px;
    font-size: 15px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Mobile landscape and small tablets (width < 768px) */
@media (max-width: 768px) {
  .hero {
    padding-top: 48px;
  }

  .hero-title {
    font-size: 3rem;
    letter-spacing: 1px;
  }

  .hero-subtext {
    font-size: 1rem;
    margin-top: 16px;
    margin-bottom: 28px;
  }

  .hero-cta {
    padding: 10px 24px;
    font-size: 14px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tier-cards {
    flex-direction: column;
    align-items: center;
  }

  .tier-card {
    width: 100%;
    max-width: 350px;
  }
}

/* Mobile portrait (width < 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtext {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-cta {
    font-size: 13px;
    padding: 10px 20px;
  }
}
