/* smartNsales — shared navbar styles. Single source, rendered by /assets/nav.js. */
#site-nav { display: block; min-height: 74px; position: sticky; top: 0; z-index: 100; }
.nav-wrapper {
      display: flex;
      justify-content: center;
      padding: 10px 2rem;
      background: transparent;
      background: rgba(26,26,94,0.04);
    }
.nav {
      display: flex;
      align-items: center;
      gap: 0;
      background: #ffffff;
      border-radius: 14px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
      padding: 0 8px 0 12px;
      height: 54px;
      width: 100%;
      max-width: 960px;
      border: 1px solid rgba(0,0,0,0.07);
      overflow: visible;
    }
.nav-logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      flex-shrink: 0;
      margin-right: 4px;
    }
.nav-logo-text {
      font: 700 15px/1 Poppins, sans-serif;
      color: #1A1A5E;
      letter-spacing: -0.3px;
    }
.nav-logo-img { display: none; }
.nav-links {
      display: flex;
      align-items: center;
      gap: 2px;
      flex: none;
      margin-right: auto;
    }
.nav-menu { display: contents; }
.nav-btn {
      appearance: none;
      border: 0;
      background: transparent;
      color: #374151;
      font: 500 13.5px/1 Inter, system-ui, sans-serif;
      padding: 7px 11px;
      border-radius: 8px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 4px;
      transition: background 0.13s, color 0.13s;
      white-space: nowrap;
      text-decoration: none;
    }
