/* Floating studio navigation. Mobile retains its existing layout. */
.hx-cta-arrow { display: none; }

@media (min-width: 901px) {
  .hx-nav {
    top: 16px;
    height: 84px;
    max-width: 1400px;
    margin: 16px auto;
    width: calc(100% - 48px);
    padding: 0 24px;
    gap: 20px;
    border: 1px solid rgba(132, 102, 180, .2);
    border-radius: 24px;
    background: linear-gradient(115deg, rgba(255,255,255,.98), rgba(252,249,255,.94));
    box-shadow: 0 12px 40px -18px rgba(61, 29, 105, .28), inset 0 1px 0 #fff;
    backdrop-filter: blur(20px);
    isolation: isolate;
  }
  .hx-nav::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 22%;
    right: 22%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #9b77e8, #dfa4bd, transparent);
    pointer-events: none;
  }
  .hx-brand { position: relative; padding-right: 22px; }
  .hx-brand::after {
    content: "";
    position: absolute;
    right: 0;
    height: 32px;
    width: 1px;
    background: linear-gradient(transparent, #ddd3ed, transparent);
  }
  .hx-brand img { width: 148px; }
  .hx-links { gap: 2px; padding: 5px; border-radius: 999px; background: #f3eff8; border: 1px solid #eae3f2; }
  .hx-links a {
    position: relative;
    padding: 11px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #554b65;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
  }
  .hx-links .hx-ico { display: none; }
  .hx-links a:hover, .hx-links a:focus-visible {
    color: #6531a7;
    background: #fff;
    box-shadow: 0 3px 10px rgba(54, 28, 84, .08);
  }
  .hx-actions { gap: 20px; }
  .hx-account { color: #4a3b60; font-size: 13px; }
  .hx-logout {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 8px 8px 19px;
    border: 1px solid #6f3cac;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(120deg, #392055, #7540b5);
    box-shadow: 0 5px 14px rgba(89, 45, 140, .2);
    font-size: 13px;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .hx-cta-arrow {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f0e5ff;
    color: #59318a;
    font-size: 19px;
  }
  .hx-logout:hover { color: #fff; border-color: #8756c2; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(89,45,140,.28); }
  .hx-nav a:focus-visible { outline: 2px solid #7c3aed; outline-offset: 4px; }
  body.lenspire-site { background-color: #f8f6fd; }
  .lenspire-site section[id] { scroll-margin-top: 120px; }
}

@media (min-width: 901px) and (max-width: 1150px) {
  .hx-nav { width: calc(100% - 32px); padding: 0 16px; gap: 12px; }
  .hx-brand { padding-right: 12px; }
  .hx-brand img { width: 124px; }
  .hx-links a { padding: 10px 9px; font-size: 12px; }
  .hx-actions { gap: 12px; }
  .hx-logout { gap: 8px; padding-left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-nav a { transition: none; }
  .hx-nav .hx-logout:hover { transform: none; }
}
