/* base */
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{ font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif; background:#fff; color:#111; }
a{ color:inherit; text-decoration:none; }

/* page container */
.container{ max-width:1120px; margin:0 auto; padding:24px 22px; }
h1{ margin:0 0 10px; font-size:34px; letter-spacing:-.6px; }
p{ margin:0; color:rgba(0,0,0,.70); font-weight:600; }

/* ===== Header (sticky) ===== */
.hdr{
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

/* top white area */
.hdr-top{
  background:#f3f3f3;
  border-bottom:1px solid rgba(0,0,0,.15);
}

/* brand clickable -> home */
.brand{
  max-width:1120px;
  margin:0 auto;
  padding:14px 22px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}

.brand-logo{
  width:54px;
  height:54px;
  object-fit:contain;
  display:block;
}

.brand-text{ text-align:center; line-height:1.05; }
.brand-title{
  font-weight:950;
  letter-spacing:-.6px;
  font-size:34px;
  color:#111;
}
.brand-sub{
  margin-top:6px;
  font-weight:800;
  font-size:14px;
  color:rgba(0,0,0,.55);
}

/* ===== black nav bar (FULL WIDTH) ===== */
.hdr-nav{
  position:relative;
  background:#0a0a0a;
  border-bottom:1px solid rgba(255,255,255,.10);
}

/* inner container: keeps menu centered */
.hdr-nav-inner{
  position:relative;
  max-width:1120px;
  margin:0 auto;
  padding:0 22px;

  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:18px;

  height:64px;
}

/* menu items */
.nav-item{
  position:relative;
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;

  font-weight:950;
  font-size:22px;
  color:#fff;
  letter-spacing:-.4px;
  user-select:none;
}
.nav-item:hover{ color:rgba(255,255,255,.92); }
.nav-item.is-active{
  color:#fff;
  text-shadow: 0 10px 28px rgba(124,58,237,.25);
}

/* indicator */
.nav-indicator{
  position:absolute;
  top:0;
  height:6px;
  border-radius:999px;
  background: linear-gradient(90deg, #7c3aed, #5b2bd6);
  box-shadow: 0 10px 25px rgba(124,58,237,.35);

  left:22px;
  width:120px;

  transform: translateY(0);

  transition:
    left .28s cubic-bezier(.2,.9,.2,1),
    width .28s cubic-bezier(.2,.9,.2,1);
}
