/* ============================================================
   SHARED NAVBAR — Remote& | AI
   Single source of truth for all navbar styles.
   ============================================================ */

.navbar {
  background: #1A1A1A;
  border-bottom: 1px solid #2E2E2E;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #DA7756;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  align-items: center;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.logo-brand { color: #FAF9F6; }
.logo-sep   { color: #9B9590; margin: 0 2px; }
.logo-ai    { color: #DA7756; }

/* Nav links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #FAF9F6;
  text-decoration: none;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 150ms ease, background 150ms ease;
}

.nav-link:hover,
.nav-item.open .nav-link {
  color: #DA7756;
  background: rgba(218, 119, 86, 0.08);
}

.nav-arrow {
  transition: transform 200ms ease;
  opacity: 0.6;
}

.nav-item.open .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-link-direct { color: #FAF9F6; text-decoration: none; }
.nav-link-direct:hover { color: #DA7756; }

/* CTA button */
.navbar-cta {
  background: #DA7756;
  color: #FFFFFF;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.navbar-cta:hover {
  background: #C96645;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(218, 119, 86, 0.35);
}

/* Dropdowns */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #FFFFFF;
  border: 1px solid #E8E2DB;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 12px;
  min-width: 260px;
  z-index: 1001;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.dropdown-wide { min-width: 480px; }

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dropdown-promo-panel {
  background: #FAF9F6;
  border-radius: 12px;
  padding: 16px;
}

.dropdown-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #DA7756;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px 8px;
  margin: 0;
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 150ms ease;
}

.dropdown-item:hover { background: #FAF9F6; }

.dropdown-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(218, 119, 86, 0.10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #DA7756;
}

.dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
}

.dropdown-sub {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  color: #9B9590;
  line-height: 1.4;
}

.dropdown-divider {
  height: 1px;
  background: #E8E2DB;
  margin: 8px 4px;
}

.dropdown-footer {
  display: block;
  padding: 6px 10px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #DA7756;
  text-decoration: none;
}

.dropdown-footer:hover { text-decoration: underline; }

.promo-text {
  font-size: 13px;
  color: #9B9590;
  margin: 0 0 12px;
}

.promo-cta {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #DA7756;
  text-decoration: none;
}

/* Badges */
.badge-live, .badge-free {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(218, 119, 86, 0.15);
  color: #DA7756;
  white-space: nowrap;
}

.badge-soon {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(155, 149, 144, 0.15);
  color: #9B9590;
  white-space: nowrap;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FAF9F6;
  border-radius: 2px;
  transition: all 250ms ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: #1A1A1A;
  border-top: 1px solid #2E2E2E;
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease;
}

.mobile-menu.open {
  max-height: 100vh;
  overflow-y: auto;
}

.mobile-menu-inner {
  padding: 16px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #2E2E2E;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #FAF9F6;
  cursor: pointer;
  text-align: left;
}

.mobile-acc-arrow {
  transition: transform 200ms ease;
  opacity: 0.6;
  color: #FAF9F6;
}

.mobile-accordion.open .mobile-acc-arrow { transform: rotate(180deg); }

.mobile-acc-content {
  display: none;
  flex-direction: column;
  padding: 8px 0 8px 16px;
  gap: 2px;
}

.mobile-accordion.open .mobile-acc-content { display: flex; }

.mobile-acc-content a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  color: #9B9590;
  text-decoration: none;
  border-radius: 8px;
  transition: color 150ms ease, background 150ms ease;
}

.mobile-acc-content a:hover {
  color: #FAF9F6;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-direct-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #2E2E2E;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #FAF9F6;
  text-decoration: none;
}

.mobile-cta {
  display: block;
  margin-top: 16px;
  padding: 14px;
  background: #DA7756;
  color: #FFFFFF;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 999px;
  text-decoration: none;
}

/* Spacer — push page content below sticky navbar */

/* Responsive */
@media (max-width: 1024px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .navbar-cta { display: none; }
}


