/* =========================================================
   GROWTHSPELL NAVBAR — COMPLETE REPLACEMENT
========================================================= */

:root {
  --nav-green: #19d875;
  --nav-green-dark: #0daf5b;
  --nav-deep: #04271d;
  --nav-black: #07110e;
  --nav-text: #171b19;
  --nav-muted: #6d7974;
  --nav-border: #e1e8e4;
  --nav-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  padding-top: 72px;
}

body.gs-mobile-menu-open {
  overflow: hidden;
}

/* =========================================================
   MAIN HEADER
========================================================= */

.gs-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;

  width: 100%;
  padding: 0;

  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--nav-border);

  font-family: "Inter", sans-serif;

  transition:
    padding 0.5s cubic-bezier(.22, 1, .36, 1),
    background 0.4s ease,
    border-color 0.4s ease;
}

/* Normal white navbar */
.gs-navbar-container {
  position: relative;

  width: calc(100% - 48px);
  max-width: 1536px;
  height: 72px;


  margin: 0 auto;
  padding: 0 clamp(26px, 3vw, 40px);

  display: flex;
  align-items: center;
  gap: 20px;

  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;

  transition:
    width 0.5s cubic-bezier(.22, 1, .36, 1),
    max-width 0.5s cubic-bezier(.22, 1, .36, 1),
    height 0.5s cubic-bezier(.22, 1, .36, 1),
    padding 0.5s cubic-bezier(.22, 1, .36, 1),
    background 0.45s ease,
    border-color 0.45s ease,
    border-radius 0.5s cubic-bezier(.22, 1, .36, 1),
    box-shadow 0.45s ease,
    transform 0.5s cubic-bezier(.22, 1, .36, 1);
}

/* =========================================================
   SCROLLED LIQUID-GLASS NAVBAR
========================================================= */

.gs-header.is-scrolled {
  padding: 10px 20px 0;

  background: transparent;
  border-bottom-color: transparent;
}

/* Floating Digital Gravity-style pill */
.gs-header.is-scrolled .gs-navbar-container {
  width: calc(100% - 40px);
  max-width: 1400px;
  height: 62px;

  padding: 0 clamp(20px, 2.5vw, 36px);

  background:
    linear-gradient(115deg,
      rgba(3, 30, 23, 0.82) 0%,
      rgba(6, 39, 29, 0.72) 45%,
      rgba(2, 23, 18, 0.84) 100%);

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;

  box-shadow:
    0 22px 55px rgba(0, 22, 16, 0.25),
    0 8px 22px rgba(0, 22, 16, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(25, 216, 117, 0.11),
    inset 18px 0 45px rgba(255, 255, 255, 0.025);

  -webkit-backdrop-filter: blur(30px) saturate(185%);
  backdrop-filter: blur(30px) saturate(185%);
}

/* Full-cover glass highlight across entire navbar */
.gs-header.is-scrolled .gs-navbar-container::before {
  content: "";

  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.03) 50%,
      rgba(255, 255, 255, 0.07) 100%);

  border-radius: 32px;

  opacity: 0.95;
  pointer-events: none;
}

/* Bottom liquid glow */
.gs-header.is-scrolled .gs-navbar-container::after {
  content: "";

  position: absolute;
  left: 14%;
  right: 12%;
  bottom: -1px;

  height: 22px;

  background:
    radial-gradient(ellipse at center,
      rgba(25, 216, 117, 0.15),
      transparent 72%);

  border-radius: 50%;
  filter: blur(9px);

  pointer-events: none;
}

/* =========================================================
   LOGO
========================================================= */

.gs-logo {
  position: relative;
  z-index: 4;

  width: 184px;
  height: 36px;
  flex: 0 0 184px;
  overflow: hidden;

  margin-left: 54px;

  display: block;
  text-decoration: none;
}

.gs-logo img {
  width: auto;
  height: 285px;

  margin-top: -124px;
  margin-left: -50px;

  transition: filter 0.35s ease;
}

/* On dark glass: text → white, green accents → vivid #19d875 green */
.gs-header.is-scrolled .gs-logo img {
  filter: invert(1) hue-rotate(180deg) saturate(1.6) brightness(1.1);
}

/* Restore logo and button insets inside scrolled pill */
.gs-header.is-scrolled .gs-logo {
  margin-left: 4px;
}

.gs-header.is-scrolled .gs-navbar-actions {
  margin-right: 4px;
}

/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.gs-desktop-navigation {
  position: static;
  z-index: 3;

  flex: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 1.45vw, 28px);
}

.gs-navigation-item {
  position: static;

  height: 72px;

  display: flex;
  align-items: center;

  transition: height 0.4s ease;
}

.gs-header.is-scrolled .gs-navigation-item {
  height: 76px;
}