.nav-btn:hover { background: #f3f4f6; color: #1A1A5E; }
.nav-chevron { font-size: 9px; transition: transform 0.15s; opacity: 0.6; }
.nav-dd {
      position: relative;
    }
.nav-dd.open .nav-chevron { transform: rotate(180deg); }
.nav-dd-panel {
      display: none;
      position: absolute;
      top: calc(100% + 10px);
      left: 50%;
      transform: translateX(-50%);
      background: #ffffff;
      border-radius: 12px;
      box-shadow: 0 12px 32px rgba(0,0,0,0.14);
      border: 1px solid rgba(0,0,0,0.07);
      padding: 8px;
      z-index: 300;
    }
.nav-dd.open .nav-dd-panel { display: block; }
.nav-dd-panel.features-panel {
      width: 560px;
      left: 0;
      transform: none;
      padding: 16px 16px 0;
    }
.nav-dd-panel a:hover { background: #eef1f8; color: #FF1FA3; }
.nav-dd-panel.resources-panel {
      width: 660px;
      max-width: calc(100vw - 32px);
      left: 50%;
      transform: translateX(-50%);
      padding: 16px;
    }
.nav-dd.open .nav-dd-panel.resources-panel { display: block; }
.resources-menu { display: flex; gap: 14px; align-items: stretch; }
.resources-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; flex: 1; }
.resources-col h4 {
      font: 700 10.5px/1 Inter, system-ui, sans-serif;
      color: #94a3b8; letter-spacing: 0.09em; text-transform: uppercase;
      padding: 6px 10px 8px; margin: 0;
    }
a.res-item {
      display: flex; align-items: center; gap: 11px;
      padding: 9px 10px; border-radius: 10px; text-decoration: none;
      transition: background 0.12s;
    }
a.res-item:hover { background: #f6f4ff; }
.res-icon {
      width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
      background: #eef1f8; color: #1A1A5E;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.12s, color 0.12s;
    }
a.res-item:hover .res-icon { background: #dce4f0; color: #FF1FA3; }
.res-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.res-title { font: 600 13px/1.2 Inter, system-ui, sans-serif; color: #1e293b; }
a.res-item:hover .res-title { color: #1A1A5E; }
.res-desc { font: 400 11.5px/1.45 Inter, system-ui, sans-serif; color: #64748b; }
a.res-item:hover .res-desc { color: #64748b; }
a.res-featured {
      width: 232px; flex-shrink: 0; display: flex; flex-direction: column; gap: 7px;
      padding: 16px; border-radius: 12px; text-decoration: none;
      background: linear-gradient(150deg, #eef1f8 0%, #f5f7fb 100%);
      border: 1px solid rgba(26,26,94,0.08);
      transition: transform 0.15s, box-shadow 0.15s;
    }
a.res-featured:hover {
      background: linear-gradient(150deg, #e8eef7 0%, #f0f3fa 100%);
      transform: translateY(-2px); box-shadow: 0 12px 26px rgba(26,26,94,0.12);
    }
.res-featured-badge {
      width: 36px; height: 36px; border-radius: 10px; background: #fff;
      box-shadow: 0 3px 10px rgba(0,0,0,0.08); color: #FF1FA3;
      display: flex; align-items: center; justify-content: center; margin-bottom: 2px;
    }
.res-featured-label { font: 700 10px/1 Inter, sans-serif; letter-spacing: 0.09em; text-transform: uppercase; color: #1A1A5E; }
.res-featured-title { font: 600 13px/1.4 Inter, system-ui, sans-serif; color: #1e293b; }
.res-featured-cta { font: 600 12px/1 Inter, sans-serif; color: #FF1FA3; margin-top: 4px; }
.nav-right {
      flex: 1;
      justify-content: flex-end;
      display: flex;
      align-items: center;
      gap: 6px;
      margin-left: auto;
      flex-shrink: 0;
    }
.lang-switch {
      position: relative;
      display: flex;
      align-items: center;
    }
.lang-switch-btn {
      appearance: none;
      border: 0;
      background: transparent;
      color: #374151;
      font: 500 13.5px/1 Inter, system-ui, sans-serif;
      padding: 7px 10px;
      border-radius: 8px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: background 0.13s, color 0.13s;
    }
.lang-switch-btn:hover { background: #f3f4f6; color: #1A1A5E; }
.lang-switch-btn svg { flex-shrink: 0; opacity: 0.6; }
.lang-switch-btn .lang-code { font-weight: 600; font-size: 13px; letter-spacing: 0.3px; }
.lang-switch-panel {
      display: none;
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      background: #ffffff;
      border-radius: 10px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.13);
      border: 1px solid rgba(0,0,0,0.07);
      padding: 6px;
      min-width: 110px;
      z-index: 400;
    }
.lang-switch.open .lang-switch-panel { display: block; }
.lang-switch-panel button {
      appearance: none;
      border: 0;
      background: transparent;
      width: 100%;
      text-align: left;
      padding: 8px 12px;
      font: 500 13px/1 Inter, system-ui, sans-serif;
      color: #374151;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.12s, color 0.12s;
    }
.lang-switch-panel button:hover { background: #eef1f8; color: #1A1A5E; }
.lang-switch-panel button.active { font-weight: 700; color: #1A1A5E; }
.nav-login {
      appearance: none;
      border: 1px solid rgba(0,0,0,0.15);
      background: transparent;
      color: #374151;
      font: 500 13px/1 Inter, system-ui, sans-serif;
      padding: 7px 14px;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.13s, color 0.13s, border-color 0.13s;
      white-space: nowrap;
      text-decoration: none;
    }
.nav-login:hover { background: #f3f4f6; color: #1A1A5E; border-color: rgba(0,0,0,0.25); }
.nav-cta {
      appearance: none;
      border: 0;
      background: #1A1A5E;
      color: #ffffff;
      font: 600 13px/1 Poppins, sans-serif;
      padding: 8px 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.15s;
      white-space: nowrap;
      text-decoration: none;
    }
.nav-cta:hover { background: #FF1FA3; }
.nav-hamburger { display: none; }
@media (max-width: 700px) {
.nav-wrapper { padding: 8px 1rem; }
.nav { max-width: 100%; padding: 0 10px; }
.nav-links { display: none; }
.nav-hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 36px; height: 36px;
        padding: 8px;
        background: #f3f4f6;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        margin-left: auto;
      }
.nav-hamburger span {
        display: block; height: 2px; width: 100%;
        background: #1A1A5E; border-radius: 2px;
      }
}
.footer-nav-links { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-links a {
      font-size: 14px;
      color: rgba(255,255,255,0.55);
      text-decoration: none;
      transition: color 0.15s;
    }
.footer-nav-links a:hover { color: #fff; }
@media (max-width: 767px) {
.nav { padding: 0 1rem; }
.nav-logo-img { height: 42px; width: 42px; margin-top: 0; border-radius: 11px; }
.nav-hamburger { display: flex; }
.nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 8px); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 4px;
        background: #1A1A5E; border-radius: 12px;
        box-shadow: 0 16px 32px rgba(0,0,0,0.35);
        padding: 10px; z-index: 300;
      }
.nav.menu-open .nav-menu { display: flex; }
.nav-menu .nav-links,
      .nav-menu .nav-right {
        display: flex !important; flex-direction: column; align-items: stretch; gap: 2px; width: 100%; flex: none;
      }
.nav-menu .nav-btn { justify-content: flex-start; color: rgba(255,255,255,0.85); padding: 11px 12px; width: 100%; }
.nav-menu .nav-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-menu .nav-chevron { display: none; }
.nav-menu .nav-dd { width: 100%; }
.nav-menu .nav-dd-panel.resources-panel {
        position: static; transform: none; display: block; width: auto; max-width: none;
        background: transparent; border: 0; box-shadow: none; padding: 0 0 0 6px;
      }
.nav-menu .resources-menu, .nav-menu .resources-cols { display: block; }
.nav-menu .res-featured { display: none; }
.nav-menu .resources-col h4 { color: rgba(255,255,255,0.45); padding: 8px 12px 4px; }
.nav-menu .res-item { padding: 9px 12px; }
.nav-menu .res-item:hover { background: rgba(255,255,255,0.08); }
.nav-menu .res-title { color: #fff; }
.nav-menu .res-desc { color: rgba(255,255,255,0.5); }
.nav-menu .res-icon { background: rgba(255,255,255,0.1); color: #fff; }
.nav-menu .nav-right { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 6px; padding-top: 10px; }
.nav-menu .lang-switch { align-self: flex-start; }
.nav-menu .lang-switch-btn { color: rgba(255,255,255,0.85); }
.nav-menu .lang-switch-panel { position: static; box-shadow: none; }
.nav-menu .nav-login { color: rgba(255,255,255,0.85); padding: 11px 12px; }
.nav-menu .nav-login:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-menu .nav-cta { margin: 8px 0 0; text-align: center; justify-content: center; }
}
.nav-logo-img {
      display: block !important;
      height: 28px;
      width: 28px;
      object-fit: contain;
      flex-shrink: 0;
    }
.nav-logo-text {
      font: 700 15px/1 Poppins, sans-serif;
      color: #1A1A5E;
      letter-spacing: -0.3px;
      margin-left: 8px;
    }
.nav-logo-img {
      transition: width 0.35s ease, height 0.35s ease;
    }
.nav-logo-text {
      transition: opacity 0.25s ease, max-width 0.35s ease, margin-left 0.25s ease;
      overflow: hidden;
      max-width: 120px;
      white-space: nowrap;
    }
.nav.scrolled .nav-logo-img {
      width: 36px !important;
      height: 36px !important;
    }
.nav.scrolled .nav-logo-text {
      opacity: 0;
      max-width: 0;
      margin-left: 0 !important;
    }
.nav {
      display: flex !important;
      align-items: center !important;
    }
.nav-logo { flex-shrink: 0; margin-right: 32px; }
.nav-links {
      display: flex !important;
      align-items: center !important;
      gap: 2px !important;
      flex: none !important;
      margin-right: auto !important;
    }
.nav-right { flex-shrink: 0; margin-left: 0 !important; }
.nav-hamburger { display: none; }
@media (max-width: 700px) {
.nav-links { display: none !important; }
.nav-hamburger { display: flex !important; }
}
