/* ============================================================
   HOSTIGROW — Site navigation styles
   Shared by every page (announcement bar, utility bar, sticky
   topbar, dropdowns, mobile drawer, pill CTA). Rendered by nav.js.
   Self-contained on purpose: it only relies on the variables below
   and does not need style.css, so standalone pages (e.g. the
   Tailwind-based wordpress-hosting.html) show the identical nav.
   Load this BEFORE style.css so page rules can override .gh-cta-btn.
   ============================================================ */
.gh-announce, .gh-utility, .gh-topbar, .mobile-drawer {
  --void: #0c1016;
  --paper: #fffdf9;
  --paper-dim: #f6f7f8;
  --paper-line: #e6e7ea;
  --ink: #151a22;
  --signal: #e3242b;
  --signal-dark: #bf1a20;
  --mint: #a9e8bf;
  --mint-btn: #cdeeda;
  font-family: "Inter", -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.gh-announce *, .gh-utility *, .gh-topbar *, .mobile-drawer * { box-sizing: border-box; }
.gh-topbar ul, .mobile-drawer ul { margin: 0; padding: 0; list-style: none; }
.gh-announce a, .gh-utility a, .gh-topbar a, .mobile-drawer a { text-decoration: none; }
.gh-announce .wrap, .gh-utility .wrap, .gh-topbar .wrap, .mobile-drawer .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 720px) {
  .gh-announce .wrap, .gh-utility .wrap, .gh-topbar .wrap, .mobile-drawer .wrap { padding: 0 20px; }
}

/* ---------- nav links + dropdowns ---------- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
  white-space: nowrap;
}
.nav-links > li { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 7px;
  white-space: nowrap;
}
.nav-link:hover { color: var(--signal); background: var(--paper-dim); }
.nav-link.active { color: var(--signal); background: var(--paper-dim); }
.nav-link .caret { font-size: 10px; opacity: 0.6; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 12px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
  box-shadow: 0 20px 40px rgba(18,21,26,0.12);
}
.nav-links > li:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
  border-radius: 7px;
}
.dropdown a:hover { color: var(--signal); background: var(--paper-dim); }
.dropdown .grp-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  padding: 8px 12px 4px;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn-ghost-dark { border-color: var(--paper-line); color: var(--ink); }
.nav-cta .btn-ghost-dark:hover { border-color: var(--ink); }
.nav-toggle {
  display: none;
  background: none; border: none; color: var(--ink);
  font-size: 22px; cursor: pointer;
}

/* mobile nav drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 200;
  padding: 24px 24px 40px;
  display: none;
  overflow-y: auto;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-drawer a.nav-link { display: block; padding: 14px 4px; font-size: 17px; border-top: 1px solid var(--paper-line); color: var(--ink); }
.mobile-drawer a.nav-link.active { color: var(--signal); }
.mobile-close { background: none; border: none; color: var(--ink); font-size: 26px; cursor: pointer; }

/* -- announcement bar -- */
.gh-announce { background: var(--signal); color: #fff; font-size: 12px; }
.gh-announce-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.gh-announce-row::-webkit-scrollbar { display: none; }
.gh-announce-left { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.gh-announce-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); flex-shrink: 0; }
.gh-announce-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}
.gh-announce-link svg { width: 12px; height: 12px; }

/* -- utility bar -- */
.gh-utility { background: #10151b; color: #aab2ba; font-size: 10px; }
.gh-utility-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 6px 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.gh-utility-row::-webkit-scrollbar { display: none; }
.gh-utility-left, .gh-utility-right { display: flex; gap: 16px; flex-shrink: 0; }
.gh-utility a { color: #aab2ba; text-decoration: none; }
.gh-utility a:hover { color: #fff; }

/* -- topbar -- */
.gh-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid rgba(21,26,34,0.08);
}
.gh-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 78px;
}
.gh-logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; text-decoration: none; }
.gh-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--signal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gh-logo-mark svg { width: 16px; height: 16px; }
.gh-logo-word { font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.gh-logo-img { height: 32px; width: auto; display: block; }
.gh-auth { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.gh-loginlink { color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.gh-loginlink:hover { color: var(--signal); }

/* pill CTA button — reused in topbar + hero */
.gh-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint-btn);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  padding: 11px 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
.gh-cta-btn:hover { background: #bfe6d2; transform: translateY(-1px); }
.gh-cta-btn svg { width: 14px; height: 14px; }
.gh-cta-btn-lg { padding: 14px 22px; font-size: 15px; }

@media (max-width: 1180px) {
  .gh-auth { display: none; }
}

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* drawer "View Plans" button (same look as .btn.btn-primary.btn-block) */
.mobile-drawer .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  font-weight: 600; font-size: 15px;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--signal); color: #fff;
  white-space: nowrap;
}
.mobile-drawer .btn:hover { background: var(--signal-dark); }