.gs-main-link {
  position: relative;

  padding: 11px 0;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: var(--nav-text);
  background: transparent;
  border: 0;

  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;

  cursor: pointer;

  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}

.gs-header.is-scrolled .gs-main-link {
  color: rgba(255, 255, 255, 0.9);
}

.gs-main-link::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 2px;

  width: 0;
  height: 2px;

  background: var(--nav-green);
  border-radius: 20px;

  transition: width 0.3s ease;
}

.gs-main-link:hover,
.gs-navigation-item:hover>.gs-main-link {
  color: var(--nav-green-dark);
}

.gs-header.is-scrolled .gs-main-link:hover,
.gs-header.is-scrolled .gs-navigation-item:hover>.gs-main-link {
  color: #64f0a9;
  text-shadow: 0 0 15px rgba(25, 216, 117, 0.25);
}

.gs-main-link:hover::after,
.gs-navigation-item:hover>.gs-main-link::after {
  width: 100%;
}

.gs-dropdown-button svg {
  width: 9px;
  height: 6px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 0.3s ease;
}

.gs-navigation-item:hover .gs-dropdown-button svg {
  transform: rotate(180deg);
}

/* =========================================================
   CONTACT BUTTON
========================================================= */

.gs-navbar-actions {
  position: relative;
  z-index: 4;
  flex-shrink: 0;

  margin-right: 44px;
}

