
  /* ── NAVBAR ── */
  .navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    /* height: var(--nav-h); */
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    /* border-bottom: 1px solid rgba(74,36,232,.08); */
    display: flex;
    align-items: center;
    transition: box-shadow .25s;
  }
  .navbar.scrolled { box-shadow: var(--shadow-md); }

  .nav-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px; justify-content: space-between;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    flex-shrink: 0;
  }
  .brand-mark {
    width: 34px; height: 34px;
    background: var(--primary);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 16px;
  }
  .brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
    letter-spacing: -.02em;
  }
  .brand-name span { color: var(--primary); }

  /* ── DESKTOP NAV ── */
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0 auto;
  }

  .nav-links a, .nav-links .nav-btn {
    font-size: .875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    padding: 7px 13px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background .15s, color .15s;
    cursor: pointer;
    background: none;
    border: none;
  }
  .nav-links a:hover, .nav-links .nav-btn:hover { background: var(--primary-light); color: var(--primary); }
  .nav-links .nav-btn svg { transition: transform .2s; }
  .nav-links .nav-btn.open svg { transform: rotate(180deg); }

  /* ── MEGA MENU ── */
  .dropdown { position: relative; }
  .mega-menu {
    position: absolute;
    top: calc(100% + 0);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(74,36,232,.1);
    padding: 16px;
    min-width: 580px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    transform: translateX(-50%) translateY(8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  }
  .dropdown:hover .mega-menu,
  .dropdown.open .mega-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-10%) translateY(0);
  }

  .mega-banner {
    background: var(--primary);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }
  .mega-banner-icon {
    width: 32px; height: 32px;
    background: rgba(255,255,255,.15);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
  }
  .mega-banner p { color: rgba(255,255,255,.92); font-size: .78rem; line-height: 1.4; }

  .mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }

  .mega-item {
    display: flex;
    align-items: center;
    gap: 10px !important;
    padding: 10px 12px !important;
    border-radius: 10px;
    text-decoration: none;
    transition: background .15s;
  }
  .mega-item:hover { background: var(--primary-light); }
  .mega-item-icon {
    width: 34px; height: 34px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: .82rem;
    flex-shrink: 0;
    transition: background .15s;
  }
  .mega-item:hover .mega-item-icon { background: var(--primary); color: #fff; }
  .mega-item-name { font-size: .84rem; font-weight: 600; color: var(--dark); line-height: 1.2; }
  /* .mega-item-desc { font-size: .74rem; color: var(--muted); margin-top: 1px; } */

  /* Resources mega */
  .res-menu {
    min-width: 460px;
    /* left: auto; right: 0; */
     left: 0;
    transform: translateX(-50%);
    /* transform: translateX(0) translateY(8px); */
  }
  .dropdown:hover .res-menu,
  .dropdown.open .res-menu {
 transform: translateX(-10%) translateY(0);
  }
  .res-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .res-col-title {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    padding: 0 10px 8px;
  }
  .res-item {
    display: flex; align-items: center; gap: 9px;
    padding: 9px 10px;
    border-radius: 9px;
    text-decoration: none;
    transition: background .15s;
  }
  .res-item:hover { background: var(--primary-light); }
  .res-item-icon {
    width: 28px; height: 28px;
    background: #f3f4f6;
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: .75rem;
    flex-shrink: 0;
    transition: background .15s, color .15s;
  }
  .res-item:hover .res-item-icon { background: var(--primary); color: #fff; }
  .res-item-name { font-size: .82rem; font-weight: 500; color: #1f2937; }

  /* ── NAV RIGHT ── */
  .nav-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

  .btn-ghost-tn {
    font-size: .82rem;
    font-weight: 500;
    color: #374151;
   padding: 8px 10px;
    text-decoration: none;
    border: none;
    transition: all .15s;
    white-space: nowrap; border:none !important; border-radius: var(--radius-sm);
     background: none;
     display: flex; align-items: center; justify-content: center;
  }
  .btn-ghost-tn:hover {  color: var(--primary); background: var(--primary-light); }

  /* .btn-demo {
    background: var(--primary);
    color: #fff;
    font-size: .84rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 9px;
    text-decoration: none;
    display: flex; align-items: center; gap: 6px;
    transition: background .15s, transform .1s;
    white-space: nowrap;
    font-family: var(--font-body);
  }
  .btn-demo:hover { background: var(--primary-dark); transform: translateY(-1px); }
  .btn-demo i { font-size: .75rem; } */

  .explore-label {
    font-size: .78rem;
    color: var(--muted);
    display: flex; align-items: center; gap: 3px;
  }

  /* ── HAMBURGER ── */
  .hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: var(--dark);
    transition: background .15s;
  }
  .hamburger:hover { background: var(--primary-light); color: var(--primary); }
  .hamburger svg { display: block; }

  /* ── MOBILE DRAWER OVERLAY ── */
  .drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,11,30,.5);
    z-index: 1100;
    opacity: 0;
    transition: opacity .3s;
    backdrop-filter: blur(4px);
  }
  .drawer-overlay.visible { display: block; }
  .drawer-overlay.open { opacity: 1; }

  /* ── MOBILE DRAWER ── */
  .drawer {
    position: fixed;
    top: 0; right: 0;
    width: min(360px, 92vw);
    height: 100dvh;
    background: #fff;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
  }
  .drawer.open { transform: translateX(0); }

  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }

  .drawer-close {
    width: 34px; height: 34px;
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--dark);
    transition: background .15s, color .15s;
  }
  .drawer-close:hover { background: var(--primary-light); color: var(--primary); }

  .drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px 20px;
    -webkit-overflow-scrolling: touch;
  }

  /* Drawer nav items */
  .d-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #1f2937;
    font-size: .9rem;
    font-weight: 500;
    transition: background .15s, color .15s;
  }
  .d-nav-link:hover { background: var(--primary-light); color: var(--primary); }

  .d-accordion-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: var(--radius);
    color: #1f2937;
    font-size: .9rem;
    font-weight: 500;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    transition: background .15s, color .15s;
  }
  .d-accordion-btn:hover { background: var(--primary-light); color: var(--primary); }
  .d-acc-arrow {
    margin-left: auto;
    transition: transform .25s;
    color: var(--muted);
  }
  .d-accordion-btn.open .d-acc-arrow { transform: rotate(180deg); }
  .d-accordion-btn.open { color: var(--primary); }

  .d-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s cubic-bezier(.4,0,.2,1);
  }
  .d-panel.open { max-height: 1000px; }

  .d-panel-inner { padding: 6px 0 6px 10px; }

  .d-sub-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    text-decoration: none;
    transition: background .15s;
    margin-bottom: 2px;
  }
  .d-sub-item:hover { background: var(--primary-light); }
  .d-sub-icon {
    width: 30px; height: 30px;
    background: var(--primary-light);
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: .75rem;
    flex-shrink: 0;
  }
  .d-sub-name { font-size: .84rem; font-weight: 600; color: var(--dark); line-height: 1.2; }
  .d-sub-desc { font-size: .72rem; color: var(--muted); }

  .d-section-label {
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--muted);
    padding: 14px 12px 6px;
  }

  .d-divider { height: 1px; background: var(--border); margin: 8px 0; }

  .d-simple-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 9px;
    text-decoration: none;
    color: #374151;
    font-size: .84rem;
    font-weight: 500;
    transition: background .15s, color .15s;
    margin-bottom: 2px;
  }
  .d-simple-item:hover { background: var(--primary-light); color: var(--primary); }
  .d-simple-icon {
    width: 26px; height: 26px;
    background: #f3f4f6;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: .72rem;
    flex-shrink: 0;
  }

  .drawer-foot {
    padding: 16px 20px 20px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .drawer-foot .btn-demo {
    justify-content: center;
    padding: 12px;
    border-radius: 11px;
    font-size: .9rem;
  }
  .explore-row {
    display: flex;
    gap: 8px;
  }
  .explore-row .btn-ghost {
    flex: 1;
    text-align: center;
    justify-content: center;
    display: flex;
    font-size: .78rem;
  }

    /* ── RESPONSIVE ── */
  @media (max-width: 1023px) {
    .nav-links, .nav-right .explore-label, .nav-right .btn-ghost,.btn-ghost-tn { display: none; }
    .hamburger { display: flex; }
    .nav-right .btn-demo { display: none; }
  }
  @media (max-width: 639px) {
    .nav-inner { padding: 0 16px; }
  }