.recrugate-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid transparent;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

.recrugate-navbar.is-scrolled,
.recrugate-navbar.is-open {
  background: rgb(255 255 255 / 80%);
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgb(15 23 42 / 8%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.recrugate-navbar__inner {
  position: relative;
  width: min(100% - 32px, 1280px);
  min-height: 64px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.recrugate-navbar a { text-decoration: none; }
.recrugate-navbar__brand { display: inline-flex; align-items: center; flex: none; color: #bd09ff; }
.recrugate-navbar__logo { display: block; width: 44px; height: 44px; fill: currentColor; }
.recrugate-navbar__wordmark { display: flex; flex-direction: column; }
.recrugate-navbar__name {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
  background: linear-gradient(90deg, #bd09ff, #7f25fb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.recrugate-navbar__tagline { color: #64748b; font-size: 10px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.recrugate-navbar__desktop { display: none; align-items: center; gap: 24px; }
.recrugate-navbar__link { color: #475569; font-size: 12px; font-weight: 600; white-space: nowrap; transition: color .2s ease; }
.recrugate-navbar__link:hover,
.recrugate-navbar__link:focus-visible { color: #9c00d5; }
.recrugate-navbar__actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; white-space: nowrap; }
.recrugate-navbar__login,
.recrugate-navbar__trial { font: inherit; cursor: pointer; }
.recrugate-navbar__login { padding: 8px; border: 0; background: transparent; color: #334155; font-size: 12px; font-weight: 700; }
.recrugate-navbar__trial { padding: 2px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #bd09ff, #7f25fb); font-size: 12px; font-weight: 700; }
.recrugate-navbar__trial span { display: block; padding: 10px 16px; border-radius: 10px; background: #020617; color: #fff; }
.recrugate-navbar__login:hover { color: #9c00d5; }
.recrugate-navbar__trial:hover,
.recrugate-navbar__trial:focus-visible { background: linear-gradient(135deg, #9c00d5, #7f25fb); }
.recrugate-navbar__trial:hover span,
.recrugate-navbar__trial:focus-visible span { background: rgb(2 6 23 / 80%); }
.recrugate-navbar__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 8px;
  border: 0; border-radius: 8px; background: transparent; color: #334155; cursor: pointer;
}
.recrugate-navbar__toggle:hover { color: #0f172a; }
.recrugate-navbar__toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.recrugate-navbar__close-icon { display: none; }
.recrugate-navbar__toggle[aria-expanded="true"] .recrugate-navbar__open-icon { display: none; }
.recrugate-navbar__toggle[aria-expanded="true"] .recrugate-navbar__close-icon { display: block; }
.recrugate-navbar__mobile { display: none; padding: 16px 24px; border-top: 1px solid #e2e8f0; background: rgb(255 255 255 / 95%); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.recrugate-navbar__mobile:not([hidden]) { display: block; }
.recrugate-navbar__mobile-links { display: flex; flex-direction: column; gap: 8px; }
.recrugate-navbar__mobile .recrugate-navbar__link { display: block; padding: 4px 0; font-size: 14px; font-weight: 500; }
.recrugate-navbar__mobile-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f1f5f9; }
.recrugate-navbar__mobile-actions .recrugate-navbar__login { border: 1px solid #e2e8f0; border-radius: 12px; font-size: 14px; }
.recrugate-navbar__mobile-actions .recrugate-navbar__trial span { padding: 10px 16px; font-size: 14px; }
.recrugate-navbar :is(a, button):focus-visible { outline: 3px solid #0e43fb; outline-offset: 3px; }

@media (min-width: 640px) {
  .recrugate-navbar__inner { width: min(100% - 48px, 1280px); min-height: 80px; }
}
@media (min-width: 1024px) {
  .recrugate-navbar__desktop { display: flex; }
  .recrugate-navbar__toggle,
  .recrugate-navbar__mobile { display: none !important; }
  .recrugate-navbar__logo { width: 50px; height: 50px; }
  .recrugate-navbar__name { font-size: 30px; }
  .recrugate-navbar__tagline { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .recrugate-navbar, .recrugate-navbar__link { transition: none; }
}

.recrugate-language-switcher { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; font-size:.875rem; }

/* Product mega menu, adapted from the public RecruGate TR/EN navigation. */
.recrugate-products > summary { display: flex; align-items: center; gap: 4px; padding-block: 8px; cursor: pointer; list-style: none; }
.recrugate-products > summary::-webkit-details-marker { display: none; }
.recrugate-products > summary > a { color: inherit; }
.recrugate-products > summary > svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.recrugate-products[open] > summary > svg { transform: rotate(180deg); }
.recrugate-products__panel { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; width: 860px; max-width: calc(100vw - 48px); padding: 24px; border: 1px solid #e2e8f0; border-radius: 24px; background: rgb(255 255 255 / 97%); box-shadow: 0 24px 50px rgb(15 23 42 / 16%); backdrop-filter: blur(24px); }
.recrugate-navbar__desktop .recrugate-products { position: relative; }
.recrugate-navbar__desktop .recrugate-products__panel { position: absolute; top: calc(100% + 8px); left: 0; }
.recrugate-products__catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.recrugate-products__catalog-all { display: none; }
.recrugate-products__group { min-width: 0; }
.recrugate-products__group:last-of-type { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; border-top: 1px solid #f1f5f9; padding-top: 12px; }
.recrugate-products__group h3 { margin: 0 0 8px; color: #64748b; font-size: 10px; font-weight: 800; line-height: 1.5; letter-spacing: .05em; text-transform: uppercase; }
.recrugate-products__group:last-of-type h3 { grid-column: 1 / -1; }
.recrugate-products__item { display: flex; align-items: flex-start; gap: 10px; padding: 8px; border: 1px solid transparent; border-radius: 12px; }
.recrugate-products__item:hover { background: #f8fafc; border-color: #e2e8f0; }
.recrugate-products__icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1px solid #f3e8ff; border-radius: 8px; background: #faf5ff; color: #bd09ff; }
.recrugate-products__icon svg { width: 14px; height: 14px; }
.recrugate-products__text { min-width: 0; }
.recrugate-products__text strong { display: block; color: #0f172a; font-size: 12px; font-weight: 700; line-height: 1.5; }
.recrugate-products__text > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; color: #64748b; font-size: 11px; line-height: 1.4; }
.recrugate-products__promo { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; border: 1px solid #f3e8ff; border-radius: 16px; background: linear-gradient(135deg, #faf5ff, #fff, #eef2ff); }
.recrugate-products__promo > span { color: #9c00d5; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: #f3e8ff; }
.recrugate-products__promo h3 { margin: 12px 0 8px; color: #0f172a; font-size: 14px; font-weight: 800; line-height: 1.3; }
.recrugate-products__promo p { margin: 0 0 16px; color: #475569; font-size: 12px; line-height: 1.6; }
.recrugate-products__trial { align-self: stretch; text-align: center; margin-top: auto; padding: 10px 12px; background: linear-gradient(90deg, #cb3cff, #7f25fb); color: #fff; border-radius: 12px; font-size: 12px; font-weight: 700; }
.recrugate-products__all { align-self: center; margin-top: 12px; color: #475569; font-size: 12px; font-weight: 700; }
.recrugate-navbar summary:focus-visible { outline: 3px solid #0e43fb; outline-offset: 3px; }
@media (max-width: 1023px) {
 .recrugate-navbar__mobile { max-height: calc(100dvh - 80px); overflow-y: auto; }
 .recrugate-products__panel { width: 100%; max-width: none; grid-template-columns: 1fr; padding: 16px; gap: 16px; box-shadow: none; }
 .recrugate-products__catalog { grid-template-columns: 1fr; }
 .recrugate-products__group:last-of-type { display: block; }
 .recrugate-products__catalog-all { display: block; color: #7f25fb; font-size: 14px; font-weight: 700; }
 .recrugate-products__text > span { -webkit-line-clamp: 2; }
 .recrugate-products__promo { display: none; }
 .recrugate-products__item { padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) { .recrugate-products > summary > svg { transition: none; } }

/* Native modal keeps keyboard focus inside the account selection. */
.has-account-dialog { overflow: hidden; }
.recrugate-account { box-sizing: border-box; width: min(95vw, 768px); max-height: calc(100dvh - 32px); margin: auto; padding: 32px; border: 1px solid #e2e8f0; border-radius: 24px; color: #0f172a; background: #fff; box-shadow: 0 25px 60px rgb(15 23 42 / 25%); font-family: Inter, sans-serif; }
.recrugate-account::backdrop { background: rgb(15 23 42 / 50%); backdrop-filter: blur(5px); }
.recrugate-account > h2 { margin: 8px 24px 12px; font-size: clamp(24px, 3vw, 30px); font-weight: 800; line-height: 1.2; text-align: center; }
.recrugate-account > p { max-width: 448px; margin: 0 auto 28px; color: #64748b; font-size: 16px; line-height: 1.5; text-align: center; }
.recrugate-account__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; color: #475569; background: transparent; font-size: 24px; cursor: pointer; }
.recrugate-account__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.recrugate-account__card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 2px solid #e9d5ff; border-radius: 16px; background: linear-gradient(#faf5ff, #fff); color: #0f172a; text-decoration: none; }
.recrugate-account__card:last-child { border-color: #e2e8f0; background: linear-gradient(#eff6ff, #fff); }
.recrugate-account__card:hover { border-color: #bd09ff; box-shadow: 0 12px 24px rgb(127 37 251 / 10%); }
.recrugate-account__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; background: #f3e8ff; color: #7f25fb; }
.recrugate-account__icon svg { width: 28px; height: 28px; }
.recrugate-account__card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.4; }
.recrugate-account__card p { margin: 0 0 24px; color: #475569; font-size: 14px; line-height: 1.6; }
.recrugate-account__card strong { margin-top: auto; color: #7f25fb; font-size: 14px; }
@media (max-width: 639px) {
 .recrugate-account { padding: 24px; }
 .recrugate-account__grid { grid-template-columns: 1fr; gap: 16px; }
 .recrugate-account__card { padding: 24px; }
}
