/* ========================================
   ZENHR HEADER - MOBILE FIRST
   Requires: uae.css for page-specific styles
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.hidden {
  display: none;
}

/* Screen reader only - visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;

  /* Elegant page scrollbar - subtle neutral gray */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

/* Page scrollbar - webkit browsers */
html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

html::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.35);
}

body {
  line-height: 1.5;
  color: #1E293B;
  background: #E5ECFF;
}

/* Prevent scroll glitch when dropdown opens on short pages */
body.dropdown-active {
  overflow-y: scroll;
}

a {
  text-decoration: none;
  color: inherit;
}


/* Navigation lists only - preserve bullets for content lists */
.header-zenhr ul,
.uae-footer ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Variables */
:root {
  --header-height: 72px;

  /* Brand Colors */
  --color-primary: #008483;
  --color-primary-hover: #006f6e;
  --color-primary-light: #CCFBF1;
  --color-accent: #00CDCA;

  /* Neutrals */
  --color-dark: #0F172A;
  --color-text: #282828;
  --color-text-muted: #64748B;
  --color-white: #FFFFFF;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-border: #A6A6A6;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;

  /* === Header Default State Colors (non-scrolled, desktop) === */
  /* Override these in page-specific CSS for different themes */
  --header-nav-list-bg: rgba(0, 0, 0, 0.1);
  --header-nav-list-border: rgba(255, 255, 255, 0.1);
  --header-nav-link-color: var(--color-white);
  --header-dropdown-arrow-color: var(--color-white);
  --header-lang-bg: var(--color-white);
  --header-btn-login-color: var(--color-white);
  --header-btn-login-bg: transparent;
  --header-btn-login-border: rgba(255, 255, 255, 0.6);
  --header-btn-login-hover-bg: rgba(255, 255, 255, 0.15);
}

/* ========================================
   HEADER
   ======================================== */