.gs-contact-button {
  min-height: 48px;
  padding: 0 23px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  background: var(--nav-black);
  border: 1px solid var(--nav-black);
  border-radius: 8px;

  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;

  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    border-radius 0.4s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gs-contact-button:hover {
  background: var(--nav-deep);
  transform: translateY(-2px);
}

/* Liquid CTA when scrolled */
.gs-header.is-scrolled .gs-contact-button {
  min-height: 50px;
  padding-inline: 27px;

  color: #fff;

  background:
    linear-gradient(115deg,
      #19d875,
      #40eba0);

  border-color: rgba(98, 244, 173, 0.55);
  border-radius: 26px;

  box-shadow:
    0 10px 25px rgba(25, 216, 117, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.gs-header.is-scrolled .gs-contact-button:hover {
  color: #fff;
  background: rgba(25, 216, 117, 0.24);
  border-color: rgba(86, 240, 163, 0.6);

  box-shadow:
    0 12px 28px rgba(25, 216, 117, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.22);
}

/* =========================================================
   MEGA DROPDOWNS
========================================================= */

.gs-mega-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;

  visibility: hidden;
  opacity: 0;

  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--nav-border);

  box-shadow:
    0 30px 70px rgba(4, 32, 23, 0.15),
    0 8px 20px rgba(4, 32, 23, 0.05);

  -webkit-backdrop-filter: blur(25px) saturate(170%);
  backdrop-filter: blur(25px) saturate(170%);

  transform: translateY(-14px);
  transform-origin: top center;

  pointer-events: none;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.35s cubic-bezier(.22, 1, .36, 1);
}

.gs-navigation-item:hover>.gs-mega-dropdown,
.gs-navigation-item:focus-within>.gs-mega-dropdown {
  visibility: visible;
  opacity: 1;

  transform: translateY(0);
  pointer-events: auto;
}

/* Floating rounded dropdown under glass nav */
.gs-header.is-scrolled .gs-mega-dropdown {
  top: calc(100% + 10px);
  left: 16px;
  right: 16px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;

  box-shadow:
    0 28px 65px rgba(2, 26, 19, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.8);
}

.gs-mega-dropdown-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.gs-mega-content {
  padding: 32px 30px 36px 0;
}

.gs-dropdown-label {
  margin: 0 0 18px;

  color: #83908b;

  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.gs-menu-grid {
  display: grid;
  gap: 5px 16px;
}

.gs-menu-grid-two,
.gs-menu-grid-three {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gs-dropdown-card {
  position: relative;

  min-height: 88px;
  padding: 16px 38px 16px 15px;

  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 13px;

  color: var(--nav-text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;

  text-decoration: none;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.gs-dropdown-card:hover {
  background: rgba(25, 216, 117, 0.08);
  border-color: rgba(25, 216, 117, 0.18);
  transform: translateY(-2px);
}

.gs-card-icon {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  color: var(--nav-green-dark);
  background: rgba(25, 216, 117, 0.12);
  border-radius: 10px;

  font-size: 16px;
  font-weight: 700;
}

.gs-card-content strong,
.gs-card-content small {
  display: block;
}

.gs-card-content strong {
  margin-bottom: 5px;

  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.gs-card-content small {
  color: var(--nav-muted);

  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.gs-card-arrow {
  position: absolute;
  top: 50%;
  right: 16px;

  color: var(--nav-green-dark);
  font-size: 16px;

  opacity: 0;
  transform: translate(-8px, -50%);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.gs-dropdown-card:hover .gs-card-arrow {
  opacity: 1;
  transform: translate(0, -50%);
}

/* =========================================================
   DROPDOWN FEATURE PANEL
========================================================= */

.gs-dropdown-feature {
  position: relative;

  min-height: 300px;
  padding: 32px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background:
    radial-gradient(circle at 85% 12%,
      rgba(25, 216, 117, 0.25),
      transparent 34%),
    #f2f8f4;

  border-left: 1px solid var(--nav-border);
}

.gs-dropdown-feature::before {
  content: "";

  position: absolute;
  top: 35px;
  right: 35px;

  width: 60px;
  height: 60px;

  border: 1px solid rgba(25, 216, 117, 0.32);
  border-radius: 50%;

  box-shadow:
    0 0 0 13px rgba(25, 216, 117, 0.05),
    0 0 0 27px rgba(25, 216, 117, 0.025);
}

.gs-feature-label {
  margin-bottom: 40px;

  color: var(--nav-green-dark);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gs-dropdown-feature h3 {
  max-width: 270px;
  margin: 0 0 11px;

  color: var(--nav-deep);

  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.7px;
}

.gs-dropdown-feature p {
  margin: 0 0 21px;

  color: var(--nav-muted);

  font-size: 12px;
  line-height: 1.6;
}

.gs-feature-link {
  padding-top: 15px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--nav-deep);
  border-top: 1px solid rgba(6, 39, 30, 0.13);

  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.gs-dark-feature {
  background:
    radial-gradient(circle at 85% 12%,
      rgba(25, 216, 117, 0.2),
      transparent 34%),
    var(--nav-deep);
}

.gs-dark-feature h3,
.gs-dark-feature .gs-feature-link {
  color: #fff;
}

.gs-dark-feature p {
  color: rgba(255, 255, 255, 0.65);
}

/* =========================================================
   RESOURCES
========================================================= */

.gs-resource-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.gs-resource-column>span {
  display: block;
  margin-bottom: 13px;

  color: var(--nav-green-dark);

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gs-resource-column a {
  display: block;
  padding: 12px 0;

  color: var(--nav-text);
  border-bottom: 1px solid var(--nav-border);

  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}

/* =========================================================
   SMALL PRODUCTS DROPDOWN
========================================================= */

.gs-small-menu-parent {
  position: relative;
}

.gs-small-dropdown {
  position: absolute;
  top: calc(100% - 7px);
  left: 50%;

  width: 320px;
  padding: 10px;

  visibility: hidden;
  opacity: 0;

  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--nav-border);
  border-radius: 18px;

  box-shadow: 0 25px 55px rgba(4, 32, 23, 0.15);

  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);

  transform: translate(-50%, -10px);
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.3s ease;
}

.gs-small-menu-parent:hover .gs-small-dropdown,
.gs-small-menu-parent:focus-within .gs-small-dropdown {
  visibility: visible;
  opacity: 1;

  transform: translate(-50%, 0);
  pointer-events: auto;
}

.gs-small-dropdown .gs-dropdown-label {
  padding: 10px 12px 5px;
}

.gs-small-dropdown a {
  display: block;
  padding: 13px 14px;

  color: var(--nav-text);
  border-radius: 11px;
  text-decoration: none;
}

.gs-small-dropdown a:hover {
  background: rgba(25, 216, 117, 0.09);
}

.gs-small-dropdown strong,
.gs-small-dropdown small {
  display: block;
}

.gs-small-dropdown strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.gs-small-dropdown small {
  color: var(--nav-muted);
  font-size: 11px;
}

/* Rounded dropdown position when scrolled */
.gs-header.is-scrolled .gs-small-dropdown {
  top: calc(100% + 8px);
}

/* =========================================================
   DESKTOP RESPONSIVENESS
========================================================= */

.gs-mobile-toggle,
.gs-mobile-menu {
  display: none;
}

@media (max-width: 1320px) {
  .gs-navbar-container {
    width: calc(100% - 32px);
    padding-inline: 25px;
    gap: 24px;
  }

  .gs-desktop-navigation {
    gap: 15px;
  }

  .gs-main-link {
    font-size: 12.5px;
  }

  .gs-contact-button {
    padding-inline: 17px;
    font-size: 13px;
  }

  .gs-header.is-scrolled .gs-navbar-container {
    padding-inline: 28px;
  }
}

/* =========================================================
   MOBILE NAVBAR
========================================================= */

@media (max-width: 1050px) {
  body {
    padding-top: 72px;
  }

  .gs-header {
    padding: 0;
  }

  .gs-navbar-container {
    width: 100%;
    height: 72px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .gs-header.is-scrolled {
    padding: 10px 12px 0;
  }

  .gs-header.is-scrolled .gs-navbar-container {
    width: 100%;
    height: 66px;
    padding: 0 18px;
    border-radius: 24px;
  }

  .gs-logo {
    width: 154px;
    height: 31px;
    flex-basis: 154px;
    margin-left: 0 !important;
  }

  .gs-logo img {
    height: 239px;
    margin-top: -104px;
    margin-left: -42px;
  }

  .gs-desktop-navigation,
  .gs-navbar-actions {
    display: none;
  }

  .gs-mobile-toggle {
    position: relative;
    z-index: 10;

    width: 44px;
    height: 44px;

    margin-left: auto !important;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;

    background: var(--nav-deep);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;

    cursor: pointer;

    transition:
      background 0.3s ease,
      border-radius 0.3s ease;
  }

  .gs-header.is-scrolled .gs-mobile-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.19);
    border-radius: 50%;
  }

  .gs-mobile-toggle span {
    width: 20px;
    height: 2px;

    background: #fff;
    border-radius: 10px;

    transition: transform 0.3s ease;
  }

  .gs-mobile-toggle.is-active span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .gs-mobile-toggle.is-active span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .gs-mobile-menu {
    position: fixed;
    top: 80px;
    left: 12px;
    right: 12px;

    max-height: calc(100vh - 96px);
    overflow-y: auto;

    display: block;

    visibility: hidden;
    opacity: 0;

    background:
      linear-gradient(145deg,
        rgba(3, 32, 24, 0.96),
        rgba(2, 23, 18, 0.94));

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;

    box-shadow:
      0 30px 70px rgba(0, 20, 14, 0.4),
      inset 0 1px rgba(255, 255, 255, 0.2);

    -webkit-backdrop-filter: blur(28px) saturate(180%);
    backdrop-filter: blur(28px) saturate(180%);

    transform: translateY(-14px) scale(0.98);
    transform-origin: top;

    transition:
      visibility 0.3s ease,
      opacity 0.3s ease,
      transform 0.4s cubic-bezier(.22, 1, .36, 1);
  }

  .gs-mobile-menu.is-open {
    visibility: visible;
    opacity: 1;

    transform: translateY(0) scale(1);
  }

  .gs-mobile-menu-inner {
    padding: 16px;
  }

  .gs-mobile-direct-link,
  .gs-mobile-direct-link:link,
  .gs-mobile-direct-link:visited,
  .gs-mobile-group-button {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #ffffff !important;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    font: inherit;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    text-decoration: none !important;

    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .gs-mobile-direct-link:hover,
  .gs-mobile-direct-link:focus,
  .gs-mobile-group-button:hover {
    color: #19d875 !important;
  }

  .gs-mobile-group-button span {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    color: #06271c;
    background: var(--nav-green);
    border-radius: 50%;

    font-size: 17px;

    transition: transform 0.3s ease;
  }

  .gs-mobile-group.is-open .gs-mobile-group-button span {
    transform: rotate(45deg);
  }

  .gs-mobile-submenu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;

    transition:
      max-height 0.45s cubic-bezier(.22, 1, .36, 1),
      opacity 0.3s ease,
      padding 0.3s ease;
  }

  .gs-mobile-group.is-open .gs-mobile-submenu {
    max-height: 600px;
    padding: 8px 0 14px;
    opacity: 1;
  }

  .gs-mobile-submenu a,
  .gs-mobile-submenu a:link,
  .gs-mobile-submenu a:visited {
    position: relative;

    display: block;
    padding: 11px 14px 11px 28px;

    color: rgba(255, 255, 255, 0.78) !important;

    font-size: 13.5px;
    line-height: 1.45;
    text-decoration: none !important;
    transition: color 0.2s ease;
  }

  .gs-mobile-submenu a:hover,
  .gs-mobile-submenu a:focus {
    color: #19d875 !important;
  }

  .gs-mobile-submenu a::before {
    content: "";

    position: absolute;
    top: 17px;
    left: 12px;

    width: 6px;
    height: 6px;

    background: var(--nav-green);
    border-radius: 50%;
  }

  .gs-mobile-contact-button,
  .gs-mobile-contact-button:link,
  .gs-mobile-contact-button:visited {
    min-height: 52px;
    margin-top: 16px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #032017 !important;
    background: linear-gradient(115deg, #19d875, #40eba0);
    border-radius: 27px;

    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .gs-header.is-scrolled {
    padding-inline: 8px;
  }

  .gs-header.is-scrolled .gs-navbar-container {
    border-radius: 22px;
  }

  .gs-logo {
    width: 142px;
    height: 29px;
    flex-basis: 142px;
  }

  .gs-logo img {
    height: 220px;

    margin-top: -96px;
    margin-left: -39px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .gs-header,
  .gs-navbar-container,
  .gs-main-link,
  .gs-contact-button,
  .gs-mega-dropdown,
  .gs-mobile-menu {
    transition-duration: 0.01ms !important;
  }
}