.header-zenhr {
  position: sticky;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.header-zenhr.is-scrolled {
  background-color: var(--color-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Menu Open State */
.header-zenhr.menu-open {
  background-color: #E5ECFF;
}

/* Scrolled State - Text Colors */
.header-zenhr.is-scrolled .header-nav-link,
.header-zenhr.is-scrolled .header-nav-link-text {
  color: var(--color-text);
}

.header-zenhr.is-scrolled .header-meet-link {
  color: var(--color-primary);
}

.header-zenhr.is-scrolled .header-btn-login {
  color: var(--color-text);
  border-color: var(--color-gray-200);
}

.header-zenhr.is-scrolled .header-btn-login:hover {
  background: var(--color-gray-100);
  border-color: var(--color-gray-300);
  color: var(--color-text);
}

/* RTL Language Switcher - Scrolled State */
.header-zenhr.is-scrolled .header-lang-text {
  color: var(--color-text);
}

.header-zenhr.is-scrolled .header-lang-text:hover {
  color: var(--color-primary);
}

/* Container */
.header-zenhr-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  height: var(--header-height);
  gap: 24px;
}

/* Logo */
.header-logo {
  position: relative;
  z-index: 1001;
  flex-shrink: 0;
}

.header-logo-img {
  height: 22px;
  width: auto;
}

/* Logo swap on scroll */
.header-logo-img--white {
  display: block;
}

.header-logo-img--dark {
  display: none;
}

.header-zenhr.is-scrolled .header-logo-img--white {
  display: none;
}

.header-zenhr.is-scrolled .header-logo-img--dark {
  display: block;
}

/* Mobile menu open: always show white logo */
.header-zenhr.menu-open .header-logo-img--white {
  display: none;
}

.header-zenhr.menu-open .header-logo-img--dark {
  display: block;
}

/* ----------------------------------------
   Menu Button (Mobile)
   ---------------------------------------- */
.header-menu-btn {
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 32px;
  border: 1px solid var(--color-white);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(62px);
  -webkit-backdrop-filter: blur(62px);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.header-menu-btn:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Scrolled state */
.header-zenhr.is-scrolled .header-menu-btn {
  border-color: var(--color-gray-200);
  background: var(--color-gray-100);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-zenhr.is-scrolled .header-menu-btn:hover {
  background: var(--color-gray-200);
}

/* Menu Icons - CSS rendered */
.header-menu-icon {
  display: block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform var(--transition), opacity var(--transition);
}

.header-menu-icon--burger {
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 11H15M1 6H15M1 1H9' stroke='%230F172A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.header-menu-icon--close {
  display: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L14 14M14 2L2 14' stroke='%230F172A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Menu Open: Swap Icons */
.header-zenhr.menu-open .header-menu-icon--burger {
  display: none;
}

.header-zenhr.menu-open .header-menu-icon--close {
  display: block;
  animation: menuIconIn 0.3s ease;
}

@keyframes menuIconIn {
  0% {
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

/* ----------------------------------------
   Nav Group (Mobile: No special styling)
   ---------------------------------------- */
.header-nav-group {
  display: contents;
}

/* Buttons Group (Mobile: No special styling) */
.header-buttons {
  display: contents;
}

/* ----------------------------------------
   Nav Wrapper (Mobile: Full Screen)
   ---------------------------------------- */
.header-nav-wrapper {
  position: fixed;
  inset-block-start: var(--header-height);
  inset-inline: 0;
  inset-block-end: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 48px 24px 40px;
  background: #E5ECFF;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  /* Subtle scrollbar for mobile nav */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

/* Mobile nav scrollbar - webkit */
.header-nav-wrapper::-webkit-scrollbar {
  width: 4px;
}

.header-nav-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.header-nav-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.header-nav-wrapper::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.header-zenhr.menu-open .header-nav-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ----------------------------------------
   Nav List
   ---------------------------------------- */
.header-zenhr-nav {
  margin-bottom: 0;
  width: 100%;
}

.header-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.header-nav-item {
  border-bottom: none;
  text-align: center;
}

.header-nav-item:last-child {
  border-bottom: none;
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  padding: 12px 16px;
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
  color: var(--color-dark);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: opacity var(--transition-fast);
}

.header-nav-link-text {
  margin: 0;
  line-height: 1;
  color: var(--color-dark);
  font-size: 18px;
  font-weight: 400;
}

.header-nav-link:hover {
  opacity: 0.7;
}

.header-dropdown-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%230F172A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform var(--transition);
}

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

/* ----------------------------------------
   Submenu (Mobile)
   ---------------------------------------- */

/* FOUC Prevention: Hide submenus until JS initializes */
.header-submenu {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* After JS initializes */
.dropdown-initialized .header-submenu {
  display: flex;
}

.header-nav-item.dropdown-open .header-submenu {
  max-height: 60vh;
  padding: 8px 0 16px;
  overflow-y: auto;
  /* Subtle scrollbar - neutral gray */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

/* Custom scrollbar for mobile webkit browsers */
.header-submenu::-webkit-scrollbar {
  width: 4px;
}

.header-submenu::-webkit-scrollbar-track {
  background: transparent;
}

.header-submenu::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.header-submenu::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/* Collection list wrapper */
.header-submenu-collection {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Items container */
.header-submenu-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Individual item wrapper - no special styling, passes through */

/* Static links section (All Modules, Mobile App) */
.header-submenu-static {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-gray-200);
}

.header-submenu-link {
  display: block;
  padding: 10px 16px;
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 400;
  text-align: center;
  border-radius: 8px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.header-submenu-link:hover {
  color: var(--color-primary);
}

/* Highlight links styling (All Modules, Mobile App) */
.header-submenu-link--highlight {
  font-weight: 600;
  color: var(--color-primary);
}

/* Focus states for accessibility */
.header-submenu-link:focus {
  outline: none;
}

.header-submenu-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  color: var(--color-primary);
}

/* ----------------------------------------
   Let's Meet Link
   ---------------------------------------- */
.header-meet-link {
  position: relative;
  display: block;
  padding: 20px 40px;
  margin: 16px 0;
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  transition: opacity var(--transition-fast);
}

/* Gradient glow behind Let's Meet */
.header-meet-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 120px;
  background: radial-gradient(
    ellipse at center,
    rgba(13, 148, 136, 0.25) 0%,
    rgba(13, 148, 136, 0.1) 30%,
    rgba(13, 148, 136, 0) 70%
  );
  pointer-events: none;
  z-index: -1;
}

.header-meet-link:hover {
  opacity: 0.8;
}

/* ----------------------------------------
   Divider
   ---------------------------------------- */
.header-divider {
  width: 100%;
  max-width: 320px;
  height: 1px;
  margin: 24px 0;
  /* Symmetrical gradient - same appearance in LTR/RTL */
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--color-gray-300) 20%,
    var(--color-gray-300) 80%,
    transparent 100%
  );
}

/* ----------------------------------------
   Actions
   ---------------------------------------- */
.header-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 320px;
  margin-top: 0;
}

.header-lang {
  display: block;
  width: 40px;
  height: 14px;
  padding: 12px 16px;
  box-sizing: content-box;
  background-color: var(--color-dark);
  -webkit-mask-image: url('https://cdn.prod.website-files.com/6512cbc4fa8d0ecb482a233b/692d787e989533c0d592d998_lang-ar.svg');
  -webkit-mask-size: 40px 14px;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url('https://cdn.prod.website-files.com/6512cbc4fa8d0ecb482a233b/692d787e989533c0d592d998_lang-ar.svg');
  mask-size: 40px 14px;
  mask-repeat: no-repeat;
  mask-position: center;
  transition: background-color var(--transition-fast);
}

.header-lang:hover {
  background-color: var(--color-primary);
}

/* RTL Language Switcher - Text-based (Arabic font already loaded) */
.header-lang-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  transition: color var(--transition-fast);
}

.header-lang-text:hover {
  color: var(--color-primary);
}

.header-btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  color: var(--color-dark);
  font-size: 16px;
  font-weight: 600;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 32px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.header-btn-login:hover {
  background: var(--color-gray-100);
  border-color: var(--color-gray-300);
  color: var(--color-text);
}

.header-btn-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 32px;
  transition: background var(--transition-fast);
}

.header-btn-demo:hover {
  background: var(--color-primary-hover);
  color: var(--color-white);
}


/* ========================================
   DESKTOP (992px+)

   Design System for 1170px container:
   - Base unit: 4px
   - Spacing: 8, 12, 16, 20, 24
   - Typography: 14px unified
   - Button height: 40px (fits 72px header)
   ======================================== */

@media (min-width: 992px) {

  /* Hide menu button */
  .header-menu-btn {
    display: none;
  }

  /* Nav Wrapper: Inline */
  .header-nav-wrapper {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding: 0;
    margin-inline-start: 0;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: visible;
  }

  /* Nav Group: Nav List + Meet Link */
  .header-nav-group {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .header-zenhr-nav {
    margin-bottom: 0;
  }

  /* Glass Pill Navigation */
  .header-nav-list {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 20px;
    border-radius: 24px;
    border: 1px solid var(--header-nav-list-border);
    background: var(--header-nav-list-bg);
    backdrop-filter: blur(62px);
    -webkit-backdrop-filter: blur(62px);
  }

  .header-zenhr.is-scrolled .header-nav-list {
    border-color: var(--color-gray-200);
    background: var(--color-gray-100);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-nav-item {
    border: none;
  }

  .header-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: none;
    border-radius: 4px;
    color: var(--header-nav-link-color);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    transition: opacity var(--transition-fast);
  }

  .header-nav-link-text {
    color: var(--header-nav-link-color);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
  }

  .header-nav-link:hover {
    background: none;
    opacity: 0.8;
  }

  .header-nav-link:focus {
    outline: none;
  }

  .header-nav-link:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
    border-radius: 4px;
  }

  .header-zenhr.is-scrolled .header-nav-link,
  .header-zenhr.is-scrolled .header-nav-link-text {
    color: var(--color-text);
  }

  .header-zenhr.is-scrolled .header-nav-link:focus-visible {
    outline-color: var(--color-primary);
  }

  .header-zenhr.is-scrolled .header-nav-link:hover {
    background: none;
    opacity: 0.7;
  }

  .header-dropdown-arrow {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    /* Mask approach: background-color controls arrow color */
    background-color: var(--header-dropdown-arrow-color);
    background-image: none;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-fast);
  }

  .header-zenhr.is-scrolled .header-dropdown-arrow {
    background-color: var(--color-text);
  }

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

  /* Submenu: Floating */
  .header-nav-item.has-dropdown {
    position: relative;
  }

  .header-submenu {
    position: absolute;
    inset-block-start: calc(100% + 8px);
    inset-inline-start: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    width: max-content;
    max-width: 300px;
    max-height: none;
    padding: 6px;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 10px 20px -2px rgba(0, 0, 0, 0.1);

    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    /* Scrolling */
    overflow: visible;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
    align-items: stretch;

    /* Smooth modern transition */
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease;
  }

  /* RTL: Flip transform for submenu centering */
  [dir="rtl"] .header-submenu {
    transform: translateX(50%);
  }

  /* Custom scrollbar for webkit browsers - subtle and elegant */
  .header-submenu::-webkit-scrollbar {
    width: 4px;
  }

  .header-submenu::-webkit-scrollbar-track {
    background: transparent;
    margin: 6px 0;
  }

  .header-submenu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
  }

  .header-submenu::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
  }

  /* Hover bridge: invisible area connecting trigger to submenu */
  .header-submenu::before {
    content: '';
    position: absolute;
    inset-block-start: -8px;
    inset-inline: 0;
    height: 8px;
  }

  /* Open state - controlled by JS */
  .header-nav-item.dropdown-open .header-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: min(85vh, calc(100vh - var(--header-height) - 20px));
    padding: 6px;
    overflow-y: auto;
  }

  /* Submenu items on desktop */
  .header-submenu-items {
    gap: 0;
  }

  /* Static section on desktop */
  .header-submenu-static {
    margin-top: 6px;
    padding-top: 6px;
    gap: 0;
  }

  .header-submenu-link {
    padding: 10px 12px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 400;
    border-radius: 6px;
    text-align: start;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .header-submenu-link:hover,
  .header-submenu-link:focus-visible {
    background: var(--color-gray-100);
    color: var(--color-primary);
  }

  .header-submenu-link:focus {
    outline: none;
  }

  /* Highlight links on desktop */
  .header-submenu-link--highlight {
    font-weight: 600;
    color: var(--color-primary);
  }

  /* Let's Meet */
  .header-meet-link {
    position: static;
    padding: 8px 12px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--color-primary);
    border-radius: 8px;
    transition: opacity var(--transition-fast);
  }

  .header-meet-link:hover {
    opacity: 0.8;
  }

  .header-meet-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }

  .header-meet-link::before {
    display: none;
  }

  /* Hide divider */
  .header-divider {
    display: none;
  }

  /* Actions: Row */
  .header-actions {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: auto;
    max-width: none;
    margin: 0;
  }

  /* Buttons Group: Login + Demo */
  .header-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-lang {
    padding: 8px 12px;
    background-color: var(--header-lang-bg);
    border-radius: 4px;
    transition: background-color var(--transition-fast);
  }

  .header-lang:hover {
    background-color: var(--color-primary);
  }

  .header-lang:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
  }

  .header-zenhr.is-scrolled .header-lang {
    background-color: var(--color-text);
  }

  .header-zenhr.is-scrolled .header-lang:hover {
    background-color: var(--color-primary);
  }

  .header-zenhr.is-scrolled .header-lang:focus-visible {
    outline-color: var(--color-primary);
  }

  /* RTL Language Switcher - Desktop: white text */
  .header-lang-text {
    color: #FFFFFF;
  }

  /* Login Button */
  .header-btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 104px;
    height: 40px;
    padding: 0 15px;
    color: var(--header-btn-login-color);
    font-size: 14px;
    font-weight: 600;
    background: var(--header-btn-login-bg);
    border: 1px solid var(--header-btn-login-border);
    border-radius: 24px;
    transition: all var(--transition-fast);
  }

  .header-btn-login:hover {
    background: var(--header-btn-login-hover-bg);
    border-color: var(--header-btn-login-color);
    color: var(--header-btn-login-color);
  }

  .header-btn-login:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
  }

  .header-zenhr.is-scrolled .header-btn-login {
    color: var(--color-text);
    border-color: var(--color-border);
  }

  .header-zenhr.is-scrolled .header-btn-login:hover {
    background: var(--color-gray-100);
    border-color: var(--color-text);
    color: var(--color-text);
  }

  .header-zenhr.is-scrolled .header-btn-login:focus-visible {
    outline-color: var(--color-primary);
  }

  /* Request Demo Button */
  .header-btn-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 148px;
    height: 40px;
    padding: 0 15px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 24px;
    transition: background var(--transition-fast);
  }

  .header-btn-demo:hover {
    background: var(--color-primary-hover);
    color: var(--color-white);
  }

  .header-btn-demo:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
  }

  .header-zenhr.is-scrolled .header-btn-demo:focus-visible {
    outline-color: var(--color-primary);
  }
}
